@nxtedition/types 23.1.6 → 23.1.7
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/index.d.ts +2 -0
- package/dist/common/index.js +2 -0
- package/dist/common/panel-property.d.ts +35 -2
- package/dist/common/report.d.ts +85 -0
- package/dist/common/report.js +8 -0
- package/dist/common/rss.d.ts +70 -0
- package/dist/common/rss.js +11 -0
- package/dist/common/schema-property.d.ts +31 -27
- package/dist/nxtpression.d.ts +290 -41
- package/dist/records/domains/connection/index.d.ts +3 -1
- package/dist/records/domains/connection/index.js +1 -0
- package/dist/records/domains/connection/report.d.ts +7 -0
- package/dist/records/domains/connection/report.js +1 -0
- package/dist/records/domains/panel.d.ts +26 -3
- package/dist/records/domains/publish/index.d.ts +3 -1
- package/dist/records/domains/publish/index.js +1 -0
- package/dist/records/domains/publish/report.d.ts +70 -0
- package/dist/records/domains/publish/report.js +1294 -0
- package/dist/records/domains/schema.d.ts +2 -2
- package/dist/records/validate/assert-guard.js +3223 -1710
- package/dist/records/validate/assert.js +3223 -1710
- package/dist/records/validate/is.js +133 -31
- package/dist/records/validate/schemas.js +1805 -695
- package/dist/records/validate/stringify.js +549 -88
- package/dist/records/validate/validate-equals.js +2764 -887
- package/dist/records/validate/validate.js +2000 -750
- package/dist/rpc.d.ts +1 -1
- package/package.json +1 -1
|
@@ -359,35 +359,40 @@ function _validateExactRecord(name, input) {
|
|
|
359
359
|
}; })()(input);
|
|
360
360
|
}
|
|
361
361
|
case "asset.dynamicProperties?": {
|
|
362
|
-
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "string" === typeof input.panel && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) &&
|
|
362
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "string" === typeof input.panel && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io3(input.properties)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io2 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && true && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io3(input.properties)) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => Object.keys(input).every(key => {
|
|
363
|
+
const value = input[key];
|
|
364
|
+
if (undefined === value)
|
|
365
|
+
return true;
|
|
366
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
367
|
+
}); const _io4 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
363
368
|
if (["type", "readOnly"].some(prop => key === prop))
|
|
364
369
|
return true;
|
|
365
370
|
const value = input[key];
|
|
366
371
|
if (undefined === value)
|
|
367
372
|
return true;
|
|
368
373
|
return true;
|
|
369
|
-
}); const _io4 = input => Object.keys(input).every(key => {
|
|
374
|
+
}); const _io5 = input => "string" === typeof input.schema && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && true && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
|
|
370
375
|
const value = input[key];
|
|
371
376
|
if (undefined === value)
|
|
372
377
|
return true;
|
|
373
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
374
|
-
}); const
|
|
378
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
379
|
+
}); const _iu0 = input => (() => {
|
|
375
380
|
if (undefined !== input.panel)
|
|
376
381
|
return _io1(input);
|
|
377
382
|
else if (undefined !== input.schema)
|
|
378
|
-
return
|
|
383
|
+
return _io5(input);
|
|
379
384
|
else
|
|
380
385
|
return false;
|
|
381
386
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
382
387
|
path: _path + ".value",
|
|
383
388
|
expected: "(Array<DynamicProperty> | undefined)",
|
|
384
389
|
value: input.value
|
|
385
|
-
})) && input.value.map((elem,
|
|
386
|
-
path: _path + ".value[" +
|
|
390
|
+
})) && input.value.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
391
|
+
path: _path + ".value[" + _index10 + "]",
|
|
387
392
|
expected: "(DynamicPanelProperty | DynamicSchemaProperty)",
|
|
388
393
|
value: elem
|
|
389
|
-
})) && _vu0(elem, _path + ".value[" +
|
|
390
|
-
path: _path + ".value[" +
|
|
394
|
+
})) && _vu0(elem, _path + ".value[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
395
|
+
path: _path + ".value[" + _index10 + "]",
|
|
391
396
|
expected: "(DynamicPanelProperty | DynamicSchemaProperty)",
|
|
392
397
|
value: elem
|
|
393
398
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -412,11 +417,11 @@ function _validateExactRecord(name, input) {
|
|
|
412
417
|
value: input.type
|
|
413
418
|
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
414
419
|
path: _path + ".items",
|
|
415
|
-
expected: "(
|
|
420
|
+
expected: "(PanelProperty<unknown> | undefined)",
|
|
416
421
|
value: input.items
|
|
417
422
|
})) && _vo2(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
418
423
|
path: _path + ".items",
|
|
419
|
-
expected: "(
|
|
424
|
+
expected: "(PanelProperty<unknown> | undefined)",
|
|
420
425
|
value: input.items
|
|
421
426
|
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
422
427
|
path: _path + ".minItems",
|
|
@@ -428,11 +433,11 @@ function _validateExactRecord(name, input) {
|
|
|
428
433
|
value: input.maxItems
|
|
429
434
|
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
430
435
|
path: _path + ".properties",
|
|
431
|
-
expected: "(Record<string,
|
|
436
|
+
expected: "(Record<string, PanelProperty<unknown>> | undefined)",
|
|
432
437
|
value: input.properties
|
|
433
|
-
})) &&
|
|
438
|
+
})) && _vo3(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
434
439
|
path: _path + ".properties",
|
|
435
|
-
expected: "(Record<string,
|
|
440
|
+
expected: "(Record<string, PanelProperty<unknown>> | undefined)",
|
|
436
441
|
value: input.properties
|
|
437
442
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
438
443
|
path: _path + ".required",
|
|
@@ -440,60 +445,48 @@ function _validateExactRecord(name, input) {
|
|
|
440
445
|
value: input.required
|
|
441
446
|
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
442
447
|
path: _path + ".oneOf",
|
|
443
|
-
expected: "(Array<
|
|
448
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
444
449
|
value: input.oneOf
|
|
445
|
-
})) && input.oneOf.map((elem,
|
|
446
|
-
path: _path + ".oneOf[" +
|
|
447
|
-
expected: "
|
|
450
|
+
})) && input.oneOf.map((elem, _index11) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
451
|
+
path: _path + ".oneOf[" + _index11 + "]",
|
|
452
|
+
expected: "PanelProperty<unknown>",
|
|
448
453
|
value: elem
|
|
449
|
-
})) && _vo2(elem, _path + ".oneOf[" +
|
|
450
|
-
path: _path + ".oneOf[" +
|
|
451
|
-
expected: "
|
|
454
|
+
})) && _vo2(elem, _path + ".oneOf[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
455
|
+
path: _path + ".oneOf[" + _index11 + "]",
|
|
456
|
+
expected: "PanelProperty<unknown>",
|
|
452
457
|
value: elem
|
|
453
458
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
454
459
|
path: _path + ".oneOf",
|
|
455
|
-
expected: "(Array<
|
|
460
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
456
461
|
value: input.oneOf
|
|
457
462
|
}), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
458
463
|
path: _path + ".anyOf",
|
|
459
|
-
expected: "(Array<
|
|
464
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
460
465
|
value: input.anyOf
|
|
461
|
-
})) && input.anyOf.map((elem,
|
|
462
|
-
path: _path + ".anyOf[" +
|
|
463
|
-
expected: "
|
|
466
|
+
})) && input.anyOf.map((elem, _index12) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
467
|
+
path: _path + ".anyOf[" + _index12 + "]",
|
|
468
|
+
expected: "PanelProperty<unknown>",
|
|
464
469
|
value: elem
|
|
465
|
-
})) && _vo2(elem, _path + ".anyOf[" +
|
|
466
|
-
path: _path + ".anyOf[" +
|
|
467
|
-
expected: "
|
|
470
|
+
})) && _vo2(elem, _path + ".anyOf[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
471
|
+
path: _path + ".anyOf[" + _index12 + "]",
|
|
472
|
+
expected: "PanelProperty<unknown>",
|
|
468
473
|
value: elem
|
|
469
474
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
470
475
|
path: _path + ".anyOf",
|
|
471
|
-
expected: "(Array<
|
|
476
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
472
477
|
value: input.anyOf
|
|
473
478
|
}), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
|
|
474
479
|
path: _path + "[\"enum\"]",
|
|
475
480
|
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
476
481
|
value: input["enum"]
|
|
477
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
482
|
+
}), true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
478
483
|
path: _path + ".title",
|
|
479
484
|
expected: "(string | undefined)",
|
|
480
485
|
value: input.title
|
|
481
|
-
}), undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
482
|
-
path: _path + ".index",
|
|
483
|
-
expected: "(__type | undefined)",
|
|
484
|
-
value: input.index
|
|
485
|
-
})) && _vo5(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
486
|
-
path: _path + ".index",
|
|
487
|
-
expected: "(__type | undefined)",
|
|
488
|
-
value: input.index
|
|
489
486
|
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
490
487
|
path: _path + ".description",
|
|
491
488
|
expected: "(string | undefined)",
|
|
492
489
|
value: input.description
|
|
493
|
-
}), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
494
|
-
path: _path + ".placeholder",
|
|
495
|
-
expected: "(string | undefined)",
|
|
496
|
-
value: input.placeholder
|
|
497
490
|
}), (null !== input.widget || _report(_exceptionable, {
|
|
498
491
|
path: _path + ".widget",
|
|
499
492
|
expected: "(WidgetOptions | string | undefined)",
|
|
@@ -502,11 +495,15 @@ function _validateExactRecord(name, input) {
|
|
|
502
495
|
path: _path + ".widget",
|
|
503
496
|
expected: "(WidgetOptions | string | undefined)",
|
|
504
497
|
value: input.widget
|
|
505
|
-
})) &&
|
|
498
|
+
})) && _vo4(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
506
499
|
path: _path + ".widget",
|
|
507
500
|
expected: "(WidgetOptions | string | undefined)",
|
|
508
501
|
value: input.widget
|
|
509
|
-
})), undefined === input.
|
|
502
|
+
})), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
503
|
+
path: _path + ".placeholder",
|
|
504
|
+
expected: "(string | undefined)",
|
|
505
|
+
value: input.placeholder
|
|
506
|
+
}), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
|
|
510
507
|
path: _path + ".helpText",
|
|
511
508
|
expected: "(string | undefined)",
|
|
512
509
|
value: input.helpText
|
|
@@ -514,15 +511,7 @@ function _validateExactRecord(name, input) {
|
|
|
514
511
|
path: _path + ".invalid",
|
|
515
512
|
expected: "(boolean | undefined)",
|
|
516
513
|
value: input.invalid
|
|
517
|
-
}), true
|
|
518
|
-
path: _path + ".domain",
|
|
519
|
-
expected: "(string | undefined)",
|
|
520
|
-
value: input.domain
|
|
521
|
-
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
522
|
-
path: _path + ".path",
|
|
523
|
-
expected: "(string | undefined)",
|
|
524
|
-
value: input.path
|
|
525
|
-
}), undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
|
|
514
|
+
}), true].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
|
|
526
515
|
path: _path + ".type",
|
|
527
516
|
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
528
517
|
value: input.type
|
|
@@ -540,40 +529,64 @@ function _validateExactRecord(name, input) {
|
|
|
540
529
|
value: input.required
|
|
541
530
|
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
542
531
|
path: _path + ".oneOf",
|
|
543
|
-
expected: "(Array<
|
|
532
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
544
533
|
value: input.oneOf
|
|
545
|
-
})) && input.oneOf.map((elem,
|
|
546
|
-
path: _path + ".oneOf[" +
|
|
547
|
-
expected: "
|
|
534
|
+
})) && input.oneOf.map((elem, _index13) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
535
|
+
path: _path + ".oneOf[" + _index13 + "]",
|
|
536
|
+
expected: "PanelProperty<unknown>",
|
|
548
537
|
value: elem
|
|
549
|
-
})) && _vo2(elem, _path + ".oneOf[" +
|
|
550
|
-
path: _path + ".oneOf[" +
|
|
551
|
-
expected: "
|
|
538
|
+
})) && _vo2(elem, _path + ".oneOf[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
539
|
+
path: _path + ".oneOf[" + _index13 + "]",
|
|
540
|
+
expected: "PanelProperty<unknown>",
|
|
552
541
|
value: elem
|
|
553
542
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
554
543
|
path: _path + ".oneOf",
|
|
555
|
-
expected: "(Array<
|
|
544
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
556
545
|
value: input.oneOf
|
|
557
546
|
}), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
558
547
|
path: _path + ".anyOf",
|
|
559
|
-
expected: "(Array<
|
|
548
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
560
549
|
value: input.anyOf
|
|
561
|
-
})) && input.anyOf.map((elem,
|
|
562
|
-
path: _path + ".anyOf[" +
|
|
563
|
-
expected: "
|
|
550
|
+
})) && input.anyOf.map((elem, _index14) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
551
|
+
path: _path + ".anyOf[" + _index14 + "]",
|
|
552
|
+
expected: "PanelProperty<unknown>",
|
|
564
553
|
value: elem
|
|
565
|
-
})) && _vo2(elem, _path + ".anyOf[" +
|
|
566
|
-
path: _path + ".anyOf[" +
|
|
567
|
-
expected: "
|
|
554
|
+
})) && _vo2(elem, _path + ".anyOf[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
555
|
+
path: _path + ".anyOf[" + _index14 + "]",
|
|
556
|
+
expected: "PanelProperty<unknown>",
|
|
568
557
|
value: elem
|
|
569
558
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
570
559
|
path: _path + ".anyOf",
|
|
571
|
-
expected: "(Array<
|
|
560
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
572
561
|
value: input.anyOf
|
|
573
562
|
}), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
|
|
574
563
|
path: _path + "[\"enum\"]",
|
|
575
564
|
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
576
565
|
value: input["enum"]
|
|
566
|
+
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
567
|
+
path: _path + ".minItems",
|
|
568
|
+
expected: "(number | undefined)",
|
|
569
|
+
value: input.minItems
|
|
570
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
571
|
+
path: _path + ".maxItems",
|
|
572
|
+
expected: "(number | undefined)",
|
|
573
|
+
value: input.maxItems
|
|
574
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
575
|
+
path: _path + ".items",
|
|
576
|
+
expected: "(PanelProperty<unknown> | undefined)",
|
|
577
|
+
value: input.items
|
|
578
|
+
})) && _vo2(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
579
|
+
path: _path + ".items",
|
|
580
|
+
expected: "(PanelProperty<unknown> | undefined)",
|
|
581
|
+
value: input.items
|
|
582
|
+
}), true, undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
583
|
+
path: _path + ".properties",
|
|
584
|
+
expected: "(Record<string, PanelProperty<unknown>> | undefined)",
|
|
585
|
+
value: input.properties
|
|
586
|
+
})) && _vo3(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
587
|
+
path: _path + ".properties",
|
|
588
|
+
expected: "(Record<string, PanelProperty<unknown>> | undefined)",
|
|
589
|
+
value: input.properties
|
|
577
590
|
}), (null !== input.widget || _report(_exceptionable, {
|
|
578
591
|
path: _path + ".widget",
|
|
579
592
|
expected: "(WidgetOptions | string | undefined)",
|
|
@@ -582,7 +595,7 @@ function _validateExactRecord(name, input) {
|
|
|
582
595
|
path: _path + ".widget",
|
|
583
596
|
expected: "(WidgetOptions | string | undefined)",
|
|
584
597
|
value: input.widget
|
|
585
|
-
})) &&
|
|
598
|
+
})) && _vo4(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
586
599
|
path: _path + ".widget",
|
|
587
600
|
expected: "(WidgetOptions | string | undefined)",
|
|
588
601
|
value: input.widget
|
|
@@ -598,39 +611,20 @@ function _validateExactRecord(name, input) {
|
|
|
598
611
|
path: _path + ".invalid",
|
|
599
612
|
expected: "(boolean | undefined)",
|
|
600
613
|
value: input.invalid
|
|
601
|
-
}), true
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
616
|
-
value: input.items
|
|
617
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
618
|
-
path: _path + ".properties",
|
|
619
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
620
|
-
value: input.properties
|
|
621
|
-
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
622
|
-
path: _path + ".properties",
|
|
623
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
624
|
-
value: input.properties
|
|
625
|
-
}), true, undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
626
|
-
path: _path + ".index",
|
|
627
|
-
expected: "(__type | undefined)",
|
|
628
|
-
value: input.index
|
|
629
|
-
})) && _vo5(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
630
|
-
path: _path + ".index",
|
|
631
|
-
expected: "(__type | undefined)",
|
|
632
|
-
value: input.index
|
|
633
|
-
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
614
|
+
}), true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
615
|
+
const value = input[key];
|
|
616
|
+
if (undefined === value)
|
|
617
|
+
return true;
|
|
618
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
619
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
620
|
+
expected: "PanelProperty<unknown>",
|
|
621
|
+
value: value
|
|
622
|
+
})) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
623
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
624
|
+
expected: "PanelProperty<unknown>",
|
|
625
|
+
value: value
|
|
626
|
+
});
|
|
627
|
+
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
634
628
|
path: _path + ".type",
|
|
635
629
|
expected: "(string | undefined)",
|
|
636
630
|
value: input.type
|
|
@@ -645,28 +639,7 @@ function _validateExactRecord(name, input) {
|
|
|
645
639
|
if (undefined === value)
|
|
646
640
|
return true;
|
|
647
641
|
return true;
|
|
648
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
649
|
-
const value = input[key];
|
|
650
|
-
if (undefined === value)
|
|
651
|
-
return true;
|
|
652
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
653
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
654
|
-
expected: "BaseSchemaProperty<unknown>",
|
|
655
|
-
value: value
|
|
656
|
-
})) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
657
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
658
|
-
expected: "BaseSchemaProperty<unknown>",
|
|
659
|
-
value: value
|
|
660
|
-
});
|
|
661
|
-
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
662
|
-
path: _path + ".label",
|
|
663
|
-
expected: "string",
|
|
664
|
-
value: input.label
|
|
665
|
-
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
666
|
-
path: _path + ".path",
|
|
667
|
-
expected: "string",
|
|
668
|
-
value: input.path
|
|
669
|
-
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.schema || _report(_exceptionable, {
|
|
642
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.schema || _report(_exceptionable, {
|
|
670
643
|
path: _path + ".schema",
|
|
671
644
|
expected: "string",
|
|
672
645
|
value: input.schema
|
|
@@ -684,11 +657,11 @@ function _validateExactRecord(name, input) {
|
|
|
684
657
|
value: input.type
|
|
685
658
|
}), true, undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
686
659
|
path: _path + ".items",
|
|
687
|
-
expected: "(
|
|
660
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
688
661
|
value: input.items
|
|
689
|
-
})) &&
|
|
662
|
+
})) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
690
663
|
path: _path + ".items",
|
|
691
|
-
expected: "(
|
|
664
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
692
665
|
value: input.items
|
|
693
666
|
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
694
667
|
path: _path + ".minItems",
|
|
@@ -700,11 +673,11 @@ function _validateExactRecord(name, input) {
|
|
|
700
673
|
value: input.maxItems
|
|
701
674
|
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
702
675
|
path: _path + ".properties",
|
|
703
|
-
expected: "(Record<string,
|
|
676
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
704
677
|
value: input.properties
|
|
705
|
-
})) &&
|
|
678
|
+
})) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
706
679
|
path: _path + ".properties",
|
|
707
|
-
expected: "(Record<string,
|
|
680
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
708
681
|
value: input.properties
|
|
709
682
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
710
683
|
path: _path + ".required",
|
|
@@ -712,84 +685,48 @@ function _validateExactRecord(name, input) {
|
|
|
712
685
|
value: input.required
|
|
713
686
|
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
714
687
|
path: _path + ".oneOf",
|
|
715
|
-
expected: "(Array<
|
|
688
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
716
689
|
value: input.oneOf
|
|
717
|
-
})) && input.oneOf.map((elem,
|
|
718
|
-
path: _path + ".oneOf[" +
|
|
719
|
-
expected: "
|
|
690
|
+
})) && input.oneOf.map((elem, _index15) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
691
|
+
path: _path + ".oneOf[" + _index15 + "]",
|
|
692
|
+
expected: "SchemaProperty<unknown>",
|
|
720
693
|
value: elem
|
|
721
|
-
})) &&
|
|
722
|
-
path: _path + ".oneOf[" +
|
|
723
|
-
expected: "
|
|
694
|
+
})) && _vo6(elem, _path + ".oneOf[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
695
|
+
path: _path + ".oneOf[" + _index15 + "]",
|
|
696
|
+
expected: "SchemaProperty<unknown>",
|
|
724
697
|
value: elem
|
|
725
698
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
726
699
|
path: _path + ".oneOf",
|
|
727
|
-
expected: "(Array<
|
|
700
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
728
701
|
value: input.oneOf
|
|
729
702
|
}), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
730
703
|
path: _path + ".anyOf",
|
|
731
|
-
expected: "(Array<
|
|
704
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
732
705
|
value: input.anyOf
|
|
733
|
-
})) && input.anyOf.map((elem,
|
|
734
|
-
path: _path + ".anyOf[" +
|
|
735
|
-
expected: "
|
|
706
|
+
})) && input.anyOf.map((elem, _index16) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
707
|
+
path: _path + ".anyOf[" + _index16 + "]",
|
|
708
|
+
expected: "SchemaProperty<unknown>",
|
|
736
709
|
value: elem
|
|
737
|
-
})) &&
|
|
738
|
-
path: _path + ".anyOf[" +
|
|
739
|
-
expected: "
|
|
710
|
+
})) && _vo6(elem, _path + ".anyOf[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
711
|
+
path: _path + ".anyOf[" + _index16 + "]",
|
|
712
|
+
expected: "SchemaProperty<unknown>",
|
|
740
713
|
value: elem
|
|
741
714
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
742
715
|
path: _path + ".anyOf",
|
|
743
|
-
expected: "(Array<
|
|
716
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
744
717
|
value: input.anyOf
|
|
745
718
|
}), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
|
|
746
719
|
path: _path + "[\"enum\"]",
|
|
747
720
|
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
748
721
|
value: input["enum"]
|
|
749
|
-
}), true,
|
|
750
|
-
path: _path + ".recordName",
|
|
751
|
-
expected: "(__type.o1 | string | undefined)",
|
|
752
|
-
value: input.recordName
|
|
753
|
-
})) && (undefined === input.recordName || "string" === typeof input.recordName || ("object" === typeof input.recordName && null !== input.recordName || _report(_exceptionable, {
|
|
754
|
-
path: _path + ".recordName",
|
|
755
|
-
expected: "(__type.o1 | string | undefined)",
|
|
756
|
-
value: input.recordName
|
|
757
|
-
})) && _vo7(input.recordName, _path + ".recordName", true && _exceptionable) || _report(_exceptionable, {
|
|
758
|
-
path: _path + ".recordName",
|
|
759
|
-
expected: "(__type.o1 | string | undefined)",
|
|
760
|
-
value: input.recordName
|
|
761
|
-
})), (null !== input.setter || _report(_exceptionable, {
|
|
762
|
-
path: _path + ".setter",
|
|
763
|
-
expected: "(__type.o3 | string | undefined)",
|
|
764
|
-
value: input.setter
|
|
765
|
-
})) && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || ("object" === typeof input.setter && null !== input.setter || _report(_exceptionable, {
|
|
766
|
-
path: _path + ".setter",
|
|
767
|
-
expected: "(__type.o3 | string | undefined)",
|
|
768
|
-
value: input.setter
|
|
769
|
-
})) && _vo9(input.setter, _path + ".setter", true && _exceptionable) || _report(_exceptionable, {
|
|
770
|
-
path: _path + ".setter",
|
|
771
|
-
expected: "(__type.o3 | string | undefined)",
|
|
772
|
-
value: input.setter
|
|
773
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
722
|
+
}), true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
774
723
|
path: _path + ".title",
|
|
775
724
|
expected: "(string | undefined)",
|
|
776
725
|
value: input.title
|
|
777
|
-
}), undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
778
|
-
path: _path + ".index",
|
|
779
|
-
expected: "(__type | undefined)",
|
|
780
|
-
value: input.index
|
|
781
|
-
})) && _vo5(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
782
|
-
path: _path + ".index",
|
|
783
|
-
expected: "(__type | undefined)",
|
|
784
|
-
value: input.index
|
|
785
726
|
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
786
727
|
path: _path + ".description",
|
|
787
728
|
expected: "(string | undefined)",
|
|
788
729
|
value: input.description
|
|
789
|
-
}), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
790
|
-
path: _path + ".placeholder",
|
|
791
|
-
expected: "(string | undefined)",
|
|
792
|
-
value: input.placeholder
|
|
793
730
|
}), (null !== input.widget || _report(_exceptionable, {
|
|
794
731
|
path: _path + ".widget",
|
|
795
732
|
expected: "(WidgetOptions | string | undefined)",
|
|
@@ -798,11 +735,15 @@ function _validateExactRecord(name, input) {
|
|
|
798
735
|
path: _path + ".widget",
|
|
799
736
|
expected: "(WidgetOptions | string | undefined)",
|
|
800
737
|
value: input.widget
|
|
801
|
-
})) &&
|
|
738
|
+
})) && _vo4(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
802
739
|
path: _path + ".widget",
|
|
803
740
|
expected: "(WidgetOptions | string | undefined)",
|
|
804
741
|
value: input.widget
|
|
805
|
-
})), undefined === input.
|
|
742
|
+
})), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
743
|
+
path: _path + ".placeholder",
|
|
744
|
+
expected: "(string | undefined)",
|
|
745
|
+
value: input.placeholder
|
|
746
|
+
}), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
|
|
806
747
|
path: _path + ".helpText",
|
|
807
748
|
expected: "(string | undefined)",
|
|
808
749
|
value: input.helpText
|
|
@@ -810,81 +751,162 @@ function _validateExactRecord(name, input) {
|
|
|
810
751
|
path: _path + ".invalid",
|
|
811
752
|
expected: "(boolean | undefined)",
|
|
812
753
|
value: input.invalid
|
|
813
|
-
}), true
|
|
814
|
-
path: _path + ".
|
|
815
|
-
expected: "
|
|
816
|
-
value: input.
|
|
817
|
-
})
|
|
818
|
-
path: _path + ".
|
|
819
|
-
expected: "
|
|
820
|
-
value: input.
|
|
821
|
-
}), "string" === typeof input.
|
|
822
|
-
path: _path + ".
|
|
823
|
-
expected: "string",
|
|
824
|
-
value: input.
|
|
825
|
-
})
|
|
826
|
-
path: _path + ".
|
|
827
|
-
expected: "
|
|
828
|
-
value: input.
|
|
829
|
-
})
|
|
830
|
-
path: _path + ".
|
|
831
|
-
expected: "
|
|
832
|
-
value: input.
|
|
833
|
-
})) &&
|
|
834
|
-
path: _path + ".
|
|
835
|
-
expected: "
|
|
836
|
-
value:
|
|
837
|
-
}), true || _report(_exceptionable, {
|
|
838
|
-
path: _path + ".
|
|
839
|
-
expected: "unknown",
|
|
840
|
-
value:
|
|
841
|
-
})
|
|
842
|
-
path: _path + ".
|
|
843
|
-
expected: "
|
|
844
|
-
value: input.
|
|
845
|
-
}),
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
754
|
+
}), true].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
|
|
755
|
+
path: _path + ".type",
|
|
756
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
757
|
+
value: input.type
|
|
758
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
759
|
+
path: _path + ".title",
|
|
760
|
+
expected: "(string | undefined)",
|
|
761
|
+
value: input.title
|
|
762
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
763
|
+
path: _path + ".description",
|
|
764
|
+
expected: "(string | undefined)",
|
|
765
|
+
value: input.description
|
|
766
|
+
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
767
|
+
path: _path + ".required",
|
|
768
|
+
expected: "(boolean | undefined)",
|
|
769
|
+
value: input.required
|
|
770
|
+
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
771
|
+
path: _path + ".oneOf",
|
|
772
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
773
|
+
value: input.oneOf
|
|
774
|
+
})) && input.oneOf.map((elem, _index17) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
775
|
+
path: _path + ".oneOf[" + _index17 + "]",
|
|
776
|
+
expected: "SchemaProperty<unknown>",
|
|
777
|
+
value: elem
|
|
778
|
+
})) && _vo6(elem, _path + ".oneOf[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
779
|
+
path: _path + ".oneOf[" + _index17 + "]",
|
|
780
|
+
expected: "SchemaProperty<unknown>",
|
|
781
|
+
value: elem
|
|
782
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
783
|
+
path: _path + ".oneOf",
|
|
784
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
785
|
+
value: input.oneOf
|
|
786
|
+
}), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
787
|
+
path: _path + ".anyOf",
|
|
788
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
789
|
+
value: input.anyOf
|
|
790
|
+
})) && input.anyOf.map((elem, _index18) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
791
|
+
path: _path + ".anyOf[" + _index18 + "]",
|
|
792
|
+
expected: "SchemaProperty<unknown>",
|
|
793
|
+
value: elem
|
|
794
|
+
})) && _vo6(elem, _path + ".anyOf[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
795
|
+
path: _path + ".anyOf[" + _index18 + "]",
|
|
796
|
+
expected: "SchemaProperty<unknown>",
|
|
797
|
+
value: elem
|
|
798
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
799
|
+
path: _path + ".anyOf",
|
|
800
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
801
|
+
value: input.anyOf
|
|
802
|
+
}), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
|
|
803
|
+
path: _path + "[\"enum\"]",
|
|
804
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
805
|
+
value: input["enum"]
|
|
806
|
+
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
807
|
+
path: _path + ".minItems",
|
|
808
|
+
expected: "(number | undefined)",
|
|
809
|
+
value: input.minItems
|
|
810
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
811
|
+
path: _path + ".maxItems",
|
|
812
|
+
expected: "(number | undefined)",
|
|
813
|
+
value: input.maxItems
|
|
814
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
815
|
+
path: _path + ".items",
|
|
816
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
817
|
+
value: input.items
|
|
818
|
+
})) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
819
|
+
path: _path + ".items",
|
|
820
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
821
|
+
value: input.items
|
|
822
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
823
|
+
path: _path + ".properties",
|
|
824
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
825
|
+
value: input.properties
|
|
826
|
+
})) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
827
|
+
path: _path + ".properties",
|
|
828
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
829
|
+
value: input.properties
|
|
830
|
+
}), true, true, (null !== input.widget || _report(_exceptionable, {
|
|
831
|
+
path: _path + ".widget",
|
|
832
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
833
|
+
value: input.widget
|
|
834
|
+
})) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
|
|
835
|
+
path: _path + ".widget",
|
|
836
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
837
|
+
value: input.widget
|
|
838
|
+
})) && _vo4(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
839
|
+
path: _path + ".widget",
|
|
840
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
841
|
+
value: input.widget
|
|
842
|
+
})), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
843
|
+
path: _path + ".placeholder",
|
|
844
|
+
expected: "(string | undefined)",
|
|
845
|
+
value: input.placeholder
|
|
846
|
+
}), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
|
|
847
|
+
path: _path + ".helpText",
|
|
848
|
+
expected: "(string | undefined)",
|
|
849
|
+
value: input.helpText
|
|
850
|
+
}), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
|
|
851
|
+
path: _path + ".invalid",
|
|
852
|
+
expected: "(boolean | undefined)",
|
|
853
|
+
value: input.invalid
|
|
854
|
+
}), true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
855
|
+
const value = input[key];
|
|
856
|
+
if (undefined === value)
|
|
857
|
+
return true;
|
|
858
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
859
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
860
|
+
expected: "SchemaProperty<unknown>",
|
|
861
|
+
value: value
|
|
862
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
863
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
864
|
+
expected: "SchemaProperty<unknown>",
|
|
865
|
+
value: value
|
|
866
|
+
});
|
|
867
|
+
}).every(flag => flag)].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
868
|
+
if (undefined !== input.panel)
|
|
869
|
+
return _vo1(input, _path, true && _exceptionable);
|
|
870
|
+
else if (undefined !== input.schema)
|
|
871
|
+
return _vo5(input, _path, true && _exceptionable);
|
|
872
|
+
else
|
|
873
|
+
return _report(_exceptionable, {
|
|
874
|
+
path: _path,
|
|
875
|
+
expected: "(DynamicPanelProperty | DynamicSchemaProperty)",
|
|
876
|
+
value: input
|
|
877
|
+
});
|
|
878
|
+
})(); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
879
|
+
if (false === __is(input)) {
|
|
880
|
+
errors = [];
|
|
881
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
882
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
883
|
+
path: _path + "",
|
|
884
|
+
expected: "AssetDynamicPropertiesProvidedRecord",
|
|
885
|
+
value: input
|
|
886
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
887
|
+
path: _path + "",
|
|
888
|
+
expected: "AssetDynamicPropertiesProvidedRecord",
|
|
889
|
+
value: input
|
|
890
|
+
}))(input, "$input", true);
|
|
891
|
+
const success = 0 === errors.length;
|
|
892
|
+
return success ? {
|
|
893
|
+
success,
|
|
894
|
+
data: input
|
|
895
|
+
} : {
|
|
896
|
+
success,
|
|
897
|
+
errors,
|
|
898
|
+
data: input
|
|
899
|
+
};
|
|
900
|
+
}
|
|
901
|
+
return {
|
|
902
|
+
success: true,
|
|
903
|
+
data: input
|
|
904
|
+
};
|
|
905
|
+
}; })()(input);
|
|
906
|
+
}
|
|
907
|
+
case "asset.embedding": {
|
|
908
|
+
return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "object" === typeof input.value && null !== input.value && _io1(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "string" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; const _vo0 = (input, _path, _exceptionable = true) => [(null !== input.value || _report(_exceptionable, {
|
|
909
|
+
path: _path + ".value",
|
|
888
910
|
expected: "(__type | string | undefined)",
|
|
889
911
|
value: input.value
|
|
890
912
|
})) && (undefined === input.value || "string" === typeof input.value || ("object" === typeof input.value && null !== input.value || _report(_exceptionable, {
|
|
@@ -5620,12 +5642,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
5620
5642
|
if (undefined === value)
|
|
5621
5643
|
return true;
|
|
5622
5644
|
return undefined === value || "string" === typeof value;
|
|
5623
|
-
}); const _io19 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io20 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io21 = input => (undefined === input.responseFormat || "
|
|
5645
|
+
}); const _io19 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io20 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io21 = input => (undefined === input.responseFormat || "json" === input.responseFormat || "text" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && _io25(input.transform))); const _io22 = input => "object" === typeof input.__context && null !== input.__context && _io23(input.__context) && (null === input.__returnValue || undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io23 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io24 = input => Object.keys(input).every(key => {
|
|
5624
5646
|
const value = input[key];
|
|
5625
5647
|
if (undefined === value)
|
|
5626
5648
|
return true;
|
|
5627
5649
|
return null !== value && (undefined === value || "string" === typeof value || Array.isArray(value) && value.every(elem => "string" === typeof elem));
|
|
5628
|
-
}); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (null !== input.__returnValue && undefined === input.__returnValue); const _io26 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io27 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response)); const _io28 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu3(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu4(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu5(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError))); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io30 = input => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io32 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io33 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io34 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io35 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) && _iu6(input.transform))); const _io36 = input => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io37 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue)); const _io38 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response)); const _io39 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu7(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu8(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu9(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError))); const _io40 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io41 = input => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io42 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io43 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io44 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io45 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io46 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every(elem => "object" === typeof elem && null !== elem && _io47(elem)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform)))); const _io47 = input => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path; const _io48 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io49 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io50 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu10(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu11(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu12(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError))); const _io51 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io52 = input => "string" === typeof input.id && (undefined === input.offset || "number" === typeof input.offset) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io53 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io54 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io55 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io56 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io57 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io58 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu13(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu14(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu15(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError))); const _io59 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io60 = input => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io61 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io62 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io63 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io64 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io65 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io66 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu16(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu17(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu18(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError))); const _io67 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io68 = input => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io69 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io70 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io71 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io72 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io73 = input => (undefined === input.protocol || "s3" === input.protocol) && true && (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io74 = input => (undefined === input.protocol || "smb" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.share || "string" === typeof input.share) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.createFolders || "boolean" === typeof input.createFolders) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io75 = input => (undefined === input.protocol || "sftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io76 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io77 = input => (undefined === input.type || "reuters" === input.type) && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
5650
|
+
}); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (null !== input.__returnValue && undefined === input.__returnValue); const _io26 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io27 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response)); const _io28 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu3(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu4(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu5(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError))); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io30 = input => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io32 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io33 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io34 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io35 = input => (undefined === input.responseFormat || "json" === input.responseFormat || "text" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) && _iu6(input.transform))); const _io36 = input => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io37 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue)); const _io38 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response)); const _io39 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu7(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu8(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu9(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError))); const _io40 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io41 = input => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io42 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io43 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io44 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io45 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io46 = input => (undefined === input.responseFormat || "json" === input.responseFormat || "text" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every(elem => "object" === typeof elem && null !== elem && _io47(elem)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform)))); const _io47 = input => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path; const _io48 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io49 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io50 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu10(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu11(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu12(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError))); const _io51 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io52 = input => "string" === typeof input.id && (undefined === input.offset || "number" === typeof input.offset) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io53 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io54 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io55 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io56 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io57 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io58 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu13(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu14(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu15(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError))); const _io59 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io60 = input => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io61 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io62 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io63 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io64 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io65 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io66 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu16(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu17(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu18(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError))); const _io67 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io68 = input => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io69 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io70 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io71 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io72 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io73 = input => (undefined === input.protocol || "s3" === input.protocol) && true && (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io74 = input => (undefined === input.protocol || "smb" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.share || "string" === typeof input.share) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.createFolders || "boolean" === typeof input.createFolders) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io75 = input => (undefined === input.protocol || "sftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io76 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io77 = input => (undefined === input.type || "report" === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = input => (undefined === input.type || "reuters" === input.type) && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io79 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
5629
5651
|
if (undefined !== input.__context)
|
|
5630
5652
|
return _io14(input);
|
|
5631
5653
|
else
|
|
@@ -5737,6 +5759,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
5737
5759
|
return _io77(input);
|
|
5738
5760
|
if (_io78(input))
|
|
5739
5761
|
return _io78(input);
|
|
5762
|
+
if (_io79(input))
|
|
5763
|
+
return _io79(input);
|
|
5740
5764
|
return false;
|
|
5741
5765
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "ftp" === input.protocol || _report(_exceptionable, {
|
|
5742
5766
|
path: _path + ".protocol",
|
|
@@ -6245,7 +6269,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
6245
6269
|
path: _path + ".__returnValue",
|
|
6246
6270
|
expected: "(boolean | undefined)",
|
|
6247
6271
|
value: input.__returnValue
|
|
6248
|
-
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "
|
|
6272
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "json" === input.responseFormat || "text" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
6249
6273
|
path: _path + ".responseFormat",
|
|
6250
6274
|
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
6251
6275
|
value: input.responseFormat
|
|
@@ -6546,7 +6570,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
6546
6570
|
path: _path + ".__returnValue",
|
|
6547
6571
|
expected: "(boolean | undefined)",
|
|
6548
6572
|
value: input.__returnValue
|
|
6549
|
-
})].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "
|
|
6573
|
+
})].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "json" === input.responseFormat || "text" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
6550
6574
|
path: _path + ".responseFormat",
|
|
6551
6575
|
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
6552
6576
|
value: input.responseFormat
|
|
@@ -6778,7 +6802,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
6778
6802
|
path: _path + ".__returnValue",
|
|
6779
6803
|
expected: "(boolean | undefined)",
|
|
6780
6804
|
value: input.__returnValue
|
|
6781
|
-
})].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "
|
|
6805
|
+
})].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "json" === input.responseFormat || "text" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
6782
6806
|
path: _path + ".responseFormat",
|
|
6783
6807
|
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
6784
6808
|
value: input.responseFormat
|
|
@@ -7630,7 +7654,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
7630
7654
|
path: _path + ".userNotificationsEnabled",
|
|
7631
7655
|
expected: "(boolean | undefined)",
|
|
7632
7656
|
value: input.userNotificationsEnabled
|
|
7633
|
-
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.type || "
|
|
7657
|
+
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.type || "report" === input.type || _report(_exceptionable, {
|
|
7658
|
+
path: _path + ".type",
|
|
7659
|
+
expected: "(\"report\" | undefined)",
|
|
7660
|
+
value: input.type
|
|
7661
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
7662
|
+
path: _path + ".userNotificationsEnabled",
|
|
7663
|
+
expected: "(boolean | undefined)",
|
|
7664
|
+
value: input.userNotificationsEnabled
|
|
7665
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.type || "reuters" === input.type || _report(_exceptionable, {
|
|
7634
7666
|
path: _path + ".type",
|
|
7635
7667
|
expected: "(\"reuters\" | undefined)",
|
|
7636
7668
|
value: input.type
|
|
@@ -7650,7 +7682,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
7650
7682
|
path: _path + ".userNotificationsEnabled",
|
|
7651
7683
|
expected: "(boolean | undefined)",
|
|
7652
7684
|
value: input.userNotificationsEnabled
|
|
7653
|
-
})].every(flag => flag); const
|
|
7685
|
+
})].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
7654
7686
|
path: _path + ".type",
|
|
7655
7687
|
expected: "(null | undefined)",
|
|
7656
7688
|
value: input.type
|
|
@@ -7753,17 +7785,17 @@ function _validateDomainRecord(domain, input) {
|
|
|
7753
7785
|
return _vo71(input, _path, true && _exceptionable);
|
|
7754
7786
|
else
|
|
7755
7787
|
return _vo18(input, _path, true && _exceptionable);
|
|
7756
|
-
})(); const _vu19 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo2(input, _path, false && _exceptionable) || _vo73(input, _path, false && _exceptionable) || _vo74(input, _path, false && _exceptionable) || _vo75(input, _path, false && _exceptionable) || _vo76(input, _path, false && _exceptionable) || _vo77(input, _path, false && _exceptionable) || _vo78(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu19(input); let errors; let _report; return input => {
|
|
7788
|
+
})(); const _vu19 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo2(input, _path, false && _exceptionable) || _vo73(input, _path, false && _exceptionable) || _vo74(input, _path, false && _exceptionable) || _vo75(input, _path, false && _exceptionable) || _vo76(input, _path, false && _exceptionable) || _vo77(input, _path, false && _exceptionable) || _vo78(input, _path, false && _exceptionable) || _vo79(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu19(input); let errors; let _report; return input => {
|
|
7757
7789
|
if (false === __is(input)) {
|
|
7758
7790
|
errors = [];
|
|
7759
7791
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
7760
7792
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
7761
7793
|
path: _path + "",
|
|
7762
|
-
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
7794
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReportConnectionRecord | ReutersConnectionRecord)",
|
|
7763
7795
|
value: input
|
|
7764
7796
|
})) && _vu19(input, _path + "", true) || _report(true, {
|
|
7765
7797
|
path: _path + "",
|
|
7766
|
-
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
7798
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReportConnectionRecord | ReutersConnectionRecord)",
|
|
7767
7799
|
value: input
|
|
7768
7800
|
}))(input, "$input", true);
|
|
7769
7801
|
const success = 0 === errors.length;
|
|
@@ -12852,30 +12884,74 @@ function _validateDomainRecord(domain, input) {
|
|
|
12852
12884
|
}; })()(input);
|
|
12853
12885
|
}
|
|
12854
12886
|
case ":panel": {
|
|
12855
|
-
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.editorPriority || "number" === typeof input.editorPriority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io7(input.layout)) && true && true; const _io1 = input => Object.keys(input).every(key => {
|
|
12887
|
+
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.editorPriority || "number" === typeof input.editorPriority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io7(input.layout)) && true && true && (undefined === input.expandSkipEmpty || "boolean" === typeof input.expandSkipEmpty) && (undefined === input.xml || "object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) && _io10(input.xml)) && (undefined === input.rss || "object" === typeof input.rss && null !== input.rss && false === Array.isArray(input.rss) && _io21(input.rss)) && (undefined === input.expandIngestclip || "boolean" === typeof input.expandIngestclip) && (null === input.publishedTypes || undefined === input.publishedTypes || Array.isArray(input.publishedTypes) && input.publishedTypes.every(elem => "string" === typeof elem)); const _io1 = input => Object.keys(input).every(key => {
|
|
12856
12888
|
const value = input[key];
|
|
12857
12889
|
if (undefined === value)
|
|
12858
12890
|
return true;
|
|
12859
12891
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
12860
|
-
}); const _io2 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.
|
|
12892
|
+
}); const _io2 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io3(input.index)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io4(input.items)) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io6(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "string" === typeof input.label && "string" === typeof input.path; const _io4 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io4(input.items)) && true && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties)) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io6(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io5 = input => Object.keys(input).every(key => {
|
|
12893
|
+
const value = input[key];
|
|
12894
|
+
if (undefined === value)
|
|
12895
|
+
return true;
|
|
12896
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io4(value);
|
|
12897
|
+
}); const _io6 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
12861
12898
|
if (["type", "readOnly"].some(prop => key === prop))
|
|
12862
12899
|
return true;
|
|
12863
12900
|
const value = input[key];
|
|
12864
12901
|
if (undefined === value)
|
|
12865
12902
|
return true;
|
|
12866
12903
|
return true;
|
|
12867
|
-
}); const
|
|
12904
|
+
}); const _io7 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))) && (null !== input.csv && (undefined === input.csv || true === input.csv || Array.isArray(input.csv) && input.csv.every(elem => "string" === typeof elem))) && (null !== input.json && (undefined === input.json || true === input.json || Array.isArray(input.json) && input.json.every(elem => "string" === typeof elem))) && (null !== input.xml && (undefined === input.xml || true === input.xml || Array.isArray(input.xml) && input.xml.every(elem => "string" === typeof elem))) && (null !== input.rss && (undefined === input.rss || true === input.rss || Array.isArray(input.rss) && input.rss.every(elem => "string" === typeof elem))); const _io8 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io9 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io6(input.widget))); const _io10 = input => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io11(input.options)) && (undefined === input.formatterOptions || "object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) && _io15(input.formatterOptions)) && (null !== input.rootSchema && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _iu1(input.rootSchema)))) && (null !== input.itemSchema && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _iu2(input.itemSchema)))); const _io11 = input => (undefined === input.version || "1.0" === input.version) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.standalone || "boolean" === typeof input.standalone) && (undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes) && (undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes) && (undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters) && (undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText) && (undefined === input.convert || "object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) && _io12(input.convert)) && (undefined === input.defaultNamespace || "object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) && _io13(input.defaultNamespace)) && (undefined === input.namespaceAlias || "object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) && _io14(input.namespaceAlias)) && (null !== input.invalidCharReplacement && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement)) && true && Object.keys(input).every(key => {
|
|
12905
|
+
if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
|
|
12906
|
+
return true;
|
|
12868
12907
|
const value = input[key];
|
|
12869
12908
|
if (undefined === value)
|
|
12870
12909
|
return true;
|
|
12871
|
-
return
|
|
12872
|
-
}); const
|
|
12910
|
+
return true;
|
|
12911
|
+
}); const _io12 = input => (undefined === input.att || "string" === typeof input.att) && (undefined === input.ins || "string" === typeof input.ins) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.cdata || "string" === typeof input.cdata) && (undefined === input.comment || "string" === typeof input.comment); const _io13 = input => (null === input.ele || undefined === input.ele || "string" === typeof input.ele) && (null === input.att || undefined === input.att || "string" === typeof input.att); const _io14 = input => Object.keys(input).every(key => {
|
|
12912
|
+
const value = input[key];
|
|
12913
|
+
if (undefined === value)
|
|
12914
|
+
return true;
|
|
12915
|
+
return null === value || undefined === value || "string" === typeof value;
|
|
12916
|
+
}); const _io15 = input => (undefined === input.wellFormed || "boolean" === typeof input.wellFormed) && (undefined === input.format || "xml" === input.format) && (undefined === input.headless || "boolean" === typeof input.headless) && (undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint) && (undefined === input.indent || "string" === typeof input.indent) && (undefined === input.newline || "string" === typeof input.newline) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags) && (undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes) && (undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash); const _io16 = input => Object.keys(input).every(key => {
|
|
12917
|
+
const value = input[key];
|
|
12918
|
+
if (undefined === value)
|
|
12919
|
+
return true;
|
|
12920
|
+
return true;
|
|
12921
|
+
}); const _io17 = input => "object" === typeof input.__context && null !== input.__context && _io18(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io16(input.__returnValue))); const _io18 = input => "string" === typeof input.publishId && Array.isArray(input.items); const _io19 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io20(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io16(input.__returnValue))); const _io20 = input => Object.keys(input).every(key => {
|
|
12922
|
+
const value = input[key];
|
|
12923
|
+
if (undefined === value)
|
|
12924
|
+
return true;
|
|
12925
|
+
return true;
|
|
12926
|
+
}); const _io21 = input => (undefined === input.namespaces || "object" === typeof input.namespaces && null !== input.namespaces && false === Array.isArray(input.namespaces) && _io22(input.namespaces)) && (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.updated || "string" === typeof input.updated || "number" === typeof input.updated) && (undefined === input.generator || "string" === typeof input.generator) && (undefined === input.language || "string" === typeof input.language) && (undefined === input.ttl || "number" === typeof input.ttl) && (undefined === input.stylesheet || "string" === typeof input.stylesheet) && (undefined === input.feed || "string" === typeof input.feed) && (undefined === input.feedLinks || "object" === typeof input.feedLinks && null !== input.feedLinks && false === Array.isArray(input.feedLinks) && _io23(input.feedLinks)) && (undefined === input.hub || "string" === typeof input.hub) && (undefined === input.docs || "string" === typeof input.docs) && (undefined === input.podcast || "boolean" === typeof input.podcast) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.author || "object" === typeof input.author && null !== input.author && false === Array.isArray(input.author) && _io24(input.author)) && (undefined === input.link || "string" === typeof input.link) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.image || "string" === typeof input.image) && (undefined === input.favicon || "string" === typeof input.favicon) && (undefined === input.copyright || "string" === typeof input.copyright); const _io22 = input => Object.keys(input).every(key => {
|
|
12927
|
+
const value = input[key];
|
|
12928
|
+
if (undefined === value)
|
|
12929
|
+
return true;
|
|
12930
|
+
return "string" === typeof value;
|
|
12931
|
+
}); const _io23 = input => (undefined === input.rss || "string" === typeof input.rss) && (undefined === input.atom || "string" === typeof input.atom) && (undefined === input.json || "string" === typeof input.json) && Object.keys(input).every(key => {
|
|
12932
|
+
if (["rss", "atom", "json"].some(prop => key === prop))
|
|
12933
|
+
return true;
|
|
12934
|
+
const value = input[key];
|
|
12935
|
+
if (undefined === value)
|
|
12936
|
+
return true;
|
|
12937
|
+
return undefined === value || "string" === typeof value;
|
|
12938
|
+
}); const _io24 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.email || "string" === typeof input.email) && (undefined === input.link || "string" === typeof input.link) && (undefined === input.avatar || "string" === typeof input.avatar); const _iu0 = input => (() => {
|
|
12873
12939
|
if (undefined !== input.type)
|
|
12874
12940
|
return _io8(input);
|
|
12875
12941
|
else if (undefined !== input.property)
|
|
12876
12942
|
return _io9(input);
|
|
12877
12943
|
else
|
|
12878
12944
|
return false;
|
|
12945
|
+
})(); const _iu1 = input => (() => {
|
|
12946
|
+
if (undefined !== input.__context)
|
|
12947
|
+
return _io17(input);
|
|
12948
|
+
else
|
|
12949
|
+
return _io16(input);
|
|
12950
|
+
})(); const _iu2 = input => (() => {
|
|
12951
|
+
if (undefined !== input.__context)
|
|
12952
|
+
return _io19(input);
|
|
12953
|
+
else
|
|
12954
|
+
return _io16(input);
|
|
12879
12955
|
})(); const _ia0 = input => input.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && _iu0(elem)))); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
12880
12956
|
path: _path + ".title",
|
|
12881
12957
|
expected: "(string | undefined)",
|
|
@@ -12888,8 +12964,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12888
12964
|
path: _path + ".supports",
|
|
12889
12965
|
expected: "(Array<string> | string | undefined)",
|
|
12890
12966
|
value: input.supports
|
|
12891
|
-
})) && input.supports.map((elem,
|
|
12892
|
-
path: _path + ".supports[" +
|
|
12967
|
+
})) && input.supports.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
12968
|
+
path: _path + ".supports[" + _index12 + "]",
|
|
12893
12969
|
expected: "string",
|
|
12894
12970
|
value: elem
|
|
12895
12971
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12920,17 +12996,53 @@ function _validateDomainRecord(domain, input) {
|
|
|
12920
12996
|
path: _path + ".layout",
|
|
12921
12997
|
expected: "(__type.o2 | undefined)",
|
|
12922
12998
|
value: input.layout
|
|
12923
|
-
}), true, true
|
|
12999
|
+
}), true, true, undefined === input.expandSkipEmpty || "boolean" === typeof input.expandSkipEmpty || _report(_exceptionable, {
|
|
13000
|
+
path: _path + ".expandSkipEmpty",
|
|
13001
|
+
expected: "(boolean | undefined)",
|
|
13002
|
+
value: input.expandSkipEmpty
|
|
13003
|
+
}), undefined === input.xml || ("object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) || _report(_exceptionable, {
|
|
13004
|
+
path: _path + ".xml",
|
|
13005
|
+
expected: "(ReportXmlOptions | undefined)",
|
|
13006
|
+
value: input.xml
|
|
13007
|
+
})) && _vo10(input.xml, _path + ".xml", true && _exceptionable) || _report(_exceptionable, {
|
|
13008
|
+
path: _path + ".xml",
|
|
13009
|
+
expected: "(ReportXmlOptions | undefined)",
|
|
13010
|
+
value: input.xml
|
|
13011
|
+
}), undefined === input.rss || ("object" === typeof input.rss && null !== input.rss && false === Array.isArray(input.rss) || _report(_exceptionable, {
|
|
13012
|
+
path: _path + ".rss",
|
|
13013
|
+
expected: "(ReportRssOptions | undefined)",
|
|
13014
|
+
value: input.rss
|
|
13015
|
+
})) && _vo21(input.rss, _path + ".rss", true && _exceptionable) || _report(_exceptionable, {
|
|
13016
|
+
path: _path + ".rss",
|
|
13017
|
+
expected: "(ReportRssOptions | undefined)",
|
|
13018
|
+
value: input.rss
|
|
13019
|
+
}), undefined === input.expandIngestclip || "boolean" === typeof input.expandIngestclip || _report(_exceptionable, {
|
|
13020
|
+
path: _path + ".expandIngestclip",
|
|
13021
|
+
expected: "(boolean | undefined)",
|
|
13022
|
+
value: input.expandIngestclip
|
|
13023
|
+
}), null === input.publishedTypes || undefined === input.publishedTypes || (Array.isArray(input.publishedTypes) || _report(_exceptionable, {
|
|
13024
|
+
path: _path + ".publishedTypes",
|
|
13025
|
+
expected: "(Array<string> | null | undefined)",
|
|
13026
|
+
value: input.publishedTypes
|
|
13027
|
+
})) && input.publishedTypes.map((elem, _index13) => "string" === typeof elem || _report(_exceptionable, {
|
|
13028
|
+
path: _path + ".publishedTypes[" + _index13 + "]",
|
|
13029
|
+
expected: "string",
|
|
13030
|
+
value: elem
|
|
13031
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
13032
|
+
path: _path + ".publishedTypes",
|
|
13033
|
+
expected: "(Array<string> | null | undefined)",
|
|
13034
|
+
value: input.publishedTypes
|
|
13035
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
12924
13036
|
const value = input[key];
|
|
12925
13037
|
if (undefined === value)
|
|
12926
13038
|
return true;
|
|
12927
13039
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
12928
13040
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12929
|
-
expected: "
|
|
13041
|
+
expected: "PanelRootProperty<unknown>",
|
|
12930
13042
|
value: value
|
|
12931
13043
|
})) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
12932
13044
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12933
|
-
expected: "
|
|
13045
|
+
expected: "PanelRootProperty<unknown>",
|
|
12934
13046
|
value: value
|
|
12935
13047
|
});
|
|
12936
13048
|
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.domain || "string" === typeof input.domain || _report(_exceptionable, {
|
|
@@ -12941,58 +13053,90 @@ function _validateDomainRecord(domain, input) {
|
|
|
12941
13053
|
path: _path + ".path",
|
|
12942
13054
|
expected: "(string | undefined)",
|
|
12943
13055
|
value: input.path
|
|
13056
|
+
}), true, undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
13057
|
+
path: _path + ".index",
|
|
13058
|
+
expected: "(__type.o1 | undefined)",
|
|
13059
|
+
value: input.index
|
|
13060
|
+
})) && _vo3(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
13061
|
+
path: _path + ".index",
|
|
13062
|
+
expected: "(__type.o1 | undefined)",
|
|
13063
|
+
value: input.index
|
|
12944
13064
|
}), undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
|
|
12945
13065
|
path: _path + ".type",
|
|
12946
13066
|
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
12947
13067
|
value: input.type
|
|
12948
|
-
}), undefined === input.
|
|
12949
|
-
path: _path + ".
|
|
12950
|
-
expected: "(
|
|
12951
|
-
value: input.
|
|
12952
|
-
})
|
|
12953
|
-
path: _path + ".
|
|
12954
|
-
expected: "(
|
|
12955
|
-
value: input.
|
|
13068
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
13069
|
+
path: _path + ".items",
|
|
13070
|
+
expected: "(PanelProperty<unknown> | undefined)",
|
|
13071
|
+
value: input.items
|
|
13072
|
+
})) && _vo4(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
13073
|
+
path: _path + ".items",
|
|
13074
|
+
expected: "(PanelProperty<unknown> | undefined)",
|
|
13075
|
+
value: input.items
|
|
13076
|
+
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
13077
|
+
path: _path + ".minItems",
|
|
13078
|
+
expected: "(number | undefined)",
|
|
13079
|
+
value: input.minItems
|
|
13080
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
13081
|
+
path: _path + ".maxItems",
|
|
13082
|
+
expected: "(number | undefined)",
|
|
13083
|
+
value: input.maxItems
|
|
13084
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
13085
|
+
path: _path + ".properties",
|
|
13086
|
+
expected: "(Record<string, PanelProperty<unknown>> | undefined)",
|
|
13087
|
+
value: input.properties
|
|
13088
|
+
})) && _vo5(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
13089
|
+
path: _path + ".properties",
|
|
13090
|
+
expected: "(Record<string, PanelProperty<unknown>> | undefined)",
|
|
13091
|
+
value: input.properties
|
|
12956
13092
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
12957
13093
|
path: _path + ".required",
|
|
12958
13094
|
expected: "(boolean | undefined)",
|
|
12959
13095
|
value: input.required
|
|
12960
13096
|
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
12961
13097
|
path: _path + ".oneOf",
|
|
12962
|
-
expected: "(Array<
|
|
13098
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
12963
13099
|
value: input.oneOf
|
|
12964
|
-
})) && input.oneOf.map((elem,
|
|
12965
|
-
path: _path + ".oneOf[" +
|
|
12966
|
-
expected: "
|
|
13100
|
+
})) && input.oneOf.map((elem, _index14) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
13101
|
+
path: _path + ".oneOf[" + _index14 + "]",
|
|
13102
|
+
expected: "PanelProperty<unknown>",
|
|
12967
13103
|
value: elem
|
|
12968
|
-
})) &&
|
|
12969
|
-
path: _path + ".oneOf[" +
|
|
12970
|
-
expected: "
|
|
13104
|
+
})) && _vo4(elem, _path + ".oneOf[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13105
|
+
path: _path + ".oneOf[" + _index14 + "]",
|
|
13106
|
+
expected: "PanelProperty<unknown>",
|
|
12971
13107
|
value: elem
|
|
12972
13108
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
12973
13109
|
path: _path + ".oneOf",
|
|
12974
|
-
expected: "(Array<
|
|
13110
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
12975
13111
|
value: input.oneOf
|
|
12976
13112
|
}), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
12977
13113
|
path: _path + ".anyOf",
|
|
12978
|
-
expected: "(Array<
|
|
13114
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
12979
13115
|
value: input.anyOf
|
|
12980
|
-
})) && input.anyOf.map((elem,
|
|
12981
|
-
path: _path + ".anyOf[" +
|
|
12982
|
-
expected: "
|
|
13116
|
+
})) && input.anyOf.map((elem, _index15) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
13117
|
+
path: _path + ".anyOf[" + _index15 + "]",
|
|
13118
|
+
expected: "PanelProperty<unknown>",
|
|
12983
13119
|
value: elem
|
|
12984
|
-
})) &&
|
|
12985
|
-
path: _path + ".anyOf[" +
|
|
12986
|
-
expected: "
|
|
13120
|
+
})) && _vo4(elem, _path + ".anyOf[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13121
|
+
path: _path + ".anyOf[" + _index15 + "]",
|
|
13122
|
+
expected: "PanelProperty<unknown>",
|
|
12987
13123
|
value: elem
|
|
12988
13124
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
12989
13125
|
path: _path + ".anyOf",
|
|
12990
|
-
expected: "(Array<
|
|
13126
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
12991
13127
|
value: input.anyOf
|
|
12992
13128
|
}), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
|
|
12993
13129
|
path: _path + "[\"enum\"]",
|
|
12994
13130
|
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
12995
13131
|
value: input["enum"]
|
|
13132
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
13133
|
+
path: _path + ".title",
|
|
13134
|
+
expected: "(string | undefined)",
|
|
13135
|
+
value: input.title
|
|
13136
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
13137
|
+
path: _path + ".description",
|
|
13138
|
+
expected: "(string | undefined)",
|
|
13139
|
+
value: input.description
|
|
12996
13140
|
}), (null !== input.widget || _report(_exceptionable, {
|
|
12997
13141
|
path: _path + ".widget",
|
|
12998
13142
|
expected: "(WidgetOptions | string | undefined)",
|
|
@@ -13001,7 +13145,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13001
13145
|
path: _path + ".widget",
|
|
13002
13146
|
expected: "(WidgetOptions | string | undefined)",
|
|
13003
13147
|
value: input.widget
|
|
13004
|
-
})) &&
|
|
13148
|
+
})) && _vo6(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
13005
13149
|
path: _path + ".widget",
|
|
13006
13150
|
expected: "(WidgetOptions | string | undefined)",
|
|
13007
13151
|
value: input.widget
|
|
@@ -13017,47 +13161,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13017
13161
|
path: _path + ".invalid",
|
|
13018
13162
|
expected: "(boolean | undefined)",
|
|
13019
13163
|
value: input.invalid
|
|
13020
|
-
}), true
|
|
13021
|
-
path: _path + ".
|
|
13022
|
-
expected: "
|
|
13023
|
-
value: input.
|
|
13024
|
-
}),
|
|
13025
|
-
path: _path + ".maxItems",
|
|
13026
|
-
expected: "(number | undefined)",
|
|
13027
|
-
value: input.maxItems
|
|
13028
|
-
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
13029
|
-
path: _path + ".items",
|
|
13030
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
13031
|
-
value: input.items
|
|
13032
|
-
})) && _vo3(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
13033
|
-
path: _path + ".items",
|
|
13034
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
13035
|
-
value: input.items
|
|
13036
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
13037
|
-
path: _path + ".properties",
|
|
13038
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
13039
|
-
value: input.properties
|
|
13040
|
-
})) && _vo5(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
13041
|
-
path: _path + ".properties",
|
|
13042
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
13043
|
-
value: input.properties
|
|
13044
|
-
}), true, undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
13045
|
-
path: _path + ".index",
|
|
13046
|
-
expected: "(__type.o1 | undefined)",
|
|
13047
|
-
value: input.index
|
|
13048
|
-
})) && _vo6(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
13049
|
-
path: _path + ".index",
|
|
13050
|
-
expected: "(__type.o1 | undefined)",
|
|
13051
|
-
value: input.index
|
|
13052
|
-
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.domain || "string" === typeof input.domain || _report(_exceptionable, {
|
|
13053
|
-
path: _path + ".domain",
|
|
13054
|
-
expected: "(string | undefined)",
|
|
13055
|
-
value: input.domain
|
|
13056
|
-
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
13164
|
+
}), true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
13165
|
+
path: _path + ".label",
|
|
13166
|
+
expected: "string",
|
|
13167
|
+
value: input.label
|
|
13168
|
+
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
13057
13169
|
path: _path + ".path",
|
|
13058
|
-
expected: "
|
|
13170
|
+
expected: "string",
|
|
13059
13171
|
value: input.path
|
|
13060
|
-
}), undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
|
|
13172
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
|
|
13061
13173
|
path: _path + ".type",
|
|
13062
13174
|
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
13063
13175
|
value: input.type
|
|
@@ -13075,40 +13187,64 @@ function _validateDomainRecord(domain, input) {
|
|
|
13075
13187
|
value: input.required
|
|
13076
13188
|
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
13077
13189
|
path: _path + ".oneOf",
|
|
13078
|
-
expected: "(Array<
|
|
13190
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
13079
13191
|
value: input.oneOf
|
|
13080
|
-
})) && input.oneOf.map((elem,
|
|
13081
|
-
path: _path + ".oneOf[" +
|
|
13082
|
-
expected: "
|
|
13192
|
+
})) && input.oneOf.map((elem, _index16) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
13193
|
+
path: _path + ".oneOf[" + _index16 + "]",
|
|
13194
|
+
expected: "PanelProperty<unknown>",
|
|
13083
13195
|
value: elem
|
|
13084
|
-
})) &&
|
|
13085
|
-
path: _path + ".oneOf[" +
|
|
13086
|
-
expected: "
|
|
13196
|
+
})) && _vo4(elem, _path + ".oneOf[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13197
|
+
path: _path + ".oneOf[" + _index16 + "]",
|
|
13198
|
+
expected: "PanelProperty<unknown>",
|
|
13087
13199
|
value: elem
|
|
13088
13200
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13089
13201
|
path: _path + ".oneOf",
|
|
13090
|
-
expected: "(Array<
|
|
13202
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
13091
13203
|
value: input.oneOf
|
|
13092
13204
|
}), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
13093
13205
|
path: _path + ".anyOf",
|
|
13094
|
-
expected: "(Array<
|
|
13206
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
13095
13207
|
value: input.anyOf
|
|
13096
|
-
})) && input.anyOf.map((elem,
|
|
13097
|
-
path: _path + ".anyOf[" +
|
|
13098
|
-
expected: "
|
|
13208
|
+
})) && input.anyOf.map((elem, _index17) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
13209
|
+
path: _path + ".anyOf[" + _index17 + "]",
|
|
13210
|
+
expected: "PanelProperty<unknown>",
|
|
13099
13211
|
value: elem
|
|
13100
|
-
})) &&
|
|
13101
|
-
path: _path + ".anyOf[" +
|
|
13102
|
-
expected: "
|
|
13212
|
+
})) && _vo4(elem, _path + ".anyOf[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13213
|
+
path: _path + ".anyOf[" + _index17 + "]",
|
|
13214
|
+
expected: "PanelProperty<unknown>",
|
|
13103
13215
|
value: elem
|
|
13104
13216
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13105
13217
|
path: _path + ".anyOf",
|
|
13106
|
-
expected: "(Array<
|
|
13218
|
+
expected: "(Array<PanelProperty<unknown>> | undefined)",
|
|
13107
13219
|
value: input.anyOf
|
|
13108
13220
|
}), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
|
|
13109
13221
|
path: _path + "[\"enum\"]",
|
|
13110
13222
|
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
13111
13223
|
value: input["enum"]
|
|
13224
|
+
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
13225
|
+
path: _path + ".minItems",
|
|
13226
|
+
expected: "(number | undefined)",
|
|
13227
|
+
value: input.minItems
|
|
13228
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
13229
|
+
path: _path + ".maxItems",
|
|
13230
|
+
expected: "(number | undefined)",
|
|
13231
|
+
value: input.maxItems
|
|
13232
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
13233
|
+
path: _path + ".items",
|
|
13234
|
+
expected: "(PanelProperty<unknown> | undefined)",
|
|
13235
|
+
value: input.items
|
|
13236
|
+
})) && _vo4(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
13237
|
+
path: _path + ".items",
|
|
13238
|
+
expected: "(PanelProperty<unknown> | undefined)",
|
|
13239
|
+
value: input.items
|
|
13240
|
+
}), true, undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
13241
|
+
path: _path + ".properties",
|
|
13242
|
+
expected: "(Record<string, PanelProperty<unknown>> | undefined)",
|
|
13243
|
+
value: input.properties
|
|
13244
|
+
})) && _vo5(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
13245
|
+
path: _path + ".properties",
|
|
13246
|
+
expected: "(Record<string, PanelProperty<unknown>> | undefined)",
|
|
13247
|
+
value: input.properties
|
|
13112
13248
|
}), (null !== input.widget || _report(_exceptionable, {
|
|
13113
13249
|
path: _path + ".widget",
|
|
13114
13250
|
expected: "(WidgetOptions | string | undefined)",
|
|
@@ -13117,7 +13253,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13117
13253
|
path: _path + ".widget",
|
|
13118
13254
|
expected: "(WidgetOptions | string | undefined)",
|
|
13119
13255
|
value: input.widget
|
|
13120
|
-
})) &&
|
|
13256
|
+
})) && _vo6(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
13121
13257
|
path: _path + ".widget",
|
|
13122
13258
|
expected: "(WidgetOptions | string | undefined)",
|
|
13123
13259
|
value: input.widget
|
|
@@ -13133,39 +13269,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
13133
13269
|
path: _path + ".invalid",
|
|
13134
13270
|
expected: "(boolean | undefined)",
|
|
13135
13271
|
value: input.invalid
|
|
13136
|
-
}), true
|
|
13137
|
-
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
13151
|
-
value: input.items
|
|
13152
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
13153
|
-
path: _path + ".properties",
|
|
13154
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
13155
|
-
value: input.properties
|
|
13156
|
-
})) && _vo5(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
13157
|
-
path: _path + ".properties",
|
|
13158
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
13159
|
-
value: input.properties
|
|
13160
|
-
}), true, undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
13161
|
-
path: _path + ".index",
|
|
13162
|
-
expected: "(__type.o1 | undefined)",
|
|
13163
|
-
value: input.index
|
|
13164
|
-
})) && _vo6(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
13165
|
-
path: _path + ".index",
|
|
13166
|
-
expected: "(__type.o1 | undefined)",
|
|
13167
|
-
value: input.index
|
|
13168
|
-
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
13272
|
+
}), true].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13273
|
+
const value = input[key];
|
|
13274
|
+
if (undefined === value)
|
|
13275
|
+
return true;
|
|
13276
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
13277
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13278
|
+
expected: "PanelProperty<unknown>",
|
|
13279
|
+
value: value
|
|
13280
|
+
})) && _vo4(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13281
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13282
|
+
expected: "PanelProperty<unknown>",
|
|
13283
|
+
value: value
|
|
13284
|
+
});
|
|
13285
|
+
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
13169
13286
|
path: _path + ".type",
|
|
13170
13287
|
expected: "(string | undefined)",
|
|
13171
13288
|
value: input.type
|
|
@@ -13180,28 +13297,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13180
13297
|
if (undefined === value)
|
|
13181
13298
|
return true;
|
|
13182
13299
|
return true;
|
|
13183
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13184
|
-
const value = input[key];
|
|
13185
|
-
if (undefined === value)
|
|
13186
|
-
return true;
|
|
13187
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
13188
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13189
|
-
expected: "BaseSchemaProperty<unknown>",
|
|
13190
|
-
value: value
|
|
13191
|
-
})) && _vo3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13192
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13193
|
-
expected: "BaseSchemaProperty<unknown>",
|
|
13194
|
-
value: value
|
|
13195
|
-
});
|
|
13196
|
-
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
13197
|
-
path: _path + ".label",
|
|
13198
|
-
expected: "string",
|
|
13199
|
-
value: input.label
|
|
13200
|
-
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
13201
|
-
path: _path + ".path",
|
|
13202
|
-
expected: "string",
|
|
13203
|
-
value: input.path
|
|
13204
|
-
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [(null !== input.panel || _report(_exceptionable, {
|
|
13300
|
+
}).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [(null !== input.panel || _report(_exceptionable, {
|
|
13205
13301
|
path: _path + ".panel",
|
|
13206
13302
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string | undefined)",
|
|
13207
13303
|
value: input.panel
|
|
@@ -13233,6 +13329,70 @@ function _validateDomainRecord(domain, input) {
|
|
|
13233
13329
|
path: _path + ".editor",
|
|
13234
13330
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string | undefined)",
|
|
13235
13331
|
value: input.editor
|
|
13332
|
+
})), (null !== input.csv || _report(_exceptionable, {
|
|
13333
|
+
path: _path + ".csv",
|
|
13334
|
+
expected: "(Array<string> | true | undefined)",
|
|
13335
|
+
value: input.csv
|
|
13336
|
+
})) && (undefined === input.csv || true === input.csv || (Array.isArray(input.csv) || _report(_exceptionable, {
|
|
13337
|
+
path: _path + ".csv",
|
|
13338
|
+
expected: "(Array<string> | true | undefined)",
|
|
13339
|
+
value: input.csv
|
|
13340
|
+
})) && input.csv.map((elem, _index18) => "string" === typeof elem || _report(_exceptionable, {
|
|
13341
|
+
path: _path + ".csv[" + _index18 + "]",
|
|
13342
|
+
expected: "string",
|
|
13343
|
+
value: elem
|
|
13344
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
13345
|
+
path: _path + ".csv",
|
|
13346
|
+
expected: "(Array<string> | true | undefined)",
|
|
13347
|
+
value: input.csv
|
|
13348
|
+
})), (null !== input.json || _report(_exceptionable, {
|
|
13349
|
+
path: _path + ".json",
|
|
13350
|
+
expected: "(Array<string> | true | undefined)",
|
|
13351
|
+
value: input.json
|
|
13352
|
+
})) && (undefined === input.json || true === input.json || (Array.isArray(input.json) || _report(_exceptionable, {
|
|
13353
|
+
path: _path + ".json",
|
|
13354
|
+
expected: "(Array<string> | true | undefined)",
|
|
13355
|
+
value: input.json
|
|
13356
|
+
})) && input.json.map((elem, _index19) => "string" === typeof elem || _report(_exceptionable, {
|
|
13357
|
+
path: _path + ".json[" + _index19 + "]",
|
|
13358
|
+
expected: "string",
|
|
13359
|
+
value: elem
|
|
13360
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
13361
|
+
path: _path + ".json",
|
|
13362
|
+
expected: "(Array<string> | true | undefined)",
|
|
13363
|
+
value: input.json
|
|
13364
|
+
})), (null !== input.xml || _report(_exceptionable, {
|
|
13365
|
+
path: _path + ".xml",
|
|
13366
|
+
expected: "(Array<string> | true | undefined)",
|
|
13367
|
+
value: input.xml
|
|
13368
|
+
})) && (undefined === input.xml || true === input.xml || (Array.isArray(input.xml) || _report(_exceptionable, {
|
|
13369
|
+
path: _path + ".xml",
|
|
13370
|
+
expected: "(Array<string> | true | undefined)",
|
|
13371
|
+
value: input.xml
|
|
13372
|
+
})) && input.xml.map((elem, _index20) => "string" === typeof elem || _report(_exceptionable, {
|
|
13373
|
+
path: _path + ".xml[" + _index20 + "]",
|
|
13374
|
+
expected: "string",
|
|
13375
|
+
value: elem
|
|
13376
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
13377
|
+
path: _path + ".xml",
|
|
13378
|
+
expected: "(Array<string> | true | undefined)",
|
|
13379
|
+
value: input.xml
|
|
13380
|
+
})), (null !== input.rss || _report(_exceptionable, {
|
|
13381
|
+
path: _path + ".rss",
|
|
13382
|
+
expected: "(Array<string> | true | undefined)",
|
|
13383
|
+
value: input.rss
|
|
13384
|
+
})) && (undefined === input.rss || true === input.rss || (Array.isArray(input.rss) || _report(_exceptionable, {
|
|
13385
|
+
path: _path + ".rss",
|
|
13386
|
+
expected: "(Array<string> | true | undefined)",
|
|
13387
|
+
value: input.rss
|
|
13388
|
+
})) && input.rss.map((elem, _index21) => "string" === typeof elem || _report(_exceptionable, {
|
|
13389
|
+
path: _path + ".rss[" + _index21 + "]",
|
|
13390
|
+
expected: "string",
|
|
13391
|
+
value: elem
|
|
13392
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
13393
|
+
path: _path + ".rss",
|
|
13394
|
+
expected: "(Array<string> | true | undefined)",
|
|
13395
|
+
value: input.rss
|
|
13236
13396
|
}))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["divider" === input.type || _report(_exceptionable, {
|
|
13237
13397
|
path: _path + ".type",
|
|
13238
13398
|
expected: "\"divider\"",
|
|
@@ -13240,28 +13400,422 @@ function _validateDomainRecord(domain, input) {
|
|
|
13240
13400
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
13241
13401
|
path: _path + ".title",
|
|
13242
13402
|
expected: "(string | undefined)",
|
|
13243
|
-
value: input.title
|
|
13244
|
-
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.property || _report(_exceptionable, {
|
|
13245
|
-
path: _path + ".property",
|
|
13246
|
-
expected: "string",
|
|
13247
|
-
value: input.property
|
|
13248
|
-
}), undefined === input.width || "string" === typeof input.width || "number" === typeof input.width || _report(_exceptionable, {
|
|
13249
|
-
path: _path + ".width",
|
|
13250
|
-
expected: "(number | string | undefined)",
|
|
13251
|
-
value: input.width
|
|
13252
|
-
}), (null !== input.widget || _report(_exceptionable, {
|
|
13253
|
-
path: _path + ".widget",
|
|
13254
|
-
expected: "(WidgetOptions | string | undefined)",
|
|
13255
|
-
value: input.widget
|
|
13256
|
-
})) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
|
|
13257
|
-
path: _path + ".widget",
|
|
13258
|
-
expected: "(WidgetOptions | string | undefined)",
|
|
13259
|
-
value: input.widget
|
|
13260
|
-
})) &&
|
|
13261
|
-
path: _path + ".widget",
|
|
13262
|
-
expected: "(WidgetOptions | string | undefined)",
|
|
13263
|
-
value: input.widget
|
|
13264
|
-
}))].every(flag => flag); const
|
|
13403
|
+
value: input.title
|
|
13404
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.property || _report(_exceptionable, {
|
|
13405
|
+
path: _path + ".property",
|
|
13406
|
+
expected: "string",
|
|
13407
|
+
value: input.property
|
|
13408
|
+
}), undefined === input.width || "string" === typeof input.width || "number" === typeof input.width || _report(_exceptionable, {
|
|
13409
|
+
path: _path + ".width",
|
|
13410
|
+
expected: "(number | string | undefined)",
|
|
13411
|
+
value: input.width
|
|
13412
|
+
}), (null !== input.widget || _report(_exceptionable, {
|
|
13413
|
+
path: _path + ".widget",
|
|
13414
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
13415
|
+
value: input.widget
|
|
13416
|
+
})) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
|
|
13417
|
+
path: _path + ".widget",
|
|
13418
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
13419
|
+
value: input.widget
|
|
13420
|
+
})) && _vo6(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
13421
|
+
path: _path + ".widget",
|
|
13422
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
13423
|
+
value: input.widget
|
|
13424
|
+
}))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
|
|
13425
|
+
path: _path + ".options",
|
|
13426
|
+
expected: "(XMLBuilderOptions | undefined)",
|
|
13427
|
+
value: input.options
|
|
13428
|
+
})) && _vo11(input.options, _path + ".options", true && _exceptionable) || _report(_exceptionable, {
|
|
13429
|
+
path: _path + ".options",
|
|
13430
|
+
expected: "(XMLBuilderOptions | undefined)",
|
|
13431
|
+
value: input.options
|
|
13432
|
+
}), undefined === input.formatterOptions || ("object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) || _report(_exceptionable, {
|
|
13433
|
+
path: _path + ".formatterOptions",
|
|
13434
|
+
expected: "(XMLWriterOptions | undefined)",
|
|
13435
|
+
value: input.formatterOptions
|
|
13436
|
+
})) && _vo15(input.formatterOptions, _path + ".formatterOptions", true && _exceptionable) || _report(_exceptionable, {
|
|
13437
|
+
path: _path + ".formatterOptions",
|
|
13438
|
+
expected: "(XMLWriterOptions | undefined)",
|
|
13439
|
+
value: input.formatterOptions
|
|
13440
|
+
}), (null !== input.rootSchema || _report(_exceptionable, {
|
|
13441
|
+
path: _path + ".rootSchema",
|
|
13442
|
+
expected: "(Array<any> | __type.o5 | __type.o6 | string | undefined)",
|
|
13443
|
+
value: input.rootSchema
|
|
13444
|
+
})) && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _vu1(input.rootSchema, _path + ".rootSchema", true && _exceptionable) || _report(_exceptionable, {
|
|
13445
|
+
path: _path + ".rootSchema",
|
|
13446
|
+
expected: "(Array<any> | __type.o5 | __type.o6 | string | undefined)",
|
|
13447
|
+
value: input.rootSchema
|
|
13448
|
+
})) || _report(_exceptionable, {
|
|
13449
|
+
path: _path + ".rootSchema",
|
|
13450
|
+
expected: "(Array<any> | __type.o5 | __type.o6 | string | undefined)",
|
|
13451
|
+
value: input.rootSchema
|
|
13452
|
+
})), (null !== input.itemSchema || _report(_exceptionable, {
|
|
13453
|
+
path: _path + ".itemSchema",
|
|
13454
|
+
expected: "(Array<any> | __type.o5 | __type.o8 | string | undefined)",
|
|
13455
|
+
value: input.itemSchema
|
|
13456
|
+
})) && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _vu2(input.itemSchema, _path + ".itemSchema", true && _exceptionable) || _report(_exceptionable, {
|
|
13457
|
+
path: _path + ".itemSchema",
|
|
13458
|
+
expected: "(Array<any> | __type.o5 | __type.o8 | string | undefined)",
|
|
13459
|
+
value: input.itemSchema
|
|
13460
|
+
})) || _report(_exceptionable, {
|
|
13461
|
+
path: _path + ".itemSchema",
|
|
13462
|
+
expected: "(Array<any> | __type.o5 | __type.o8 | string | undefined)",
|
|
13463
|
+
value: input.itemSchema
|
|
13464
|
+
}))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.version || "1.0" === input.version || _report(_exceptionable, {
|
|
13465
|
+
path: _path + ".version",
|
|
13466
|
+
expected: "(\"1.0\" | undefined)",
|
|
13467
|
+
value: input.version
|
|
13468
|
+
}), undefined === input.encoding || "string" === typeof input.encoding || _report(_exceptionable, {
|
|
13469
|
+
path: _path + ".encoding",
|
|
13470
|
+
expected: "(string | undefined)",
|
|
13471
|
+
value: input.encoding
|
|
13472
|
+
}), undefined === input.standalone || "boolean" === typeof input.standalone || _report(_exceptionable, {
|
|
13473
|
+
path: _path + ".standalone",
|
|
13474
|
+
expected: "(boolean | undefined)",
|
|
13475
|
+
value: input.standalone
|
|
13476
|
+
}), undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes || _report(_exceptionable, {
|
|
13477
|
+
path: _path + ".keepNullNodes",
|
|
13478
|
+
expected: "(boolean | undefined)",
|
|
13479
|
+
value: input.keepNullNodes
|
|
13480
|
+
}), undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes || _report(_exceptionable, {
|
|
13481
|
+
path: _path + ".keepNullAttributes",
|
|
13482
|
+
expected: "(boolean | undefined)",
|
|
13483
|
+
value: input.keepNullAttributes
|
|
13484
|
+
}), undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters || _report(_exceptionable, {
|
|
13485
|
+
path: _path + ".ignoreConverters",
|
|
13486
|
+
expected: "(boolean | undefined)",
|
|
13487
|
+
value: input.ignoreConverters
|
|
13488
|
+
}), undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText || _report(_exceptionable, {
|
|
13489
|
+
path: _path + ".skipWhitespaceOnlyText",
|
|
13490
|
+
expected: "(boolean | undefined)",
|
|
13491
|
+
value: input.skipWhitespaceOnlyText
|
|
13492
|
+
}), undefined === input.convert || ("object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) || _report(_exceptionable, {
|
|
13493
|
+
path: _path + ".convert",
|
|
13494
|
+
expected: "(ConvertOptions | undefined)",
|
|
13495
|
+
value: input.convert
|
|
13496
|
+
})) && _vo12(input.convert, _path + ".convert", true && _exceptionable) || _report(_exceptionable, {
|
|
13497
|
+
path: _path + ".convert",
|
|
13498
|
+
expected: "(ConvertOptions | undefined)",
|
|
13499
|
+
value: input.convert
|
|
13500
|
+
}), undefined === input.defaultNamespace || ("object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) || _report(_exceptionable, {
|
|
13501
|
+
path: _path + ".defaultNamespace",
|
|
13502
|
+
expected: "(__type.o3 | undefined)",
|
|
13503
|
+
value: input.defaultNamespace
|
|
13504
|
+
})) && _vo13(input.defaultNamespace, _path + ".defaultNamespace", true && _exceptionable) || _report(_exceptionable, {
|
|
13505
|
+
path: _path + ".defaultNamespace",
|
|
13506
|
+
expected: "(__type.o3 | undefined)",
|
|
13507
|
+
value: input.defaultNamespace
|
|
13508
|
+
}), undefined === input.namespaceAlias || ("object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) || _report(_exceptionable, {
|
|
13509
|
+
path: _path + ".namespaceAlias",
|
|
13510
|
+
expected: "(__type.o4 | undefined)",
|
|
13511
|
+
value: input.namespaceAlias
|
|
13512
|
+
})) && _vo14(input.namespaceAlias, _path + ".namespaceAlias", true && _exceptionable) || _report(_exceptionable, {
|
|
13513
|
+
path: _path + ".namespaceAlias",
|
|
13514
|
+
expected: "(__type.o4 | undefined)",
|
|
13515
|
+
value: input.namespaceAlias
|
|
13516
|
+
}), (null !== input.invalidCharReplacement || _report(_exceptionable, {
|
|
13517
|
+
path: _path + ".invalidCharReplacement",
|
|
13518
|
+
expected: "(string | undefined)",
|
|
13519
|
+
value: input.invalidCharReplacement
|
|
13520
|
+
})) && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement || _report(_exceptionable, {
|
|
13521
|
+
path: _path + ".invalidCharReplacement",
|
|
13522
|
+
expected: "(string | undefined)",
|
|
13523
|
+
value: input.invalidCharReplacement
|
|
13524
|
+
})), true, false === _exceptionable || Object.keys(input).map(key => {
|
|
13525
|
+
if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
|
|
13526
|
+
return true;
|
|
13527
|
+
const value = input[key];
|
|
13528
|
+
if (undefined === value)
|
|
13529
|
+
return true;
|
|
13530
|
+
return true;
|
|
13531
|
+
}).every(flag => flag)].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.att || "string" === typeof input.att || _report(_exceptionable, {
|
|
13532
|
+
path: _path + ".att",
|
|
13533
|
+
expected: "(string | undefined)",
|
|
13534
|
+
value: input.att
|
|
13535
|
+
}), undefined === input.ins || "string" === typeof input.ins || _report(_exceptionable, {
|
|
13536
|
+
path: _path + ".ins",
|
|
13537
|
+
expected: "(string | undefined)",
|
|
13538
|
+
value: input.ins
|
|
13539
|
+
}), undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
|
|
13540
|
+
path: _path + ".text",
|
|
13541
|
+
expected: "(string | undefined)",
|
|
13542
|
+
value: input.text
|
|
13543
|
+
}), undefined === input.cdata || "string" === typeof input.cdata || _report(_exceptionable, {
|
|
13544
|
+
path: _path + ".cdata",
|
|
13545
|
+
expected: "(string | undefined)",
|
|
13546
|
+
value: input.cdata
|
|
13547
|
+
}), undefined === input.comment || "string" === typeof input.comment || _report(_exceptionable, {
|
|
13548
|
+
path: _path + ".comment",
|
|
13549
|
+
expected: "(string | undefined)",
|
|
13550
|
+
value: input.comment
|
|
13551
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [null === input.ele || undefined === input.ele || "string" === typeof input.ele || _report(_exceptionable, {
|
|
13552
|
+
path: _path + ".ele",
|
|
13553
|
+
expected: "(null | string | undefined)",
|
|
13554
|
+
value: input.ele
|
|
13555
|
+
}), null === input.att || undefined === input.att || "string" === typeof input.att || _report(_exceptionable, {
|
|
13556
|
+
path: _path + ".att",
|
|
13557
|
+
expected: "(null | string | undefined)",
|
|
13558
|
+
value: input.att
|
|
13559
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13560
|
+
const value = input[key];
|
|
13561
|
+
if (undefined === value)
|
|
13562
|
+
return true;
|
|
13563
|
+
return null === value || undefined === value || "string" === typeof value || _report(_exceptionable, {
|
|
13564
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13565
|
+
expected: "(null | string | undefined)",
|
|
13566
|
+
value: value
|
|
13567
|
+
});
|
|
13568
|
+
}).every(flag => flag)].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.wellFormed || "boolean" === typeof input.wellFormed || _report(_exceptionable, {
|
|
13569
|
+
path: _path + ".wellFormed",
|
|
13570
|
+
expected: "(boolean | undefined)",
|
|
13571
|
+
value: input.wellFormed
|
|
13572
|
+
}), undefined === input.format || "xml" === input.format || _report(_exceptionable, {
|
|
13573
|
+
path: _path + ".format",
|
|
13574
|
+
expected: "(\"xml\" | undefined)",
|
|
13575
|
+
value: input.format
|
|
13576
|
+
}), undefined === input.headless || "boolean" === typeof input.headless || _report(_exceptionable, {
|
|
13577
|
+
path: _path + ".headless",
|
|
13578
|
+
expected: "(boolean | undefined)",
|
|
13579
|
+
value: input.headless
|
|
13580
|
+
}), undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint || _report(_exceptionable, {
|
|
13581
|
+
path: _path + ".prettyPrint",
|
|
13582
|
+
expected: "(boolean | undefined)",
|
|
13583
|
+
value: input.prettyPrint
|
|
13584
|
+
}), undefined === input.indent || "string" === typeof input.indent || _report(_exceptionable, {
|
|
13585
|
+
path: _path + ".indent",
|
|
13586
|
+
expected: "(string | undefined)",
|
|
13587
|
+
value: input.indent
|
|
13588
|
+
}), undefined === input.newline || "string" === typeof input.newline || _report(_exceptionable, {
|
|
13589
|
+
path: _path + ".newline",
|
|
13590
|
+
expected: "(string | undefined)",
|
|
13591
|
+
value: input.newline
|
|
13592
|
+
}), undefined === input.offset || "number" === typeof input.offset || _report(_exceptionable, {
|
|
13593
|
+
path: _path + ".offset",
|
|
13594
|
+
expected: "(number | undefined)",
|
|
13595
|
+
value: input.offset
|
|
13596
|
+
}), undefined === input.width || "number" === typeof input.width || _report(_exceptionable, {
|
|
13597
|
+
path: _path + ".width",
|
|
13598
|
+
expected: "(number | undefined)",
|
|
13599
|
+
value: input.width
|
|
13600
|
+
}), undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags || _report(_exceptionable, {
|
|
13601
|
+
path: _path + ".allowEmptyTags",
|
|
13602
|
+
expected: "(boolean | undefined)",
|
|
13603
|
+
value: input.allowEmptyTags
|
|
13604
|
+
}), undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes || _report(_exceptionable, {
|
|
13605
|
+
path: _path + ".indentTextOnlyNodes",
|
|
13606
|
+
expected: "(boolean | undefined)",
|
|
13607
|
+
value: input.indentTextOnlyNodes
|
|
13608
|
+
}), undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash || _report(_exceptionable, {
|
|
13609
|
+
path: _path + ".spaceBeforeSlash",
|
|
13610
|
+
expected: "(boolean | undefined)",
|
|
13611
|
+
value: input.spaceBeforeSlash
|
|
13612
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13613
|
+
const value = input[key];
|
|
13614
|
+
if (undefined === value)
|
|
13615
|
+
return true;
|
|
13616
|
+
return true;
|
|
13617
|
+
}).every(flag => flag)].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
13618
|
+
path: _path + ".__context",
|
|
13619
|
+
expected: "__type.o7",
|
|
13620
|
+
value: input.__context
|
|
13621
|
+
})) && _vo18(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
13622
|
+
path: _path + ".__context",
|
|
13623
|
+
expected: "__type.o7",
|
|
13624
|
+
value: input.__context
|
|
13625
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
13626
|
+
path: _path + ".__returnValue",
|
|
13627
|
+
expected: "(Array<any> | __type.o5)",
|
|
13628
|
+
value: input.__returnValue
|
|
13629
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
13630
|
+
path: _path + ".__returnValue",
|
|
13631
|
+
expected: "(Array<any> | __type.o5)",
|
|
13632
|
+
value: input.__returnValue
|
|
13633
|
+
})) && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _vo16(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
13634
|
+
path: _path + ".__returnValue",
|
|
13635
|
+
expected: "(Array<any> | __type.o5)",
|
|
13636
|
+
value: input.__returnValue
|
|
13637
|
+
}) || _report(_exceptionable, {
|
|
13638
|
+
path: _path + ".__returnValue",
|
|
13639
|
+
expected: "(Array<any> | __type.o5)",
|
|
13640
|
+
value: input.__returnValue
|
|
13641
|
+
}))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.publishId || _report(_exceptionable, {
|
|
13642
|
+
path: _path + ".publishId",
|
|
13643
|
+
expected: "string",
|
|
13644
|
+
value: input.publishId
|
|
13645
|
+
}), Array.isArray(input.items) || _report(_exceptionable, {
|
|
13646
|
+
path: _path + ".items",
|
|
13647
|
+
expected: "Array<unknown>",
|
|
13648
|
+
value: input.items
|
|
13649
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || _report(_exceptionable, {
|
|
13650
|
+
path: _path + ".__context",
|
|
13651
|
+
expected: "Record<string, unknown>",
|
|
13652
|
+
value: input.__context
|
|
13653
|
+
})) && _vo20(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
13654
|
+
path: _path + ".__context",
|
|
13655
|
+
expected: "Record<string, unknown>",
|
|
13656
|
+
value: input.__context
|
|
13657
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
13658
|
+
path: _path + ".__returnValue",
|
|
13659
|
+
expected: "(Array<any> | __type.o5)",
|
|
13660
|
+
value: input.__returnValue
|
|
13661
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
13662
|
+
path: _path + ".__returnValue",
|
|
13663
|
+
expected: "(Array<any> | __type.o5)",
|
|
13664
|
+
value: input.__returnValue
|
|
13665
|
+
})) && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _vo16(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
13666
|
+
path: _path + ".__returnValue",
|
|
13667
|
+
expected: "(Array<any> | __type.o5)",
|
|
13668
|
+
value: input.__returnValue
|
|
13669
|
+
}) || _report(_exceptionable, {
|
|
13670
|
+
path: _path + ".__returnValue",
|
|
13671
|
+
expected: "(Array<any> | __type.o5)",
|
|
13672
|
+
value: input.__returnValue
|
|
13673
|
+
}))].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13674
|
+
const value = input[key];
|
|
13675
|
+
if (undefined === value)
|
|
13676
|
+
return true;
|
|
13677
|
+
return true;
|
|
13678
|
+
}).every(flag => flag)].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.namespaces || ("object" === typeof input.namespaces && null !== input.namespaces && false === Array.isArray(input.namespaces) || _report(_exceptionable, {
|
|
13679
|
+
path: _path + ".namespaces",
|
|
13680
|
+
expected: "(Record<string, string> | undefined)",
|
|
13681
|
+
value: input.namespaces
|
|
13682
|
+
})) && _vo22(input.namespaces, _path + ".namespaces", true && _exceptionable) || _report(_exceptionable, {
|
|
13683
|
+
path: _path + ".namespaces",
|
|
13684
|
+
expected: "(Record<string, string> | undefined)",
|
|
13685
|
+
value: input.namespaces
|
|
13686
|
+
}), undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
13687
|
+
path: _path + ".id",
|
|
13688
|
+
expected: "(string | undefined)",
|
|
13689
|
+
value: input.id
|
|
13690
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
13691
|
+
path: _path + ".title",
|
|
13692
|
+
expected: "(string | undefined)",
|
|
13693
|
+
value: input.title
|
|
13694
|
+
}), undefined === input.updated || "string" === typeof input.updated || "number" === typeof input.updated || _report(_exceptionable, {
|
|
13695
|
+
path: _path + ".updated",
|
|
13696
|
+
expected: "(number | string | undefined)",
|
|
13697
|
+
value: input.updated
|
|
13698
|
+
}), undefined === input.generator || "string" === typeof input.generator || _report(_exceptionable, {
|
|
13699
|
+
path: _path + ".generator",
|
|
13700
|
+
expected: "(string | undefined)",
|
|
13701
|
+
value: input.generator
|
|
13702
|
+
}), undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
13703
|
+
path: _path + ".language",
|
|
13704
|
+
expected: "(string | undefined)",
|
|
13705
|
+
value: input.language
|
|
13706
|
+
}), undefined === input.ttl || "number" === typeof input.ttl || _report(_exceptionable, {
|
|
13707
|
+
path: _path + ".ttl",
|
|
13708
|
+
expected: "(number | undefined)",
|
|
13709
|
+
value: input.ttl
|
|
13710
|
+
}), undefined === input.stylesheet || "string" === typeof input.stylesheet || _report(_exceptionable, {
|
|
13711
|
+
path: _path + ".stylesheet",
|
|
13712
|
+
expected: "(string | undefined)",
|
|
13713
|
+
value: input.stylesheet
|
|
13714
|
+
}), undefined === input.feed || "string" === typeof input.feed || _report(_exceptionable, {
|
|
13715
|
+
path: _path + ".feed",
|
|
13716
|
+
expected: "(string | undefined)",
|
|
13717
|
+
value: input.feed
|
|
13718
|
+
}), undefined === input.feedLinks || ("object" === typeof input.feedLinks && null !== input.feedLinks && false === Array.isArray(input.feedLinks) || _report(_exceptionable, {
|
|
13719
|
+
path: _path + ".feedLinks",
|
|
13720
|
+
expected: "(__type.o9 | undefined)",
|
|
13721
|
+
value: input.feedLinks
|
|
13722
|
+
})) && _vo23(input.feedLinks, _path + ".feedLinks", true && _exceptionable) || _report(_exceptionable, {
|
|
13723
|
+
path: _path + ".feedLinks",
|
|
13724
|
+
expected: "(__type.o9 | undefined)",
|
|
13725
|
+
value: input.feedLinks
|
|
13726
|
+
}), undefined === input.hub || "string" === typeof input.hub || _report(_exceptionable, {
|
|
13727
|
+
path: _path + ".hub",
|
|
13728
|
+
expected: "(string | undefined)",
|
|
13729
|
+
value: input.hub
|
|
13730
|
+
}), undefined === input.docs || "string" === typeof input.docs || _report(_exceptionable, {
|
|
13731
|
+
path: _path + ".docs",
|
|
13732
|
+
expected: "(string | undefined)",
|
|
13733
|
+
value: input.docs
|
|
13734
|
+
}), undefined === input.podcast || "boolean" === typeof input.podcast || _report(_exceptionable, {
|
|
13735
|
+
path: _path + ".podcast",
|
|
13736
|
+
expected: "(boolean | undefined)",
|
|
13737
|
+
value: input.podcast
|
|
13738
|
+
}), undefined === input.category || "string" === typeof input.category || _report(_exceptionable, {
|
|
13739
|
+
path: _path + ".category",
|
|
13740
|
+
expected: "(string | undefined)",
|
|
13741
|
+
value: input.category
|
|
13742
|
+
}), undefined === input.author || ("object" === typeof input.author && null !== input.author && false === Array.isArray(input.author) || _report(_exceptionable, {
|
|
13743
|
+
path: _path + ".author",
|
|
13744
|
+
expected: "(RssAuthor | undefined)",
|
|
13745
|
+
value: input.author
|
|
13746
|
+
})) && _vo24(input.author, _path + ".author", true && _exceptionable) || _report(_exceptionable, {
|
|
13747
|
+
path: _path + ".author",
|
|
13748
|
+
expected: "(RssAuthor | undefined)",
|
|
13749
|
+
value: input.author
|
|
13750
|
+
}), undefined === input.link || "string" === typeof input.link || _report(_exceptionable, {
|
|
13751
|
+
path: _path + ".link",
|
|
13752
|
+
expected: "(string | undefined)",
|
|
13753
|
+
value: input.link
|
|
13754
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
13755
|
+
path: _path + ".description",
|
|
13756
|
+
expected: "(string | undefined)",
|
|
13757
|
+
value: input.description
|
|
13758
|
+
}), undefined === input.image || "string" === typeof input.image || _report(_exceptionable, {
|
|
13759
|
+
path: _path + ".image",
|
|
13760
|
+
expected: "(string | undefined)",
|
|
13761
|
+
value: input.image
|
|
13762
|
+
}), undefined === input.favicon || "string" === typeof input.favicon || _report(_exceptionable, {
|
|
13763
|
+
path: _path + ".favicon",
|
|
13764
|
+
expected: "(string | undefined)",
|
|
13765
|
+
value: input.favicon
|
|
13766
|
+
}), undefined === input.copyright || "string" === typeof input.copyright || _report(_exceptionable, {
|
|
13767
|
+
path: _path + ".copyright",
|
|
13768
|
+
expected: "(string | undefined)",
|
|
13769
|
+
value: input.copyright
|
|
13770
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13771
|
+
const value = input[key];
|
|
13772
|
+
if (undefined === value)
|
|
13773
|
+
return true;
|
|
13774
|
+
return "string" === typeof value || _report(_exceptionable, {
|
|
13775
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13776
|
+
expected: "string",
|
|
13777
|
+
value: value
|
|
13778
|
+
});
|
|
13779
|
+
}).every(flag => flag)].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.rss || "string" === typeof input.rss || _report(_exceptionable, {
|
|
13780
|
+
path: _path + ".rss",
|
|
13781
|
+
expected: "(string | undefined)",
|
|
13782
|
+
value: input.rss
|
|
13783
|
+
}), undefined === input.atom || "string" === typeof input.atom || _report(_exceptionable, {
|
|
13784
|
+
path: _path + ".atom",
|
|
13785
|
+
expected: "(string | undefined)",
|
|
13786
|
+
value: input.atom
|
|
13787
|
+
}), undefined === input.json || "string" === typeof input.json || _report(_exceptionable, {
|
|
13788
|
+
path: _path + ".json",
|
|
13789
|
+
expected: "(string | undefined)",
|
|
13790
|
+
value: input.json
|
|
13791
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
13792
|
+
if (["rss", "atom", "json"].some(prop => key === prop))
|
|
13793
|
+
return true;
|
|
13794
|
+
const value = input[key];
|
|
13795
|
+
if (undefined === value)
|
|
13796
|
+
return true;
|
|
13797
|
+
return undefined === value || "string" === typeof value || _report(_exceptionable, {
|
|
13798
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13799
|
+
expected: "(string | undefined)",
|
|
13800
|
+
value: value
|
|
13801
|
+
});
|
|
13802
|
+
}).every(flag => flag)].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
13803
|
+
path: _path + ".name",
|
|
13804
|
+
expected: "(string | undefined)",
|
|
13805
|
+
value: input.name
|
|
13806
|
+
}), undefined === input.email || "string" === typeof input.email || _report(_exceptionable, {
|
|
13807
|
+
path: _path + ".email",
|
|
13808
|
+
expected: "(string | undefined)",
|
|
13809
|
+
value: input.email
|
|
13810
|
+
}), undefined === input.link || "string" === typeof input.link || _report(_exceptionable, {
|
|
13811
|
+
path: _path + ".link",
|
|
13812
|
+
expected: "(string | undefined)",
|
|
13813
|
+
value: input.link
|
|
13814
|
+
}), undefined === input.avatar || "string" === typeof input.avatar || _report(_exceptionable, {
|
|
13815
|
+
path: _path + ".avatar",
|
|
13816
|
+
expected: "(string | undefined)",
|
|
13817
|
+
value: input.avatar
|
|
13818
|
+
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
13265
13819
|
if (undefined !== input.type)
|
|
13266
13820
|
return _vo8(input, _path, true && _exceptionable);
|
|
13267
13821
|
else if (undefined !== input.property)
|
|
@@ -13272,24 +13826,34 @@ function _validateDomainRecord(domain, input) {
|
|
|
13272
13826
|
expected: "(WidgetLayoutDivider | WidgetLayoutItem)",
|
|
13273
13827
|
value: input
|
|
13274
13828
|
});
|
|
13275
|
-
})(); const
|
|
13276
|
-
|
|
13829
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
13830
|
+
if (undefined !== input.__context)
|
|
13831
|
+
return _vo17(input, _path, true && _exceptionable);
|
|
13832
|
+
else
|
|
13833
|
+
return _vo16(input, _path, true && _exceptionable);
|
|
13834
|
+
})(); const _vu2 = (input, _path, _exceptionable = true) => (() => {
|
|
13835
|
+
if (undefined !== input.__context)
|
|
13836
|
+
return _vo19(input, _path, true && _exceptionable);
|
|
13837
|
+
else
|
|
13838
|
+
return _vo16(input, _path, true && _exceptionable);
|
|
13839
|
+
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index22) => (null !== elem || _report(_exceptionable, {
|
|
13840
|
+
path: _path + "[" + _index22 + "]",
|
|
13277
13841
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string)",
|
|
13278
13842
|
value: elem
|
|
13279
13843
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
13280
|
-
path: _path + "[" +
|
|
13844
|
+
path: _path + "[" + _index22 + "]",
|
|
13281
13845
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string)",
|
|
13282
13846
|
value: elem
|
|
13283
|
-
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
13284
|
-
path: _path + "[" +
|
|
13847
|
+
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13848
|
+
path: _path + "[" + _index22 + "]",
|
|
13285
13849
|
expected: "Array<WidgetLayout>",
|
|
13286
13850
|
value: elem
|
|
13287
|
-
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" +
|
|
13288
|
-
path: _path + "[" +
|
|
13851
|
+
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13852
|
+
path: _path + "[" + _index22 + "]",
|
|
13289
13853
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string)",
|
|
13290
13854
|
value: elem
|
|
13291
13855
|
})) || _report(_exceptionable, {
|
|
13292
|
-
path: _path + "[" +
|
|
13856
|
+
path: _path + "[" + _index22 + "]",
|
|
13293
13857
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string)",
|
|
13294
13858
|
value: elem
|
|
13295
13859
|
}))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
@@ -13964,7 +14528,29 @@ function _validateDomainRecord(domain, input) {
|
|
|
13964
14528
|
if (undefined === value)
|
|
13965
14529
|
return true;
|
|
13966
14530
|
return true;
|
|
13967
|
-
}); const _io39 = input => "string" === typeof input.path; const _io40 = input => "string" === typeof input.path; const _io41 = input => (undefined === input.type || "
|
|
14531
|
+
}); const _io39 = input => "string" === typeof input.path; const _io40 = input => "string" === typeof input.path; const _io41 = input => (undefined === input.type || "report" === input.type) && (undefined === input.searchId || "string" === typeof input.searchId) && (undefined === input.expand || "object" === typeof input.expand && null !== input.expand && false === Array.isArray(input.expand) && _io42(input.expand)) && (undefined === input.panel || "string" === typeof input.panel) && (undefined === input.route || "string" === typeof input.route) && (undefined === input.sort || "string" === typeof input.sort) && (undefined === input.order || "asc" === input.order || "desc" === input.order) && (undefined === input.format || "rss" === input.format || "json" === input.format || "xml" === input.format || "csv" === input.format) && (undefined === input.xml || "object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) && _io43(input.xml)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io42 = input => (undefined === input.type || "" === input.type || "deadlines" === input.type || "published" === input.type || "recurrence_date_range" === input.type) && (undefined === input.start || "string" === typeof input.start) && (undefined === input.end || "string" === typeof input.end); const _io43 = input => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io44(input.options)) && (undefined === input.formatterOptions || "object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) && _io48(input.formatterOptions)) && (null !== input.rootSchema && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _iu1(input.rootSchema)))) && (null !== input.itemSchema && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _iu2(input.itemSchema)))); const _io44 = input => (undefined === input.version || "1.0" === input.version) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.standalone || "boolean" === typeof input.standalone) && (undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes) && (undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes) && (undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters) && (undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText) && (undefined === input.convert || "object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) && _io45(input.convert)) && (undefined === input.defaultNamespace || "object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) && _io46(input.defaultNamespace)) && (undefined === input.namespaceAlias || "object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) && _io47(input.namespaceAlias)) && (null !== input.invalidCharReplacement && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement)) && true && Object.keys(input).every(key => {
|
|
14532
|
+
if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
|
|
14533
|
+
return true;
|
|
14534
|
+
const value = input[key];
|
|
14535
|
+
if (undefined === value)
|
|
14536
|
+
return true;
|
|
14537
|
+
return true;
|
|
14538
|
+
}); const _io45 = input => (undefined === input.att || "string" === typeof input.att) && (undefined === input.ins || "string" === typeof input.ins) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.cdata || "string" === typeof input.cdata) && (undefined === input.comment || "string" === typeof input.comment); const _io46 = input => (null === input.ele || undefined === input.ele || "string" === typeof input.ele) && (null === input.att || undefined === input.att || "string" === typeof input.att); const _io47 = input => Object.keys(input).every(key => {
|
|
14539
|
+
const value = input[key];
|
|
14540
|
+
if (undefined === value)
|
|
14541
|
+
return true;
|
|
14542
|
+
return null === value || undefined === value || "string" === typeof value;
|
|
14543
|
+
}); const _io48 = input => (undefined === input.wellFormed || "boolean" === typeof input.wellFormed) && (undefined === input.format || "xml" === input.format) && (undefined === input.headless || "boolean" === typeof input.headless) && (undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint) && (undefined === input.indent || "string" === typeof input.indent) && (undefined === input.newline || "string" === typeof input.newline) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags) && (undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes) && (undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash); const _io49 = input => Object.keys(input).every(key => {
|
|
14544
|
+
const value = input[key];
|
|
14545
|
+
if (undefined === value)
|
|
14546
|
+
return true;
|
|
14547
|
+
return true;
|
|
14548
|
+
}); const _io50 = input => "object" === typeof input.__context && null !== input.__context && _io51(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io49(input.__returnValue))); const _io51 = input => "string" === typeof input.publishId && Array.isArray(input.items); const _io52 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io53(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io49(input.__returnValue))); const _io53 = input => Object.keys(input).every(key => {
|
|
14549
|
+
const value = input[key];
|
|
14550
|
+
if (undefined === value)
|
|
14551
|
+
return true;
|
|
14552
|
+
return true;
|
|
14553
|
+
}); const _io54 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io55(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io55 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io56(input.snippet); const _io56 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
13968
14554
|
if (undefined !== input.path)
|
|
13969
14555
|
return _io29(input);
|
|
13970
14556
|
else if (undefined !== input.__context)
|
|
@@ -13972,6 +14558,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
13972
14558
|
else
|
|
13973
14559
|
return false;
|
|
13974
14560
|
})(); const _iu1 = input => (() => {
|
|
14561
|
+
if (undefined !== input.__context)
|
|
14562
|
+
return _io50(input);
|
|
14563
|
+
else
|
|
14564
|
+
return _io49(input);
|
|
14565
|
+
})(); const _iu2 = input => (() => {
|
|
14566
|
+
if (undefined !== input.__context)
|
|
14567
|
+
return _io52(input);
|
|
14568
|
+
else
|
|
14569
|
+
return _io49(input);
|
|
14570
|
+
})(); const _iu3 = input => (() => {
|
|
13975
14571
|
if (_io0(input))
|
|
13976
14572
|
return _io0(input);
|
|
13977
14573
|
if (_io26(input))
|
|
@@ -13982,6 +14578,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13982
14578
|
return _io27(input);
|
|
13983
14579
|
if (_io41(input))
|
|
13984
14580
|
return _io41(input);
|
|
14581
|
+
if (_io54(input))
|
|
14582
|
+
return _io54(input);
|
|
13985
14583
|
return false;
|
|
13986
14584
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
13987
14585
|
path: _path + ".type",
|
|
@@ -14015,12 +14613,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14015
14613
|
path: _path + ".messages",
|
|
14016
14614
|
expected: "(Array<Message> | undefined)",
|
|
14017
14615
|
value: input.messages
|
|
14018
|
-
})) && input.messages.map((elem,
|
|
14019
|
-
path: _path + ".messages[" +
|
|
14616
|
+
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14617
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
14020
14618
|
expected: "Message",
|
|
14021
14619
|
value: elem
|
|
14022
|
-
})) && _vo25(elem, _path + ".messages[" +
|
|
14023
|
-
path: _path + ".messages[" +
|
|
14620
|
+
})) && _vo25(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14621
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
14024
14622
|
expected: "Message",
|
|
14025
14623
|
value: elem
|
|
14026
14624
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14464,16 +15062,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
14464
15062
|
path: _path + ".pan",
|
|
14465
15063
|
expected: "(Array<Array<number>> | undefined)",
|
|
14466
15064
|
value: input.pan
|
|
14467
|
-
})) && input.pan.map((elem,
|
|
14468
|
-
path: _path + ".pan[" +
|
|
15065
|
+
})) && input.pan.map((elem, _index14) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
15066
|
+
path: _path + ".pan[" + _index14 + "]",
|
|
14469
15067
|
expected: "Array<number>",
|
|
14470
15068
|
value: elem
|
|
14471
|
-
})) && elem.map((elem,
|
|
14472
|
-
path: _path + ".pan[" +
|
|
15069
|
+
})) && elem.map((elem, _index15) => "number" === typeof elem || _report(_exceptionable, {
|
|
15070
|
+
path: _path + ".pan[" + _index14 + "][" + _index15 + "]",
|
|
14473
15071
|
expected: "number",
|
|
14474
15072
|
value: elem
|
|
14475
15073
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
14476
|
-
path: _path + ".pan[" +
|
|
15074
|
+
path: _path + ".pan[" + _index14 + "]",
|
|
14477
15075
|
expected: "Array<number>",
|
|
14478
15076
|
value: elem
|
|
14479
15077
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14488,8 +15086,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14488
15086
|
path: _path + ".pan",
|
|
14489
15087
|
expected: "(Array<number> | undefined)",
|
|
14490
15088
|
value: input.pan
|
|
14491
|
-
})) && input.pan.map((elem,
|
|
14492
|
-
path: _path + ".pan[" +
|
|
15089
|
+
})) && input.pan.map((elem, _index16) => "number" === typeof elem || _report(_exceptionable, {
|
|
15090
|
+
path: _path + ".pan[" + _index16 + "]",
|
|
14493
15091
|
expected: "number",
|
|
14494
15092
|
value: elem
|
|
14495
15093
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14532,8 +15130,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14532
15130
|
path: _path + ".pick",
|
|
14533
15131
|
expected: "(Array<string> | undefined)",
|
|
14534
15132
|
value: input.pick
|
|
14535
|
-
})) && input.pick.map((elem,
|
|
14536
|
-
path: _path + ".pick[" +
|
|
15133
|
+
})) && input.pick.map((elem, _index17) => "string" === typeof elem || _report(_exceptionable, {
|
|
15134
|
+
path: _path + ".pick[" + _index17 + "]",
|
|
14537
15135
|
expected: "string",
|
|
14538
15136
|
value: elem
|
|
14539
15137
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14668,12 +15266,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14668
15266
|
path: _path + ".messages",
|
|
14669
15267
|
expected: "(Array<Message> | undefined)",
|
|
14670
15268
|
value: input.messages
|
|
14671
|
-
})) && input.messages.map((elem,
|
|
14672
|
-
path: _path + ".messages[" +
|
|
15269
|
+
})) && input.messages.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
15270
|
+
path: _path + ".messages[" + _index18 + "]",
|
|
14673
15271
|
expected: "Message",
|
|
14674
15272
|
value: elem
|
|
14675
|
-
})) && _vo25(elem, _path + ".messages[" +
|
|
14676
|
-
path: _path + ".messages[" +
|
|
15273
|
+
})) && _vo25(elem, _path + ".messages[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15274
|
+
path: _path + ".messages[" + _index18 + "]",
|
|
14677
15275
|
expected: "Message",
|
|
14678
15276
|
value: elem
|
|
14679
15277
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14752,12 +15350,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14752
15350
|
path: _path + ".messages",
|
|
14753
15351
|
expected: "(Array<Message> | undefined)",
|
|
14754
15352
|
value: input.messages
|
|
14755
|
-
})) && input.messages.map((elem,
|
|
14756
|
-
path: _path + ".messages[" +
|
|
15353
|
+
})) && input.messages.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
15354
|
+
path: _path + ".messages[" + _index19 + "]",
|
|
14757
15355
|
expected: "Message",
|
|
14758
15356
|
value: elem
|
|
14759
|
-
})) && _vo25(elem, _path + ".messages[" +
|
|
14760
|
-
path: _path + ".messages[" +
|
|
15357
|
+
})) && _vo25(elem, _path + ".messages[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15358
|
+
path: _path + ".messages[" + _index19 + "]",
|
|
14761
15359
|
expected: "Message",
|
|
14762
15360
|
value: elem
|
|
14763
15361
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14902,12 +15500,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14902
15500
|
path: _path + ".messages",
|
|
14903
15501
|
expected: "(Array<Message> | undefined)",
|
|
14904
15502
|
value: input.messages
|
|
14905
|
-
})) && input.messages.map((elem,
|
|
14906
|
-
path: _path + ".messages[" +
|
|
15503
|
+
})) && input.messages.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
15504
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
14907
15505
|
expected: "Message",
|
|
14908
15506
|
value: elem
|
|
14909
|
-
})) && _vo25(elem, _path + ".messages[" +
|
|
14910
|
-
path: _path + ".messages[" +
|
|
15507
|
+
})) && _vo25(elem, _path + ".messages[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15508
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
14911
15509
|
expected: "Message",
|
|
14912
15510
|
value: elem
|
|
14913
15511
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15006,12 +15604,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15006
15604
|
path: _path + ".messages",
|
|
15007
15605
|
expected: "(Array<Message> | undefined)",
|
|
15008
15606
|
value: input.messages
|
|
15009
|
-
})) && input.messages.map((elem,
|
|
15010
|
-
path: _path + ".messages[" +
|
|
15607
|
+
})) && input.messages.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
15608
|
+
path: _path + ".messages[" + _index21 + "]",
|
|
15011
15609
|
expected: "Message",
|
|
15012
15610
|
value: elem
|
|
15013
|
-
})) && _vo25(elem, _path + ".messages[" +
|
|
15014
|
-
path: _path + ".messages[" +
|
|
15611
|
+
})) && _vo25(elem, _path + ".messages[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15612
|
+
path: _path + ".messages[" + _index21 + "]",
|
|
15015
15613
|
expected: "Message",
|
|
15016
15614
|
value: elem
|
|
15017
15615
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15057,25 +15655,375 @@ function _validateDomainRecord(domain, input) {
|
|
|
15057
15655
|
if (undefined === value)
|
|
15058
15656
|
return true;
|
|
15059
15657
|
return true;
|
|
15060
|
-
}).every(flag => flag)].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
15061
|
-
path: _path + ".path",
|
|
15062
|
-
expected: "string",
|
|
15063
|
-
value: input.path
|
|
15064
|
-
})].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
15065
|
-
path: _path + ".path",
|
|
15658
|
+
}).every(flag => flag)].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
15659
|
+
path: _path + ".path",
|
|
15660
|
+
expected: "string",
|
|
15661
|
+
value: input.path
|
|
15662
|
+
})].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
15663
|
+
path: _path + ".path",
|
|
15664
|
+
expected: "string",
|
|
15665
|
+
value: input.path
|
|
15666
|
+
})].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [undefined === input.type || "report" === input.type || _report(_exceptionable, {
|
|
15667
|
+
path: _path + ".type",
|
|
15668
|
+
expected: "(\"report\" | undefined)",
|
|
15669
|
+
value: input.type
|
|
15670
|
+
}), undefined === input.searchId || "string" === typeof input.searchId || _report(_exceptionable, {
|
|
15671
|
+
path: _path + ".searchId",
|
|
15672
|
+
expected: "(string | undefined)",
|
|
15673
|
+
value: input.searchId
|
|
15674
|
+
}), undefined === input.expand || ("object" === typeof input.expand && null !== input.expand && false === Array.isArray(input.expand) || _report(_exceptionable, {
|
|
15675
|
+
path: _path + ".expand",
|
|
15676
|
+
expected: "(__type.o18 | undefined)",
|
|
15677
|
+
value: input.expand
|
|
15678
|
+
})) && _vo42(input.expand, _path + ".expand", true && _exceptionable) || _report(_exceptionable, {
|
|
15679
|
+
path: _path + ".expand",
|
|
15680
|
+
expected: "(__type.o18 | undefined)",
|
|
15681
|
+
value: input.expand
|
|
15682
|
+
}), undefined === input.panel || "string" === typeof input.panel || _report(_exceptionable, {
|
|
15683
|
+
path: _path + ".panel",
|
|
15684
|
+
expected: "(string | undefined)",
|
|
15685
|
+
value: input.panel
|
|
15686
|
+
}), undefined === input.route || "string" === typeof input.route || _report(_exceptionable, {
|
|
15687
|
+
path: _path + ".route",
|
|
15688
|
+
expected: "(string | undefined)",
|
|
15689
|
+
value: input.route
|
|
15690
|
+
}), undefined === input.sort || "string" === typeof input.sort || _report(_exceptionable, {
|
|
15691
|
+
path: _path + ".sort",
|
|
15692
|
+
expected: "(string | undefined)",
|
|
15693
|
+
value: input.sort
|
|
15694
|
+
}), undefined === input.order || "asc" === input.order || "desc" === input.order || _report(_exceptionable, {
|
|
15695
|
+
path: _path + ".order",
|
|
15696
|
+
expected: "(\"asc\" | \"desc\" | undefined)",
|
|
15697
|
+
value: input.order
|
|
15698
|
+
}), undefined === input.format || "rss" === input.format || "json" === input.format || "xml" === input.format || "csv" === input.format || _report(_exceptionable, {
|
|
15699
|
+
path: _path + ".format",
|
|
15700
|
+
expected: "(\"csv\" | \"json\" | \"rss\" | \"xml\" | undefined)",
|
|
15701
|
+
value: input.format
|
|
15702
|
+
}), undefined === input.xml || ("object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) || _report(_exceptionable, {
|
|
15703
|
+
path: _path + ".xml",
|
|
15704
|
+
expected: "(ReportXmlOptions | undefined)",
|
|
15705
|
+
value: input.xml
|
|
15706
|
+
})) && _vo43(input.xml, _path + ".xml", true && _exceptionable) || _report(_exceptionable, {
|
|
15707
|
+
path: _path + ".xml",
|
|
15708
|
+
expected: "(ReportXmlOptions | undefined)",
|
|
15709
|
+
value: input.xml
|
|
15710
|
+
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
15711
|
+
path: _path + ".asset",
|
|
15712
|
+
expected: "(null | string | undefined)",
|
|
15713
|
+
value: input.asset
|
|
15714
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
15715
|
+
path: _path + ".connection",
|
|
15716
|
+
expected: "(string | undefined)",
|
|
15717
|
+
value: input.connection
|
|
15718
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
15719
|
+
path: _path + ".render",
|
|
15720
|
+
expected: "(PublishRenderBase | undefined)",
|
|
15721
|
+
value: input.render
|
|
15722
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
15723
|
+
path: _path + ".render",
|
|
15724
|
+
expected: "(PublishRenderBase | undefined)",
|
|
15725
|
+
value: input.render
|
|
15726
|
+
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
15727
|
+
path: _path + ".error",
|
|
15728
|
+
expected: "(__type.o13 | null | undefined)",
|
|
15729
|
+
value: input.error
|
|
15730
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
15731
|
+
path: _path + ".error",
|
|
15732
|
+
expected: "(__type.o13 | null | undefined)",
|
|
15733
|
+
value: input.error
|
|
15734
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
15735
|
+
path: _path + ".messages",
|
|
15736
|
+
expected: "(Array<Message> | undefined)",
|
|
15737
|
+
value: input.messages
|
|
15738
|
+
})) && input.messages.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
15739
|
+
path: _path + ".messages[" + _index22 + "]",
|
|
15740
|
+
expected: "Message",
|
|
15741
|
+
value: elem
|
|
15742
|
+
})) && _vo25(elem, _path + ".messages[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15743
|
+
path: _path + ".messages[" + _index22 + "]",
|
|
15744
|
+
expected: "Message",
|
|
15745
|
+
value: elem
|
|
15746
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
15747
|
+
path: _path + ".messages",
|
|
15748
|
+
expected: "(Array<Message> | undefined)",
|
|
15749
|
+
value: input.messages
|
|
15750
|
+
})].every(flag => flag); const _vo42 = (input, _path, _exceptionable = true) => [undefined === input.type || "" === input.type || "deadlines" === input.type || "published" === input.type || "recurrence_date_range" === input.type || _report(_exceptionable, {
|
|
15751
|
+
path: _path + ".type",
|
|
15752
|
+
expected: "(\"\" | \"deadlines\" | \"published\" | \"recurrence_date_range\" | undefined)",
|
|
15753
|
+
value: input.type
|
|
15754
|
+
}), undefined === input.start || "string" === typeof input.start || _report(_exceptionable, {
|
|
15755
|
+
path: _path + ".start",
|
|
15756
|
+
expected: "(string | undefined)",
|
|
15757
|
+
value: input.start
|
|
15758
|
+
}), undefined === input.end || "string" === typeof input.end || _report(_exceptionable, {
|
|
15759
|
+
path: _path + ".end",
|
|
15760
|
+
expected: "(string | undefined)",
|
|
15761
|
+
value: input.end
|
|
15762
|
+
})].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
|
|
15763
|
+
path: _path + ".options",
|
|
15764
|
+
expected: "(XMLBuilderOptions | undefined)",
|
|
15765
|
+
value: input.options
|
|
15766
|
+
})) && _vo44(input.options, _path + ".options", true && _exceptionable) || _report(_exceptionable, {
|
|
15767
|
+
path: _path + ".options",
|
|
15768
|
+
expected: "(XMLBuilderOptions | undefined)",
|
|
15769
|
+
value: input.options
|
|
15770
|
+
}), undefined === input.formatterOptions || ("object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) || _report(_exceptionable, {
|
|
15771
|
+
path: _path + ".formatterOptions",
|
|
15772
|
+
expected: "(XMLWriterOptions | undefined)",
|
|
15773
|
+
value: input.formatterOptions
|
|
15774
|
+
})) && _vo48(input.formatterOptions, _path + ".formatterOptions", true && _exceptionable) || _report(_exceptionable, {
|
|
15775
|
+
path: _path + ".formatterOptions",
|
|
15776
|
+
expected: "(XMLWriterOptions | undefined)",
|
|
15777
|
+
value: input.formatterOptions
|
|
15778
|
+
}), (null !== input.rootSchema || _report(_exceptionable, {
|
|
15779
|
+
path: _path + ".rootSchema",
|
|
15780
|
+
expected: "(Array<any> | __type.o21 | __type.o22 | string | undefined)",
|
|
15781
|
+
value: input.rootSchema
|
|
15782
|
+
})) && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _vu1(input.rootSchema, _path + ".rootSchema", true && _exceptionable) || _report(_exceptionable, {
|
|
15783
|
+
path: _path + ".rootSchema",
|
|
15784
|
+
expected: "(Array<any> | __type.o21 | __type.o22 | string | undefined)",
|
|
15785
|
+
value: input.rootSchema
|
|
15786
|
+
})) || _report(_exceptionable, {
|
|
15787
|
+
path: _path + ".rootSchema",
|
|
15788
|
+
expected: "(Array<any> | __type.o21 | __type.o22 | string | undefined)",
|
|
15789
|
+
value: input.rootSchema
|
|
15790
|
+
})), (null !== input.itemSchema || _report(_exceptionable, {
|
|
15791
|
+
path: _path + ".itemSchema",
|
|
15792
|
+
expected: "(Array<any> | __type.o21 | __type.o24 | string | undefined)",
|
|
15793
|
+
value: input.itemSchema
|
|
15794
|
+
})) && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _vu2(input.itemSchema, _path + ".itemSchema", true && _exceptionable) || _report(_exceptionable, {
|
|
15795
|
+
path: _path + ".itemSchema",
|
|
15796
|
+
expected: "(Array<any> | __type.o21 | __type.o24 | string | undefined)",
|
|
15797
|
+
value: input.itemSchema
|
|
15798
|
+
})) || _report(_exceptionable, {
|
|
15799
|
+
path: _path + ".itemSchema",
|
|
15800
|
+
expected: "(Array<any> | __type.o21 | __type.o24 | string | undefined)",
|
|
15801
|
+
value: input.itemSchema
|
|
15802
|
+
}))].every(flag => flag); const _vo44 = (input, _path, _exceptionable = true) => [undefined === input.version || "1.0" === input.version || _report(_exceptionable, {
|
|
15803
|
+
path: _path + ".version",
|
|
15804
|
+
expected: "(\"1.0\" | undefined)",
|
|
15805
|
+
value: input.version
|
|
15806
|
+
}), undefined === input.encoding || "string" === typeof input.encoding || _report(_exceptionable, {
|
|
15807
|
+
path: _path + ".encoding",
|
|
15808
|
+
expected: "(string | undefined)",
|
|
15809
|
+
value: input.encoding
|
|
15810
|
+
}), undefined === input.standalone || "boolean" === typeof input.standalone || _report(_exceptionable, {
|
|
15811
|
+
path: _path + ".standalone",
|
|
15812
|
+
expected: "(boolean | undefined)",
|
|
15813
|
+
value: input.standalone
|
|
15814
|
+
}), undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes || _report(_exceptionable, {
|
|
15815
|
+
path: _path + ".keepNullNodes",
|
|
15816
|
+
expected: "(boolean | undefined)",
|
|
15817
|
+
value: input.keepNullNodes
|
|
15818
|
+
}), undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes || _report(_exceptionable, {
|
|
15819
|
+
path: _path + ".keepNullAttributes",
|
|
15820
|
+
expected: "(boolean | undefined)",
|
|
15821
|
+
value: input.keepNullAttributes
|
|
15822
|
+
}), undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters || _report(_exceptionable, {
|
|
15823
|
+
path: _path + ".ignoreConverters",
|
|
15824
|
+
expected: "(boolean | undefined)",
|
|
15825
|
+
value: input.ignoreConverters
|
|
15826
|
+
}), undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText || _report(_exceptionable, {
|
|
15827
|
+
path: _path + ".skipWhitespaceOnlyText",
|
|
15828
|
+
expected: "(boolean | undefined)",
|
|
15829
|
+
value: input.skipWhitespaceOnlyText
|
|
15830
|
+
}), undefined === input.convert || ("object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) || _report(_exceptionable, {
|
|
15831
|
+
path: _path + ".convert",
|
|
15832
|
+
expected: "(ConvertOptions | undefined)",
|
|
15833
|
+
value: input.convert
|
|
15834
|
+
})) && _vo45(input.convert, _path + ".convert", true && _exceptionable) || _report(_exceptionable, {
|
|
15835
|
+
path: _path + ".convert",
|
|
15836
|
+
expected: "(ConvertOptions | undefined)",
|
|
15837
|
+
value: input.convert
|
|
15838
|
+
}), undefined === input.defaultNamespace || ("object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) || _report(_exceptionable, {
|
|
15839
|
+
path: _path + ".defaultNamespace",
|
|
15840
|
+
expected: "(__type.o19 | undefined)",
|
|
15841
|
+
value: input.defaultNamespace
|
|
15842
|
+
})) && _vo46(input.defaultNamespace, _path + ".defaultNamespace", true && _exceptionable) || _report(_exceptionable, {
|
|
15843
|
+
path: _path + ".defaultNamespace",
|
|
15844
|
+
expected: "(__type.o19 | undefined)",
|
|
15845
|
+
value: input.defaultNamespace
|
|
15846
|
+
}), undefined === input.namespaceAlias || ("object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) || _report(_exceptionable, {
|
|
15847
|
+
path: _path + ".namespaceAlias",
|
|
15848
|
+
expected: "(__type.o20 | undefined)",
|
|
15849
|
+
value: input.namespaceAlias
|
|
15850
|
+
})) && _vo47(input.namespaceAlias, _path + ".namespaceAlias", true && _exceptionable) || _report(_exceptionable, {
|
|
15851
|
+
path: _path + ".namespaceAlias",
|
|
15852
|
+
expected: "(__type.o20 | undefined)",
|
|
15853
|
+
value: input.namespaceAlias
|
|
15854
|
+
}), (null !== input.invalidCharReplacement || _report(_exceptionable, {
|
|
15855
|
+
path: _path + ".invalidCharReplacement",
|
|
15856
|
+
expected: "(string | undefined)",
|
|
15857
|
+
value: input.invalidCharReplacement
|
|
15858
|
+
})) && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement || _report(_exceptionable, {
|
|
15859
|
+
path: _path + ".invalidCharReplacement",
|
|
15860
|
+
expected: "(string | undefined)",
|
|
15861
|
+
value: input.invalidCharReplacement
|
|
15862
|
+
})), true, false === _exceptionable || Object.keys(input).map(key => {
|
|
15863
|
+
if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
|
|
15864
|
+
return true;
|
|
15865
|
+
const value = input[key];
|
|
15866
|
+
if (undefined === value)
|
|
15867
|
+
return true;
|
|
15868
|
+
return true;
|
|
15869
|
+
}).every(flag => flag)].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [undefined === input.att || "string" === typeof input.att || _report(_exceptionable, {
|
|
15870
|
+
path: _path + ".att",
|
|
15871
|
+
expected: "(string | undefined)",
|
|
15872
|
+
value: input.att
|
|
15873
|
+
}), undefined === input.ins || "string" === typeof input.ins || _report(_exceptionable, {
|
|
15874
|
+
path: _path + ".ins",
|
|
15875
|
+
expected: "(string | undefined)",
|
|
15876
|
+
value: input.ins
|
|
15877
|
+
}), undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
|
|
15878
|
+
path: _path + ".text",
|
|
15879
|
+
expected: "(string | undefined)",
|
|
15880
|
+
value: input.text
|
|
15881
|
+
}), undefined === input.cdata || "string" === typeof input.cdata || _report(_exceptionable, {
|
|
15882
|
+
path: _path + ".cdata",
|
|
15883
|
+
expected: "(string | undefined)",
|
|
15884
|
+
value: input.cdata
|
|
15885
|
+
}), undefined === input.comment || "string" === typeof input.comment || _report(_exceptionable, {
|
|
15886
|
+
path: _path + ".comment",
|
|
15887
|
+
expected: "(string | undefined)",
|
|
15888
|
+
value: input.comment
|
|
15889
|
+
})].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [null === input.ele || undefined === input.ele || "string" === typeof input.ele || _report(_exceptionable, {
|
|
15890
|
+
path: _path + ".ele",
|
|
15891
|
+
expected: "(null | string | undefined)",
|
|
15892
|
+
value: input.ele
|
|
15893
|
+
}), null === input.att || undefined === input.att || "string" === typeof input.att || _report(_exceptionable, {
|
|
15894
|
+
path: _path + ".att",
|
|
15895
|
+
expected: "(null | string | undefined)",
|
|
15896
|
+
value: input.att
|
|
15897
|
+
})].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15898
|
+
const value = input[key];
|
|
15899
|
+
if (undefined === value)
|
|
15900
|
+
return true;
|
|
15901
|
+
return null === value || undefined === value || "string" === typeof value || _report(_exceptionable, {
|
|
15902
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15903
|
+
expected: "(null | string | undefined)",
|
|
15904
|
+
value: value
|
|
15905
|
+
});
|
|
15906
|
+
}).every(flag => flag)].every(flag => flag); const _vo48 = (input, _path, _exceptionable = true) => [undefined === input.wellFormed || "boolean" === typeof input.wellFormed || _report(_exceptionable, {
|
|
15907
|
+
path: _path + ".wellFormed",
|
|
15908
|
+
expected: "(boolean | undefined)",
|
|
15909
|
+
value: input.wellFormed
|
|
15910
|
+
}), undefined === input.format || "xml" === input.format || _report(_exceptionable, {
|
|
15911
|
+
path: _path + ".format",
|
|
15912
|
+
expected: "(\"xml\" | undefined)",
|
|
15913
|
+
value: input.format
|
|
15914
|
+
}), undefined === input.headless || "boolean" === typeof input.headless || _report(_exceptionable, {
|
|
15915
|
+
path: _path + ".headless",
|
|
15916
|
+
expected: "(boolean | undefined)",
|
|
15917
|
+
value: input.headless
|
|
15918
|
+
}), undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint || _report(_exceptionable, {
|
|
15919
|
+
path: _path + ".prettyPrint",
|
|
15920
|
+
expected: "(boolean | undefined)",
|
|
15921
|
+
value: input.prettyPrint
|
|
15922
|
+
}), undefined === input.indent || "string" === typeof input.indent || _report(_exceptionable, {
|
|
15923
|
+
path: _path + ".indent",
|
|
15924
|
+
expected: "(string | undefined)",
|
|
15925
|
+
value: input.indent
|
|
15926
|
+
}), undefined === input.newline || "string" === typeof input.newline || _report(_exceptionable, {
|
|
15927
|
+
path: _path + ".newline",
|
|
15928
|
+
expected: "(string | undefined)",
|
|
15929
|
+
value: input.newline
|
|
15930
|
+
}), undefined === input.offset || "number" === typeof input.offset || _report(_exceptionable, {
|
|
15931
|
+
path: _path + ".offset",
|
|
15932
|
+
expected: "(number | undefined)",
|
|
15933
|
+
value: input.offset
|
|
15934
|
+
}), undefined === input.width || "number" === typeof input.width || _report(_exceptionable, {
|
|
15935
|
+
path: _path + ".width",
|
|
15936
|
+
expected: "(number | undefined)",
|
|
15937
|
+
value: input.width
|
|
15938
|
+
}), undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags || _report(_exceptionable, {
|
|
15939
|
+
path: _path + ".allowEmptyTags",
|
|
15940
|
+
expected: "(boolean | undefined)",
|
|
15941
|
+
value: input.allowEmptyTags
|
|
15942
|
+
}), undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes || _report(_exceptionable, {
|
|
15943
|
+
path: _path + ".indentTextOnlyNodes",
|
|
15944
|
+
expected: "(boolean | undefined)",
|
|
15945
|
+
value: input.indentTextOnlyNodes
|
|
15946
|
+
}), undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash || _report(_exceptionable, {
|
|
15947
|
+
path: _path + ".spaceBeforeSlash",
|
|
15948
|
+
expected: "(boolean | undefined)",
|
|
15949
|
+
value: input.spaceBeforeSlash
|
|
15950
|
+
})].every(flag => flag); const _vo49 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15951
|
+
const value = input[key];
|
|
15952
|
+
if (undefined === value)
|
|
15953
|
+
return true;
|
|
15954
|
+
return true;
|
|
15955
|
+
}).every(flag => flag)].every(flag => flag); const _vo50 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
15956
|
+
path: _path + ".__context",
|
|
15957
|
+
expected: "__type.o23",
|
|
15958
|
+
value: input.__context
|
|
15959
|
+
})) && _vo51(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
15960
|
+
path: _path + ".__context",
|
|
15961
|
+
expected: "__type.o23",
|
|
15962
|
+
value: input.__context
|
|
15963
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
15964
|
+
path: _path + ".__returnValue",
|
|
15965
|
+
expected: "(Array<any> | __type.o21)",
|
|
15966
|
+
value: input.__returnValue
|
|
15967
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
15968
|
+
path: _path + ".__returnValue",
|
|
15969
|
+
expected: "(Array<any> | __type.o21)",
|
|
15970
|
+
value: input.__returnValue
|
|
15971
|
+
})) && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _vo49(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
15972
|
+
path: _path + ".__returnValue",
|
|
15973
|
+
expected: "(Array<any> | __type.o21)",
|
|
15974
|
+
value: input.__returnValue
|
|
15975
|
+
}) || _report(_exceptionable, {
|
|
15976
|
+
path: _path + ".__returnValue",
|
|
15977
|
+
expected: "(Array<any> | __type.o21)",
|
|
15978
|
+
value: input.__returnValue
|
|
15979
|
+
}))].every(flag => flag); const _vo51 = (input, _path, _exceptionable = true) => ["string" === typeof input.publishId || _report(_exceptionable, {
|
|
15980
|
+
path: _path + ".publishId",
|
|
15066
15981
|
expected: "string",
|
|
15067
|
-
value: input.
|
|
15068
|
-
})
|
|
15982
|
+
value: input.publishId
|
|
15983
|
+
}), Array.isArray(input.items) || _report(_exceptionable, {
|
|
15984
|
+
path: _path + ".items",
|
|
15985
|
+
expected: "Array<unknown>",
|
|
15986
|
+
value: input.items
|
|
15987
|
+
})].every(flag => flag); const _vo52 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || _report(_exceptionable, {
|
|
15988
|
+
path: _path + ".__context",
|
|
15989
|
+
expected: "Record<string, unknown>",
|
|
15990
|
+
value: input.__context
|
|
15991
|
+
})) && _vo53(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
15992
|
+
path: _path + ".__context",
|
|
15993
|
+
expected: "Record<string, unknown>",
|
|
15994
|
+
value: input.__context
|
|
15995
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
15996
|
+
path: _path + ".__returnValue",
|
|
15997
|
+
expected: "(Array<any> | __type.o21)",
|
|
15998
|
+
value: input.__returnValue
|
|
15999
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
16000
|
+
path: _path + ".__returnValue",
|
|
16001
|
+
expected: "(Array<any> | __type.o21)",
|
|
16002
|
+
value: input.__returnValue
|
|
16003
|
+
})) && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _vo49(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
16004
|
+
path: _path + ".__returnValue",
|
|
16005
|
+
expected: "(Array<any> | __type.o21)",
|
|
16006
|
+
value: input.__returnValue
|
|
16007
|
+
}) || _report(_exceptionable, {
|
|
16008
|
+
path: _path + ".__returnValue",
|
|
16009
|
+
expected: "(Array<any> | __type.o21)",
|
|
16010
|
+
value: input.__returnValue
|
|
16011
|
+
}))].every(flag => flag); const _vo53 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16012
|
+
const value = input[key];
|
|
16013
|
+
if (undefined === value)
|
|
16014
|
+
return true;
|
|
16015
|
+
return true;
|
|
16016
|
+
}).every(flag => flag)].every(flag => flag); const _vo54 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
15069
16017
|
path: _path + ".type",
|
|
15070
16018
|
expected: "(\"youtube\" | undefined)",
|
|
15071
16019
|
value: input.type
|
|
15072
16020
|
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
15073
16021
|
path: _path + ".draft",
|
|
15074
|
-
expected: "(__type.
|
|
16022
|
+
expected: "(__type.o25 | undefined)",
|
|
15075
16023
|
value: input.draft
|
|
15076
|
-
})) &&
|
|
16024
|
+
})) && _vo55(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
15077
16025
|
path: _path + ".draft",
|
|
15078
|
-
expected: "(__type.
|
|
16026
|
+
expected: "(__type.o25 | undefined)",
|
|
15079
16027
|
value: input.draft
|
|
15080
16028
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
15081
16029
|
path: _path + ".asset",
|
|
@@ -15105,27 +16053,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
15105
16053
|
path: _path + ".messages",
|
|
15106
16054
|
expected: "(Array<Message> | undefined)",
|
|
15107
16055
|
value: input.messages
|
|
15108
|
-
})) && input.messages.map((elem,
|
|
15109
|
-
path: _path + ".messages[" +
|
|
16056
|
+
})) && input.messages.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16057
|
+
path: _path + ".messages[" + _index23 + "]",
|
|
15110
16058
|
expected: "Message",
|
|
15111
16059
|
value: elem
|
|
15112
|
-
})) && _vo25(elem, _path + ".messages[" +
|
|
15113
|
-
path: _path + ".messages[" +
|
|
16060
|
+
})) && _vo25(elem, _path + ".messages[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16061
|
+
path: _path + ".messages[" + _index23 + "]",
|
|
15114
16062
|
expected: "Message",
|
|
15115
16063
|
value: elem
|
|
15116
16064
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15117
16065
|
path: _path + ".messages",
|
|
15118
16066
|
expected: "(Array<Message> | undefined)",
|
|
15119
16067
|
value: input.messages
|
|
15120
|
-
})].every(flag => flag); const
|
|
16068
|
+
})].every(flag => flag); const _vo55 = (input, _path, _exceptionable = true) => [undefined === input.snippet || ("object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) || _report(_exceptionable, {
|
|
15121
16069
|
path: _path + ".snippet",
|
|
15122
|
-
expected: "(__type.
|
|
16070
|
+
expected: "(__type.o26 | undefined)",
|
|
15123
16071
|
value: input.snippet
|
|
15124
|
-
})) &&
|
|
16072
|
+
})) && _vo56(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
15125
16073
|
path: _path + ".snippet",
|
|
15126
|
-
expected: "(__type.
|
|
16074
|
+
expected: "(__type.o26 | undefined)",
|
|
15127
16075
|
value: input.snippet
|
|
15128
|
-
})].every(flag => flag); const
|
|
16076
|
+
})].every(flag => flag); const _vo56 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
15129
16077
|
path: _path + ".title",
|
|
15130
16078
|
expected: "(string | undefined)",
|
|
15131
16079
|
value: input.title
|
|
@@ -15133,8 +16081,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15133
16081
|
path: _path + ".tags",
|
|
15134
16082
|
expected: "(Array<string> | undefined)",
|
|
15135
16083
|
value: input.tags
|
|
15136
|
-
})) && input.tags.map((elem,
|
|
15137
|
-
path: _path + ".tags[" +
|
|
16084
|
+
})) && input.tags.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
|
|
16085
|
+
path: _path + ".tags[" + _index24 + "]",
|
|
15138
16086
|
expected: "string",
|
|
15139
16087
|
value: elem
|
|
15140
16088
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15156,17 +16104,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
15156
16104
|
expected: "(ResolvedFilePublishRender | __type.o14)",
|
|
15157
16105
|
value: input
|
|
15158
16106
|
});
|
|
15159
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) =>
|
|
16107
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
16108
|
+
if (undefined !== input.__context)
|
|
16109
|
+
return _vo50(input, _path, true && _exceptionable);
|
|
16110
|
+
else
|
|
16111
|
+
return _vo49(input, _path, true && _exceptionable);
|
|
16112
|
+
})(); const _vu2 = (input, _path, _exceptionable = true) => (() => {
|
|
16113
|
+
if (undefined !== input.__context)
|
|
16114
|
+
return _vo52(input, _path, true && _exceptionable);
|
|
16115
|
+
else
|
|
16116
|
+
return _vo49(input, _path, true && _exceptionable);
|
|
16117
|
+
})(); const _vu3 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo26(input, _path, false && _exceptionable) || _vo37(input, _path, false && _exceptionable) || _vo27(input, _path, false && _exceptionable) || _vo41(input, _path, false && _exceptionable) || _vo54(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu3(input); let errors; let _report; return input => {
|
|
15160
16118
|
if (false === __is(input)) {
|
|
15161
16119
|
errors = [];
|
|
15162
16120
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
15163
16121
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
15164
16122
|
path: _path + "",
|
|
15165
|
-
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
16123
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | ReportPublishRecord | YoutubePublishRecord)",
|
|
15166
16124
|
value: input
|
|
15167
|
-
})) &&
|
|
16125
|
+
})) && _vu3(input, _path + "", true) || _report(true, {
|
|
15168
16126
|
path: _path + "",
|
|
15169
|
-
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
16127
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | ReportPublishRecord | YoutubePublishRecord)",
|
|
15170
16128
|
value: input
|
|
15171
16129
|
}))(input, "$input", true);
|
|
15172
16130
|
const success = 0 === errors.length;
|
|
@@ -15206,7 +16164,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15206
16164
|
if (undefined === value)
|
|
15207
16165
|
return true;
|
|
15208
16166
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io37(value);
|
|
15209
|
-
}); const _io37 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io38 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io39 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io24(input.profile)); const _io40 = input => "string" === typeof input.method; const _iu0 = input => (() => {
|
|
16167
|
+
}); const _io37 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io38 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io39 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io24(input.profile)); const _io40 = input => "string" === typeof input.method; const _io41 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io42(input.retrieved)) && (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true; const _io42 = input => (undefined === input.total || "number" === typeof input.total) && (undefined === input.count || "number" === typeof input.count); const _iu0 = input => (() => {
|
|
15210
16168
|
if (undefined !== input.path)
|
|
15211
16169
|
return _io8(input);
|
|
15212
16170
|
else if (undefined !== input.__context)
|
|
@@ -15214,6 +16172,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15214
16172
|
else
|
|
15215
16173
|
return false;
|
|
15216
16174
|
})(); const _iu1 = input => (() => {
|
|
16175
|
+
if (_io41(input))
|
|
16176
|
+
return _io41(input);
|
|
15217
16177
|
if (_io2(input))
|
|
15218
16178
|
return _io2(input);
|
|
15219
16179
|
if (_io0(input))
|
|
@@ -15231,12 +16191,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15231
16191
|
path: _path + ".messages",
|
|
15232
16192
|
expected: "(Array<Message> | undefined)",
|
|
15233
16193
|
value: input.messages
|
|
15234
|
-
})) && input.messages.map((elem,
|
|
15235
|
-
path: _path + ".messages[" +
|
|
16194
|
+
})) && input.messages.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16195
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
15236
16196
|
expected: "Message",
|
|
15237
16197
|
value: elem
|
|
15238
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
15239
|
-
path: _path + ".messages[" +
|
|
16198
|
+
})) && _vo1(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16199
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
15240
16200
|
expected: "Message",
|
|
15241
16201
|
value: elem
|
|
15242
16202
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15283,12 +16243,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15283
16243
|
path: _path + ".messages",
|
|
15284
16244
|
expected: "(Array<Message> | undefined)",
|
|
15285
16245
|
value: input.messages
|
|
15286
|
-
})) && input.messages.map((elem,
|
|
15287
|
-
path: _path + ".messages[" +
|
|
16246
|
+
})) && input.messages.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16247
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
15288
16248
|
expected: "Message",
|
|
15289
16249
|
value: elem
|
|
15290
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
15291
|
-
path: _path + ".messages[" +
|
|
16250
|
+
})) && _vo1(elem, _path + ".messages[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16251
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
15292
16252
|
expected: "Message",
|
|
15293
16253
|
value: elem
|
|
15294
16254
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15826,16 +16786,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
15826
16786
|
path: _path + ".pan",
|
|
15827
16787
|
expected: "(Array<Array<number>> | undefined)",
|
|
15828
16788
|
value: input.pan
|
|
15829
|
-
})) && input.pan.map((elem,
|
|
15830
|
-
path: _path + ".pan[" +
|
|
16789
|
+
})) && input.pan.map((elem, _index12) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
16790
|
+
path: _path + ".pan[" + _index12 + "]",
|
|
15831
16791
|
expected: "Array<number>",
|
|
15832
16792
|
value: elem
|
|
15833
|
-
})) && elem.map((elem,
|
|
15834
|
-
path: _path + ".pan[" +
|
|
16793
|
+
})) && elem.map((elem, _index13) => "number" === typeof elem || _report(_exceptionable, {
|
|
16794
|
+
path: _path + ".pan[" + _index12 + "][" + _index13 + "]",
|
|
15835
16795
|
expected: "number",
|
|
15836
16796
|
value: elem
|
|
15837
16797
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15838
|
-
path: _path + ".pan[" +
|
|
16798
|
+
path: _path + ".pan[" + _index12 + "]",
|
|
15839
16799
|
expected: "Array<number>",
|
|
15840
16800
|
value: elem
|
|
15841
16801
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15850,8 +16810,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15850
16810
|
path: _path + ".pan",
|
|
15851
16811
|
expected: "(Array<number> | undefined)",
|
|
15852
16812
|
value: input.pan
|
|
15853
|
-
})) && input.pan.map((elem,
|
|
15854
|
-
path: _path + ".pan[" +
|
|
16813
|
+
})) && input.pan.map((elem, _index14) => "number" === typeof elem || _report(_exceptionable, {
|
|
16814
|
+
path: _path + ".pan[" + _index14 + "]",
|
|
15855
16815
|
expected: "number",
|
|
15856
16816
|
value: elem
|
|
15857
16817
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15894,8 +16854,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15894
16854
|
path: _path + ".pick",
|
|
15895
16855
|
expected: "(Array<string> | undefined)",
|
|
15896
16856
|
value: input.pick
|
|
15897
|
-
})) && input.pick.map((elem,
|
|
15898
|
-
path: _path + ".pick[" +
|
|
16857
|
+
})) && input.pick.map((elem, _index15) => "string" === typeof elem || _report(_exceptionable, {
|
|
16858
|
+
path: _path + ".pick[" + _index15 + "]",
|
|
15899
16859
|
expected: "string",
|
|
15900
16860
|
value: elem
|
|
15901
16861
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16082,12 +17042,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16082
17042
|
path: _path + ".messages",
|
|
16083
17043
|
expected: "(Array<Message> | undefined)",
|
|
16084
17044
|
value: input.messages
|
|
16085
|
-
})) && input.messages.map((elem,
|
|
16086
|
-
path: _path + ".messages[" +
|
|
17045
|
+
})) && input.messages.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17046
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
16087
17047
|
expected: "Message",
|
|
16088
17048
|
value: elem
|
|
16089
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
16090
|
-
path: _path + ".messages[" +
|
|
17049
|
+
})) && _vo1(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17050
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
16091
17051
|
expected: "Message",
|
|
16092
17052
|
value: elem
|
|
16093
17053
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16139,12 +17099,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16139
17099
|
path: _path + ".messages",
|
|
16140
17100
|
expected: "(Array<Message> | undefined)",
|
|
16141
17101
|
value: input.messages
|
|
16142
|
-
})) && input.messages.map((elem,
|
|
16143
|
-
path: _path + ".messages[" +
|
|
17102
|
+
})) && input.messages.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17103
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
16144
17104
|
expected: "Message",
|
|
16145
17105
|
value: elem
|
|
16146
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
16147
|
-
path: _path + ".messages[" +
|
|
17106
|
+
})) && _vo1(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17107
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
16148
17108
|
expected: "Message",
|
|
16149
17109
|
value: elem
|
|
16150
17110
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16199,6 +17159,46 @@ function _validateDomainRecord(domain, input) {
|
|
|
16199
17159
|
path: _path + ".method",
|
|
16200
17160
|
expected: "string",
|
|
16201
17161
|
value: input.method
|
|
17162
|
+
})].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || _report(_exceptionable, {
|
|
17163
|
+
path: _path + ".retrieved",
|
|
17164
|
+
expected: "(__type.o16 | undefined)",
|
|
17165
|
+
value: input.retrieved
|
|
17166
|
+
})) && _vo42(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
17167
|
+
path: _path + ".retrieved",
|
|
17168
|
+
expected: "(__type.o16 | undefined)",
|
|
17169
|
+
value: input.retrieved
|
|
17170
|
+
}), undefined === input.status || "string" === typeof input.status || _report(_exceptionable, {
|
|
17171
|
+
path: _path + ".status",
|
|
17172
|
+
expected: "(string | undefined)",
|
|
17173
|
+
value: input.status
|
|
17174
|
+
}), undefined === input.substatus || "string" === typeof input.substatus || _report(_exceptionable, {
|
|
17175
|
+
path: _path + ".substatus",
|
|
17176
|
+
expected: "(string | undefined)",
|
|
17177
|
+
value: input.substatus
|
|
17178
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
17179
|
+
path: _path + ".messages",
|
|
17180
|
+
expected: "(Array<Message> | undefined)",
|
|
17181
|
+
value: input.messages
|
|
17182
|
+
})) && input.messages.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17183
|
+
path: _path + ".messages[" + _index18 + "]",
|
|
17184
|
+
expected: "Message",
|
|
17185
|
+
value: elem
|
|
17186
|
+
})) && _vo1(elem, _path + ".messages[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17187
|
+
path: _path + ".messages[" + _index18 + "]",
|
|
17188
|
+
expected: "Message",
|
|
17189
|
+
value: elem
|
|
17190
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17191
|
+
path: _path + ".messages",
|
|
17192
|
+
expected: "(Array<Message> | undefined)",
|
|
17193
|
+
value: input.messages
|
|
17194
|
+
}), true].every(flag => flag); const _vo42 = (input, _path, _exceptionable = true) => [undefined === input.total || "number" === typeof input.total || _report(_exceptionable, {
|
|
17195
|
+
path: _path + ".total",
|
|
17196
|
+
expected: "(number | undefined)",
|
|
17197
|
+
value: input.total
|
|
17198
|
+
}), undefined === input.count || "number" === typeof input.count || _report(_exceptionable, {
|
|
17199
|
+
path: _path + ".count",
|
|
17200
|
+
expected: "(number | undefined)",
|
|
17201
|
+
value: input.count
|
|
16202
17202
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
16203
17203
|
if (undefined !== input.path)
|
|
16204
17204
|
return _vo8(input, _path, true && _exceptionable);
|
|
@@ -16210,17 +17210,17 @@ function _validateDomainRecord(domain, input) {
|
|
|
16210
17210
|
expected: "(ResolvedFilePublishRender | __type.o13)",
|
|
16211
17211
|
value: input
|
|
16212
17212
|
});
|
|
16213
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo2(input, _path, false && _exceptionable) || _vo0(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
17213
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo41(input, _path, false && _exceptionable) || _vo2(input, _path, false && _exceptionable) || _vo0(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
16214
17214
|
if (false === __is(input)) {
|
|
16215
17215
|
errors = [];
|
|
16216
17216
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
16217
17217
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
16218
17218
|
path: _path + "",
|
|
16219
|
-
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
17219
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase | ReportPublishStatsRecord)",
|
|
16220
17220
|
value: input
|
|
16221
17221
|
})) && _vu1(input, _path + "", true) || _report(true, {
|
|
16222
17222
|
path: _path + "",
|
|
16223
|
-
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
17223
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase | ReportPublishStatsRecord)",
|
|
16224
17224
|
value: input
|
|
16225
17225
|
}))(input, "$input", true);
|
|
16226
17226
|
const success = 0 === errors.length;
|
|
@@ -18168,30 +19168,45 @@ function _validateDomainRecord(domain, input) {
|
|
|
18168
19168
|
}; })()(input);
|
|
18169
19169
|
}
|
|
18170
19170
|
case ":schema": {
|
|
18171
|
-
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) &&
|
|
19171
|
+
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io21(input.layout)); const _io1 = input => Object.keys(input).every(key => {
|
|
18172
19172
|
const value = input[key];
|
|
18173
19173
|
if (undefined === value)
|
|
18174
19174
|
return true;
|
|
18175
19175
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
18176
|
-
}); const _io2 = input => null !== input.recordName && (undefined === input.recordName || "string" === typeof input.recordName || "object" === typeof input.recordName && null !== input.recordName && _io3(input.recordName)) && (null !== input.setter && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || "object" === typeof input.setter && null !== input.setter && _io5(input.setter))) &&
|
|
18177
|
-
if (["type", "readOnly"].some(prop => key === prop))
|
|
18178
|
-
return true;
|
|
19176
|
+
}); const _io2 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && (null !== input.recordName && (undefined === input.recordName || "string" === typeof input.recordName || "object" === typeof input.recordName && null !== input.recordName && _io3(input.recordName))) && (null !== input.setter && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || "object" === typeof input.setter && null !== input.setter && _io5(input.setter))) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io7(input.index)) && (null !== input.type && (undefined === input.type || "string" === typeof input.type || "object" === typeof input.type && null !== input.type && _io8(input.type))) && (null !== input.title && (undefined === input.title || "string" === typeof input.title || "object" === typeof input.title && null !== input.title && _io10(input.title))) && (null !== input.description && (undefined === input.description || "string" === typeof input.description || "object" === typeof input.description && null !== input.description && _io10(input.description))) && (null !== input.required && (undefined === input.required || "string" === typeof input.required || "boolean" === typeof input.required || "object" === typeof input.required && null !== input.required && _io11(input.required))) && (null !== input.oneOf && (undefined === input.oneOf || "string" === typeof input.oneOf || (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem)) || "object" === typeof input.oneOf && null !== input.oneOf && _io15(input.oneOf)))) && (null !== input.anyOf && (undefined === input.anyOf || "string" === typeof input.anyOf || (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem)) || "object" === typeof input.anyOf && null !== input.anyOf && _io15(input.anyOf)))) && (null !== input["enum"] && (undefined === input["enum"] || "string" === typeof input["enum"] || (Array.isArray(input["enum"]) || "object" === typeof input["enum"] && null !== input["enum"] && _io16(input["enum"])))) && (null !== input.minItems && (undefined === input.minItems || "string" === typeof input.minItems || "number" === typeof input.minItems || "object" === typeof input.minItems && null !== input.minItems && _io17(input.minItems))) && (null !== input.maxItems && (undefined === input.maxItems || "string" === typeof input.maxItems || "number" === typeof input.maxItems || "object" === typeof input.maxItems && null !== input.maxItems && _io17(input.maxItems))) && (null !== input.items && (undefined === input.items || "string" === typeof input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu1(input.items))) && (null !== input.properties && (undefined === input.properties || "string" === typeof input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _iu2(input.properties))) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _iu3(input.widget))) && (null !== input.placeholder && (undefined === input.placeholder || "string" === typeof input.placeholder || "object" === typeof input.placeholder && null !== input.placeholder && _io10(input.placeholder))) && (null !== input.helpText && (undefined === input.helpText || "string" === typeof input.helpText || "object" === typeof input.helpText && null !== input.helpText && _io10(input.helpText))) && (null !== input.invalid && (undefined === input.invalid || "string" === typeof input.invalid || "boolean" === typeof input.invalid || "object" === typeof input.invalid && null !== input.invalid && _io11(input.invalid))) && true; const _io3 = input => "object" === typeof input.__context && null !== input.__context && _io4(input.__context) && "string" === typeof input.__returnValue; const _io4 = input => "string" === typeof input.id; const _io5 = input => "object" === typeof input.__context && null !== input.__context && _io6(input.__context) && true; const _io6 = input => "string" === typeof input.id && true; const _io7 = input => "string" === typeof input.label && "string" === typeof input.path; const _io8 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "string" === input.__returnValue || "number" === input.__returnValue || "boolean" === input.__returnValue || "object" === input.__returnValue || "array" === input.__returnValue || "asset" === input.__returnValue || "datetime" === input.__returnValue || "rpc" === input.__returnValue); const _io9 = input => "string" === typeof input.id; const _io10 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io11 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io12 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io12(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io13(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io14(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io13 = input => Object.keys(input).every(key => {
|
|
18179
19177
|
const value = input[key];
|
|
18180
19178
|
if (undefined === value)
|
|
18181
19179
|
return true;
|
|
18182
|
-
return
|
|
18183
|
-
}); const
|
|
19180
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io12(value);
|
|
19181
|
+
}); const _io14 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
19182
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
19183
|
+
return true;
|
|
18184
19184
|
const value = input[key];
|
|
18185
19185
|
if (undefined === value)
|
|
18186
19186
|
return true;
|
|
18187
|
-
return
|
|
18188
|
-
}); const
|
|
19187
|
+
return true;
|
|
19188
|
+
}); const _io15 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem))); const _io16 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || Array.isArray(input.__returnValue)); const _io17 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "number" === typeof input.__returnValue); const _io18 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io12(input.__returnValue)); const _io19 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io20 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (null !== input.__returnValue && (undefined === input.__returnValue || "string" === typeof input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io14(input.__returnValue))); const _io21 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))); const _io22 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io23 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io14(input.widget))); const _iu0 = input => (() => {
|
|
18189
19189
|
if (undefined !== input.type)
|
|
18190
|
-
return
|
|
19190
|
+
return _io22(input);
|
|
18191
19191
|
else if (undefined !== input.property)
|
|
18192
|
-
return
|
|
19192
|
+
return _io23(input);
|
|
18193
19193
|
else
|
|
18194
19194
|
return false;
|
|
19195
|
+
})(); const _iu1 = input => (() => {
|
|
19196
|
+
if (undefined !== input.__context)
|
|
19197
|
+
return _io18(input);
|
|
19198
|
+
else
|
|
19199
|
+
return _io12(input);
|
|
19200
|
+
})(); const _iu2 = input => (() => {
|
|
19201
|
+
if (undefined !== input.__context)
|
|
19202
|
+
return _io19(input);
|
|
19203
|
+
else
|
|
19204
|
+
return _io13(input);
|
|
19205
|
+
})(); const _iu3 = input => (() => {
|
|
19206
|
+
if (undefined !== input.__context)
|
|
19207
|
+
return _io20(input);
|
|
19208
|
+
else
|
|
19209
|
+
return _io14(input);
|
|
18195
19210
|
})(); const _ia0 = input => input.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && _iu0(elem)))); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
18196
19211
|
path: _path + ".title",
|
|
18197
19212
|
expected: "(string | undefined)",
|
|
@@ -18204,8 +19219,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18204
19219
|
path: _path + ".supports",
|
|
18205
19220
|
expected: "(Array<string> | string | undefined)",
|
|
18206
19221
|
value: input.supports
|
|
18207
|
-
})) && input.supports.map((elem,
|
|
18208
|
-
path: _path + ".supports[" +
|
|
19222
|
+
})) && input.supports.map((elem, _index8) => "string" === typeof elem || _report(_exceptionable, {
|
|
19223
|
+
path: _path + ".supports[" + _index8 + "]",
|
|
18209
19224
|
expected: "string",
|
|
18210
19225
|
value: elem
|
|
18211
19226
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18230,11 +19245,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
18230
19245
|
value: input.properties
|
|
18231
19246
|
}), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
|
|
18232
19247
|
path: _path + ".layout",
|
|
18233
|
-
expected: "(__type.
|
|
19248
|
+
expected: "(__type.o16 | undefined)",
|
|
18234
19249
|
value: input.layout
|
|
18235
|
-
})) &&
|
|
19250
|
+
})) && _vo21(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
|
|
18236
19251
|
path: _path + ".layout",
|
|
18237
|
-
expected: "(__type.
|
|
19252
|
+
expected: "(__type.o16 | undefined)",
|
|
18238
19253
|
value: input.layout
|
|
18239
19254
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
18240
19255
|
const value = input[key];
|
|
@@ -18242,14 +19257,22 @@ function _validateDomainRecord(domain, input) {
|
|
|
18242
19257
|
return true;
|
|
18243
19258
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
18244
19259
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18245
|
-
expected: "
|
|
19260
|
+
expected: "SchemaRootProperty<unknown>",
|
|
18246
19261
|
value: value
|
|
18247
19262
|
})) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
18248
19263
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18249
|
-
expected: "
|
|
19264
|
+
expected: "SchemaRootProperty<unknown>",
|
|
18250
19265
|
value: value
|
|
18251
19266
|
});
|
|
18252
|
-
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [
|
|
19267
|
+
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.domain || "string" === typeof input.domain || _report(_exceptionable, {
|
|
19268
|
+
path: _path + ".domain",
|
|
19269
|
+
expected: "(string | undefined)",
|
|
19270
|
+
value: input.domain
|
|
19271
|
+
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
19272
|
+
path: _path + ".path",
|
|
19273
|
+
expected: "(string | undefined)",
|
|
19274
|
+
value: input.path
|
|
19275
|
+
}), (null !== input.recordName || _report(_exceptionable, {
|
|
18253
19276
|
path: _path + ".recordName",
|
|
18254
19277
|
expected: "(__type.o1 | string | undefined)",
|
|
18255
19278
|
value: input.recordName
|
|
@@ -18273,123 +19296,211 @@ function _validateDomainRecord(domain, input) {
|
|
|
18273
19296
|
path: _path + ".setter",
|
|
18274
19297
|
expected: "(__type.o3 | string | undefined)",
|
|
18275
19298
|
value: input.setter
|
|
18276
|
-
})),
|
|
18277
|
-
path: _path + ".
|
|
18278
|
-
expected: "(
|
|
18279
|
-
value: input.
|
|
18280
|
-
})
|
|
18281
|
-
path: _path + ".
|
|
18282
|
-
expected: "(
|
|
18283
|
-
value: input.
|
|
18284
|
-
}),
|
|
19299
|
+
})), undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
19300
|
+
path: _path + ".index",
|
|
19301
|
+
expected: "(__type.o5 | undefined)",
|
|
19302
|
+
value: input.index
|
|
19303
|
+
})) && _vo7(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
19304
|
+
path: _path + ".index",
|
|
19305
|
+
expected: "(__type.o5 | undefined)",
|
|
19306
|
+
value: input.index
|
|
19307
|
+
}), (null !== input.type || _report(_exceptionable, {
|
|
18285
19308
|
path: _path + ".type",
|
|
18286
|
-
expected: "(
|
|
19309
|
+
expected: "(__type.o6 | string | undefined)",
|
|
18287
19310
|
value: input.type
|
|
18288
|
-
})
|
|
19311
|
+
})) && (undefined === input.type || "string" === typeof input.type || ("object" === typeof input.type && null !== input.type || _report(_exceptionable, {
|
|
19312
|
+
path: _path + ".type",
|
|
19313
|
+
expected: "(__type.o6 | string | undefined)",
|
|
19314
|
+
value: input.type
|
|
19315
|
+
})) && _vo8(input.type, _path + ".type", true && _exceptionable) || _report(_exceptionable, {
|
|
19316
|
+
path: _path + ".type",
|
|
19317
|
+
expected: "(__type.o6 | string | undefined)",
|
|
19318
|
+
value: input.type
|
|
19319
|
+
})), (null !== input.title || _report(_exceptionable, {
|
|
18289
19320
|
path: _path + ".title",
|
|
18290
|
-
expected: "(string | undefined)",
|
|
19321
|
+
expected: "(__type.o8 | string | undefined)",
|
|
18291
19322
|
value: input.title
|
|
18292
|
-
})
|
|
19323
|
+
})) && (undefined === input.title || "string" === typeof input.title || ("object" === typeof input.title && null !== input.title || _report(_exceptionable, {
|
|
19324
|
+
path: _path + ".title",
|
|
19325
|
+
expected: "(__type.o8 | string | undefined)",
|
|
19326
|
+
value: input.title
|
|
19327
|
+
})) && _vo10(input.title, _path + ".title", true && _exceptionable) || _report(_exceptionable, {
|
|
19328
|
+
path: _path + ".title",
|
|
19329
|
+
expected: "(__type.o8 | string | undefined)",
|
|
19330
|
+
value: input.title
|
|
19331
|
+
})), (null !== input.description || _report(_exceptionable, {
|
|
18293
19332
|
path: _path + ".description",
|
|
18294
|
-
expected: "(string | undefined)",
|
|
19333
|
+
expected: "(__type.o8 | string | undefined)",
|
|
18295
19334
|
value: input.description
|
|
18296
|
-
})
|
|
19335
|
+
})) && (undefined === input.description || "string" === typeof input.description || ("object" === typeof input.description && null !== input.description || _report(_exceptionable, {
|
|
19336
|
+
path: _path + ".description",
|
|
19337
|
+
expected: "(__type.o8 | string | undefined)",
|
|
19338
|
+
value: input.description
|
|
19339
|
+
})) && _vo10(input.description, _path + ".description", true && _exceptionable) || _report(_exceptionable, {
|
|
19340
|
+
path: _path + ".description",
|
|
19341
|
+
expected: "(__type.o8 | string | undefined)",
|
|
19342
|
+
value: input.description
|
|
19343
|
+
})), (null !== input.required || _report(_exceptionable, {
|
|
18297
19344
|
path: _path + ".required",
|
|
18298
|
-
expected: "(boolean | undefined)",
|
|
19345
|
+
expected: "(__type.o9 | boolean | string | undefined)",
|
|
18299
19346
|
value: input.required
|
|
18300
|
-
})
|
|
19347
|
+
})) && (undefined === input.required || "string" === typeof input.required || "boolean" === typeof input.required || ("object" === typeof input.required && null !== input.required || _report(_exceptionable, {
|
|
19348
|
+
path: _path + ".required",
|
|
19349
|
+
expected: "(__type.o9 | boolean | string | undefined)",
|
|
19350
|
+
value: input.required
|
|
19351
|
+
})) && _vo11(input.required, _path + ".required", true && _exceptionable) || _report(_exceptionable, {
|
|
19352
|
+
path: _path + ".required",
|
|
19353
|
+
expected: "(__type.o9 | boolean | string | undefined)",
|
|
19354
|
+
value: input.required
|
|
19355
|
+
})), (null !== input.oneOf || _report(_exceptionable, {
|
|
18301
19356
|
path: _path + ".oneOf",
|
|
18302
|
-
expected: "(Array<
|
|
19357
|
+
expected: "(Array<SchemaProperty<unknown>> | __type.o10 | string | undefined)",
|
|
18303
19358
|
value: input.oneOf
|
|
18304
|
-
})) && input.oneOf.map((elem,
|
|
18305
|
-
path: _path + ".oneOf[" +
|
|
18306
|
-
expected: "
|
|
19359
|
+
})) && (undefined === input.oneOf || "string" === typeof input.oneOf || (Array.isArray(input.oneOf) && input.oneOf.map((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19360
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
19361
|
+
expected: "SchemaProperty<unknown>",
|
|
18307
19362
|
value: elem
|
|
18308
|
-
})) &&
|
|
18309
|
-
path: _path + ".oneOf[" +
|
|
18310
|
-
expected: "
|
|
19363
|
+
})) && _vo12(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19364
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
19365
|
+
expected: "SchemaProperty<unknown>",
|
|
18311
19366
|
value: elem
|
|
18312
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
19367
|
+
})).every(flag => flag) || "object" === typeof input.oneOf && null !== input.oneOf && _vo15(input.oneOf, _path + ".oneOf", true && _exceptionable) || _report(_exceptionable, {
|
|
18313
19368
|
path: _path + ".oneOf",
|
|
18314
|
-
expected: "(Array<
|
|
19369
|
+
expected: "(Array<SchemaProperty<unknown>> | __type.o10 | string | undefined)",
|
|
18315
19370
|
value: input.oneOf
|
|
18316
|
-
})
|
|
19371
|
+
})) || _report(_exceptionable, {
|
|
19372
|
+
path: _path + ".oneOf",
|
|
19373
|
+
expected: "(Array<SchemaProperty<unknown>> | __type.o10 | string | undefined)",
|
|
19374
|
+
value: input.oneOf
|
|
19375
|
+
})), (null !== input.anyOf || _report(_exceptionable, {
|
|
18317
19376
|
path: _path + ".anyOf",
|
|
18318
|
-
expected: "(Array<
|
|
19377
|
+
expected: "(Array<SchemaProperty<unknown>> | __type.o10 | string | undefined)",
|
|
18319
19378
|
value: input.anyOf
|
|
18320
|
-
})) && input.anyOf.map((elem,
|
|
18321
|
-
path: _path + ".anyOf[" +
|
|
18322
|
-
expected: "
|
|
19379
|
+
})) && (undefined === input.anyOf || "string" === typeof input.anyOf || (Array.isArray(input.anyOf) && input.anyOf.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19380
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
19381
|
+
expected: "SchemaProperty<unknown>",
|
|
18323
19382
|
value: elem
|
|
18324
|
-
})) &&
|
|
18325
|
-
path: _path + ".anyOf[" +
|
|
18326
|
-
expected: "
|
|
19383
|
+
})) && _vo12(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19384
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
19385
|
+
expected: "SchemaProperty<unknown>",
|
|
18327
19386
|
value: elem
|
|
18328
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
19387
|
+
})).every(flag => flag) || "object" === typeof input.anyOf && null !== input.anyOf && _vo15(input.anyOf, _path + ".anyOf", true && _exceptionable) || _report(_exceptionable, {
|
|
18329
19388
|
path: _path + ".anyOf",
|
|
18330
|
-
expected: "(Array<
|
|
19389
|
+
expected: "(Array<SchemaProperty<unknown>> | __type.o10 | string | undefined)",
|
|
18331
19390
|
value: input.anyOf
|
|
18332
|
-
})
|
|
19391
|
+
})) || _report(_exceptionable, {
|
|
19392
|
+
path: _path + ".anyOf",
|
|
19393
|
+
expected: "(Array<SchemaProperty<unknown>> | __type.o10 | string | undefined)",
|
|
19394
|
+
value: input.anyOf
|
|
19395
|
+
})), (null !== input["enum"] || _report(_exceptionable, {
|
|
18333
19396
|
path: _path + "[\"enum\"]",
|
|
18334
|
-
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
19397
|
+
expected: "(ReadonlyArray<unknown> | __type.o11 | string | undefined)",
|
|
18335
19398
|
value: input["enum"]
|
|
18336
|
-
})
|
|
19399
|
+
})) && (undefined === input["enum"] || "string" === typeof input["enum"] || (Array.isArray(input["enum"]) || "object" === typeof input["enum"] && null !== input["enum"] && _vo16(input["enum"], _path + "[\"enum\"]", true && _exceptionable) || _report(_exceptionable, {
|
|
19400
|
+
path: _path + "[\"enum\"]",
|
|
19401
|
+
expected: "(ReadonlyArray<unknown> | __type.o11 | string | undefined)",
|
|
19402
|
+
value: input["enum"]
|
|
19403
|
+
})) || _report(_exceptionable, {
|
|
19404
|
+
path: _path + "[\"enum\"]",
|
|
19405
|
+
expected: "(ReadonlyArray<unknown> | __type.o11 | string | undefined)",
|
|
19406
|
+
value: input["enum"]
|
|
19407
|
+
})), (null !== input.minItems || _report(_exceptionable, {
|
|
19408
|
+
path: _path + ".minItems",
|
|
19409
|
+
expected: "(__type.o12 | number | string | undefined)",
|
|
19410
|
+
value: input.minItems
|
|
19411
|
+
})) && (undefined === input.minItems || "string" === typeof input.minItems || "number" === typeof input.minItems || ("object" === typeof input.minItems && null !== input.minItems || _report(_exceptionable, {
|
|
19412
|
+
path: _path + ".minItems",
|
|
19413
|
+
expected: "(__type.o12 | number | string | undefined)",
|
|
19414
|
+
value: input.minItems
|
|
19415
|
+
})) && _vo17(input.minItems, _path + ".minItems", true && _exceptionable) || _report(_exceptionable, {
|
|
19416
|
+
path: _path + ".minItems",
|
|
19417
|
+
expected: "(__type.o12 | number | string | undefined)",
|
|
19418
|
+
value: input.minItems
|
|
19419
|
+
})), (null !== input.maxItems || _report(_exceptionable, {
|
|
19420
|
+
path: _path + ".maxItems",
|
|
19421
|
+
expected: "(__type.o12 | number | string | undefined)",
|
|
19422
|
+
value: input.maxItems
|
|
19423
|
+
})) && (undefined === input.maxItems || "string" === typeof input.maxItems || "number" === typeof input.maxItems || ("object" === typeof input.maxItems && null !== input.maxItems || _report(_exceptionable, {
|
|
19424
|
+
path: _path + ".maxItems",
|
|
19425
|
+
expected: "(__type.o12 | number | string | undefined)",
|
|
19426
|
+
value: input.maxItems
|
|
19427
|
+
})) && _vo17(input.maxItems, _path + ".maxItems", true && _exceptionable) || _report(_exceptionable, {
|
|
19428
|
+
path: _path + ".maxItems",
|
|
19429
|
+
expected: "(__type.o12 | number | string | undefined)",
|
|
19430
|
+
value: input.maxItems
|
|
19431
|
+
})), (null !== input.items || _report(_exceptionable, {
|
|
19432
|
+
path: _path + ".items",
|
|
19433
|
+
expected: "(SchemaProperty<unknown> | __type.o13 | string | undefined)",
|
|
19434
|
+
value: input.items
|
|
19435
|
+
})) && (undefined === input.items || "string" === typeof input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
19436
|
+
path: _path + ".items",
|
|
19437
|
+
expected: "(SchemaProperty<unknown> | __type.o13 | string | undefined)",
|
|
19438
|
+
value: input.items
|
|
19439
|
+
})) && _vu1(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
19440
|
+
path: _path + ".items",
|
|
19441
|
+
expected: "(SchemaProperty<unknown> | __type.o13 | string | undefined)",
|
|
19442
|
+
value: input.items
|
|
19443
|
+
})), (null !== input.properties || _report(_exceptionable, {
|
|
19444
|
+
path: _path + ".properties",
|
|
19445
|
+
expected: "(Record<string, SchemaProperty<unknown>> | __type.o14 | string | undefined)",
|
|
19446
|
+
value: input.properties
|
|
19447
|
+
})) && (undefined === input.properties || "string" === typeof input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
19448
|
+
path: _path + ".properties",
|
|
19449
|
+
expected: "(Record<string, SchemaProperty<unknown>> | __type.o14 | string | undefined)",
|
|
19450
|
+
value: input.properties
|
|
19451
|
+
})) && _vu2(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
19452
|
+
path: _path + ".properties",
|
|
19453
|
+
expected: "(Record<string, SchemaProperty<unknown>> | __type.o14 | string | undefined)",
|
|
19454
|
+
value: input.properties
|
|
19455
|
+
})), true, true, (null !== input.widget || _report(_exceptionable, {
|
|
18337
19456
|
path: _path + ".widget",
|
|
18338
|
-
expected: "(WidgetOptions | string | undefined)",
|
|
19457
|
+
expected: "(WidgetOptions | __type.o15 | string | undefined)",
|
|
18339
19458
|
value: input.widget
|
|
18340
19459
|
})) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
|
|
18341
19460
|
path: _path + ".widget",
|
|
18342
|
-
expected: "(WidgetOptions | string | undefined)",
|
|
19461
|
+
expected: "(WidgetOptions | __type.o15 | string | undefined)",
|
|
18343
19462
|
value: input.widget
|
|
18344
|
-
})) &&
|
|
19463
|
+
})) && _vu3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
18345
19464
|
path: _path + ".widget",
|
|
18346
|
-
expected: "(WidgetOptions | string | undefined)",
|
|
19465
|
+
expected: "(WidgetOptions | __type.o15 | string | undefined)",
|
|
18347
19466
|
value: input.widget
|
|
18348
|
-
})),
|
|
19467
|
+
})), (null !== input.placeholder || _report(_exceptionable, {
|
|
18349
19468
|
path: _path + ".placeholder",
|
|
18350
|
-
expected: "(string | undefined)",
|
|
19469
|
+
expected: "(__type.o8 | string | undefined)",
|
|
18351
19470
|
value: input.placeholder
|
|
18352
|
-
})
|
|
19471
|
+
})) && (undefined === input.placeholder || "string" === typeof input.placeholder || ("object" === typeof input.placeholder && null !== input.placeholder || _report(_exceptionable, {
|
|
19472
|
+
path: _path + ".placeholder",
|
|
19473
|
+
expected: "(__type.o8 | string | undefined)",
|
|
19474
|
+
value: input.placeholder
|
|
19475
|
+
})) && _vo10(input.placeholder, _path + ".placeholder", true && _exceptionable) || _report(_exceptionable, {
|
|
19476
|
+
path: _path + ".placeholder",
|
|
19477
|
+
expected: "(__type.o8 | string | undefined)",
|
|
19478
|
+
value: input.placeholder
|
|
19479
|
+
})), (null !== input.helpText || _report(_exceptionable, {
|
|
18353
19480
|
path: _path + ".helpText",
|
|
18354
|
-
expected: "(string | undefined)",
|
|
19481
|
+
expected: "(__type.o8 | string | undefined)",
|
|
18355
19482
|
value: input.helpText
|
|
18356
|
-
})
|
|
19483
|
+
})) && (undefined === input.helpText || "string" === typeof input.helpText || ("object" === typeof input.helpText && null !== input.helpText || _report(_exceptionable, {
|
|
19484
|
+
path: _path + ".helpText",
|
|
19485
|
+
expected: "(__type.o8 | string | undefined)",
|
|
19486
|
+
value: input.helpText
|
|
19487
|
+
})) && _vo10(input.helpText, _path + ".helpText", true && _exceptionable) || _report(_exceptionable, {
|
|
19488
|
+
path: _path + ".helpText",
|
|
19489
|
+
expected: "(__type.o8 | string | undefined)",
|
|
19490
|
+
value: input.helpText
|
|
19491
|
+
})), (null !== input.invalid || _report(_exceptionable, {
|
|
18357
19492
|
path: _path + ".invalid",
|
|
18358
|
-
expected: "(boolean | undefined)",
|
|
19493
|
+
expected: "(__type.o9 | boolean | string | undefined)",
|
|
18359
19494
|
value: input.invalid
|
|
18360
|
-
})
|
|
18361
|
-
path: _path + ".
|
|
18362
|
-
expected: "(
|
|
18363
|
-
value: input.
|
|
18364
|
-
})
|
|
18365
|
-
path: _path + ".
|
|
18366
|
-
expected: "(
|
|
18367
|
-
value: input.
|
|
18368
|
-
}),
|
|
18369
|
-
path: _path + ".items",
|
|
18370
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
18371
|
-
value: input.items
|
|
18372
|
-
})) && _vo7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
18373
|
-
path: _path + ".items",
|
|
18374
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
18375
|
-
value: input.items
|
|
18376
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
18377
|
-
path: _path + ".properties",
|
|
18378
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
18379
|
-
value: input.properties
|
|
18380
|
-
})) && _vo9(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
18381
|
-
path: _path + ".properties",
|
|
18382
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
18383
|
-
value: input.properties
|
|
18384
|
-
}), true, undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
18385
|
-
path: _path + ".index",
|
|
18386
|
-
expected: "(__type.o5 | undefined)",
|
|
18387
|
-
value: input.index
|
|
18388
|
-
})) && _vo10(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
18389
|
-
path: _path + ".index",
|
|
18390
|
-
expected: "(__type.o5 | undefined)",
|
|
18391
|
-
value: input.index
|
|
18392
|
-
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
19495
|
+
})) && (undefined === input.invalid || "string" === typeof input.invalid || "boolean" === typeof input.invalid || ("object" === typeof input.invalid && null !== input.invalid || _report(_exceptionable, {
|
|
19496
|
+
path: _path + ".invalid",
|
|
19497
|
+
expected: "(__type.o9 | boolean | string | undefined)",
|
|
19498
|
+
value: input.invalid
|
|
19499
|
+
})) && _vo11(input.invalid, _path + ".invalid", true && _exceptionable) || _report(_exceptionable, {
|
|
19500
|
+
path: _path + ".invalid",
|
|
19501
|
+
expected: "(__type.o9 | boolean | string | undefined)",
|
|
19502
|
+
value: input.invalid
|
|
19503
|
+
})), true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
18393
19504
|
path: _path + ".__context",
|
|
18394
19505
|
expected: "__type.o2",
|
|
18395
19506
|
value: input.__context
|
|
@@ -18421,15 +19532,55 @@ function _validateDomainRecord(domain, input) {
|
|
|
18421
19532
|
path: _path + ".id",
|
|
18422
19533
|
expected: "string",
|
|
18423
19534
|
value: input.id
|
|
18424
|
-
}), true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [
|
|
18425
|
-
path: _path + ".
|
|
18426
|
-
expected: "
|
|
18427
|
-
value: input.
|
|
18428
|
-
}),
|
|
19535
|
+
}), true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
19536
|
+
path: _path + ".label",
|
|
19537
|
+
expected: "string",
|
|
19538
|
+
value: input.label
|
|
19539
|
+
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
18429
19540
|
path: _path + ".path",
|
|
18430
|
-
expected: "
|
|
19541
|
+
expected: "string",
|
|
18431
19542
|
value: input.path
|
|
18432
|
-
})
|
|
19543
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
19544
|
+
path: _path + ".__context",
|
|
19545
|
+
expected: "__type.o7",
|
|
19546
|
+
value: input.__context
|
|
19547
|
+
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
19548
|
+
path: _path + ".__context",
|
|
19549
|
+
expected: "__type.o7",
|
|
19550
|
+
value: input.__context
|
|
19551
|
+
}), undefined === input.__returnValue || "string" === input.__returnValue || "number" === input.__returnValue || "boolean" === input.__returnValue || "object" === input.__returnValue || "array" === input.__returnValue || "asset" === input.__returnValue || "datetime" === input.__returnValue || "rpc" === input.__returnValue || _report(_exceptionable, {
|
|
19552
|
+
path: _path + ".__returnValue",
|
|
19553
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
19554
|
+
value: input.__returnValue
|
|
19555
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
19556
|
+
path: _path + ".id",
|
|
19557
|
+
expected: "string",
|
|
19558
|
+
value: input.id
|
|
19559
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
19560
|
+
path: _path + ".__context",
|
|
19561
|
+
expected: "__type.o7",
|
|
19562
|
+
value: input.__context
|
|
19563
|
+
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
19564
|
+
path: _path + ".__context",
|
|
19565
|
+
expected: "__type.o7",
|
|
19566
|
+
value: input.__context
|
|
19567
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
19568
|
+
path: _path + ".__returnValue",
|
|
19569
|
+
expected: "(string | undefined)",
|
|
19570
|
+
value: input.__returnValue
|
|
19571
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
19572
|
+
path: _path + ".__context",
|
|
19573
|
+
expected: "__type.o7",
|
|
19574
|
+
value: input.__context
|
|
19575
|
+
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
19576
|
+
path: _path + ".__context",
|
|
19577
|
+
expected: "__type.o7",
|
|
19578
|
+
value: input.__context
|
|
19579
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
19580
|
+
path: _path + ".__returnValue",
|
|
19581
|
+
expected: "(boolean | undefined)",
|
|
19582
|
+
value: input.__returnValue
|
|
19583
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
|
|
18433
19584
|
path: _path + ".type",
|
|
18434
19585
|
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
18435
19586
|
value: input.type
|
|
@@ -18447,41 +19598,65 @@ function _validateDomainRecord(domain, input) {
|
|
|
18447
19598
|
value: input.required
|
|
18448
19599
|
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
18449
19600
|
path: _path + ".oneOf",
|
|
18450
|
-
expected: "(Array<
|
|
19601
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
18451
19602
|
value: input.oneOf
|
|
18452
|
-
})) && input.oneOf.map((elem,
|
|
18453
|
-
path: _path + ".oneOf[" +
|
|
18454
|
-
expected: "
|
|
19603
|
+
})) && input.oneOf.map((elem, _index11) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19604
|
+
path: _path + ".oneOf[" + _index11 + "]",
|
|
19605
|
+
expected: "SchemaProperty<unknown>",
|
|
18455
19606
|
value: elem
|
|
18456
|
-
})) &&
|
|
18457
|
-
path: _path + ".oneOf[" +
|
|
18458
|
-
expected: "
|
|
19607
|
+
})) && _vo12(elem, _path + ".oneOf[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19608
|
+
path: _path + ".oneOf[" + _index11 + "]",
|
|
19609
|
+
expected: "SchemaProperty<unknown>",
|
|
18459
19610
|
value: elem
|
|
18460
19611
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
18461
19612
|
path: _path + ".oneOf",
|
|
18462
|
-
expected: "(Array<
|
|
19613
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
18463
19614
|
value: input.oneOf
|
|
18464
19615
|
}), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
18465
19616
|
path: _path + ".anyOf",
|
|
18466
|
-
expected: "(Array<
|
|
19617
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
18467
19618
|
value: input.anyOf
|
|
18468
|
-
})) && input.anyOf.map((elem,
|
|
18469
|
-
path: _path + ".anyOf[" +
|
|
18470
|
-
expected: "
|
|
19619
|
+
})) && input.anyOf.map((elem, _index12) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19620
|
+
path: _path + ".anyOf[" + _index12 + "]",
|
|
19621
|
+
expected: "SchemaProperty<unknown>",
|
|
18471
19622
|
value: elem
|
|
18472
|
-
})) &&
|
|
18473
|
-
path: _path + ".anyOf[" +
|
|
18474
|
-
expected: "
|
|
19623
|
+
})) && _vo12(elem, _path + ".anyOf[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19624
|
+
path: _path + ".anyOf[" + _index12 + "]",
|
|
19625
|
+
expected: "SchemaProperty<unknown>",
|
|
18475
19626
|
value: elem
|
|
18476
19627
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
18477
19628
|
path: _path + ".anyOf",
|
|
18478
|
-
expected: "(Array<
|
|
19629
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
18479
19630
|
value: input.anyOf
|
|
18480
19631
|
}), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
|
|
18481
19632
|
path: _path + "[\"enum\"]",
|
|
18482
19633
|
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
18483
19634
|
value: input["enum"]
|
|
18484
|
-
}),
|
|
19635
|
+
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
19636
|
+
path: _path + ".minItems",
|
|
19637
|
+
expected: "(number | undefined)",
|
|
19638
|
+
value: input.minItems
|
|
19639
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
19640
|
+
path: _path + ".maxItems",
|
|
19641
|
+
expected: "(number | undefined)",
|
|
19642
|
+
value: input.maxItems
|
|
19643
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
19644
|
+
path: _path + ".items",
|
|
19645
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
19646
|
+
value: input.items
|
|
19647
|
+
})) && _vo12(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
19648
|
+
path: _path + ".items",
|
|
19649
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
19650
|
+
value: input.items
|
|
19651
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
19652
|
+
path: _path + ".properties",
|
|
19653
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
19654
|
+
value: input.properties
|
|
19655
|
+
})) && _vo13(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
19656
|
+
path: _path + ".properties",
|
|
19657
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
19658
|
+
value: input.properties
|
|
19659
|
+
}), true, true, (null !== input.widget || _report(_exceptionable, {
|
|
18485
19660
|
path: _path + ".widget",
|
|
18486
19661
|
expected: "(WidgetOptions | string | undefined)",
|
|
18487
19662
|
value: input.widget
|
|
@@ -18489,7 +19664,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18489
19664
|
path: _path + ".widget",
|
|
18490
19665
|
expected: "(WidgetOptions | string | undefined)",
|
|
18491
19666
|
value: input.widget
|
|
18492
|
-
})) &&
|
|
19667
|
+
})) && _vo14(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
18493
19668
|
path: _path + ".widget",
|
|
18494
19669
|
expected: "(WidgetOptions | string | undefined)",
|
|
18495
19670
|
value: input.widget
|
|
@@ -18505,39 +19680,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
18505
19680
|
path: _path + ".invalid",
|
|
18506
19681
|
expected: "(boolean | undefined)",
|
|
18507
19682
|
value: input.invalid
|
|
18508
|
-
}), true
|
|
18509
|
-
|
|
18510
|
-
|
|
18511
|
-
|
|
18512
|
-
|
|
18513
|
-
|
|
18514
|
-
|
|
18515
|
-
|
|
18516
|
-
|
|
18517
|
-
|
|
18518
|
-
|
|
18519
|
-
|
|
18520
|
-
|
|
18521
|
-
|
|
18522
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
18523
|
-
value: input.items
|
|
18524
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
18525
|
-
path: _path + ".properties",
|
|
18526
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
18527
|
-
value: input.properties
|
|
18528
|
-
})) && _vo9(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
18529
|
-
path: _path + ".properties",
|
|
18530
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
18531
|
-
value: input.properties
|
|
18532
|
-
}), true, undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
18533
|
-
path: _path + ".index",
|
|
18534
|
-
expected: "(__type.o5 | undefined)",
|
|
18535
|
-
value: input.index
|
|
18536
|
-
})) && _vo10(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
18537
|
-
path: _path + ".index",
|
|
18538
|
-
expected: "(__type.o5 | undefined)",
|
|
18539
|
-
value: input.index
|
|
18540
|
-
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
19683
|
+
}), true].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
19684
|
+
const value = input[key];
|
|
19685
|
+
if (undefined === value)
|
|
19686
|
+
return true;
|
|
19687
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
19688
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
19689
|
+
expected: "SchemaProperty<unknown>",
|
|
19690
|
+
value: value
|
|
19691
|
+
})) && _vo12(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
19692
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
19693
|
+
expected: "SchemaProperty<unknown>",
|
|
19694
|
+
value: value
|
|
19695
|
+
});
|
|
19696
|
+
}).every(flag => flag)].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
18541
19697
|
path: _path + ".type",
|
|
18542
19698
|
expected: "(string | undefined)",
|
|
18543
19699
|
value: input.type
|
|
@@ -18552,28 +19708,107 @@ function _validateDomainRecord(domain, input) {
|
|
|
18552
19708
|
if (undefined === value)
|
|
18553
19709
|
return true;
|
|
18554
19710
|
return true;
|
|
18555
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
18556
|
-
|
|
18557
|
-
|
|
18558
|
-
|
|
18559
|
-
|
|
18560
|
-
|
|
18561
|
-
|
|
18562
|
-
|
|
18563
|
-
|
|
18564
|
-
|
|
18565
|
-
|
|
18566
|
-
|
|
18567
|
-
|
|
18568
|
-
|
|
18569
|
-
|
|
18570
|
-
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
19711
|
+
}).every(flag => flag)].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
19712
|
+
path: _path + ".__context",
|
|
19713
|
+
expected: "__type.o7",
|
|
19714
|
+
value: input.__context
|
|
19715
|
+
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
19716
|
+
path: _path + ".__context",
|
|
19717
|
+
expected: "__type.o7",
|
|
19718
|
+
value: input.__context
|
|
19719
|
+
}), undefined === input.__returnValue || (Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
19720
|
+
path: _path + ".__returnValue",
|
|
19721
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
19722
|
+
value: input.__returnValue
|
|
19723
|
+
})) && input.__returnValue.map((elem, _index13) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19724
|
+
path: _path + ".__returnValue[" + _index13 + "]",
|
|
19725
|
+
expected: "SchemaProperty<unknown>",
|
|
19726
|
+
value: elem
|
|
19727
|
+
})) && _vo12(elem, _path + ".__returnValue[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19728
|
+
path: _path + ".__returnValue[" + _index13 + "]",
|
|
19729
|
+
expected: "SchemaProperty<unknown>",
|
|
19730
|
+
value: elem
|
|
19731
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
19732
|
+
path: _path + ".__returnValue",
|
|
19733
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
19734
|
+
value: input.__returnValue
|
|
19735
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
19736
|
+
path: _path + ".__context",
|
|
19737
|
+
expected: "__type.o7",
|
|
19738
|
+
value: input.__context
|
|
19739
|
+
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
19740
|
+
path: _path + ".__context",
|
|
19741
|
+
expected: "__type.o7",
|
|
19742
|
+
value: input.__context
|
|
19743
|
+
}), undefined === input.__returnValue || Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
19744
|
+
path: _path + ".__returnValue",
|
|
19745
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
19746
|
+
value: input.__returnValue
|
|
19747
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
19748
|
+
path: _path + ".__context",
|
|
19749
|
+
expected: "__type.o7",
|
|
19750
|
+
value: input.__context
|
|
19751
|
+
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
19752
|
+
path: _path + ".__context",
|
|
19753
|
+
expected: "__type.o7",
|
|
19754
|
+
value: input.__context
|
|
19755
|
+
}), undefined === input.__returnValue || "number" === typeof input.__returnValue || _report(_exceptionable, {
|
|
19756
|
+
path: _path + ".__returnValue",
|
|
19757
|
+
expected: "(number | undefined)",
|
|
19758
|
+
value: input.__returnValue
|
|
19759
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
19760
|
+
path: _path + ".__context",
|
|
19761
|
+
expected: "__type.o7",
|
|
19762
|
+
value: input.__context
|
|
19763
|
+
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
19764
|
+
path: _path + ".__context",
|
|
19765
|
+
expected: "__type.o7",
|
|
19766
|
+
value: input.__context
|
|
19767
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
19768
|
+
path: _path + ".__returnValue",
|
|
19769
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
19770
|
+
value: input.__returnValue
|
|
19771
|
+
})) && _vo12(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
19772
|
+
path: _path + ".__returnValue",
|
|
19773
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
19774
|
+
value: input.__returnValue
|
|
19775
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
19776
|
+
path: _path + ".__context",
|
|
19777
|
+
expected: "__type.o7",
|
|
19778
|
+
value: input.__context
|
|
19779
|
+
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
19780
|
+
path: _path + ".__context",
|
|
19781
|
+
expected: "__type.o7",
|
|
19782
|
+
value: input.__context
|
|
19783
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
19784
|
+
path: _path + ".__returnValue",
|
|
19785
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
19786
|
+
value: input.__returnValue
|
|
19787
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
19788
|
+
path: _path + ".__returnValue",
|
|
19789
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
19790
|
+
value: input.__returnValue
|
|
19791
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
19792
|
+
path: _path + ".__context",
|
|
19793
|
+
expected: "__type.o7",
|
|
19794
|
+
value: input.__context
|
|
19795
|
+
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
19796
|
+
path: _path + ".__context",
|
|
19797
|
+
expected: "__type.o7",
|
|
19798
|
+
value: input.__context
|
|
19799
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
19800
|
+
path: _path + ".__returnValue",
|
|
19801
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
19802
|
+
value: input.__returnValue
|
|
19803
|
+
})) && (undefined === input.__returnValue || "string" === typeof input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
19804
|
+
path: _path + ".__returnValue",
|
|
19805
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
19806
|
+
value: input.__returnValue
|
|
19807
|
+
})) && _vo14(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
19808
|
+
path: _path + ".__returnValue",
|
|
19809
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
19810
|
+
value: input.__returnValue
|
|
19811
|
+
}))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [(null !== input.panel || _report(_exceptionable, {
|
|
18577
19812
|
path: _path + ".panel",
|
|
18578
19813
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string | undefined)",
|
|
18579
19814
|
value: input.panel
|
|
@@ -18605,7 +19840,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18605
19840
|
path: _path + ".editor",
|
|
18606
19841
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string | undefined)",
|
|
18607
19842
|
value: input.editor
|
|
18608
|
-
}))].every(flag => flag); const
|
|
19843
|
+
}))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => ["divider" === input.type || _report(_exceptionable, {
|
|
18609
19844
|
path: _path + ".type",
|
|
18610
19845
|
expected: "\"divider\"",
|
|
18611
19846
|
value: input.type
|
|
@@ -18613,7 +19848,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18613
19848
|
path: _path + ".title",
|
|
18614
19849
|
expected: "(string | undefined)",
|
|
18615
19850
|
value: input.title
|
|
18616
|
-
})].every(flag => flag); const
|
|
19851
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => ["string" === typeof input.property || _report(_exceptionable, {
|
|
18617
19852
|
path: _path + ".property",
|
|
18618
19853
|
expected: "string",
|
|
18619
19854
|
value: input.property
|
|
@@ -18629,39 +19864,54 @@ function _validateDomainRecord(domain, input) {
|
|
|
18629
19864
|
path: _path + ".widget",
|
|
18630
19865
|
expected: "(WidgetOptions | string | undefined)",
|
|
18631
19866
|
value: input.widget
|
|
18632
|
-
})) &&
|
|
19867
|
+
})) && _vo14(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
18633
19868
|
path: _path + ".widget",
|
|
18634
19869
|
expected: "(WidgetOptions | string | undefined)",
|
|
18635
19870
|
value: input.widget
|
|
18636
19871
|
}))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
18637
19872
|
if (undefined !== input.type)
|
|
18638
|
-
return
|
|
19873
|
+
return _vo22(input, _path, true && _exceptionable);
|
|
18639
19874
|
else if (undefined !== input.property)
|
|
18640
|
-
return
|
|
19875
|
+
return _vo23(input, _path, true && _exceptionable);
|
|
18641
19876
|
else
|
|
18642
19877
|
return _report(_exceptionable, {
|
|
18643
19878
|
path: _path,
|
|
18644
19879
|
expected: "(WidgetLayoutDivider | WidgetLayoutItem)",
|
|
18645
19880
|
value: input
|
|
18646
19881
|
});
|
|
18647
|
-
})(); const
|
|
18648
|
-
|
|
19882
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
19883
|
+
if (undefined !== input.__context)
|
|
19884
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
19885
|
+
else
|
|
19886
|
+
return _vo12(input, _path, true && _exceptionable);
|
|
19887
|
+
})(); const _vu2 = (input, _path, _exceptionable = true) => (() => {
|
|
19888
|
+
if (undefined !== input.__context)
|
|
19889
|
+
return _vo19(input, _path, true && _exceptionable);
|
|
19890
|
+
else
|
|
19891
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
19892
|
+
})(); const _vu3 = (input, _path, _exceptionable = true) => (() => {
|
|
19893
|
+
if (undefined !== input.__context)
|
|
19894
|
+
return _vo20(input, _path, true && _exceptionable);
|
|
19895
|
+
else
|
|
19896
|
+
return _vo14(input, _path, true && _exceptionable);
|
|
19897
|
+
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index14) => (null !== elem || _report(_exceptionable, {
|
|
19898
|
+
path: _path + "[" + _index14 + "]",
|
|
18649
19899
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string)",
|
|
18650
19900
|
value: elem
|
|
18651
19901
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
18652
|
-
path: _path + "[" +
|
|
19902
|
+
path: _path + "[" + _index14 + "]",
|
|
18653
19903
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string)",
|
|
18654
19904
|
value: elem
|
|
18655
|
-
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
18656
|
-
path: _path + "[" +
|
|
19905
|
+
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19906
|
+
path: _path + "[" + _index14 + "]",
|
|
18657
19907
|
expected: "Array<WidgetLayout>",
|
|
18658
19908
|
value: elem
|
|
18659
|
-
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" +
|
|
18660
|
-
path: _path + "[" +
|
|
19909
|
+
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19910
|
+
path: _path + "[" + _index14 + "]",
|
|
18661
19911
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string)",
|
|
18662
19912
|
value: elem
|
|
18663
19913
|
})) || _report(_exceptionable, {
|
|
18664
|
-
path: _path + "[" +
|
|
19914
|
+
path: _path + "[" + _index14 + "]",
|
|
18665
19915
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string)",
|
|
18666
19916
|
value: elem
|
|
18667
19917
|
}))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
@@ -18752,7 +20002,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18752
20002
|
}; })()(input);
|
|
18753
20003
|
}
|
|
18754
20004
|
case ":script?": {
|
|
18755
|
-
return (() => { const _io0 = input => "object" === typeof input.value && null !== input.value && _io1(input.value); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) &&
|
|
20005
|
+
return (() => { const _io0 = input => "object" === typeof input.value && null !== input.value && _io1(input.value); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && "number" === typeof input.version && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
|
|
18756
20006
|
const value = input[key];
|
|
18757
20007
|
if (undefined === value)
|
|
18758
20008
|
return true;
|
|
@@ -18777,6 +20027,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
18777
20027
|
path: _path + ".type",
|
|
18778
20028
|
expected: "string",
|
|
18779
20029
|
value: input.type
|
|
20030
|
+
}), "number" === typeof input.version || _report(_exceptionable, {
|
|
20031
|
+
path: _path + ".version",
|
|
20032
|
+
expected: "number",
|
|
20033
|
+
value: input.version
|
|
18780
20034
|
}), undefined === input.$ || ("object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) || _report(_exceptionable, {
|
|
18781
20035
|
path: _path + ".$",
|
|
18782
20036
|
expected: "(Record<string, unknown> | undefined)",
|
|
@@ -18785,10 +20039,6 @@ function _validateDomainRecord(domain, input) {
|
|
|
18785
20039
|
path: _path + ".$",
|
|
18786
20040
|
expected: "(Record<string, unknown> | undefined)",
|
|
18787
20041
|
value: input.$
|
|
18788
|
-
}), "number" === typeof input.version || _report(_exceptionable, {
|
|
18789
|
-
path: _path + ".version",
|
|
18790
|
-
expected: "number",
|
|
18791
|
-
value: input.version
|
|
18792
20042
|
}), (Array.isArray(input.children) || _report(_exceptionable, {
|
|
18793
20043
|
path: _path + ".children",
|
|
18794
20044
|
expected: "Array<SerializedLexicalNode>",
|
|
@@ -18976,7 +20226,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18976
20226
|
}; })()(input);
|
|
18977
20227
|
}
|
|
18978
20228
|
case ":script.revision?": {
|
|
18979
|
-
return (() => { const _io0 = input => "string" === typeof input.$parent && "string" === typeof input.scriptId && "string" === typeof input.userId && ("object" === typeof input.value && null !== input.value && _io1(input.value)); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) &&
|
|
20229
|
+
return (() => { const _io0 = input => "string" === typeof input.$parent && "string" === typeof input.scriptId && "string" === typeof input.userId && ("object" === typeof input.value && null !== input.value && _io1(input.value)); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && "number" === typeof input.version && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
|
|
18980
20230
|
const value = input[key];
|
|
18981
20231
|
if (undefined === value)
|
|
18982
20232
|
return true;
|
|
@@ -19013,6 +20263,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
19013
20263
|
path: _path + ".type",
|
|
19014
20264
|
expected: "string",
|
|
19015
20265
|
value: input.type
|
|
20266
|
+
}), "number" === typeof input.version || _report(_exceptionable, {
|
|
20267
|
+
path: _path + ".version",
|
|
20268
|
+
expected: "number",
|
|
20269
|
+
value: input.version
|
|
19016
20270
|
}), undefined === input.$ || ("object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) || _report(_exceptionable, {
|
|
19017
20271
|
path: _path + ".$",
|
|
19018
20272
|
expected: "(Record<string, unknown> | undefined)",
|
|
@@ -19021,10 +20275,6 @@ function _validateDomainRecord(domain, input) {
|
|
|
19021
20275
|
path: _path + ".$",
|
|
19022
20276
|
expected: "(Record<string, unknown> | undefined)",
|
|
19023
20277
|
value: input.$
|
|
19024
|
-
}), "number" === typeof input.version || _report(_exceptionable, {
|
|
19025
|
-
path: _path + ".version",
|
|
19026
|
-
expected: "number",
|
|
19027
|
-
value: input.version
|
|
19028
20278
|
}), (Array.isArray(input.children) || _report(_exceptionable, {
|
|
19029
20279
|
path: _path + ".children",
|
|
19030
20280
|
expected: "Array<SerializedLexicalNode>",
|
|
@@ -19808,7 +21058,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
19808
21058
|
}; })()(input);
|
|
19809
21059
|
}
|
|
19810
21060
|
case ":settings": {
|
|
19811
|
-
return (() => { const _iv29 = 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"
|
|
21061
|
+
return (() => { const _iv29 = new Set(["encoding", "name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV"]); const _iv38 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv80 = new Set(["encoding", "name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV"]); const _vv89 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input.graphics || "object" === typeof input.graphics && null !== input.graphics && false === Array.isArray(input.graphics) && _io2(input.graphics)) && (undefined === input.googleWhitelist || Array.isArray(input.googleWhitelist) && input.googleWhitelist.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input.googleUserRoles || Array.isArray(input.googleUserRoles) && input.googleUserRoles.every(elem => "string" === typeof elem)) && (undefined === input.azureWhitelist || Array.isArray(input.azureWhitelist) && input.azureWhitelist.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input.azureUserRoles || Array.isArray(input.azureUserRoles) && input.azureUserRoles.every(elem => "string" === typeof elem)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io5(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io9(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io10(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io11(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io14(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io15(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io16(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io17(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io18(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io19(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io20(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io22(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io28(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io31(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io32(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io33(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io54(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io60(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io61(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io70(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io74(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io75(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && _io80(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io81(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io82(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io85(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io88(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io89(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io90(input.bookmarks)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io91(input.shotbox)) && (undefined === input.performance || "object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) && _io92(input.performance)) && (undefined === input.app || "object" === typeof input.app && null !== input.app && false === Array.isArray(input.app) && _io93(input.app)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io3 = input => undefined === input.domain || "string" === typeof input.domain; const _io4 = input => undefined === input.domain || "string" === typeof input.domain; const _io5 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io6(input.tabs)); const _io6 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io7(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
19812
21062
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
19813
21063
|
return true;
|
|
19814
21064
|
const value = input[key];
|
|
@@ -19840,11 +21090,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
19840
21090
|
if (undefined === value)
|
|
19841
21091
|
return true;
|
|
19842
21092
|
return true;
|
|
19843
|
-
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io40(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io41 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "id" === input.key || "title" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
|
|
21093
|
+
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io40(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io41 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
|
|
19844
21094
|
const value = input[key];
|
|
19845
21095
|
if (undefined === value)
|
|
19846
21096
|
return true;
|
|
19847
|
-
return Array.isArray(value) && value.every(elem => "
|
|
21097
|
+
return Array.isArray(value) && value.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem);
|
|
19848
21098
|
}); const _io85 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io86(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io87(input.duplicate)); const _io86 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io87 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io88 = input => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every(elem => "number" === typeof elem)) && (undefined === input.textFilter || "string" === typeof input.textFilter) && (undefined === input.showEmpty || "boolean" === typeof input.showEmpty) && (undefined === input.selectedRecord || "string" === typeof input.selectedRecord) && (undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits) && (undefined === input.parseRegex || "boolean" === typeof input.parseRegex); const _io89 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io90 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io91 = input => undefined === input.layout || "string" === typeof input.layout; const _io92 = input => (undefined === input.ignoredWarnings || Array.isArray(input.ignoredWarnings) && input.ignoredWarnings.every(elem => "string" === typeof elem)) && (undefined === input.ignoredErrors || Array.isArray(input.ignoredErrors) && input.ignoredErrors.every(elem => "string" === typeof elem)); const _io93 = input => (undefined === input.enableUpdate || "boolean" === typeof input.enableUpdate) && (undefined === input.autoUpdate || "boolean" === typeof input.autoUpdate); const _iu0 = input => (() => {
|
|
19849
21099
|
if ("script" === input.type)
|
|
19850
21100
|
return _io71(input);
|
|
@@ -21682,7 +22932,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21682
22932
|
path: _path + ".fontFamily",
|
|
21683
22933
|
expected: "(string | undefined)",
|
|
21684
22934
|
value: input.fontFamily
|
|
21685
|
-
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => ["type" === input.key || "
|
|
22935
|
+
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => ["type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key || _report(_exceptionable, {
|
|
21686
22936
|
path: _path + ".key",
|
|
21687
22937
|
expected: "(\"accDuration\" | \"duration\" | \"id\" | \"position\" | \"time\" | \"title\" | \"type\")",
|
|
21688
22938
|
value: input.key
|
|
@@ -21934,7 +23184,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21934
23184
|
path: _path + ".comment",
|
|
21935
23185
|
expected: "(Array<NotificationReason> | undefined)",
|
|
21936
23186
|
value: input.comment
|
|
21937
|
-
})) && input.comment.map((elem, _index96) => "
|
|
23187
|
+
})) && input.comment.map((elem, _index96) => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21938
23188
|
path: _path + ".comment[" + _index96 + "]",
|
|
21939
23189
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21940
23190
|
value: elem
|
|
@@ -21946,7 +23196,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21946
23196
|
path: _path + ".assigned",
|
|
21947
23197
|
expected: "(Array<NotificationReason> | undefined)",
|
|
21948
23198
|
value: input.assigned
|
|
21949
|
-
})) && input.assigned.map((elem, _index97) => "
|
|
23199
|
+
})) && input.assigned.map((elem, _index97) => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21950
23200
|
path: _path + ".assigned[" + _index97 + "]",
|
|
21951
23201
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21952
23202
|
value: elem
|
|
@@ -21958,7 +23208,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21958
23208
|
path: _path + ".unassigned",
|
|
21959
23209
|
expected: "(Array<NotificationReason> | undefined)",
|
|
21960
23210
|
value: input.unassigned
|
|
21961
|
-
})) && input.unassigned.map((elem, _index98) => "
|
|
23211
|
+
})) && input.unassigned.map((elem, _index98) => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21962
23212
|
path: _path + ".unassigned[" + _index98 + "]",
|
|
21963
23213
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21964
23214
|
value: elem
|
|
@@ -21982,7 +23232,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21982
23232
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
21983
23233
|
expected: "Array<NotificationReason>",
|
|
21984
23234
|
value: value
|
|
21985
|
-
})) && value.map((elem, _index99) => "
|
|
23235
|
+
})) && value.map((elem, _index99) => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21986
23236
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index99 + "]",
|
|
21987
23237
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21988
23238
|
value: elem
|
|
@@ -23960,7 +25210,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
23960
25210
|
}; })()(input);
|
|
23961
25211
|
}
|
|
23962
25212
|
case ":user-notification": {
|
|
23963
|
-
return (() => { const _io0 = input => "assigned" === input.type && ("object" === typeof input.payload && null !== input.payload && _io1(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "
|
|
25213
|
+
return (() => { const _io0 = input => "assigned" === input.type && ("object" === typeof input.payload && null !== input.payload && _io1(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io1 = input => "string" === typeof input.assetId && (undefined === input.actionBy || "string" === typeof input.actionBy); const _io2 = input => "unassigned" === input.type && ("object" === typeof input.payload && null !== input.payload && _io3(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io3 = input => "string" === typeof input.assetId && (undefined === input.actionBy || "string" === typeof input.actionBy); const _io4 = input => "comment" === input.type && ("object" === typeof input.payload && null !== input.payload && _io5(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io5 = input => "string" === typeof input.commentId; const _io6 = input => "added-to-search" === input.type && ("object" === typeof input.payload && null !== input.payload && _io7(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io7 = input => "string" === typeof input.searchId && "string" === typeof input.assetId; const _io8 = input => "publishSucceeded" === input.type && ("object" === typeof input.payload && null !== input.payload && _io9(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io9 = input => (undefined === input.userId || "string" === typeof input.userId) && "string" === typeof input.assetId && "string" === typeof input.publishId && "string" === typeof input.connectionId; const _iu0 = input => (() => {
|
|
23964
25214
|
if ("publishSucceeded" === input.type)
|
|
23965
25215
|
return _io8(input);
|
|
23966
25216
|
else if ("added-to-search" === input.type)
|
|
@@ -23997,7 +25247,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
23997
25247
|
path: _path + ".reasons",
|
|
23998
25248
|
expected: "Array<NotificationReason>",
|
|
23999
25249
|
value: input.reasons
|
|
24000
|
-
})) && input.reasons.map((elem, _index6) => "
|
|
25250
|
+
})) && input.reasons.map((elem, _index6) => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
24001
25251
|
path: _path + ".reasons[" + _index6 + "]",
|
|
24002
25252
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
24003
25253
|
value: elem
|
|
@@ -24041,7 +25291,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
24041
25291
|
path: _path + ".reasons",
|
|
24042
25292
|
expected: "Array<NotificationReason>",
|
|
24043
25293
|
value: input.reasons
|
|
24044
|
-
})) && input.reasons.map((elem, _index7) => "
|
|
25294
|
+
})) && input.reasons.map((elem, _index7) => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
24045
25295
|
path: _path + ".reasons[" + _index7 + "]",
|
|
24046
25296
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
24047
25297
|
value: elem
|
|
@@ -24085,7 +25335,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
24085
25335
|
path: _path + ".reasons",
|
|
24086
25336
|
expected: "Array<NotificationReason>",
|
|
24087
25337
|
value: input.reasons
|
|
24088
|
-
})) && input.reasons.map((elem, _index8) => "
|
|
25338
|
+
})) && input.reasons.map((elem, _index8) => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
24089
25339
|
path: _path + ".reasons[" + _index8 + "]",
|
|
24090
25340
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
24091
25341
|
value: elem
|
|
@@ -24125,7 +25375,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
24125
25375
|
path: _path + ".reasons",
|
|
24126
25376
|
expected: "Array<NotificationReason>",
|
|
24127
25377
|
value: input.reasons
|
|
24128
|
-
})) && input.reasons.map((elem, _index9) => "
|
|
25378
|
+
})) && input.reasons.map((elem, _index9) => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
24129
25379
|
path: _path + ".reasons[" + _index9 + "]",
|
|
24130
25380
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
24131
25381
|
value: elem
|
|
@@ -24169,7 +25419,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
24169
25419
|
path: _path + ".reasons",
|
|
24170
25420
|
expected: "Array<NotificationReason>",
|
|
24171
25421
|
value: input.reasons
|
|
24172
|
-
})) && input.reasons.map((elem, _index10) => "
|
|
25422
|
+
})) && input.reasons.map((elem, _index10) => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
24173
25423
|
path: _path + ".reasons[" + _index10 + "]",
|
|
24174
25424
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
24175
25425
|
value: elem
|