@nxtedition/types 23.0.60 → 23.0.61
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/asset-indexer.d.ts +98 -0
- package/dist/common/asset-indexer.js +1 -0
- package/dist/common/index.d.ts +3 -0
- package/dist/common/index.js +3 -0
- package/dist/common/panel-property.d.ts +29 -0
- package/dist/common/panel-property.js +1 -0
- package/dist/common/schema-property.d.ts +12 -0
- package/dist/common/schema-property.js +1 -0
- package/dist/common/settings.d.ts +6 -0
- package/dist/nxtpression.d.ts +227 -5
- package/dist/records/domains/asset.d.ts +10 -1
- package/dist/records/domains/device.d.ts +16 -0
- package/dist/records/domains/device.js +1 -0
- package/dist/records/domains/index.d.ts +7 -1
- package/dist/records/domains/index.js +3 -0
- package/dist/records/domains/ingestschedule.d.ts +45 -0
- package/dist/records/domains/ingestschedule.js +1 -0
- package/dist/records/domains/note.d.ts +6 -0
- package/dist/records/domains/note.js +1 -0
- package/dist/records/domains/panel.d.ts +1 -28
- package/dist/records/exact/asset.d.ts +18 -1
- package/dist/records/validate/assert-guard.js +1275 -15
- package/dist/records/validate/assert.js +1278 -11
- package/dist/records/validate/is.js +41 -3
- package/dist/records/validate/schemas.js +1091 -192
- package/dist/records/validate/stringify.js +72 -5
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +2364 -439
- package/dist/records/validate/validate.js +1134 -10
- package/package.json +1 -1
|
@@ -346,6 +346,245 @@ function _assertExactRecord(name, input) {
|
|
|
346
346
|
return input;
|
|
347
347
|
}; })()(input);
|
|
348
348
|
}
|
|
349
|
+
case "asset.dynamicProperties?": {
|
|
350
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => (undefined === input.panel || "string" === typeof input.panel) && (undefined === input.schema || "string" === typeof input.schema) && (Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem)) && "string" === typeof input.path && ("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.index || "object" === typeof input.index && null !== input.index && _io2(input.index)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.domain || "string" === typeof input.domain) && true && (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) && _io3(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"])) && true && (null !== input.recordName && (undefined === input.recordName || "string" === typeof input.recordName || "object" === typeof input.recordName && null !== input.recordName && _io5(input.recordName))) && (null !== input.setter && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || "object" === typeof input.setter && null !== input.setter && _io7(input.setter))) && true; const _io2 = input => "string" === typeof input.label && "string" === typeof input.path; const _io3 = input => true && (undefined === input.title || "string" === typeof input.title); const _io4 = input => true && (undefined === input.title || "string" === typeof input.title); const _io5 = input => "object" === typeof input.__context && null !== input.__context && _io6(input.__context) && "string" === typeof input.__returnValue; const _io6 = input => "string" === typeof input.id; const _io7 = input => "object" === typeof input.__context && null !== input.__context && _io8(input.__context) && true; const _io8 = input => "string" === typeof input.id && true; const _ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
351
|
+
method: "typia.assert",
|
|
352
|
+
path: _path + ".value",
|
|
353
|
+
expected: "(Array<DynamicProperty> | undefined)",
|
|
354
|
+
value: input.value
|
|
355
|
+
}, _errorFactory)) && input.value.every((elem, _index5) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
356
|
+
method: "typia.assert",
|
|
357
|
+
path: _path + ".value[" + _index5 + "]",
|
|
358
|
+
expected: "DynamicProperty",
|
|
359
|
+
value: elem
|
|
360
|
+
}, _errorFactory)) && _ao1(elem, _path + ".value[" + _index5 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
361
|
+
method: "typia.assert",
|
|
362
|
+
path: _path + ".value[" + _index5 + "]",
|
|
363
|
+
expected: "DynamicProperty",
|
|
364
|
+
value: elem
|
|
365
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
366
|
+
method: "typia.assert",
|
|
367
|
+
path: _path + ".value",
|
|
368
|
+
expected: "(Array<DynamicProperty> | undefined)",
|
|
369
|
+
value: input.value
|
|
370
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.panel || "string" === typeof input.panel || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
371
|
+
method: "typia.assert",
|
|
372
|
+
path: _path + ".panel",
|
|
373
|
+
expected: "(string | undefined)",
|
|
374
|
+
value: input.panel
|
|
375
|
+
}, _errorFactory)) && (undefined === input.schema || "string" === typeof input.schema || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
376
|
+
method: "typia.assert",
|
|
377
|
+
path: _path + ".schema",
|
|
378
|
+
expected: "(string | undefined)",
|
|
379
|
+
value: input.schema
|
|
380
|
+
}, _errorFactory)) && ((Array.isArray(input.supports) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
381
|
+
method: "typia.assert",
|
|
382
|
+
path: _path + ".supports",
|
|
383
|
+
expected: "Array<string>",
|
|
384
|
+
value: input.supports
|
|
385
|
+
}, _errorFactory)) && input.supports.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
386
|
+
method: "typia.assert",
|
|
387
|
+
path: _path + ".supports[" + _index6 + "]",
|
|
388
|
+
expected: "string",
|
|
389
|
+
value: elem
|
|
390
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
391
|
+
method: "typia.assert",
|
|
392
|
+
path: _path + ".supports",
|
|
393
|
+
expected: "Array<string>",
|
|
394
|
+
value: input.supports
|
|
395
|
+
}, _errorFactory)) && ("string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
396
|
+
method: "typia.assert",
|
|
397
|
+
path: _path + ".path",
|
|
398
|
+
expected: "string",
|
|
399
|
+
value: input.path
|
|
400
|
+
}, _errorFactory)) && ("string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
401
|
+
method: "typia.assert",
|
|
402
|
+
path: _path + ".type",
|
|
403
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\")",
|
|
404
|
+
value: input.type
|
|
405
|
+
}, _errorFactory)) && (undefined === input.index || ("object" === typeof input.index && null !== input.index || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
406
|
+
method: "typia.assert",
|
|
407
|
+
path: _path + ".index",
|
|
408
|
+
expected: "(__type | undefined)",
|
|
409
|
+
value: input.index
|
|
410
|
+
}, _errorFactory)) && _ao2(input.index, _path + ".index", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
411
|
+
method: "typia.assert",
|
|
412
|
+
path: _path + ".index",
|
|
413
|
+
expected: "(__type | undefined)",
|
|
414
|
+
value: input.index
|
|
415
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
416
|
+
method: "typia.assert",
|
|
417
|
+
path: _path + ".title",
|
|
418
|
+
expected: "(string | undefined)",
|
|
419
|
+
value: input.title
|
|
420
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
421
|
+
method: "typia.assert",
|
|
422
|
+
path: _path + ".description",
|
|
423
|
+
expected: "(string | undefined)",
|
|
424
|
+
value: input.description
|
|
425
|
+
}, _errorFactory)) && (undefined === input.domain || "string" === typeof input.domain || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
426
|
+
method: "typia.assert",
|
|
427
|
+
path: _path + ".domain",
|
|
428
|
+
expected: "(string | undefined)",
|
|
429
|
+
value: input.domain
|
|
430
|
+
}, _errorFactory)) && true && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
431
|
+
method: "typia.assert",
|
|
432
|
+
path: _path + ".required",
|
|
433
|
+
expected: "(boolean | undefined)",
|
|
434
|
+
value: input.required
|
|
435
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
436
|
+
method: "typia.assert",
|
|
437
|
+
path: _path + ".oneOf",
|
|
438
|
+
expected: "(Array<__type> | undefined)",
|
|
439
|
+
value: input.oneOf
|
|
440
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
441
|
+
method: "typia.assert",
|
|
442
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
443
|
+
expected: "__type.o1",
|
|
444
|
+
value: elem
|
|
445
|
+
}, _errorFactory)) && _ao3(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
446
|
+
method: "typia.assert",
|
|
447
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
448
|
+
expected: "__type.o1",
|
|
449
|
+
value: elem
|
|
450
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
451
|
+
method: "typia.assert",
|
|
452
|
+
path: _path + ".oneOf",
|
|
453
|
+
expected: "(Array<__type> | undefined)",
|
|
454
|
+
value: input.oneOf
|
|
455
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
456
|
+
method: "typia.assert",
|
|
457
|
+
path: _path + ".anyOf",
|
|
458
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
459
|
+
value: input.anyOf
|
|
460
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
461
|
+
method: "typia.assert",
|
|
462
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
463
|
+
expected: "__type.o2",
|
|
464
|
+
value: elem
|
|
465
|
+
}, _errorFactory)) && _ao4(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
466
|
+
method: "typia.assert",
|
|
467
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
468
|
+
expected: "__type.o2",
|
|
469
|
+
value: elem
|
|
470
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
471
|
+
method: "typia.assert",
|
|
472
|
+
path: _path + ".anyOf",
|
|
473
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
474
|
+
value: input.anyOf
|
|
475
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
476
|
+
method: "typia.assert",
|
|
477
|
+
path: _path + "[\"enum\"]",
|
|
478
|
+
expected: "(Array<unknown> | undefined)",
|
|
479
|
+
value: input["enum"]
|
|
480
|
+
}, _errorFactory)) && true && ((null !== input.recordName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
481
|
+
method: "typia.assert",
|
|
482
|
+
path: _path + ".recordName",
|
|
483
|
+
expected: "(__type.o3 | string | undefined)",
|
|
484
|
+
value: input.recordName
|
|
485
|
+
}, _errorFactory)) && (undefined === input.recordName || "string" === typeof input.recordName || ("object" === typeof input.recordName && null !== input.recordName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
486
|
+
method: "typia.assert",
|
|
487
|
+
path: _path + ".recordName",
|
|
488
|
+
expected: "(__type.o3 | string | undefined)",
|
|
489
|
+
value: input.recordName
|
|
490
|
+
}, _errorFactory)) && _ao5(input.recordName, _path + ".recordName", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
491
|
+
method: "typia.assert",
|
|
492
|
+
path: _path + ".recordName",
|
|
493
|
+
expected: "(__type.o3 | string | undefined)",
|
|
494
|
+
value: input.recordName
|
|
495
|
+
}, _errorFactory))) && ((null !== input.setter || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
496
|
+
method: "typia.assert",
|
|
497
|
+
path: _path + ".setter",
|
|
498
|
+
expected: "(__type.o5 | string | undefined)",
|
|
499
|
+
value: input.setter
|
|
500
|
+
}, _errorFactory)) && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || ("object" === typeof input.setter && null !== input.setter || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
501
|
+
method: "typia.assert",
|
|
502
|
+
path: _path + ".setter",
|
|
503
|
+
expected: "(__type.o5 | string | undefined)",
|
|
504
|
+
value: input.setter
|
|
505
|
+
}, _errorFactory)) && _ao7(input.setter, _path + ".setter", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
506
|
+
method: "typia.assert",
|
|
507
|
+
path: _path + ".setter",
|
|
508
|
+
expected: "(__type.o5 | string | undefined)",
|
|
509
|
+
value: input.setter
|
|
510
|
+
}, _errorFactory))) && true; const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
511
|
+
method: "typia.assert",
|
|
512
|
+
path: _path + ".label",
|
|
513
|
+
expected: "string",
|
|
514
|
+
value: input.label
|
|
515
|
+
}, _errorFactory)) && ("string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
516
|
+
method: "typia.assert",
|
|
517
|
+
path: _path + ".path",
|
|
518
|
+
expected: "string",
|
|
519
|
+
value: input.path
|
|
520
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => true && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
521
|
+
method: "typia.assert",
|
|
522
|
+
path: _path + ".title",
|
|
523
|
+
expected: "(string | undefined)",
|
|
524
|
+
value: input.title
|
|
525
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => true && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
526
|
+
method: "typia.assert",
|
|
527
|
+
path: _path + ".title",
|
|
528
|
+
expected: "(string | undefined)",
|
|
529
|
+
value: input.title
|
|
530
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => (("object" === typeof input.__context && null !== input.__context || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
531
|
+
method: "typia.assert",
|
|
532
|
+
path: _path + ".__context",
|
|
533
|
+
expected: "__type.o4",
|
|
534
|
+
value: input.__context
|
|
535
|
+
}, _errorFactory)) && _ao6(input.__context, _path + ".__context", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
536
|
+
method: "typia.assert",
|
|
537
|
+
path: _path + ".__context",
|
|
538
|
+
expected: "__type.o4",
|
|
539
|
+
value: input.__context
|
|
540
|
+
}, _errorFactory)) && ("string" === typeof input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
541
|
+
method: "typia.assert",
|
|
542
|
+
path: _path + ".__returnValue",
|
|
543
|
+
expected: "string",
|
|
544
|
+
value: input.__returnValue
|
|
545
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
546
|
+
method: "typia.assert",
|
|
547
|
+
path: _path + ".id",
|
|
548
|
+
expected: "string",
|
|
549
|
+
value: input.id
|
|
550
|
+
}, _errorFactory); const _ao7 = (input, _path, _exceptionable = true) => (("object" === typeof input.__context && null !== input.__context || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
551
|
+
method: "typia.assert",
|
|
552
|
+
path: _path + ".__context",
|
|
553
|
+
expected: "__type.o6",
|
|
554
|
+
value: input.__context
|
|
555
|
+
}, _errorFactory)) && _ao8(input.__context, _path + ".__context", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
556
|
+
method: "typia.assert",
|
|
557
|
+
path: _path + ".__context",
|
|
558
|
+
expected: "__type.o6",
|
|
559
|
+
value: input.__context
|
|
560
|
+
}, _errorFactory)) && (true || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
561
|
+
method: "typia.assert",
|
|
562
|
+
path: _path + ".__returnValue",
|
|
563
|
+
expected: "unknown",
|
|
564
|
+
value: input.__returnValue
|
|
565
|
+
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
566
|
+
method: "typia.assert",
|
|
567
|
+
path: _path + ".id",
|
|
568
|
+
expected: "string",
|
|
569
|
+
value: input.id
|
|
570
|
+
}, _errorFactory)) && true; const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
571
|
+
if (false === __is(input)) {
|
|
572
|
+
_errorFactory = errorFactory;
|
|
573
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
574
|
+
method: "typia.assert",
|
|
575
|
+
path: _path + "",
|
|
576
|
+
expected: "AssetDynamicPropertiesProvidedRecord",
|
|
577
|
+
value: input
|
|
578
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
579
|
+
method: "typia.assert",
|
|
580
|
+
path: _path + "",
|
|
581
|
+
expected: "AssetDynamicPropertiesProvidedRecord",
|
|
582
|
+
value: input
|
|
583
|
+
}, _errorFactory))(input, "$input", true);
|
|
584
|
+
}
|
|
585
|
+
return input;
|
|
586
|
+
}; })()(input);
|
|
587
|
+
}
|
|
349
588
|
case "asset.embedding": {
|
|
350
589
|
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 _ao0 = (input, _path, _exceptionable = true) => (null !== input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
351
590
|
method: "typia.assert",
|
|
@@ -2899,15 +3138,678 @@ function _assertDomainRecord(domain, input) {
|
|
|
2899
3138
|
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
2900
3139
|
if (false === __is(input)) {
|
|
2901
3140
|
_errorFactory = errorFactory;
|
|
2902
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
3141
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
3142
|
+
method: "typia.assert",
|
|
3143
|
+
path: _path + "",
|
|
3144
|
+
expected: "AssetCommentsRecord",
|
|
3145
|
+
value: input
|
|
3146
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
3147
|
+
method: "typia.assert",
|
|
3148
|
+
path: _path + "",
|
|
3149
|
+
expected: "AssetCommentsRecord",
|
|
3150
|
+
value: input
|
|
3151
|
+
}, _errorFactory))(input, "$input", true);
|
|
3152
|
+
}
|
|
3153
|
+
return input;
|
|
3154
|
+
}; })()(input);
|
|
3155
|
+
}
|
|
3156
|
+
case ":asset.record?": {
|
|
3157
|
+
return (() => { const _io0 = input => "string" === typeof input.id && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.created || "string" === typeof input.created) && (undefined === input.createdBy || "string" === typeof input.createdBy) && (undefined === input.createdByTitle || "string" === typeof input.createdByTitle) && (undefined === input.origin || "string" === typeof input.origin) && (undefined === input.modified || "string" === typeof input.modified) && (undefined === input.modifiedBy || "string" === typeof input.modifiedBy) && (undefined === input.modifiedByAll || Array.isArray(input.modifiedByAll) && input.modifiedByAll.every(elem => "string" === typeof elem)) && (undefined === input.modifiedByTitle || "string" === typeof input.modifiedByTitle) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deadlines || Array.isArray(input.deadlines) && input.deadlines.every(elem => "string" === typeof elem)) && (undefined === input.deadlinesCount || "number" === typeof input.deadlinesCount) && (undefined === input.deadlines_date_range || Array.isArray(input.deadlines_date_range) && input.deadlines_date_range.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.assignees || Array.isArray(input.assignees) && input.assignees.every(elem => "string" === typeof elem)) && (undefined === input.assigneesCount || "number" === typeof input.assigneesCount) && (undefined === input.locations || Array.isArray(input.locations) && input.locations.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.locationsCount || "number" === typeof input.locationsCount) && (undefined === input.types || Array.isArray(input.types) && input.types.every(elem => "string" === typeof elem)) && (undefined === input.primaryType || "string" === typeof input.primaryType) && (undefined === input.rawTypes || Array.isArray(input.rawTypes) && input.rawTypes.every(elem => "string" === typeof elem)) && (undefined === input.status || "object" === typeof input.status && null !== input.status && false === Array.isArray(input.status) && _io3(input.status)) && (undefined === input.published || Array.isArray(input.published) && input.published.every(elem => "string" === typeof elem)) && (undefined === input.publishedCount || "number" === typeof input.publishedCount) && (undefined === input.storage || "object" === typeof input.storage && null !== input.storage && false === Array.isArray(input.storage) && _io5(input.storage)) && (undefined === input.refs || "number" === typeof input.refs) && (undefined === input.refsByType || "object" === typeof input.refsByType && null !== input.refsByType && false === Array.isArray(input.refsByType) && _io6(input.refsByType)) && (undefined === input.recurrence_date_range || "object" === typeof input.recurrence_date_range && null !== input.recurrence_date_range && _io7(input.recurrence_date_range)) && (undefined === input.media_date_range || "object" === typeof input.media_date_range && null !== input.media_date_range && _io8(input.media_date_range)) && (undefined === input.ingestschedule_date_range || "object" === typeof input.ingestschedule_date_range && null !== input.ingestschedule_date_range && _io9(input.ingestschedule_date_range)) && (undefined === input.ingestschedule || "object" === typeof input.ingestschedule && null !== input.ingestschedule && false === Array.isArray(input.ingestschedule) && _io10(input.ingestschedule)) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.user || "string" === typeof input.user) && (undefined === input["note.text"] || "string" === typeof input["note.text"]) && (undefined === input.subtitles || "string" === typeof input.subtitles) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io11(input.story)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io12(input.storyboard)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io13(input.media)) && (undefined === input.embedding || Array.isArray(input.embedding) && input.embedding.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && Object.keys(input).every(key => {
|
|
3158
|
+
if (["id", "title", "description", "created", "createdBy", "createdByTitle", "origin", "modified", "modifiedBy", "modifiedByAll", "modifiedByTitle", "duration", "tags", "deadlines", "deadlinesCount", "deadlines_date_range", "assignees", "assigneesCount", "locations", "locationsCount", "types", "primaryType", "rawTypes", "status", "published", "publishedCount", "storage", "refs", "refsByType", "recurrence_date_range", "media_date_range", "ingestschedule_date_range", "ingestschedule", "username", "user", "note.text", "subtitles", "graphics", "story", "storyboard", "media", "embedding"].some(prop => key === prop))
|
|
3159
|
+
return true;
|
|
3160
|
+
const value = input[key];
|
|
3161
|
+
if (undefined === value)
|
|
3162
|
+
return true;
|
|
3163
|
+
return true;
|
|
3164
|
+
}); const _io1 = input => "string" === typeof input.gte && "string" === typeof input.lte; const _io2 = input => "number" === typeof input.lat && "number" === typeof input.lon; const _io3 = input => undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem)); const _io4 = input => (undefined === input.code || "string" === typeof input.code) && (undefined === input.level || "number" === typeof input.level); const _io5 = input => (undefined === input.files || Array.isArray(input.files) && input.files.every(elem => "string" === typeof elem)) && (undefined === input.replicas || Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (undefined === input.locations || Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (undefined === input.zones || Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (undefined === input.uploading || "boolean" === typeof input.uploading) && (undefined === input.size || "number" === typeof input.size) && (undefined === input.filesCount || "number" === typeof input.filesCount) && (undefined === input.replicasCount || "number" === typeof input.replicasCount) && (undefined === input.locationsCount || "number" === typeof input.locationsCount); const _io6 = input => Object.keys(input).every(key => {
|
|
3165
|
+
const value = input[key];
|
|
3166
|
+
if (undefined === value)
|
|
3167
|
+
return true;
|
|
3168
|
+
return "number" === typeof value;
|
|
3169
|
+
}); const _io7 = input => "string" === typeof input.gte && (null === input.lte || "string" === typeof input.lte); const _io8 = input => "string" === typeof input.gte && "string" === typeof input.lte; const _io9 = input => "string" === typeof input.gte && (null === input.lte || "string" === typeof input.lte); const _io10 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.sources || Array.isArray(input.sources) && input.sources.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "string" === typeof elem)); const _io11 = input => (undefined === input.content || "string" === typeof input.content) && (undefined === input.graphics || Array.isArray(input.graphics) && input.graphics.every(elem => "string" === typeof elem)); const _io12 = input => undefined === input.content || Array.isArray(input.content); const _io13 = input => true && true && true && true && true; const _io14 = input => Array.isArray(input.vector) && input.vector.every(elem => "number" === typeof elem); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3170
|
+
method: "typia.assert",
|
|
3171
|
+
path: _path + ".id",
|
|
3172
|
+
expected: "string",
|
|
3173
|
+
value: input.id
|
|
3174
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3175
|
+
method: "typia.assert",
|
|
3176
|
+
path: _path + ".title",
|
|
3177
|
+
expected: "(string | undefined)",
|
|
3178
|
+
value: input.title
|
|
3179
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3180
|
+
method: "typia.assert",
|
|
3181
|
+
path: _path + ".description",
|
|
3182
|
+
expected: "(string | undefined)",
|
|
3183
|
+
value: input.description
|
|
3184
|
+
}, _errorFactory)) && (undefined === input.created || "string" === typeof input.created || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3185
|
+
method: "typia.assert",
|
|
3186
|
+
path: _path + ".created",
|
|
3187
|
+
expected: "(string | undefined)",
|
|
3188
|
+
value: input.created
|
|
3189
|
+
}, _errorFactory)) && (undefined === input.createdBy || "string" === typeof input.createdBy || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3190
|
+
method: "typia.assert",
|
|
3191
|
+
path: _path + ".createdBy",
|
|
3192
|
+
expected: "(string | undefined)",
|
|
3193
|
+
value: input.createdBy
|
|
3194
|
+
}, _errorFactory)) && (undefined === input.createdByTitle || "string" === typeof input.createdByTitle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3195
|
+
method: "typia.assert",
|
|
3196
|
+
path: _path + ".createdByTitle",
|
|
3197
|
+
expected: "(string | undefined)",
|
|
3198
|
+
value: input.createdByTitle
|
|
3199
|
+
}, _errorFactory)) && (undefined === input.origin || "string" === typeof input.origin || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3200
|
+
method: "typia.assert",
|
|
3201
|
+
path: _path + ".origin",
|
|
3202
|
+
expected: "(string | undefined)",
|
|
3203
|
+
value: input.origin
|
|
3204
|
+
}, _errorFactory)) && (undefined === input.modified || "string" === typeof input.modified || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3205
|
+
method: "typia.assert",
|
|
3206
|
+
path: _path + ".modified",
|
|
3207
|
+
expected: "(string | undefined)",
|
|
3208
|
+
value: input.modified
|
|
3209
|
+
}, _errorFactory)) && (undefined === input.modifiedBy || "string" === typeof input.modifiedBy || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3210
|
+
method: "typia.assert",
|
|
3211
|
+
path: _path + ".modifiedBy",
|
|
3212
|
+
expected: "(string | undefined)",
|
|
3213
|
+
value: input.modifiedBy
|
|
3214
|
+
}, _errorFactory)) && (undefined === input.modifiedByAll || (Array.isArray(input.modifiedByAll) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3215
|
+
method: "typia.assert",
|
|
3216
|
+
path: _path + ".modifiedByAll",
|
|
3217
|
+
expected: "(Array<string> | undefined)",
|
|
3218
|
+
value: input.modifiedByAll
|
|
3219
|
+
}, _errorFactory)) && input.modifiedByAll.every((elem, _index20) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3220
|
+
method: "typia.assert",
|
|
3221
|
+
path: _path + ".modifiedByAll[" + _index20 + "]",
|
|
3222
|
+
expected: "string",
|
|
3223
|
+
value: elem
|
|
3224
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3225
|
+
method: "typia.assert",
|
|
3226
|
+
path: _path + ".modifiedByAll",
|
|
3227
|
+
expected: "(Array<string> | undefined)",
|
|
3228
|
+
value: input.modifiedByAll
|
|
3229
|
+
}, _errorFactory)) && (undefined === input.modifiedByTitle || "string" === typeof input.modifiedByTitle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3230
|
+
method: "typia.assert",
|
|
3231
|
+
path: _path + ".modifiedByTitle",
|
|
3232
|
+
expected: "(string | undefined)",
|
|
3233
|
+
value: input.modifiedByTitle
|
|
3234
|
+
}, _errorFactory)) && (undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3235
|
+
method: "typia.assert",
|
|
3236
|
+
path: _path + ".duration",
|
|
3237
|
+
expected: "(number | undefined)",
|
|
3238
|
+
value: input.duration
|
|
3239
|
+
}, _errorFactory)) && (undefined === input.tags || (Array.isArray(input.tags) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3240
|
+
method: "typia.assert",
|
|
3241
|
+
path: _path + ".tags",
|
|
3242
|
+
expected: "(Array<string> | undefined)",
|
|
3243
|
+
value: input.tags
|
|
3244
|
+
}, _errorFactory)) && input.tags.every((elem, _index21) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3245
|
+
method: "typia.assert",
|
|
3246
|
+
path: _path + ".tags[" + _index21 + "]",
|
|
3247
|
+
expected: "string",
|
|
3248
|
+
value: elem
|
|
3249
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3250
|
+
method: "typia.assert",
|
|
3251
|
+
path: _path + ".tags",
|
|
3252
|
+
expected: "(Array<string> | undefined)",
|
|
3253
|
+
value: input.tags
|
|
3254
|
+
}, _errorFactory)) && (undefined === input.deadlines || (Array.isArray(input.deadlines) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3255
|
+
method: "typia.assert",
|
|
3256
|
+
path: _path + ".deadlines",
|
|
3257
|
+
expected: "(Array<string> | undefined)",
|
|
3258
|
+
value: input.deadlines
|
|
3259
|
+
}, _errorFactory)) && input.deadlines.every((elem, _index22) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3260
|
+
method: "typia.assert",
|
|
3261
|
+
path: _path + ".deadlines[" + _index22 + "]",
|
|
3262
|
+
expected: "string",
|
|
3263
|
+
value: elem
|
|
3264
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3265
|
+
method: "typia.assert",
|
|
3266
|
+
path: _path + ".deadlines",
|
|
3267
|
+
expected: "(Array<string> | undefined)",
|
|
3268
|
+
value: input.deadlines
|
|
3269
|
+
}, _errorFactory)) && (undefined === input.deadlinesCount || "number" === typeof input.deadlinesCount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3270
|
+
method: "typia.assert",
|
|
3271
|
+
path: _path + ".deadlinesCount",
|
|
3272
|
+
expected: "(number | undefined)",
|
|
3273
|
+
value: input.deadlinesCount
|
|
3274
|
+
}, _errorFactory)) && (undefined === input.deadlines_date_range || (Array.isArray(input.deadlines_date_range) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3275
|
+
method: "typia.assert",
|
|
3276
|
+
path: _path + ".deadlines_date_range",
|
|
3277
|
+
expected: "(Array<__type> | undefined)",
|
|
3278
|
+
value: input.deadlines_date_range
|
|
3279
|
+
}, _errorFactory)) && input.deadlines_date_range.every((elem, _index23) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3280
|
+
method: "typia.assert",
|
|
3281
|
+
path: _path + ".deadlines_date_range[" + _index23 + "]",
|
|
3282
|
+
expected: "__type",
|
|
3283
|
+
value: elem
|
|
3284
|
+
}, _errorFactory)) && _ao1(elem, _path + ".deadlines_date_range[" + _index23 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3285
|
+
method: "typia.assert",
|
|
3286
|
+
path: _path + ".deadlines_date_range[" + _index23 + "]",
|
|
3287
|
+
expected: "__type",
|
|
3288
|
+
value: elem
|
|
3289
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3290
|
+
method: "typia.assert",
|
|
3291
|
+
path: _path + ".deadlines_date_range",
|
|
3292
|
+
expected: "(Array<__type> | undefined)",
|
|
3293
|
+
value: input.deadlines_date_range
|
|
3294
|
+
}, _errorFactory)) && (undefined === input.assignees || (Array.isArray(input.assignees) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3295
|
+
method: "typia.assert",
|
|
3296
|
+
path: _path + ".assignees",
|
|
3297
|
+
expected: "(Array<string> | undefined)",
|
|
3298
|
+
value: input.assignees
|
|
3299
|
+
}, _errorFactory)) && input.assignees.every((elem, _index24) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3300
|
+
method: "typia.assert",
|
|
3301
|
+
path: _path + ".assignees[" + _index24 + "]",
|
|
3302
|
+
expected: "string",
|
|
3303
|
+
value: elem
|
|
3304
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3305
|
+
method: "typia.assert",
|
|
3306
|
+
path: _path + ".assignees",
|
|
3307
|
+
expected: "(Array<string> | undefined)",
|
|
3308
|
+
value: input.assignees
|
|
3309
|
+
}, _errorFactory)) && (undefined === input.assigneesCount || "number" === typeof input.assigneesCount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3310
|
+
method: "typia.assert",
|
|
3311
|
+
path: _path + ".assigneesCount",
|
|
3312
|
+
expected: "(number | undefined)",
|
|
3313
|
+
value: input.assigneesCount
|
|
3314
|
+
}, _errorFactory)) && (undefined === input.locations || (Array.isArray(input.locations) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3315
|
+
method: "typia.assert",
|
|
3316
|
+
path: _path + ".locations",
|
|
3317
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
3318
|
+
value: input.locations
|
|
3319
|
+
}, _errorFactory)) && input.locations.every((elem, _index25) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3320
|
+
method: "typia.assert",
|
|
3321
|
+
path: _path + ".locations[" + _index25 + "]",
|
|
3322
|
+
expected: "__type.o1",
|
|
3323
|
+
value: elem
|
|
3324
|
+
}, _errorFactory)) && _ao2(elem, _path + ".locations[" + _index25 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3325
|
+
method: "typia.assert",
|
|
3326
|
+
path: _path + ".locations[" + _index25 + "]",
|
|
3327
|
+
expected: "__type.o1",
|
|
3328
|
+
value: elem
|
|
3329
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3330
|
+
method: "typia.assert",
|
|
3331
|
+
path: _path + ".locations",
|
|
3332
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
3333
|
+
value: input.locations
|
|
3334
|
+
}, _errorFactory)) && (undefined === input.locationsCount || "number" === typeof input.locationsCount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3335
|
+
method: "typia.assert",
|
|
3336
|
+
path: _path + ".locationsCount",
|
|
3337
|
+
expected: "(number | undefined)",
|
|
3338
|
+
value: input.locationsCount
|
|
3339
|
+
}, _errorFactory)) && (undefined === input.types || (Array.isArray(input.types) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3340
|
+
method: "typia.assert",
|
|
3341
|
+
path: _path + ".types",
|
|
3342
|
+
expected: "(Array<string> | undefined)",
|
|
3343
|
+
value: input.types
|
|
3344
|
+
}, _errorFactory)) && input.types.every((elem, _index26) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3345
|
+
method: "typia.assert",
|
|
3346
|
+
path: _path + ".types[" + _index26 + "]",
|
|
3347
|
+
expected: "string",
|
|
3348
|
+
value: elem
|
|
3349
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3350
|
+
method: "typia.assert",
|
|
3351
|
+
path: _path + ".types",
|
|
3352
|
+
expected: "(Array<string> | undefined)",
|
|
3353
|
+
value: input.types
|
|
3354
|
+
}, _errorFactory)) && (undefined === input.primaryType || "string" === typeof input.primaryType || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3355
|
+
method: "typia.assert",
|
|
3356
|
+
path: _path + ".primaryType",
|
|
3357
|
+
expected: "(string | undefined)",
|
|
3358
|
+
value: input.primaryType
|
|
3359
|
+
}, _errorFactory)) && (undefined === input.rawTypes || (Array.isArray(input.rawTypes) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3360
|
+
method: "typia.assert",
|
|
3361
|
+
path: _path + ".rawTypes",
|
|
3362
|
+
expected: "(Array<string> | undefined)",
|
|
3363
|
+
value: input.rawTypes
|
|
3364
|
+
}, _errorFactory)) && input.rawTypes.every((elem, _index27) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3365
|
+
method: "typia.assert",
|
|
3366
|
+
path: _path + ".rawTypes[" + _index27 + "]",
|
|
3367
|
+
expected: "string",
|
|
3368
|
+
value: elem
|
|
3369
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3370
|
+
method: "typia.assert",
|
|
3371
|
+
path: _path + ".rawTypes",
|
|
3372
|
+
expected: "(Array<string> | undefined)",
|
|
3373
|
+
value: input.rawTypes
|
|
3374
|
+
}, _errorFactory)) && (undefined === input.status || ("object" === typeof input.status && null !== input.status && false === Array.isArray(input.status) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3375
|
+
method: "typia.assert",
|
|
3376
|
+
path: _path + ".status",
|
|
3377
|
+
expected: "(__type.o2 | undefined)",
|
|
3378
|
+
value: input.status
|
|
3379
|
+
}, _errorFactory)) && _ao3(input.status, _path + ".status", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3380
|
+
method: "typia.assert",
|
|
3381
|
+
path: _path + ".status",
|
|
3382
|
+
expected: "(__type.o2 | undefined)",
|
|
3383
|
+
value: input.status
|
|
3384
|
+
}, _errorFactory)) && (undefined === input.published || (Array.isArray(input.published) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3385
|
+
method: "typia.assert",
|
|
3386
|
+
path: _path + ".published",
|
|
3387
|
+
expected: "(Array<string> | undefined)",
|
|
3388
|
+
value: input.published
|
|
3389
|
+
}, _errorFactory)) && input.published.every((elem, _index28) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3390
|
+
method: "typia.assert",
|
|
3391
|
+
path: _path + ".published[" + _index28 + "]",
|
|
3392
|
+
expected: "string",
|
|
3393
|
+
value: elem
|
|
3394
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3395
|
+
method: "typia.assert",
|
|
3396
|
+
path: _path + ".published",
|
|
3397
|
+
expected: "(Array<string> | undefined)",
|
|
3398
|
+
value: input.published
|
|
3399
|
+
}, _errorFactory)) && (undefined === input.publishedCount || "number" === typeof input.publishedCount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3400
|
+
method: "typia.assert",
|
|
3401
|
+
path: _path + ".publishedCount",
|
|
3402
|
+
expected: "(number | undefined)",
|
|
3403
|
+
value: input.publishedCount
|
|
3404
|
+
}, _errorFactory)) && (undefined === input.storage || ("object" === typeof input.storage && null !== input.storage && false === Array.isArray(input.storage) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3405
|
+
method: "typia.assert",
|
|
3406
|
+
path: _path + ".storage",
|
|
3407
|
+
expected: "(__type.o4 | undefined)",
|
|
3408
|
+
value: input.storage
|
|
3409
|
+
}, _errorFactory)) && _ao5(input.storage, _path + ".storage", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3410
|
+
method: "typia.assert",
|
|
3411
|
+
path: _path + ".storage",
|
|
3412
|
+
expected: "(__type.o4 | undefined)",
|
|
3413
|
+
value: input.storage
|
|
3414
|
+
}, _errorFactory)) && (undefined === input.refs || "number" === typeof input.refs || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3415
|
+
method: "typia.assert",
|
|
3416
|
+
path: _path + ".refs",
|
|
3417
|
+
expected: "(number | undefined)",
|
|
3418
|
+
value: input.refs
|
|
3419
|
+
}, _errorFactory)) && (undefined === input.refsByType || ("object" === typeof input.refsByType && null !== input.refsByType && false === Array.isArray(input.refsByType) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3420
|
+
method: "typia.assert",
|
|
3421
|
+
path: _path + ".refsByType",
|
|
3422
|
+
expected: "(Record<string, number> | undefined)",
|
|
3423
|
+
value: input.refsByType
|
|
3424
|
+
}, _errorFactory)) && _ao6(input.refsByType, _path + ".refsByType", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3425
|
+
method: "typia.assert",
|
|
3426
|
+
path: _path + ".refsByType",
|
|
3427
|
+
expected: "(Record<string, number> | undefined)",
|
|
3428
|
+
value: input.refsByType
|
|
3429
|
+
}, _errorFactory)) && (undefined === input.recurrence_date_range || ("object" === typeof input.recurrence_date_range && null !== input.recurrence_date_range || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3430
|
+
method: "typia.assert",
|
|
3431
|
+
path: _path + ".recurrence_date_range",
|
|
3432
|
+
expected: "(__type.o5 | undefined)",
|
|
3433
|
+
value: input.recurrence_date_range
|
|
3434
|
+
}, _errorFactory)) && _ao7(input.recurrence_date_range, _path + ".recurrence_date_range", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3435
|
+
method: "typia.assert",
|
|
3436
|
+
path: _path + ".recurrence_date_range",
|
|
3437
|
+
expected: "(__type.o5 | undefined)",
|
|
3438
|
+
value: input.recurrence_date_range
|
|
3439
|
+
}, _errorFactory)) && (undefined === input.media_date_range || ("object" === typeof input.media_date_range && null !== input.media_date_range || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3440
|
+
method: "typia.assert",
|
|
3441
|
+
path: _path + ".media_date_range",
|
|
3442
|
+
expected: "(__type.o6 | undefined)",
|
|
3443
|
+
value: input.media_date_range
|
|
3444
|
+
}, _errorFactory)) && _ao8(input.media_date_range, _path + ".media_date_range", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3445
|
+
method: "typia.assert",
|
|
3446
|
+
path: _path + ".media_date_range",
|
|
3447
|
+
expected: "(__type.o6 | undefined)",
|
|
3448
|
+
value: input.media_date_range
|
|
3449
|
+
}, _errorFactory)) && (undefined === input.ingestschedule_date_range || ("object" === typeof input.ingestschedule_date_range && null !== input.ingestschedule_date_range || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3450
|
+
method: "typia.assert",
|
|
3451
|
+
path: _path + ".ingestschedule_date_range",
|
|
3452
|
+
expected: "(__type.o7 | undefined)",
|
|
3453
|
+
value: input.ingestschedule_date_range
|
|
3454
|
+
}, _errorFactory)) && _ao9(input.ingestschedule_date_range, _path + ".ingestschedule_date_range", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3455
|
+
method: "typia.assert",
|
|
3456
|
+
path: _path + ".ingestschedule_date_range",
|
|
3457
|
+
expected: "(__type.o7 | undefined)",
|
|
3458
|
+
value: input.ingestschedule_date_range
|
|
3459
|
+
}, _errorFactory)) && (undefined === input.ingestschedule || ("object" === typeof input.ingestschedule && null !== input.ingestschedule && false === Array.isArray(input.ingestschedule) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3460
|
+
method: "typia.assert",
|
|
3461
|
+
path: _path + ".ingestschedule",
|
|
3462
|
+
expected: "(__type.o8 | undefined)",
|
|
3463
|
+
value: input.ingestschedule
|
|
3464
|
+
}, _errorFactory)) && _ao10(input.ingestschedule, _path + ".ingestschedule", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3465
|
+
method: "typia.assert",
|
|
3466
|
+
path: _path + ".ingestschedule",
|
|
3467
|
+
expected: "(__type.o8 | undefined)",
|
|
3468
|
+
value: input.ingestschedule
|
|
3469
|
+
}, _errorFactory)) && (undefined === input.username || "string" === typeof input.username || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3470
|
+
method: "typia.assert",
|
|
3471
|
+
path: _path + ".username",
|
|
3472
|
+
expected: "(string | undefined)",
|
|
3473
|
+
value: input.username
|
|
3474
|
+
}, _errorFactory)) && (undefined === input.user || "string" === typeof input.user || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3475
|
+
method: "typia.assert",
|
|
3476
|
+
path: _path + ".user",
|
|
3477
|
+
expected: "(string | undefined)",
|
|
3478
|
+
value: input.user
|
|
3479
|
+
}, _errorFactory)) && (undefined === input["note.text"] || "string" === typeof input["note.text"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3480
|
+
method: "typia.assert",
|
|
3481
|
+
path: _path + "[\"note.text\"]",
|
|
3482
|
+
expected: "(string | undefined)",
|
|
3483
|
+
value: input["note.text"]
|
|
3484
|
+
}, _errorFactory)) && (undefined === input.subtitles || "string" === typeof input.subtitles || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3485
|
+
method: "typia.assert",
|
|
3486
|
+
path: _path + ".subtitles",
|
|
3487
|
+
expected: "(string | undefined)",
|
|
3488
|
+
value: input.subtitles
|
|
3489
|
+
}, _errorFactory)) && (undefined === input.graphics || "string" === typeof input.graphics || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3490
|
+
method: "typia.assert",
|
|
3491
|
+
path: _path + ".graphics",
|
|
3492
|
+
expected: "(string | undefined)",
|
|
3493
|
+
value: input.graphics
|
|
3494
|
+
}, _errorFactory)) && (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3495
|
+
method: "typia.assert",
|
|
3496
|
+
path: _path + ".story",
|
|
3497
|
+
expected: "(__type.o9 | undefined)",
|
|
3498
|
+
value: input.story
|
|
3499
|
+
}, _errorFactory)) && _ao11(input.story, _path + ".story", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3500
|
+
method: "typia.assert",
|
|
3501
|
+
path: _path + ".story",
|
|
3502
|
+
expected: "(__type.o9 | undefined)",
|
|
3503
|
+
value: input.story
|
|
3504
|
+
}, _errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3505
|
+
method: "typia.assert",
|
|
3506
|
+
path: _path + ".storyboard",
|
|
3507
|
+
expected: "(__type.o10 | undefined)",
|
|
3508
|
+
value: input.storyboard
|
|
3509
|
+
}, _errorFactory)) && _ao12(input.storyboard, _path + ".storyboard", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3510
|
+
method: "typia.assert",
|
|
3511
|
+
path: _path + ".storyboard",
|
|
3512
|
+
expected: "(__type.o10 | undefined)",
|
|
3513
|
+
value: input.storyboard
|
|
3514
|
+
}, _errorFactory)) && (undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3515
|
+
method: "typia.assert",
|
|
3516
|
+
path: _path + ".media",
|
|
3517
|
+
expected: "(__type.o11 | undefined)",
|
|
3518
|
+
value: input.media
|
|
3519
|
+
}, _errorFactory)) && _ao13(input.media, _path + ".media", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3520
|
+
method: "typia.assert",
|
|
3521
|
+
path: _path + ".media",
|
|
3522
|
+
expected: "(__type.o11 | undefined)",
|
|
3523
|
+
value: input.media
|
|
3524
|
+
}, _errorFactory)) && (undefined === input.embedding || (Array.isArray(input.embedding) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3525
|
+
method: "typia.assert",
|
|
3526
|
+
path: _path + ".embedding",
|
|
3527
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
3528
|
+
value: input.embedding
|
|
3529
|
+
}, _errorFactory)) && input.embedding.every((elem, _index29) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3530
|
+
method: "typia.assert",
|
|
3531
|
+
path: _path + ".embedding[" + _index29 + "]",
|
|
3532
|
+
expected: "__type.o12",
|
|
3533
|
+
value: elem
|
|
3534
|
+
}, _errorFactory)) && _ao14(elem, _path + ".embedding[" + _index29 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3535
|
+
method: "typia.assert",
|
|
3536
|
+
path: _path + ".embedding[" + _index29 + "]",
|
|
3537
|
+
expected: "__type.o12",
|
|
3538
|
+
value: elem
|
|
3539
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3540
|
+
method: "typia.assert",
|
|
3541
|
+
path: _path + ".embedding",
|
|
3542
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
3543
|
+
value: input.embedding
|
|
3544
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
3545
|
+
if (["id", "title", "description", "created", "createdBy", "createdByTitle", "origin", "modified", "modifiedBy", "modifiedByAll", "modifiedByTitle", "duration", "tags", "deadlines", "deadlinesCount", "deadlines_date_range", "assignees", "assigneesCount", "locations", "locationsCount", "types", "primaryType", "rawTypes", "status", "published", "publishedCount", "storage", "refs", "refsByType", "recurrence_date_range", "media_date_range", "ingestschedule_date_range", "ingestschedule", "username", "user", "note.text", "subtitles", "graphics", "story", "storyboard", "media", "embedding"].some(prop => key === prop))
|
|
3546
|
+
return true;
|
|
3547
|
+
const value = input[key];
|
|
3548
|
+
if (undefined === value)
|
|
3549
|
+
return true;
|
|
3550
|
+
return true;
|
|
3551
|
+
})); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.gte || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3552
|
+
method: "typia.assert",
|
|
3553
|
+
path: _path + ".gte",
|
|
3554
|
+
expected: "string",
|
|
3555
|
+
value: input.gte
|
|
3556
|
+
}, _errorFactory)) && ("string" === typeof input.lte || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3557
|
+
method: "typia.assert",
|
|
3558
|
+
path: _path + ".lte",
|
|
3559
|
+
expected: "string",
|
|
3560
|
+
value: input.lte
|
|
3561
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => ("number" === typeof input.lat || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3562
|
+
method: "typia.assert",
|
|
3563
|
+
path: _path + ".lat",
|
|
3564
|
+
expected: "number",
|
|
3565
|
+
value: input.lat
|
|
3566
|
+
}, _errorFactory)) && ("number" === typeof input.lon || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3567
|
+
method: "typia.assert",
|
|
3568
|
+
path: _path + ".lon",
|
|
3569
|
+
expected: "number",
|
|
3570
|
+
value: input.lon
|
|
3571
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3572
|
+
method: "typia.assert",
|
|
3573
|
+
path: _path + ".messages",
|
|
3574
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
3575
|
+
value: input.messages
|
|
3576
|
+
}, _errorFactory)) && input.messages.every((elem, _index30) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3577
|
+
method: "typia.assert",
|
|
3578
|
+
path: _path + ".messages[" + _index30 + "]",
|
|
3579
|
+
expected: "__type.o3",
|
|
3580
|
+
value: elem
|
|
3581
|
+
}, _errorFactory)) && _ao4(elem, _path + ".messages[" + _index30 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3582
|
+
method: "typia.assert",
|
|
3583
|
+
path: _path + ".messages[" + _index30 + "]",
|
|
3584
|
+
expected: "__type.o3",
|
|
3585
|
+
value: elem
|
|
3586
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3587
|
+
method: "typia.assert",
|
|
3588
|
+
path: _path + ".messages",
|
|
3589
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
3590
|
+
value: input.messages
|
|
3591
|
+
}, _errorFactory); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.code || "string" === typeof input.code || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3592
|
+
method: "typia.assert",
|
|
3593
|
+
path: _path + ".code",
|
|
3594
|
+
expected: "(string | undefined)",
|
|
3595
|
+
value: input.code
|
|
3596
|
+
}, _errorFactory)) && (undefined === input.level || "number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3597
|
+
method: "typia.assert",
|
|
3598
|
+
path: _path + ".level",
|
|
3599
|
+
expected: "(number | undefined)",
|
|
3600
|
+
value: input.level
|
|
3601
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => (undefined === input.files || (Array.isArray(input.files) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3602
|
+
method: "typia.assert",
|
|
3603
|
+
path: _path + ".files",
|
|
3604
|
+
expected: "(Array<string> | undefined)",
|
|
3605
|
+
value: input.files
|
|
3606
|
+
}, _errorFactory)) && input.files.every((elem, _index31) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3607
|
+
method: "typia.assert",
|
|
3608
|
+
path: _path + ".files[" + _index31 + "]",
|
|
3609
|
+
expected: "string",
|
|
3610
|
+
value: elem
|
|
3611
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3612
|
+
method: "typia.assert",
|
|
3613
|
+
path: _path + ".files",
|
|
3614
|
+
expected: "(Array<string> | undefined)",
|
|
3615
|
+
value: input.files
|
|
3616
|
+
}, _errorFactory)) && (undefined === input.replicas || (Array.isArray(input.replicas) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3617
|
+
method: "typia.assert",
|
|
3618
|
+
path: _path + ".replicas",
|
|
3619
|
+
expected: "(Array<string> | undefined)",
|
|
3620
|
+
value: input.replicas
|
|
3621
|
+
}, _errorFactory)) && input.replicas.every((elem, _index32) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3622
|
+
method: "typia.assert",
|
|
3623
|
+
path: _path + ".replicas[" + _index32 + "]",
|
|
3624
|
+
expected: "string",
|
|
3625
|
+
value: elem
|
|
3626
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3627
|
+
method: "typia.assert",
|
|
3628
|
+
path: _path + ".replicas",
|
|
3629
|
+
expected: "(Array<string> | undefined)",
|
|
3630
|
+
value: input.replicas
|
|
3631
|
+
}, _errorFactory)) && (undefined === input.locations || (Array.isArray(input.locations) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3632
|
+
method: "typia.assert",
|
|
3633
|
+
path: _path + ".locations",
|
|
3634
|
+
expected: "(Array<string> | undefined)",
|
|
3635
|
+
value: input.locations
|
|
3636
|
+
}, _errorFactory)) && input.locations.every((elem, _index33) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3637
|
+
method: "typia.assert",
|
|
3638
|
+
path: _path + ".locations[" + _index33 + "]",
|
|
3639
|
+
expected: "string",
|
|
3640
|
+
value: elem
|
|
3641
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3642
|
+
method: "typia.assert",
|
|
3643
|
+
path: _path + ".locations",
|
|
3644
|
+
expected: "(Array<string> | undefined)",
|
|
3645
|
+
value: input.locations
|
|
3646
|
+
}, _errorFactory)) && (undefined === input.zones || (Array.isArray(input.zones) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3647
|
+
method: "typia.assert",
|
|
3648
|
+
path: _path + ".zones",
|
|
3649
|
+
expected: "(Array<string> | undefined)",
|
|
3650
|
+
value: input.zones
|
|
3651
|
+
}, _errorFactory)) && input.zones.every((elem, _index34) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3652
|
+
method: "typia.assert",
|
|
3653
|
+
path: _path + ".zones[" + _index34 + "]",
|
|
3654
|
+
expected: "string",
|
|
3655
|
+
value: elem
|
|
3656
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3657
|
+
method: "typia.assert",
|
|
3658
|
+
path: _path + ".zones",
|
|
3659
|
+
expected: "(Array<string> | undefined)",
|
|
3660
|
+
value: input.zones
|
|
3661
|
+
}, _errorFactory)) && (undefined === input.uploading || "boolean" === typeof input.uploading || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3662
|
+
method: "typia.assert",
|
|
3663
|
+
path: _path + ".uploading",
|
|
3664
|
+
expected: "(boolean | undefined)",
|
|
3665
|
+
value: input.uploading
|
|
3666
|
+
}, _errorFactory)) && (undefined === input.size || "number" === typeof input.size || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3667
|
+
method: "typia.assert",
|
|
3668
|
+
path: _path + ".size",
|
|
3669
|
+
expected: "(number | undefined)",
|
|
3670
|
+
value: input.size
|
|
3671
|
+
}, _errorFactory)) && (undefined === input.filesCount || "number" === typeof input.filesCount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3672
|
+
method: "typia.assert",
|
|
3673
|
+
path: _path + ".filesCount",
|
|
3674
|
+
expected: "(number | undefined)",
|
|
3675
|
+
value: input.filesCount
|
|
3676
|
+
}, _errorFactory)) && (undefined === input.replicasCount || "number" === typeof input.replicasCount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3677
|
+
method: "typia.assert",
|
|
3678
|
+
path: _path + ".replicasCount",
|
|
3679
|
+
expected: "(number | undefined)",
|
|
3680
|
+
value: input.replicasCount
|
|
3681
|
+
}, _errorFactory)) && (undefined === input.locationsCount || "number" === typeof input.locationsCount || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3682
|
+
method: "typia.assert",
|
|
3683
|
+
path: _path + ".locationsCount",
|
|
3684
|
+
expected: "(number | undefined)",
|
|
3685
|
+
value: input.locationsCount
|
|
3686
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
3687
|
+
const value = input[key];
|
|
3688
|
+
if (undefined === value)
|
|
3689
|
+
return true;
|
|
3690
|
+
return "number" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3691
|
+
method: "typia.assert",
|
|
3692
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3693
|
+
expected: "number",
|
|
3694
|
+
value: value
|
|
3695
|
+
}, _errorFactory);
|
|
3696
|
+
}); const _ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.gte || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3697
|
+
method: "typia.assert",
|
|
3698
|
+
path: _path + ".gte",
|
|
3699
|
+
expected: "string",
|
|
3700
|
+
value: input.gte
|
|
3701
|
+
}, _errorFactory)) && (null === input.lte || "string" === typeof input.lte || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3702
|
+
method: "typia.assert",
|
|
3703
|
+
path: _path + ".lte",
|
|
3704
|
+
expected: "(null | string)",
|
|
3705
|
+
value: input.lte
|
|
3706
|
+
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => ("string" === typeof input.gte || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3707
|
+
method: "typia.assert",
|
|
3708
|
+
path: _path + ".gte",
|
|
3709
|
+
expected: "string",
|
|
3710
|
+
value: input.gte
|
|
3711
|
+
}, _errorFactory)) && ("string" === typeof input.lte || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3712
|
+
method: "typia.assert",
|
|
3713
|
+
path: _path + ".lte",
|
|
3714
|
+
expected: "string",
|
|
3715
|
+
value: input.lte
|
|
3716
|
+
}, _errorFactory)); const _ao9 = (input, _path, _exceptionable = true) => ("string" === typeof input.gte || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3717
|
+
method: "typia.assert",
|
|
3718
|
+
path: _path + ".gte",
|
|
3719
|
+
expected: "string",
|
|
3720
|
+
value: input.gte
|
|
3721
|
+
}, _errorFactory)) && (null === input.lte || "string" === typeof input.lte || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3722
|
+
method: "typia.assert",
|
|
3723
|
+
path: _path + ".lte",
|
|
3724
|
+
expected: "(null | string)",
|
|
3725
|
+
value: input.lte
|
|
3726
|
+
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3727
|
+
method: "typia.assert",
|
|
3728
|
+
path: _path + ".type",
|
|
3729
|
+
expected: "(string | undefined)",
|
|
3730
|
+
value: input.type
|
|
3731
|
+
}, _errorFactory)) && (undefined === input.sources || (Array.isArray(input.sources) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3732
|
+
method: "typia.assert",
|
|
3733
|
+
path: _path + ".sources",
|
|
3734
|
+
expected: "(Array<string> | undefined)",
|
|
3735
|
+
value: input.sources
|
|
3736
|
+
}, _errorFactory)) && input.sources.every((elem, _index35) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3737
|
+
method: "typia.assert",
|
|
3738
|
+
path: _path + ".sources[" + _index35 + "]",
|
|
3739
|
+
expected: "string",
|
|
3740
|
+
value: elem
|
|
3741
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3742
|
+
method: "typia.assert",
|
|
3743
|
+
path: _path + ".sources",
|
|
3744
|
+
expected: "(Array<string> | undefined)",
|
|
3745
|
+
value: input.sources
|
|
3746
|
+
}, _errorFactory)) && (undefined === input.routes || (Array.isArray(input.routes) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3747
|
+
method: "typia.assert",
|
|
3748
|
+
path: _path + ".routes",
|
|
3749
|
+
expected: "(Array<string> | undefined)",
|
|
3750
|
+
value: input.routes
|
|
3751
|
+
}, _errorFactory)) && input.routes.every((elem, _index36) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3752
|
+
method: "typia.assert",
|
|
3753
|
+
path: _path + ".routes[" + _index36 + "]",
|
|
3754
|
+
expected: "string",
|
|
3755
|
+
value: elem
|
|
3756
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3757
|
+
method: "typia.assert",
|
|
3758
|
+
path: _path + ".routes",
|
|
3759
|
+
expected: "(Array<string> | undefined)",
|
|
3760
|
+
value: input.routes
|
|
3761
|
+
}, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => (undefined === input.content || "string" === typeof input.content || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3762
|
+
method: "typia.assert",
|
|
3763
|
+
path: _path + ".content",
|
|
3764
|
+
expected: "(string | undefined)",
|
|
3765
|
+
value: input.content
|
|
3766
|
+
}, _errorFactory)) && (undefined === input.graphics || (Array.isArray(input.graphics) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3767
|
+
method: "typia.assert",
|
|
3768
|
+
path: _path + ".graphics",
|
|
3769
|
+
expected: "(Array<string> | undefined)",
|
|
3770
|
+
value: input.graphics
|
|
3771
|
+
}, _errorFactory)) && input.graphics.every((elem, _index37) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3772
|
+
method: "typia.assert",
|
|
3773
|
+
path: _path + ".graphics[" + _index37 + "]",
|
|
3774
|
+
expected: "string",
|
|
3775
|
+
value: elem
|
|
3776
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3777
|
+
method: "typia.assert",
|
|
3778
|
+
path: _path + ".graphics",
|
|
3779
|
+
expected: "(Array<string> | undefined)",
|
|
3780
|
+
value: input.graphics
|
|
3781
|
+
}, _errorFactory)); const _ao12 = (input, _path, _exceptionable = true) => undefined === input.content || Array.isArray(input.content) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3782
|
+
method: "typia.assert",
|
|
3783
|
+
path: _path + ".content",
|
|
3784
|
+
expected: "(Array<unknown> | undefined)",
|
|
3785
|
+
value: input.content
|
|
3786
|
+
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => true && true && true && true && true; const _ao14 = (input, _path, _exceptionable = true) => (Array.isArray(input.vector) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3787
|
+
method: "typia.assert",
|
|
3788
|
+
path: _path + ".vector",
|
|
3789
|
+
expected: "Array<number>",
|
|
3790
|
+
value: input.vector
|
|
3791
|
+
}, _errorFactory)) && input.vector.every((elem, _index38) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3792
|
+
method: "typia.assert",
|
|
3793
|
+
path: _path + ".vector[" + _index38 + "]",
|
|
3794
|
+
expected: "number",
|
|
3795
|
+
value: elem
|
|
3796
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3797
|
+
method: "typia.assert",
|
|
3798
|
+
path: _path + ".vector",
|
|
3799
|
+
expected: "Array<number>",
|
|
3800
|
+
value: input.vector
|
|
3801
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
3802
|
+
if (false === __is(input)) {
|
|
3803
|
+
_errorFactory = errorFactory;
|
|
3804
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
2903
3805
|
method: "typia.assert",
|
|
2904
3806
|
path: _path + "",
|
|
2905
|
-
expected: "
|
|
3807
|
+
expected: "AssetRecordProvidedRecord",
|
|
2906
3808
|
value: input
|
|
2907
3809
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
2908
3810
|
method: "typia.assert",
|
|
2909
3811
|
path: _path + "",
|
|
2910
|
-
expected: "
|
|
3812
|
+
expected: "AssetRecordProvidedRecord",
|
|
2911
3813
|
value: input
|
|
2912
3814
|
}, _errorFactory))(input, "$input", true);
|
|
2913
3815
|
}
|
|
@@ -6627,6 +7529,84 @@ function _assertDomainRecord(domain, input) {
|
|
|
6627
7529
|
return input;
|
|
6628
7530
|
}; })()(input);
|
|
6629
7531
|
}
|
|
7532
|
+
case ":device": {
|
|
7533
|
+
return (() => { const _io0 = input => (undefined === input.type || "display" === input.type) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io1(input.display)); const _io1 = input => (undefined === input.activeAsset || "string" === typeof input.activeAsset) && (undefined === input.editor || "string" === typeof input.editor); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.type || "display" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7534
|
+
method: "typia.assert",
|
|
7535
|
+
path: _path + ".type",
|
|
7536
|
+
expected: "(\"display\" | undefined)",
|
|
7537
|
+
value: input.type
|
|
7538
|
+
}, _errorFactory)) && (undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7539
|
+
method: "typia.assert",
|
|
7540
|
+
path: _path + ".display",
|
|
7541
|
+
expected: "(__type | undefined)",
|
|
7542
|
+
value: input.display
|
|
7543
|
+
}, _errorFactory)) && _ao1(input.display, _path + ".display", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7544
|
+
method: "typia.assert",
|
|
7545
|
+
path: _path + ".display",
|
|
7546
|
+
expected: "(__type | undefined)",
|
|
7547
|
+
value: input.display
|
|
7548
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.activeAsset || "string" === typeof input.activeAsset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7549
|
+
method: "typia.assert",
|
|
7550
|
+
path: _path + ".activeAsset",
|
|
7551
|
+
expected: "(string | undefined)",
|
|
7552
|
+
value: input.activeAsset
|
|
7553
|
+
}, _errorFactory)) && (undefined === input.editor || "string" === typeof input.editor || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7554
|
+
method: "typia.assert",
|
|
7555
|
+
path: _path + ".editor",
|
|
7556
|
+
expected: "(string | undefined)",
|
|
7557
|
+
value: input.editor
|
|
7558
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
7559
|
+
if (false === __is(input)) {
|
|
7560
|
+
_errorFactory = errorFactory;
|
|
7561
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
7562
|
+
method: "typia.assert",
|
|
7563
|
+
path: _path + "",
|
|
7564
|
+
expected: "DeviceDomainRecord",
|
|
7565
|
+
value: input
|
|
7566
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
7567
|
+
method: "typia.assert",
|
|
7568
|
+
path: _path + "",
|
|
7569
|
+
expected: "DeviceDomainRecord",
|
|
7570
|
+
value: input
|
|
7571
|
+
}, _errorFactory))(input, "$input", true);
|
|
7572
|
+
}
|
|
7573
|
+
return input;
|
|
7574
|
+
}; })()(input);
|
|
7575
|
+
}
|
|
7576
|
+
case ":device.status?": {
|
|
7577
|
+
return (() => { const _io0 = input => (undefined === input.since || "string" === typeof input.since) && (undefined === input.heartbeat || "string" === typeof input.heartbeat) && (undefined === input.version || "string" === typeof input.version); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.since || "string" === typeof input.since || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7578
|
+
method: "typia.assert",
|
|
7579
|
+
path: _path + ".since",
|
|
7580
|
+
expected: "(string | undefined)",
|
|
7581
|
+
value: input.since
|
|
7582
|
+
}, _errorFactory)) && (undefined === input.heartbeat || "string" === typeof input.heartbeat || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7583
|
+
method: "typia.assert",
|
|
7584
|
+
path: _path + ".heartbeat",
|
|
7585
|
+
expected: "(string | undefined)",
|
|
7586
|
+
value: input.heartbeat
|
|
7587
|
+
}, _errorFactory)) && (undefined === input.version || "string" === typeof input.version || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
7588
|
+
method: "typia.assert",
|
|
7589
|
+
path: _path + ".version",
|
|
7590
|
+
expected: "(string | undefined)",
|
|
7591
|
+
value: input.version
|
|
7592
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
7593
|
+
if (false === __is(input)) {
|
|
7594
|
+
_errorFactory = errorFactory;
|
|
7595
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
7596
|
+
method: "typia.assert",
|
|
7597
|
+
path: _path + "",
|
|
7598
|
+
expected: "DeviceDomainStatusRecord",
|
|
7599
|
+
value: input
|
|
7600
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
7601
|
+
method: "typia.assert",
|
|
7602
|
+
path: _path + "",
|
|
7603
|
+
expected: "DeviceDomainStatusRecord",
|
|
7604
|
+
value: input
|
|
7605
|
+
}, _errorFactory))(input, "$input", true);
|
|
7606
|
+
}
|
|
7607
|
+
return input;
|
|
7608
|
+
}; })()(input);
|
|
7609
|
+
}
|
|
6630
7610
|
case ":edit": {
|
|
6631
7611
|
return (() => { const _io0 = input => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes) && (Array.isArray(input.tracks) && input.tracks.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && ("object" === typeof input.transitions && null !== input.transitions && false === Array.isArray(input.transitions) && _io1(input.transitions)) && (undefined === input.active || "boolean" === typeof input.active) && (undefined === input.changeId || "string" === typeof input.changeId); const _io1 = input => true; const _ao0 = (input, _path, _exceptionable = true) => (("object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6632
7612
|
method: "typia.assert",
|
|
@@ -8359,6 +9339,234 @@ function _assertDomainRecord(domain, input) {
|
|
|
8359
9339
|
return input;
|
|
8360
9340
|
}; })()(input);
|
|
8361
9341
|
}
|
|
9342
|
+
case ":ingestschedule": {
|
|
9343
|
+
return (() => { const _io0 = input => (undefined === input.io || "object" === typeof input.io && null !== input.io && false === Array.isArray(input.io) && _io1(input.io)) && (undefined === input.sourcesHint || "string" === typeof input.sourcesHint) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (null !== input.clipname && (undefined === input.clipname || "string" === typeof input.clipname || "object" === typeof input.clipname && null !== input.clipname && _io3(input.clipname))) && (undefined === input.autoTags || Array.isArray(input.autoTags) && input.autoTags.every(elem => "string" === typeof elem)) && (null === input.storyboard || undefined === input.storyboard || "string" === typeof input.storyboard) && (null === input.pipeline || undefined === input.pipeline || "string" === typeof input.pipeline) && (undefined === input.type || "instant" === input.type || "repeat" === input.type || "salami" === input.type) && (undefined === input.salami || "object" === typeof input.salami && null !== input.salami && false === Array.isArray(input.salami) && _io5(input.salami)) && (undefined === input.repeat || "object" === typeof input.repeat && null !== input.repeat && false === Array.isArray(input.repeat) && _io6(input.repeat)); const _io1 = input => Object.keys(input).every(key => {
|
|
9344
|
+
const value = input[key];
|
|
9345
|
+
if (undefined === value)
|
|
9346
|
+
return true;
|
|
9347
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
9348
|
+
}); const _io2 = input => (undefined === input.route || "string" === typeof input.route) && (undefined === input.publish || Array.isArray(input.publish) && input.publish.every(elem => "string" === typeof elem)); const _io3 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io4(input.__context) && "string" === typeof input.__returnValue; const _io4 = input => true; const _io5 = input => (null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery) && (undefined === input.tag || "string" === typeof input.tag); const _io6 = input => (undefined === input.freq || 0 === input.freq || 2 === input.freq || 3 === input.freq) && (undefined === input.until || "string" === typeof input.until) && (undefined === input.start || "string" === typeof input.start) && (undefined === input.tzid || "string" === typeof input.tzid) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.byweekday || Array.isArray(input.byweekday) && input.byweekday.every(elem => "number" === typeof elem)); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.io || ("object" === typeof input.io && null !== input.io && false === Array.isArray(input.io) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9349
|
+
method: "typia.assert",
|
|
9350
|
+
path: _path + ".io",
|
|
9351
|
+
expected: "(__type | undefined)",
|
|
9352
|
+
value: input.io
|
|
9353
|
+
}, _errorFactory)) && _ao1(input.io, _path + ".io", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9354
|
+
method: "typia.assert",
|
|
9355
|
+
path: _path + ".io",
|
|
9356
|
+
expected: "(__type | undefined)",
|
|
9357
|
+
value: input.io
|
|
9358
|
+
}, _errorFactory)) && (undefined === input.sourcesHint || "string" === typeof input.sourcesHint || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9359
|
+
method: "typia.assert",
|
|
9360
|
+
path: _path + ".sourcesHint",
|
|
9361
|
+
expected: "(string | undefined)",
|
|
9362
|
+
value: input.sourcesHint
|
|
9363
|
+
}, _errorFactory)) && (undefined === input.enabled || "boolean" === typeof input.enabled || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9364
|
+
method: "typia.assert",
|
|
9365
|
+
path: _path + ".enabled",
|
|
9366
|
+
expected: "(boolean | undefined)",
|
|
9367
|
+
value: input.enabled
|
|
9368
|
+
}, _errorFactory)) && ((null !== input.clipname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9369
|
+
method: "typia.assert",
|
|
9370
|
+
path: _path + ".clipname",
|
|
9371
|
+
expected: "(__type.o1 | string | undefined)",
|
|
9372
|
+
value: input.clipname
|
|
9373
|
+
}, _errorFactory)) && (undefined === input.clipname || "string" === typeof input.clipname || ("object" === typeof input.clipname && null !== input.clipname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9374
|
+
method: "typia.assert",
|
|
9375
|
+
path: _path + ".clipname",
|
|
9376
|
+
expected: "(__type.o1 | string | undefined)",
|
|
9377
|
+
value: input.clipname
|
|
9378
|
+
}, _errorFactory)) && _ao3(input.clipname, _path + ".clipname", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9379
|
+
method: "typia.assert",
|
|
9380
|
+
path: _path + ".clipname",
|
|
9381
|
+
expected: "(__type.o1 | string | undefined)",
|
|
9382
|
+
value: input.clipname
|
|
9383
|
+
}, _errorFactory))) && (undefined === input.autoTags || (Array.isArray(input.autoTags) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9384
|
+
method: "typia.assert",
|
|
9385
|
+
path: _path + ".autoTags",
|
|
9386
|
+
expected: "(Array<string> | undefined)",
|
|
9387
|
+
value: input.autoTags
|
|
9388
|
+
}, _errorFactory)) && input.autoTags.every((elem, _index4) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9389
|
+
method: "typia.assert",
|
|
9390
|
+
path: _path + ".autoTags[" + _index4 + "]",
|
|
9391
|
+
expected: "string",
|
|
9392
|
+
value: elem
|
|
9393
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9394
|
+
method: "typia.assert",
|
|
9395
|
+
path: _path + ".autoTags",
|
|
9396
|
+
expected: "(Array<string> | undefined)",
|
|
9397
|
+
value: input.autoTags
|
|
9398
|
+
}, _errorFactory)) && (null === input.storyboard || undefined === input.storyboard || "string" === typeof input.storyboard || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9399
|
+
method: "typia.assert",
|
|
9400
|
+
path: _path + ".storyboard",
|
|
9401
|
+
expected: "(null | string | undefined)",
|
|
9402
|
+
value: input.storyboard
|
|
9403
|
+
}, _errorFactory)) && (null === input.pipeline || undefined === input.pipeline || "string" === typeof input.pipeline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9404
|
+
method: "typia.assert",
|
|
9405
|
+
path: _path + ".pipeline",
|
|
9406
|
+
expected: "(null | string | undefined)",
|
|
9407
|
+
value: input.pipeline
|
|
9408
|
+
}, _errorFactory)) && (undefined === input.type || "instant" === input.type || "repeat" === input.type || "salami" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9409
|
+
method: "typia.assert",
|
|
9410
|
+
path: _path + ".type",
|
|
9411
|
+
expected: "(\"instant\" | \"repeat\" | \"salami\" | undefined)",
|
|
9412
|
+
value: input.type
|
|
9413
|
+
}, _errorFactory)) && (undefined === input.salami || ("object" === typeof input.salami && null !== input.salami && false === Array.isArray(input.salami) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9414
|
+
method: "typia.assert",
|
|
9415
|
+
path: _path + ".salami",
|
|
9416
|
+
expected: "(__type.o2 | undefined)",
|
|
9417
|
+
value: input.salami
|
|
9418
|
+
}, _errorFactory)) && _ao5(input.salami, _path + ".salami", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9419
|
+
method: "typia.assert",
|
|
9420
|
+
path: _path + ".salami",
|
|
9421
|
+
expected: "(__type.o2 | undefined)",
|
|
9422
|
+
value: input.salami
|
|
9423
|
+
}, _errorFactory)) && (undefined === input.repeat || ("object" === typeof input.repeat && null !== input.repeat && false === Array.isArray(input.repeat) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9424
|
+
method: "typia.assert",
|
|
9425
|
+
path: _path + ".repeat",
|
|
9426
|
+
expected: "(IngestScheduleRepeat | undefined)",
|
|
9427
|
+
value: input.repeat
|
|
9428
|
+
}, _errorFactory)) && _ao6(input.repeat, _path + ".repeat", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9429
|
+
method: "typia.assert",
|
|
9430
|
+
path: _path + ".repeat",
|
|
9431
|
+
expected: "(IngestScheduleRepeat | undefined)",
|
|
9432
|
+
value: input.repeat
|
|
9433
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9434
|
+
const value = input[key];
|
|
9435
|
+
if (undefined === value)
|
|
9436
|
+
return true;
|
|
9437
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9438
|
+
method: "typia.assert",
|
|
9439
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9440
|
+
expected: "IngestIo",
|
|
9441
|
+
value: value
|
|
9442
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9443
|
+
method: "typia.assert",
|
|
9444
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9445
|
+
expected: "IngestIo",
|
|
9446
|
+
value: value
|
|
9447
|
+
}, _errorFactory);
|
|
9448
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.route || "string" === typeof input.route || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9449
|
+
method: "typia.assert",
|
|
9450
|
+
path: _path + ".route",
|
|
9451
|
+
expected: "(string | undefined)",
|
|
9452
|
+
value: input.route
|
|
9453
|
+
}, _errorFactory)) && (undefined === input.publish || (Array.isArray(input.publish) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9454
|
+
method: "typia.assert",
|
|
9455
|
+
path: _path + ".publish",
|
|
9456
|
+
expected: "(Array<string> | undefined)",
|
|
9457
|
+
value: input.publish
|
|
9458
|
+
}, _errorFactory)) && input.publish.every((elem, _index5) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9459
|
+
method: "typia.assert",
|
|
9460
|
+
path: _path + ".publish[" + _index5 + "]",
|
|
9461
|
+
expected: "string",
|
|
9462
|
+
value: elem
|
|
9463
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9464
|
+
method: "typia.assert",
|
|
9465
|
+
path: _path + ".publish",
|
|
9466
|
+
expected: "(Array<string> | undefined)",
|
|
9467
|
+
value: input.publish
|
|
9468
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => (("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9469
|
+
method: "typia.assert",
|
|
9470
|
+
path: _path + ".__context",
|
|
9471
|
+
expected: "object",
|
|
9472
|
+
value: input.__context
|
|
9473
|
+
}, _errorFactory)) && _ao4(input.__context, _path + ".__context", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9474
|
+
method: "typia.assert",
|
|
9475
|
+
path: _path + ".__context",
|
|
9476
|
+
expected: "object",
|
|
9477
|
+
value: input.__context
|
|
9478
|
+
}, _errorFactory)) && ("string" === typeof input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9479
|
+
method: "typia.assert",
|
|
9480
|
+
path: _path + ".__returnValue",
|
|
9481
|
+
expected: "string",
|
|
9482
|
+
value: input.__returnValue
|
|
9483
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => true; const _ao5 = (input, _path, _exceptionable = true) => (null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9484
|
+
method: "typia.assert",
|
|
9485
|
+
path: _path + ".gallery",
|
|
9486
|
+
expected: "(null | string | undefined)",
|
|
9487
|
+
value: input.gallery
|
|
9488
|
+
}, _errorFactory)) && (undefined === input.tag || "string" === typeof input.tag || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9489
|
+
method: "typia.assert",
|
|
9490
|
+
path: _path + ".tag",
|
|
9491
|
+
expected: "(string | undefined)",
|
|
9492
|
+
value: input.tag
|
|
9493
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.freq || 0 === input.freq || 2 === input.freq || 3 === input.freq || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9494
|
+
method: "typia.assert",
|
|
9495
|
+
path: _path + ".freq",
|
|
9496
|
+
expected: "(0 | 2 | 3 | undefined)",
|
|
9497
|
+
value: input.freq
|
|
9498
|
+
}, _errorFactory)) && (undefined === input.until || "string" === typeof input.until || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9499
|
+
method: "typia.assert",
|
|
9500
|
+
path: _path + ".until",
|
|
9501
|
+
expected: "(string | undefined)",
|
|
9502
|
+
value: input.until
|
|
9503
|
+
}, _errorFactory)) && (undefined === input.start || "string" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9504
|
+
method: "typia.assert",
|
|
9505
|
+
path: _path + ".start",
|
|
9506
|
+
expected: "(string | undefined)",
|
|
9507
|
+
value: input.start
|
|
9508
|
+
}, _errorFactory)) && (undefined === input.tzid || "string" === typeof input.tzid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9509
|
+
method: "typia.assert",
|
|
9510
|
+
path: _path + ".tzid",
|
|
9511
|
+
expected: "(string | undefined)",
|
|
9512
|
+
value: input.tzid
|
|
9513
|
+
}, _errorFactory)) && (undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9514
|
+
method: "typia.assert",
|
|
9515
|
+
path: _path + ".duration",
|
|
9516
|
+
expected: "(number | undefined)",
|
|
9517
|
+
value: input.duration
|
|
9518
|
+
}, _errorFactory)) && (undefined === input.byweekday || (Array.isArray(input.byweekday) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9519
|
+
method: "typia.assert",
|
|
9520
|
+
path: _path + ".byweekday",
|
|
9521
|
+
expected: "(Array<number> | undefined)",
|
|
9522
|
+
value: input.byweekday
|
|
9523
|
+
}, _errorFactory)) && input.byweekday.every((elem, _index6) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9524
|
+
method: "typia.assert",
|
|
9525
|
+
path: _path + ".byweekday[" + _index6 + "]",
|
|
9526
|
+
expected: "number",
|
|
9527
|
+
value: elem
|
|
9528
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9529
|
+
method: "typia.assert",
|
|
9530
|
+
path: _path + ".byweekday",
|
|
9531
|
+
expected: "(Array<number> | undefined)",
|
|
9532
|
+
value: input.byweekday
|
|
9533
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9534
|
+
if (false === __is(input)) {
|
|
9535
|
+
_errorFactory = errorFactory;
|
|
9536
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9537
|
+
method: "typia.assert",
|
|
9538
|
+
path: _path + "",
|
|
9539
|
+
expected: "IngestScheduleDomainRecord",
|
|
9540
|
+
value: input
|
|
9541
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9542
|
+
method: "typia.assert",
|
|
9543
|
+
path: _path + "",
|
|
9544
|
+
expected: "IngestScheduleDomainRecord",
|
|
9545
|
+
value: input
|
|
9546
|
+
}, _errorFactory))(input, "$input", true);
|
|
9547
|
+
}
|
|
9548
|
+
return input;
|
|
9549
|
+
}; })()(input);
|
|
9550
|
+
}
|
|
9551
|
+
case ":ingestschedule.stats?": {
|
|
9552
|
+
return (() => { const _io0 = input => true; const _ao0 = (input, _path, _exceptionable = true) => true; const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9553
|
+
if (false === __is(input)) {
|
|
9554
|
+
_errorFactory = errorFactory;
|
|
9555
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9556
|
+
method: "typia.assert",
|
|
9557
|
+
path: _path + "",
|
|
9558
|
+
expected: "IngestScheduleDomainStatsRecord",
|
|
9559
|
+
value: input
|
|
9560
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9561
|
+
method: "typia.assert",
|
|
9562
|
+
path: _path + "",
|
|
9563
|
+
expected: "IngestScheduleDomainStatsRecord",
|
|
9564
|
+
value: input
|
|
9565
|
+
}, _errorFactory))(input, "$input", true);
|
|
9566
|
+
}
|
|
9567
|
+
return input;
|
|
9568
|
+
}; })()(input);
|
|
9569
|
+
}
|
|
8362
9570
|
case ":media.source": {
|
|
8363
9571
|
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io2(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io5(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io7(input.transcribe)); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io2 = input => Object.keys(input).every(key => {
|
|
8364
9572
|
const value = input[key];
|
|
@@ -10227,13 +11435,37 @@ function _assertDomainRecord(domain, input) {
|
|
|
10227
11435
|
return input;
|
|
10228
11436
|
}; })()(input);
|
|
10229
11437
|
}
|
|
11438
|
+
case ":note": {
|
|
11439
|
+
return (() => { const _io0 = input => "string" === typeof input.value; const _ao0 = (input, _path, _exceptionable = true) => "string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11440
|
+
method: "typia.assert",
|
|
11441
|
+
path: _path + ".value",
|
|
11442
|
+
expected: "string",
|
|
11443
|
+
value: input.value
|
|
11444
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
11445
|
+
if (false === __is(input)) {
|
|
11446
|
+
_errorFactory = errorFactory;
|
|
11447
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
11448
|
+
method: "typia.assert",
|
|
11449
|
+
path: _path + "",
|
|
11450
|
+
expected: "NoteDomainRecord",
|
|
11451
|
+
value: input
|
|
11452
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
11453
|
+
method: "typia.assert",
|
|
11454
|
+
path: _path + "",
|
|
11455
|
+
expected: "NoteDomainRecord",
|
|
11456
|
+
value: input
|
|
11457
|
+
}, _errorFactory))(input, "$input", true);
|
|
11458
|
+
}
|
|
11459
|
+
return input;
|
|
11460
|
+
}; })()(input);
|
|
11461
|
+
}
|
|
10230
11462
|
case ":panel": {
|
|
10231
11463
|
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) && _io6(input.layout)) && true && true; const _io1 = input => Object.keys(input).every(key => {
|
|
10232
11464
|
const value = input[key];
|
|
10233
11465
|
if (undefined === value)
|
|
10234
11466
|
return true;
|
|
10235
11467
|
return "object" === typeof value && null !== value && _io2(value);
|
|
10236
|
-
}); const _io2 = input => ("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.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.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) && _io5(elem))); const _io3 = input => "string" === typeof input.label && "string" === typeof input.path; const _io4 = input => true && (undefined === input.title || "string" === typeof input.title); const _io5 = input => true && (undefined === input.title || "string" === typeof input.title); const _io6 = 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 _io7 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io8 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "default" === input.widget || "
|
|
11468
|
+
}); const _io2 = input => ("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.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.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) && _io5(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])); const _io3 = input => "string" === typeof input.label && "string" === typeof input.path; const _io4 = input => true && (undefined === input.title || "string" === typeof input.title); const _io5 = input => true && (undefined === input.title || "string" === typeof input.title); const _io6 = 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 _io7 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io8 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "default" === input.widget || "tags" === input.widget || "assetTypes" === input.widget || "assetTags" === input.widget || "geopoint" === input.widget || "poster" === input.widget || "textarea" === input.widget || "object" === typeof input.widget && null !== input.widget && _io9(input.widget))); const _io9 = input => ("default" === input.type || "tags" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _iu0 = input => (() => {
|
|
10237
11469
|
if (undefined !== input.type)
|
|
10238
11470
|
return _io7(input);
|
|
10239
11471
|
else if (undefined !== input.property)
|
|
@@ -10302,12 +11534,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
10302
11534
|
return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10303
11535
|
method: "typia.assert",
|
|
10304
11536
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10305
|
-
expected: "PanelProperty",
|
|
11537
|
+
expected: "PanelProperty<unknown>",
|
|
10306
11538
|
value: value
|
|
10307
11539
|
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10308
11540
|
method: "typia.assert",
|
|
10309
11541
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10310
|
-
expected: "PanelProperty",
|
|
11542
|
+
expected: "PanelProperty<unknown>",
|
|
10311
11543
|
value: value
|
|
10312
11544
|
}, _errorFactory);
|
|
10313
11545
|
}); const _ao2 = (input, _path, _exceptionable = true) => ("string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10390,6 +11622,11 @@ function _assertDomainRecord(domain, input) {
|
|
|
10390
11622
|
path: _path + ".anyOf",
|
|
10391
11623
|
expected: "(Array<__type>.o1 | undefined)",
|
|
10392
11624
|
value: input.anyOf
|
|
11625
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11626
|
+
method: "typia.assert",
|
|
11627
|
+
path: _path + "[\"enum\"]",
|
|
11628
|
+
expected: "(Array<unknown> | undefined)",
|
|
11629
|
+
value: input["enum"]
|
|
10393
11630
|
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10394
11631
|
method: "typia.assert",
|
|
10395
11632
|
path: _path + ".label",
|
|
@@ -10475,7 +11712,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10475
11712
|
path: _path + ".widget",
|
|
10476
11713
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
10477
11714
|
value: input.widget
|
|
10478
|
-
}, _errorFactory)) && (undefined === input.widget || "default" === input.widget || "
|
|
11715
|
+
}, _errorFactory)) && (undefined === input.widget || "default" === input.widget || "tags" === input.widget || "assetTypes" === input.widget || "assetTags" === input.widget || "geopoint" === input.widget || "poster" === input.widget || "textarea" === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10479
11716
|
method: "typia.assert",
|
|
10480
11717
|
path: _path + ".widget",
|
|
10481
11718
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
@@ -10485,7 +11722,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10485
11722
|
path: _path + ".widget",
|
|
10486
11723
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
10487
11724
|
value: input.widget
|
|
10488
|
-
}, _errorFactory))); const _ao9 = (input, _path, _exceptionable = true) => ("default" === input.type || "
|
|
11725
|
+
}, _errorFactory))); const _ao9 = (input, _path, _exceptionable = true) => ("default" === input.type || "tags" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10489
11726
|
method: "typia.assert",
|
|
10490
11727
|
path: _path + ".type",
|
|
10491
11728
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\")",
|
|
@@ -15872,7 +17109,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
15872
17109
|
}; })()(input);
|
|
15873
17110
|
}
|
|
15874
17111
|
case ":settings": {
|
|
15875
|
-
return (() => { const _iv22 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv26 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _av54 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _av58 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io20(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io25(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io28(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io29(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io30(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io43(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io56(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io58(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) && _io59(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io68(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io69(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io70(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) && _io73(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io74(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io75(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io78(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io80(input.utilsAssetEditorPanel)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs)); const _io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
17112
|
+
return (() => { const _iv22 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv26 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _av54 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _av58 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io20(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io25(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io28(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io29(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io30(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io43(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io56(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io58(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) && _io59(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io68(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io69(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io70(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) && _io73(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io74(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io75(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io78(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io80(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io81(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io82(input.bookmarks)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs)); const _io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
15876
17113
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
15877
17114
|
return true;
|
|
15878
17115
|
const value = input[key];
|
|
@@ -15949,7 +17186,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
15949
17186
|
if (undefined === value)
|
|
15950
17187
|
return true;
|
|
15951
17188
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
15952
|
-
}); const _io78 = input => undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io79(input.duplicate); const _io79 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io80 = 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 _ao0 = (input, _path, _exceptionable = true) => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17189
|
+
}); const _io78 = input => undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io79(input.duplicate); const _io79 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io80 = 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 _io81 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io82 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15953
17190
|
method: "typia.assert",
|
|
15954
17191
|
path: _path + ".autoLogoutTime",
|
|
15955
17192
|
expected: "(number | undefined)",
|
|
@@ -16324,6 +17561,26 @@ function _assertDomainRecord(domain, input) {
|
|
|
16324
17561
|
path: _path + ".utilsAssetEditorPanel",
|
|
16325
17562
|
expected: "(__type.o73 | undefined)",
|
|
16326
17563
|
value: input.utilsAssetEditorPanel
|
|
17564
|
+
}, _errorFactory)) && (undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17565
|
+
method: "typia.assert",
|
|
17566
|
+
path: _path + ".display",
|
|
17567
|
+
expected: "(__type.o74 | undefined)",
|
|
17568
|
+
value: input.display
|
|
17569
|
+
}, _errorFactory)) && _ao81(input.display, _path + ".display", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17570
|
+
method: "typia.assert",
|
|
17571
|
+
path: _path + ".display",
|
|
17572
|
+
expected: "(__type.o74 | undefined)",
|
|
17573
|
+
value: input.display
|
|
17574
|
+
}, _errorFactory)) && (undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17575
|
+
method: "typia.assert",
|
|
17576
|
+
path: _path + ".bookmarks",
|
|
17577
|
+
expected: "(__type.o75 | undefined)",
|
|
17578
|
+
value: input.bookmarks
|
|
17579
|
+
}, _errorFactory)) && _ao82(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17580
|
+
method: "typia.assert",
|
|
17581
|
+
path: _path + ".bookmarks",
|
|
17582
|
+
expected: "(__type.o75 | undefined)",
|
|
17583
|
+
value: input.bookmarks
|
|
16327
17584
|
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16328
17585
|
method: "typia.assert",
|
|
16329
17586
|
path: _path + ".overrideUserContact",
|
|
@@ -18071,7 +19328,17 @@ function _assertDomainRecord(domain, input) {
|
|
|
18071
19328
|
path: _path + ".parseRegex",
|
|
18072
19329
|
expected: "(boolean | undefined)",
|
|
18073
19330
|
value: input.parseRegex
|
|
18074
|
-
}, _errorFactory)); const
|
|
19331
|
+
}, _errorFactory)); const _ao81 = (input, _path, _exceptionable = true) => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
19332
|
+
method: "typia.assert",
|
|
19333
|
+
path: _path + ".disableHotArea",
|
|
19334
|
+
expected: "(boolean | undefined)",
|
|
19335
|
+
value: input.disableHotArea
|
|
19336
|
+
}, _errorFactory); const _ao82 = (input, _path, _exceptionable = true) => undefined === input.refreshInterval || "number" === typeof input.refreshInterval || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
19337
|
+
method: "typia.assert",
|
|
19338
|
+
path: _path + ".refreshInterval",
|
|
19339
|
+
expected: "(number | undefined)",
|
|
19340
|
+
value: input.refreshInterval
|
|
19341
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
18075
19342
|
if (false === __is(input)) {
|
|
18076
19343
|
_errorFactory = errorFactory;
|
|
18077
19344
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|