@nxtedition/types 23.0.59 → 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.
@@ -358,6 +358,212 @@ function _validateExactRecord(name, input) {
358
358
  };
359
359
  }; })()(input);
360
360
  }
361
+ case "asset.dynamicProperties?": {
362
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
363
+ path: _path + ".value",
364
+ expected: "(Array<DynamicProperty> | undefined)",
365
+ value: input.value
366
+ })) && input.value.map((elem, _index5) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
367
+ path: _path + ".value[" + _index5 + "]",
368
+ expected: "DynamicProperty",
369
+ value: elem
370
+ })) && _vo1(elem, _path + ".value[" + _index5 + "]", true && _exceptionable) || _report(_exceptionable, {
371
+ path: _path + ".value[" + _index5 + "]",
372
+ expected: "DynamicProperty",
373
+ value: elem
374
+ })).every(flag => flag) || _report(_exceptionable, {
375
+ path: _path + ".value",
376
+ expected: "(Array<DynamicProperty> | undefined)",
377
+ value: input.value
378
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.panel || "string" === typeof input.panel || _report(_exceptionable, {
379
+ path: _path + ".panel",
380
+ expected: "(string | undefined)",
381
+ value: input.panel
382
+ }), undefined === input.schema || "string" === typeof input.schema || _report(_exceptionable, {
383
+ path: _path + ".schema",
384
+ expected: "(string | undefined)",
385
+ value: input.schema
386
+ }), (Array.isArray(input.supports) || _report(_exceptionable, {
387
+ path: _path + ".supports",
388
+ expected: "Array<string>",
389
+ value: input.supports
390
+ })) && input.supports.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
391
+ path: _path + ".supports[" + _index6 + "]",
392
+ expected: "string",
393
+ value: elem
394
+ })).every(flag => flag) || _report(_exceptionable, {
395
+ path: _path + ".supports",
396
+ expected: "Array<string>",
397
+ value: input.supports
398
+ }), "string" === typeof input.path || _report(_exceptionable, {
399
+ path: _path + ".path",
400
+ expected: "string",
401
+ value: input.path
402
+ }), "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
403
+ path: _path + ".type",
404
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\")",
405
+ value: input.type
406
+ }), undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
407
+ path: _path + ".index",
408
+ expected: "(__type | undefined)",
409
+ value: input.index
410
+ })) && _vo2(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
411
+ path: _path + ".index",
412
+ expected: "(__type | undefined)",
413
+ value: input.index
414
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
415
+ path: _path + ".title",
416
+ expected: "(string | undefined)",
417
+ value: input.title
418
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
419
+ path: _path + ".description",
420
+ expected: "(string | undefined)",
421
+ value: input.description
422
+ }), undefined === input.domain || "string" === typeof input.domain || _report(_exceptionable, {
423
+ path: _path + ".domain",
424
+ expected: "(string | undefined)",
425
+ value: input.domain
426
+ }), true, undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
427
+ path: _path + ".required",
428
+ expected: "(boolean | undefined)",
429
+ value: input.required
430
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
431
+ path: _path + ".oneOf",
432
+ expected: "(Array<__type> | undefined)",
433
+ value: input.oneOf
434
+ })) && input.oneOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
435
+ path: _path + ".oneOf[" + _index7 + "]",
436
+ expected: "__type.o1",
437
+ value: elem
438
+ })) && _vo3(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
439
+ path: _path + ".oneOf[" + _index7 + "]",
440
+ expected: "__type.o1",
441
+ value: elem
442
+ })).every(flag => flag) || _report(_exceptionable, {
443
+ path: _path + ".oneOf",
444
+ expected: "(Array<__type> | undefined)",
445
+ value: input.oneOf
446
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
447
+ path: _path + ".anyOf",
448
+ expected: "(Array<__type>.o1 | undefined)",
449
+ value: input.anyOf
450
+ })) && input.anyOf.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
451
+ path: _path + ".anyOf[" + _index8 + "]",
452
+ expected: "__type.o2",
453
+ value: elem
454
+ })) && _vo4(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
455
+ path: _path + ".anyOf[" + _index8 + "]",
456
+ expected: "__type.o2",
457
+ value: elem
458
+ })).every(flag => flag) || _report(_exceptionable, {
459
+ path: _path + ".anyOf",
460
+ expected: "(Array<__type>.o1 | undefined)",
461
+ value: input.anyOf
462
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
463
+ path: _path + "[\"enum\"]",
464
+ expected: "(Array<unknown> | undefined)",
465
+ value: input["enum"]
466
+ }), true, (null !== input.recordName || _report(_exceptionable, {
467
+ path: _path + ".recordName",
468
+ expected: "(__type.o3 | string | undefined)",
469
+ value: input.recordName
470
+ })) && (undefined === input.recordName || "string" === typeof input.recordName || ("object" === typeof input.recordName && null !== input.recordName || _report(_exceptionable, {
471
+ path: _path + ".recordName",
472
+ expected: "(__type.o3 | string | undefined)",
473
+ value: input.recordName
474
+ })) && _vo5(input.recordName, _path + ".recordName", true && _exceptionable) || _report(_exceptionable, {
475
+ path: _path + ".recordName",
476
+ expected: "(__type.o3 | string | undefined)",
477
+ value: input.recordName
478
+ })), (null !== input.setter || _report(_exceptionable, {
479
+ path: _path + ".setter",
480
+ expected: "(__type.o5 | string | undefined)",
481
+ value: input.setter
482
+ })) && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || ("object" === typeof input.setter && null !== input.setter || _report(_exceptionable, {
483
+ path: _path + ".setter",
484
+ expected: "(__type.o5 | string | undefined)",
485
+ value: input.setter
486
+ })) && _vo7(input.setter, _path + ".setter", true && _exceptionable) || _report(_exceptionable, {
487
+ path: _path + ".setter",
488
+ expected: "(__type.o5 | string | undefined)",
489
+ value: input.setter
490
+ })), true].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
491
+ path: _path + ".label",
492
+ expected: "string",
493
+ value: input.label
494
+ }), "string" === typeof input.path || _report(_exceptionable, {
495
+ path: _path + ".path",
496
+ expected: "string",
497
+ value: input.path
498
+ })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
499
+ path: _path + ".title",
500
+ expected: "(string | undefined)",
501
+ value: input.title
502
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
503
+ path: _path + ".title",
504
+ expected: "(string | undefined)",
505
+ value: input.title
506
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
507
+ path: _path + ".__context",
508
+ expected: "__type.o4",
509
+ value: input.__context
510
+ })) && _vo6(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
511
+ path: _path + ".__context",
512
+ expected: "__type.o4",
513
+ value: input.__context
514
+ }), "string" === typeof input.__returnValue || _report(_exceptionable, {
515
+ path: _path + ".__returnValue",
516
+ expected: "string",
517
+ value: input.__returnValue
518
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
519
+ path: _path + ".id",
520
+ expected: "string",
521
+ value: input.id
522
+ })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
523
+ path: _path + ".__context",
524
+ expected: "__type.o6",
525
+ value: input.__context
526
+ })) && _vo8(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
527
+ path: _path + ".__context",
528
+ expected: "__type.o6",
529
+ value: input.__context
530
+ }), true || _report(_exceptionable, {
531
+ path: _path + ".__returnValue",
532
+ expected: "unknown",
533
+ value: input.__returnValue
534
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
535
+ path: _path + ".id",
536
+ expected: "string",
537
+ value: input.id
538
+ }), true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
539
+ if (false === __is(input)) {
540
+ errors = [];
541
+ _report = __typia_transform__validateReport._validateReport(errors);
542
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
543
+ path: _path + "",
544
+ expected: "AssetDynamicPropertiesProvidedRecord",
545
+ value: input
546
+ })) && _vo0(input, _path + "", true) || _report(true, {
547
+ path: _path + "",
548
+ expected: "AssetDynamicPropertiesProvidedRecord",
549
+ value: input
550
+ }))(input, "$input", true);
551
+ const success = 0 === errors.length;
552
+ return success ? {
553
+ success,
554
+ data: input
555
+ } : {
556
+ success,
557
+ errors,
558
+ data: input
559
+ };
560
+ }
561
+ return {
562
+ success: true,
563
+ data: input
564
+ };
565
+ }; })()(input);
566
+ }
361
567
  case "asset.embedding": {
362
568
  return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "object" === typeof input.value && null !== input.value && _io1(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "string" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; const _vo0 = (input, _path, _exceptionable = true) => [(null !== input.value || _report(_exceptionable, {
363
569
  path: _path + ".value",
@@ -2858,150 +3064,700 @@ function _validateDomainRecord(domain, input) {
2858
3064
  return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
2859
3065
  path: _path + ".value",
2860
3066
  expected: "(Array<string> | undefined)",
2861
- value: input.value
2862
- })) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
2863
- path: _path + ".value[" + _index2 + "]",
3067
+ value: input.value
3068
+ })) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
3069
+ path: _path + ".value[" + _index2 + "]",
3070
+ expected: "string",
3071
+ value: elem
3072
+ })).every(flag => flag) || _report(_exceptionable, {
3073
+ path: _path + ".value",
3074
+ expected: "(Array<string> | undefined)",
3075
+ value: input.value
3076
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
3077
+ if (false === __is(input)) {
3078
+ errors = [];
3079
+ _report = __typia_transform__validateReport._validateReport(errors);
3080
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
3081
+ path: _path + "",
3082
+ expected: "AssetDomainEmbeddingProvidedRecord",
3083
+ value: input
3084
+ })) && _vo0(input, _path + "", true) || _report(true, {
3085
+ path: _path + "",
3086
+ expected: "AssetDomainEmbeddingProvidedRecord",
3087
+ value: input
3088
+ }))(input, "$input", true);
3089
+ const success = 0 === errors.length;
3090
+ return success ? {
3091
+ success,
3092
+ data: input
3093
+ } : {
3094
+ success,
3095
+ errors,
3096
+ data: input
3097
+ };
3098
+ }
3099
+ return {
3100
+ success: true,
3101
+ data: input
3102
+ };
3103
+ }; })()(input);
3104
+ }
3105
+ case ":asset.media?": {
3106
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
3107
+ const value = input[key];
3108
+ if (undefined === value)
3109
+ return true;
3110
+ return true;
3111
+ }); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
3112
+ const value = input[key];
3113
+ if (undefined === value)
3114
+ return true;
3115
+ return true;
3116
+ }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
3117
+ if (false === __is(input)) {
3118
+ errors = [];
3119
+ _report = __typia_transform__validateReport._validateReport(errors);
3120
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
3121
+ path: _path + "",
3122
+ expected: "AssetDomainMediaProvidedRecord",
3123
+ value: input
3124
+ })) && _vo0(input, _path + "", true) || _report(true, {
3125
+ path: _path + "",
3126
+ expected: "AssetDomainMediaProvidedRecord",
3127
+ value: input
3128
+ }))(input, "$input", true);
3129
+ const success = 0 === errors.length;
3130
+ return success ? {
3131
+ success,
3132
+ data: input
3133
+ } : {
3134
+ success,
3135
+ errors,
3136
+ data: input
3137
+ };
3138
+ }
3139
+ return {
3140
+ success: true,
3141
+ data: input
3142
+ };
3143
+ }; })()(input);
3144
+ }
3145
+ case ":asset.presence?": {
3146
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
3147
+ path: _path + ".value",
3148
+ expected: "(Array<string> | undefined)",
3149
+ value: input.value
3150
+ })) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
3151
+ path: _path + ".value[" + _index2 + "]",
3152
+ expected: "string",
3153
+ value: elem
3154
+ })).every(flag => flag) || _report(_exceptionable, {
3155
+ path: _path + ".value",
3156
+ expected: "(Array<string> | undefined)",
3157
+ value: input.value
3158
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
3159
+ if (false === __is(input)) {
3160
+ errors = [];
3161
+ _report = __typia_transform__validateReport._validateReport(errors);
3162
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
3163
+ path: _path + "",
3164
+ expected: "AssetDomainPresenceProvidedRecord",
3165
+ value: input
3166
+ })) && _vo0(input, _path + "", true) || _report(true, {
3167
+ path: _path + "",
3168
+ expected: "AssetDomainPresenceProvidedRecord",
3169
+ value: input
3170
+ }))(input, "$input", true);
3171
+ const success = 0 === errors.length;
3172
+ return success ? {
3173
+ success,
3174
+ data: input
3175
+ } : {
3176
+ success,
3177
+ errors,
3178
+ data: input
3179
+ };
3180
+ }
3181
+ return {
3182
+ success: true,
3183
+ data: input
3184
+ };
3185
+ }; })()(input);
3186
+ }
3187
+ case ":asset.comments?": {
3188
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
3189
+ path: _path + ".value",
3190
+ expected: "(Array<string> | undefined)",
3191
+ value: input.value
3192
+ })) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
3193
+ path: _path + ".value[" + _index2 + "]",
3194
+ expected: "string",
3195
+ value: elem
3196
+ })).every(flag => flag) || _report(_exceptionable, {
3197
+ path: _path + ".value",
3198
+ expected: "(Array<string> | undefined)",
3199
+ value: input.value
3200
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
3201
+ if (false === __is(input)) {
3202
+ errors = [];
3203
+ _report = __typia_transform__validateReport._validateReport(errors);
3204
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
3205
+ path: _path + "",
3206
+ expected: "AssetCommentsRecord",
3207
+ value: input
3208
+ })) && _vo0(input, _path + "", true) || _report(true, {
3209
+ path: _path + "",
3210
+ expected: "AssetCommentsRecord",
3211
+ value: input
3212
+ }))(input, "$input", true);
3213
+ const success = 0 === errors.length;
3214
+ return success ? {
3215
+ success,
3216
+ data: input
3217
+ } : {
3218
+ success,
3219
+ errors,
3220
+ data: input
3221
+ };
3222
+ }
3223
+ return {
3224
+ success: true,
3225
+ data: input
3226
+ };
3227
+ }; })()(input);
3228
+ }
3229
+ case ":asset.record?": {
3230
+ 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 => {
3231
+ 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))
3232
+ return true;
3233
+ const value = input[key];
3234
+ if (undefined === value)
3235
+ return true;
3236
+ return true;
3237
+ }); 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 => {
3238
+ const value = input[key];
3239
+ if (undefined === value)
3240
+ return true;
3241
+ return "number" === typeof value;
3242
+ }); 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 _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
3243
+ path: _path + ".id",
3244
+ expected: "string",
3245
+ value: input.id
3246
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
3247
+ path: _path + ".title",
3248
+ expected: "(string | undefined)",
3249
+ value: input.title
3250
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
3251
+ path: _path + ".description",
3252
+ expected: "(string | undefined)",
3253
+ value: input.description
3254
+ }), undefined === input.created || "string" === typeof input.created || _report(_exceptionable, {
3255
+ path: _path + ".created",
3256
+ expected: "(string | undefined)",
3257
+ value: input.created
3258
+ }), undefined === input.createdBy || "string" === typeof input.createdBy || _report(_exceptionable, {
3259
+ path: _path + ".createdBy",
3260
+ expected: "(string | undefined)",
3261
+ value: input.createdBy
3262
+ }), undefined === input.createdByTitle || "string" === typeof input.createdByTitle || _report(_exceptionable, {
3263
+ path: _path + ".createdByTitle",
3264
+ expected: "(string | undefined)",
3265
+ value: input.createdByTitle
3266
+ }), undefined === input.origin || "string" === typeof input.origin || _report(_exceptionable, {
3267
+ path: _path + ".origin",
3268
+ expected: "(string | undefined)",
3269
+ value: input.origin
3270
+ }), undefined === input.modified || "string" === typeof input.modified || _report(_exceptionable, {
3271
+ path: _path + ".modified",
3272
+ expected: "(string | undefined)",
3273
+ value: input.modified
3274
+ }), undefined === input.modifiedBy || "string" === typeof input.modifiedBy || _report(_exceptionable, {
3275
+ path: _path + ".modifiedBy",
3276
+ expected: "(string | undefined)",
3277
+ value: input.modifiedBy
3278
+ }), undefined === input.modifiedByAll || (Array.isArray(input.modifiedByAll) || _report(_exceptionable, {
3279
+ path: _path + ".modifiedByAll",
3280
+ expected: "(Array<string> | undefined)",
3281
+ value: input.modifiedByAll
3282
+ })) && input.modifiedByAll.map((elem, _index20) => "string" === typeof elem || _report(_exceptionable, {
3283
+ path: _path + ".modifiedByAll[" + _index20 + "]",
3284
+ expected: "string",
3285
+ value: elem
3286
+ })).every(flag => flag) || _report(_exceptionable, {
3287
+ path: _path + ".modifiedByAll",
3288
+ expected: "(Array<string> | undefined)",
3289
+ value: input.modifiedByAll
3290
+ }), undefined === input.modifiedByTitle || "string" === typeof input.modifiedByTitle || _report(_exceptionable, {
3291
+ path: _path + ".modifiedByTitle",
3292
+ expected: "(string | undefined)",
3293
+ value: input.modifiedByTitle
3294
+ }), undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
3295
+ path: _path + ".duration",
3296
+ expected: "(number | undefined)",
3297
+ value: input.duration
3298
+ }), undefined === input.tags || (Array.isArray(input.tags) || _report(_exceptionable, {
3299
+ path: _path + ".tags",
3300
+ expected: "(Array<string> | undefined)",
3301
+ value: input.tags
3302
+ })) && input.tags.map((elem, _index21) => "string" === typeof elem || _report(_exceptionable, {
3303
+ path: _path + ".tags[" + _index21 + "]",
3304
+ expected: "string",
3305
+ value: elem
3306
+ })).every(flag => flag) || _report(_exceptionable, {
3307
+ path: _path + ".tags",
3308
+ expected: "(Array<string> | undefined)",
3309
+ value: input.tags
3310
+ }), undefined === input.deadlines || (Array.isArray(input.deadlines) || _report(_exceptionable, {
3311
+ path: _path + ".deadlines",
3312
+ expected: "(Array<string> | undefined)",
3313
+ value: input.deadlines
3314
+ })) && input.deadlines.map((elem, _index22) => "string" === typeof elem || _report(_exceptionable, {
3315
+ path: _path + ".deadlines[" + _index22 + "]",
3316
+ expected: "string",
3317
+ value: elem
3318
+ })).every(flag => flag) || _report(_exceptionable, {
3319
+ path: _path + ".deadlines",
3320
+ expected: "(Array<string> | undefined)",
3321
+ value: input.deadlines
3322
+ }), undefined === input.deadlinesCount || "number" === typeof input.deadlinesCount || _report(_exceptionable, {
3323
+ path: _path + ".deadlinesCount",
3324
+ expected: "(number | undefined)",
3325
+ value: input.deadlinesCount
3326
+ }), undefined === input.deadlines_date_range || (Array.isArray(input.deadlines_date_range) || _report(_exceptionable, {
3327
+ path: _path + ".deadlines_date_range",
3328
+ expected: "(Array<__type> | undefined)",
3329
+ value: input.deadlines_date_range
3330
+ })) && input.deadlines_date_range.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
3331
+ path: _path + ".deadlines_date_range[" + _index23 + "]",
3332
+ expected: "__type",
3333
+ value: elem
3334
+ })) && _vo1(elem, _path + ".deadlines_date_range[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
3335
+ path: _path + ".deadlines_date_range[" + _index23 + "]",
3336
+ expected: "__type",
3337
+ value: elem
3338
+ })).every(flag => flag) || _report(_exceptionable, {
3339
+ path: _path + ".deadlines_date_range",
3340
+ expected: "(Array<__type> | undefined)",
3341
+ value: input.deadlines_date_range
3342
+ }), undefined === input.assignees || (Array.isArray(input.assignees) || _report(_exceptionable, {
3343
+ path: _path + ".assignees",
3344
+ expected: "(Array<string> | undefined)",
3345
+ value: input.assignees
3346
+ })) && input.assignees.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
3347
+ path: _path + ".assignees[" + _index24 + "]",
3348
+ expected: "string",
3349
+ value: elem
3350
+ })).every(flag => flag) || _report(_exceptionable, {
3351
+ path: _path + ".assignees",
3352
+ expected: "(Array<string> | undefined)",
3353
+ value: input.assignees
3354
+ }), undefined === input.assigneesCount || "number" === typeof input.assigneesCount || _report(_exceptionable, {
3355
+ path: _path + ".assigneesCount",
3356
+ expected: "(number | undefined)",
3357
+ value: input.assigneesCount
3358
+ }), undefined === input.locations || (Array.isArray(input.locations) || _report(_exceptionable, {
3359
+ path: _path + ".locations",
3360
+ expected: "(Array<__type>.o1 | undefined)",
3361
+ value: input.locations
3362
+ })) && input.locations.map((elem, _index25) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
3363
+ path: _path + ".locations[" + _index25 + "]",
3364
+ expected: "__type.o1",
3365
+ value: elem
3366
+ })) && _vo2(elem, _path + ".locations[" + _index25 + "]", true && _exceptionable) || _report(_exceptionable, {
3367
+ path: _path + ".locations[" + _index25 + "]",
3368
+ expected: "__type.o1",
3369
+ value: elem
3370
+ })).every(flag => flag) || _report(_exceptionable, {
3371
+ path: _path + ".locations",
3372
+ expected: "(Array<__type>.o1 | undefined)",
3373
+ value: input.locations
3374
+ }), undefined === input.locationsCount || "number" === typeof input.locationsCount || _report(_exceptionable, {
3375
+ path: _path + ".locationsCount",
3376
+ expected: "(number | undefined)",
3377
+ value: input.locationsCount
3378
+ }), undefined === input.types || (Array.isArray(input.types) || _report(_exceptionable, {
3379
+ path: _path + ".types",
3380
+ expected: "(Array<string> | undefined)",
3381
+ value: input.types
3382
+ })) && input.types.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
3383
+ path: _path + ".types[" + _index26 + "]",
3384
+ expected: "string",
3385
+ value: elem
3386
+ })).every(flag => flag) || _report(_exceptionable, {
3387
+ path: _path + ".types",
3388
+ expected: "(Array<string> | undefined)",
3389
+ value: input.types
3390
+ }), undefined === input.primaryType || "string" === typeof input.primaryType || _report(_exceptionable, {
3391
+ path: _path + ".primaryType",
3392
+ expected: "(string | undefined)",
3393
+ value: input.primaryType
3394
+ }), undefined === input.rawTypes || (Array.isArray(input.rawTypes) || _report(_exceptionable, {
3395
+ path: _path + ".rawTypes",
3396
+ expected: "(Array<string> | undefined)",
3397
+ value: input.rawTypes
3398
+ })) && input.rawTypes.map((elem, _index27) => "string" === typeof elem || _report(_exceptionable, {
3399
+ path: _path + ".rawTypes[" + _index27 + "]",
3400
+ expected: "string",
3401
+ value: elem
3402
+ })).every(flag => flag) || _report(_exceptionable, {
3403
+ path: _path + ".rawTypes",
3404
+ expected: "(Array<string> | undefined)",
3405
+ value: input.rawTypes
3406
+ }), undefined === input.status || ("object" === typeof input.status && null !== input.status && false === Array.isArray(input.status) || _report(_exceptionable, {
3407
+ path: _path + ".status",
3408
+ expected: "(__type.o2 | undefined)",
3409
+ value: input.status
3410
+ })) && _vo3(input.status, _path + ".status", true && _exceptionable) || _report(_exceptionable, {
3411
+ path: _path + ".status",
3412
+ expected: "(__type.o2 | undefined)",
3413
+ value: input.status
3414
+ }), undefined === input.published || (Array.isArray(input.published) || _report(_exceptionable, {
3415
+ path: _path + ".published",
3416
+ expected: "(Array<string> | undefined)",
3417
+ value: input.published
3418
+ })) && input.published.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
3419
+ path: _path + ".published[" + _index28 + "]",
3420
+ expected: "string",
3421
+ value: elem
3422
+ })).every(flag => flag) || _report(_exceptionable, {
3423
+ path: _path + ".published",
3424
+ expected: "(Array<string> | undefined)",
3425
+ value: input.published
3426
+ }), undefined === input.publishedCount || "number" === typeof input.publishedCount || _report(_exceptionable, {
3427
+ path: _path + ".publishedCount",
3428
+ expected: "(number | undefined)",
3429
+ value: input.publishedCount
3430
+ }), undefined === input.storage || ("object" === typeof input.storage && null !== input.storage && false === Array.isArray(input.storage) || _report(_exceptionable, {
3431
+ path: _path + ".storage",
3432
+ expected: "(__type.o4 | undefined)",
3433
+ value: input.storage
3434
+ })) && _vo5(input.storage, _path + ".storage", true && _exceptionable) || _report(_exceptionable, {
3435
+ path: _path + ".storage",
3436
+ expected: "(__type.o4 | undefined)",
3437
+ value: input.storage
3438
+ }), undefined === input.refs || "number" === typeof input.refs || _report(_exceptionable, {
3439
+ path: _path + ".refs",
3440
+ expected: "(number | undefined)",
3441
+ value: input.refs
3442
+ }), undefined === input.refsByType || ("object" === typeof input.refsByType && null !== input.refsByType && false === Array.isArray(input.refsByType) || _report(_exceptionable, {
3443
+ path: _path + ".refsByType",
3444
+ expected: "(Record<string, number> | undefined)",
3445
+ value: input.refsByType
3446
+ })) && _vo6(input.refsByType, _path + ".refsByType", true && _exceptionable) || _report(_exceptionable, {
3447
+ path: _path + ".refsByType",
3448
+ expected: "(Record<string, number> | undefined)",
3449
+ value: input.refsByType
3450
+ }), undefined === input.recurrence_date_range || ("object" === typeof input.recurrence_date_range && null !== input.recurrence_date_range || _report(_exceptionable, {
3451
+ path: _path + ".recurrence_date_range",
3452
+ expected: "(__type.o5 | undefined)",
3453
+ value: input.recurrence_date_range
3454
+ })) && _vo7(input.recurrence_date_range, _path + ".recurrence_date_range", true && _exceptionable) || _report(_exceptionable, {
3455
+ path: _path + ".recurrence_date_range",
3456
+ expected: "(__type.o5 | undefined)",
3457
+ value: input.recurrence_date_range
3458
+ }), undefined === input.media_date_range || ("object" === typeof input.media_date_range && null !== input.media_date_range || _report(_exceptionable, {
3459
+ path: _path + ".media_date_range",
3460
+ expected: "(__type.o6 | undefined)",
3461
+ value: input.media_date_range
3462
+ })) && _vo8(input.media_date_range, _path + ".media_date_range", true && _exceptionable) || _report(_exceptionable, {
3463
+ path: _path + ".media_date_range",
3464
+ expected: "(__type.o6 | undefined)",
3465
+ value: input.media_date_range
3466
+ }), undefined === input.ingestschedule_date_range || ("object" === typeof input.ingestschedule_date_range && null !== input.ingestschedule_date_range || _report(_exceptionable, {
3467
+ path: _path + ".ingestschedule_date_range",
3468
+ expected: "(__type.o7 | undefined)",
3469
+ value: input.ingestschedule_date_range
3470
+ })) && _vo9(input.ingestschedule_date_range, _path + ".ingestschedule_date_range", true && _exceptionable) || _report(_exceptionable, {
3471
+ path: _path + ".ingestschedule_date_range",
3472
+ expected: "(__type.o7 | undefined)",
3473
+ value: input.ingestschedule_date_range
3474
+ }), undefined === input.ingestschedule || ("object" === typeof input.ingestschedule && null !== input.ingestschedule && false === Array.isArray(input.ingestschedule) || _report(_exceptionable, {
3475
+ path: _path + ".ingestschedule",
3476
+ expected: "(__type.o8 | undefined)",
3477
+ value: input.ingestschedule
3478
+ })) && _vo10(input.ingestschedule, _path + ".ingestschedule", true && _exceptionable) || _report(_exceptionable, {
3479
+ path: _path + ".ingestschedule",
3480
+ expected: "(__type.o8 | undefined)",
3481
+ value: input.ingestschedule
3482
+ }), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
3483
+ path: _path + ".username",
3484
+ expected: "(string | undefined)",
3485
+ value: input.username
3486
+ }), undefined === input.user || "string" === typeof input.user || _report(_exceptionable, {
3487
+ path: _path + ".user",
3488
+ expected: "(string | undefined)",
3489
+ value: input.user
3490
+ }), undefined === input["note.text"] || "string" === typeof input["note.text"] || _report(_exceptionable, {
3491
+ path: _path + "[\"note.text\"]",
3492
+ expected: "(string | undefined)",
3493
+ value: input["note.text"]
3494
+ }), undefined === input.subtitles || "string" === typeof input.subtitles || _report(_exceptionable, {
3495
+ path: _path + ".subtitles",
3496
+ expected: "(string | undefined)",
3497
+ value: input.subtitles
3498
+ }), undefined === input.graphics || "string" === typeof input.graphics || _report(_exceptionable, {
3499
+ path: _path + ".graphics",
3500
+ expected: "(string | undefined)",
3501
+ value: input.graphics
3502
+ }), undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || _report(_exceptionable, {
3503
+ path: _path + ".story",
3504
+ expected: "(__type.o9 | undefined)",
3505
+ value: input.story
3506
+ })) && _vo11(input.story, _path + ".story", true && _exceptionable) || _report(_exceptionable, {
3507
+ path: _path + ".story",
3508
+ expected: "(__type.o9 | undefined)",
3509
+ value: input.story
3510
+ }), undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || _report(_exceptionable, {
3511
+ path: _path + ".storyboard",
3512
+ expected: "(__type.o10 | undefined)",
3513
+ value: input.storyboard
3514
+ })) && _vo12(input.storyboard, _path + ".storyboard", true && _exceptionable) || _report(_exceptionable, {
3515
+ path: _path + ".storyboard",
3516
+ expected: "(__type.o10 | undefined)",
3517
+ value: input.storyboard
3518
+ }), undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || _report(_exceptionable, {
3519
+ path: _path + ".media",
3520
+ expected: "(__type.o11 | undefined)",
3521
+ value: input.media
3522
+ })) && _vo13(input.media, _path + ".media", true && _exceptionable) || _report(_exceptionable, {
3523
+ path: _path + ".media",
3524
+ expected: "(__type.o11 | undefined)",
3525
+ value: input.media
3526
+ }), undefined === input.embedding || (Array.isArray(input.embedding) || _report(_exceptionable, {
3527
+ path: _path + ".embedding",
3528
+ expected: "(Array<__type>.o3 | undefined)",
3529
+ value: input.embedding
3530
+ })) && input.embedding.map((elem, _index29) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
3531
+ path: _path + ".embedding[" + _index29 + "]",
3532
+ expected: "__type.o12",
3533
+ value: elem
3534
+ })) && _vo14(elem, _path + ".embedding[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
3535
+ path: _path + ".embedding[" + _index29 + "]",
3536
+ expected: "__type.o12",
3537
+ value: elem
3538
+ })).every(flag => flag) || _report(_exceptionable, {
3539
+ path: _path + ".embedding",
3540
+ expected: "(Array<__type>.o3 | undefined)",
3541
+ value: input.embedding
3542
+ }), false === _exceptionable || Object.keys(input).map(key => {
3543
+ 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))
3544
+ return true;
3545
+ const value = input[key];
3546
+ if (undefined === value)
3547
+ return true;
3548
+ return true;
3549
+ }).every(flag => flag)].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.gte || _report(_exceptionable, {
3550
+ path: _path + ".gte",
3551
+ expected: "string",
3552
+ value: input.gte
3553
+ }), "string" === typeof input.lte || _report(_exceptionable, {
3554
+ path: _path + ".lte",
3555
+ expected: "string",
3556
+ value: input.lte
3557
+ })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["number" === typeof input.lat || _report(_exceptionable, {
3558
+ path: _path + ".lat",
3559
+ expected: "number",
3560
+ value: input.lat
3561
+ }), "number" === typeof input.lon || _report(_exceptionable, {
3562
+ path: _path + ".lon",
3563
+ expected: "number",
3564
+ value: input.lon
3565
+ })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
3566
+ path: _path + ".messages",
3567
+ expected: "(Array<__type>.o2 | undefined)",
3568
+ value: input.messages
3569
+ })) && input.messages.map((elem, _index30) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
3570
+ path: _path + ".messages[" + _index30 + "]",
3571
+ expected: "__type.o3",
3572
+ value: elem
3573
+ })) && _vo4(elem, _path + ".messages[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
3574
+ path: _path + ".messages[" + _index30 + "]",
3575
+ expected: "__type.o3",
3576
+ value: elem
3577
+ })).every(flag => flag) || _report(_exceptionable, {
3578
+ path: _path + ".messages",
3579
+ expected: "(Array<__type>.o2 | undefined)",
3580
+ value: input.messages
3581
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.code || "string" === typeof input.code || _report(_exceptionable, {
3582
+ path: _path + ".code",
3583
+ expected: "(string | undefined)",
3584
+ value: input.code
3585
+ }), undefined === input.level || "number" === typeof input.level || _report(_exceptionable, {
3586
+ path: _path + ".level",
3587
+ expected: "(number | undefined)",
3588
+ value: input.level
3589
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.files || (Array.isArray(input.files) || _report(_exceptionable, {
3590
+ path: _path + ".files",
3591
+ expected: "(Array<string> | undefined)",
3592
+ value: input.files
3593
+ })) && input.files.map((elem, _index31) => "string" === typeof elem || _report(_exceptionable, {
3594
+ path: _path + ".files[" + _index31 + "]",
3595
+ expected: "string",
3596
+ value: elem
3597
+ })).every(flag => flag) || _report(_exceptionable, {
3598
+ path: _path + ".files",
3599
+ expected: "(Array<string> | undefined)",
3600
+ value: input.files
3601
+ }), undefined === input.replicas || (Array.isArray(input.replicas) || _report(_exceptionable, {
3602
+ path: _path + ".replicas",
3603
+ expected: "(Array<string> | undefined)",
3604
+ value: input.replicas
3605
+ })) && input.replicas.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
3606
+ path: _path + ".replicas[" + _index32 + "]",
3607
+ expected: "string",
3608
+ value: elem
3609
+ })).every(flag => flag) || _report(_exceptionable, {
3610
+ path: _path + ".replicas",
3611
+ expected: "(Array<string> | undefined)",
3612
+ value: input.replicas
3613
+ }), undefined === input.locations || (Array.isArray(input.locations) || _report(_exceptionable, {
3614
+ path: _path + ".locations",
3615
+ expected: "(Array<string> | undefined)",
3616
+ value: input.locations
3617
+ })) && input.locations.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
3618
+ path: _path + ".locations[" + _index33 + "]",
3619
+ expected: "string",
3620
+ value: elem
3621
+ })).every(flag => flag) || _report(_exceptionable, {
3622
+ path: _path + ".locations",
3623
+ expected: "(Array<string> | undefined)",
3624
+ value: input.locations
3625
+ }), undefined === input.zones || (Array.isArray(input.zones) || _report(_exceptionable, {
3626
+ path: _path + ".zones",
3627
+ expected: "(Array<string> | undefined)",
3628
+ value: input.zones
3629
+ })) && input.zones.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
3630
+ path: _path + ".zones[" + _index34 + "]",
3631
+ expected: "string",
3632
+ value: elem
3633
+ })).every(flag => flag) || _report(_exceptionable, {
3634
+ path: _path + ".zones",
3635
+ expected: "(Array<string> | undefined)",
3636
+ value: input.zones
3637
+ }), undefined === input.uploading || "boolean" === typeof input.uploading || _report(_exceptionable, {
3638
+ path: _path + ".uploading",
3639
+ expected: "(boolean | undefined)",
3640
+ value: input.uploading
3641
+ }), undefined === input.size || "number" === typeof input.size || _report(_exceptionable, {
3642
+ path: _path + ".size",
3643
+ expected: "(number | undefined)",
3644
+ value: input.size
3645
+ }), undefined === input.filesCount || "number" === typeof input.filesCount || _report(_exceptionable, {
3646
+ path: _path + ".filesCount",
3647
+ expected: "(number | undefined)",
3648
+ value: input.filesCount
3649
+ }), undefined === input.replicasCount || "number" === typeof input.replicasCount || _report(_exceptionable, {
3650
+ path: _path + ".replicasCount",
3651
+ expected: "(number | undefined)",
3652
+ value: input.replicasCount
3653
+ }), undefined === input.locationsCount || "number" === typeof input.locationsCount || _report(_exceptionable, {
3654
+ path: _path + ".locationsCount",
3655
+ expected: "(number | undefined)",
3656
+ value: input.locationsCount
3657
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
3658
+ const value = input[key];
3659
+ if (undefined === value)
3660
+ return true;
3661
+ return "number" === typeof value || _report(_exceptionable, {
3662
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
3663
+ expected: "number",
3664
+ value: value
3665
+ });
3666
+ }).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.gte || _report(_exceptionable, {
3667
+ path: _path + ".gte",
3668
+ expected: "string",
3669
+ value: input.gte
3670
+ }), null === input.lte || "string" === typeof input.lte || _report(_exceptionable, {
3671
+ path: _path + ".lte",
3672
+ expected: "(null | string)",
3673
+ value: input.lte
3674
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.gte || _report(_exceptionable, {
3675
+ path: _path + ".gte",
3676
+ expected: "string",
3677
+ value: input.gte
3678
+ }), "string" === typeof input.lte || _report(_exceptionable, {
3679
+ path: _path + ".lte",
3680
+ expected: "string",
3681
+ value: input.lte
3682
+ })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.gte || _report(_exceptionable, {
3683
+ path: _path + ".gte",
3684
+ expected: "string",
3685
+ value: input.gte
3686
+ }), null === input.lte || "string" === typeof input.lte || _report(_exceptionable, {
3687
+ path: _path + ".lte",
3688
+ expected: "(null | string)",
3689
+ value: input.lte
3690
+ })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
3691
+ path: _path + ".type",
3692
+ expected: "(string | undefined)",
3693
+ value: input.type
3694
+ }), undefined === input.sources || (Array.isArray(input.sources) || _report(_exceptionable, {
3695
+ path: _path + ".sources",
3696
+ expected: "(Array<string> | undefined)",
3697
+ value: input.sources
3698
+ })) && input.sources.map((elem, _index35) => "string" === typeof elem || _report(_exceptionable, {
3699
+ path: _path + ".sources[" + _index35 + "]",
2864
3700
  expected: "string",
2865
3701
  value: elem
2866
3702
  })).every(flag => flag) || _report(_exceptionable, {
2867
- path: _path + ".value",
3703
+ path: _path + ".sources",
2868
3704
  expected: "(Array<string> | undefined)",
2869
- value: input.value
2870
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
2871
- if (false === __is(input)) {
2872
- errors = [];
2873
- _report = __typia_transform__validateReport._validateReport(errors);
2874
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
2875
- path: _path + "",
2876
- expected: "AssetDomainEmbeddingProvidedRecord",
2877
- value: input
2878
- })) && _vo0(input, _path + "", true) || _report(true, {
2879
- path: _path + "",
2880
- expected: "AssetDomainEmbeddingProvidedRecord",
2881
- value: input
2882
- }))(input, "$input", true);
2883
- const success = 0 === errors.length;
2884
- return success ? {
2885
- success,
2886
- data: input
2887
- } : {
2888
- success,
2889
- errors,
2890
- data: input
2891
- };
2892
- }
2893
- return {
2894
- success: true,
2895
- data: input
2896
- };
2897
- }; })()(input);
2898
- }
2899
- case ":asset.media?": {
2900
- return (() => { const _io0 = input => Object.keys(input).every(key => {
2901
- const value = input[key];
2902
- if (undefined === value)
2903
- return true;
2904
- return true;
2905
- }); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
2906
- const value = input[key];
2907
- if (undefined === value)
2908
- return true;
2909
- return true;
2910
- }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
2911
- if (false === __is(input)) {
2912
- errors = [];
2913
- _report = __typia_transform__validateReport._validateReport(errors);
2914
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
2915
- path: _path + "",
2916
- expected: "AssetDomainMediaProvidedRecord",
2917
- value: input
2918
- })) && _vo0(input, _path + "", true) || _report(true, {
2919
- path: _path + "",
2920
- expected: "AssetDomainMediaProvidedRecord",
2921
- value: input
2922
- }))(input, "$input", true);
2923
- const success = 0 === errors.length;
2924
- return success ? {
2925
- success,
2926
- data: input
2927
- } : {
2928
- success,
2929
- errors,
2930
- data: input
2931
- };
2932
- }
2933
- return {
2934
- success: true,
2935
- data: input
2936
- };
2937
- }; })()(input);
2938
- }
2939
- case ":asset.presence?": {
2940
- return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
2941
- path: _path + ".value",
3705
+ value: input.sources
3706
+ }), undefined === input.routes || (Array.isArray(input.routes) || _report(_exceptionable, {
3707
+ path: _path + ".routes",
2942
3708
  expected: "(Array<string> | undefined)",
2943
- value: input.value
2944
- })) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
2945
- path: _path + ".value[" + _index2 + "]",
3709
+ value: input.routes
3710
+ })) && input.routes.map((elem, _index36) => "string" === typeof elem || _report(_exceptionable, {
3711
+ path: _path + ".routes[" + _index36 + "]",
2946
3712
  expected: "string",
2947
3713
  value: elem
2948
3714
  })).every(flag => flag) || _report(_exceptionable, {
2949
- path: _path + ".value",
3715
+ path: _path + ".routes",
2950
3716
  expected: "(Array<string> | undefined)",
2951
- value: input.value
2952
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
2953
- if (false === __is(input)) {
2954
- errors = [];
2955
- _report = __typia_transform__validateReport._validateReport(errors);
2956
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
2957
- path: _path + "",
2958
- expected: "AssetDomainPresenceProvidedRecord",
2959
- value: input
2960
- })) && _vo0(input, _path + "", true) || _report(true, {
2961
- path: _path + "",
2962
- expected: "AssetDomainPresenceProvidedRecord",
2963
- value: input
2964
- }))(input, "$input", true);
2965
- const success = 0 === errors.length;
2966
- return success ? {
2967
- success,
2968
- data: input
2969
- } : {
2970
- success,
2971
- errors,
2972
- data: input
2973
- };
2974
- }
2975
- return {
2976
- success: true,
2977
- data: input
2978
- };
2979
- }; })()(input);
2980
- }
2981
- case ":asset.comments?": {
2982
- return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
2983
- path: _path + ".value",
3717
+ value: input.routes
3718
+ })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
3719
+ path: _path + ".content",
3720
+ expected: "(string | undefined)",
3721
+ value: input.content
3722
+ }), undefined === input.graphics || (Array.isArray(input.graphics) || _report(_exceptionable, {
3723
+ path: _path + ".graphics",
2984
3724
  expected: "(Array<string> | undefined)",
2985
- value: input.value
2986
- })) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
2987
- path: _path + ".value[" + _index2 + "]",
3725
+ value: input.graphics
3726
+ })) && input.graphics.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
3727
+ path: _path + ".graphics[" + _index37 + "]",
2988
3728
  expected: "string",
2989
3729
  value: elem
2990
3730
  })).every(flag => flag) || _report(_exceptionable, {
2991
- path: _path + ".value",
3731
+ path: _path + ".graphics",
2992
3732
  expected: "(Array<string> | undefined)",
2993
- value: input.value
2994
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
3733
+ value: input.graphics
3734
+ })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.content || Array.isArray(input.content) || _report(_exceptionable, {
3735
+ path: _path + ".content",
3736
+ expected: "(Array<unknown> | undefined)",
3737
+ value: input.content
3738
+ })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [true, true, true, true, true].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [(Array.isArray(input.vector) || _report(_exceptionable, {
3739
+ path: _path + ".vector",
3740
+ expected: "Array<number>",
3741
+ value: input.vector
3742
+ })) && input.vector.map((elem, _index38) => "number" === typeof elem || _report(_exceptionable, {
3743
+ path: _path + ".vector[" + _index38 + "]",
3744
+ expected: "number",
3745
+ value: elem
3746
+ })).every(flag => flag) || _report(_exceptionable, {
3747
+ path: _path + ".vector",
3748
+ expected: "Array<number>",
3749
+ value: input.vector
3750
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
2995
3751
  if (false === __is(input)) {
2996
3752
  errors = [];
2997
3753
  _report = __typia_transform__validateReport._validateReport(errors);
2998
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
3754
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
2999
3755
  path: _path + "",
3000
- expected: "AssetCommentsRecord",
3756
+ expected: "AssetRecordProvidedRecord",
3001
3757
  value: input
3002
3758
  })) && _vo0(input, _path + "", true) || _report(true, {
3003
3759
  path: _path + "",
3004
- expected: "AssetCommentsRecord",
3760
+ expected: "AssetRecordProvidedRecord",
3005
3761
  value: input
3006
3762
  }))(input, "$input", true);
3007
3763
  const success = 0 === errors.length;
@@ -6203,13 +6959,109 @@ function _validateDomainRecord(domain, input) {
6203
6959
  if (false === __is(input)) {
6204
6960
  errors = [];
6205
6961
  _report = __typia_transform__validateReport._validateReport(errors);
6206
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
6962
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
6963
+ path: _path + "",
6964
+ expected: "ContactRecord",
6965
+ value: input
6966
+ })) && _vo0(input, _path + "", true) || _report(true, {
6967
+ path: _path + "",
6968
+ expected: "ContactRecord",
6969
+ value: input
6970
+ }))(input, "$input", true);
6971
+ const success = 0 === errors.length;
6972
+ return success ? {
6973
+ success,
6974
+ data: input
6975
+ } : {
6976
+ success,
6977
+ errors,
6978
+ data: input
6979
+ };
6980
+ }
6981
+ return {
6982
+ success: true,
6983
+ data: input
6984
+ };
6985
+ }; })()(input);
6986
+ }
6987
+ case ":deepstream.replicate": {
6988
+ return (() => { const _io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since) && (undefined === input.version || "number" === typeof input.version); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.synced || "boolean" === typeof input.synced || _report(_exceptionable, {
6989
+ path: _path + ".synced",
6990
+ expected: "(boolean | undefined)",
6991
+ value: input.synced
6992
+ }), null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since || _report(_exceptionable, {
6993
+ path: _path + ".since",
6994
+ expected: "(0 | null | string | undefined)",
6995
+ value: input.since
6996
+ }), undefined === input.version || "number" === typeof input.version || _report(_exceptionable, {
6997
+ path: _path + ".version",
6998
+ expected: "(number | undefined)",
6999
+ value: input.version
7000
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
7001
+ if (false === __is(input)) {
7002
+ errors = [];
7003
+ _report = __typia_transform__validateReport._validateReport(errors);
7004
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
7005
+ path: _path + "",
7006
+ expected: "DeepstreamDomainReplicateRecord",
7007
+ value: input
7008
+ })) && _vo0(input, _path + "", true) || _report(true, {
7009
+ path: _path + "",
7010
+ expected: "DeepstreamDomainReplicateRecord",
7011
+ value: input
7012
+ }))(input, "$input", true);
7013
+ const success = 0 === errors.length;
7014
+ return success ? {
7015
+ success,
7016
+ data: input
7017
+ } : {
7018
+ success,
7019
+ errors,
7020
+ data: input
7021
+ };
7022
+ }
7023
+ return {
7024
+ success: true,
7025
+ data: input
7026
+ };
7027
+ }; })()(input);
7028
+ }
7029
+ case ":design?": {
7030
+ return (() => { const _io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.key && true; const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.rows) || _report(_exceptionable, {
7031
+ path: _path + ".rows",
7032
+ expected: "Array<DesignViewRow<string, string, unknown>>",
7033
+ value: input.rows
7034
+ })) && input.rows.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
7035
+ path: _path + ".rows[" + _index2 + "]",
7036
+ expected: "DesignViewRow<string, string, unknown>",
7037
+ value: elem
7038
+ })) && _vo1(elem, _path + ".rows[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
7039
+ path: _path + ".rows[" + _index2 + "]",
7040
+ expected: "DesignViewRow<string, string, unknown>",
7041
+ value: elem
7042
+ })).every(flag => flag) || _report(_exceptionable, {
7043
+ path: _path + ".rows",
7044
+ expected: "Array<DesignViewRow<string, string, unknown>>",
7045
+ value: input.rows
7046
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
7047
+ path: _path + ".id",
7048
+ expected: "string",
7049
+ value: input.id
7050
+ }), "string" === typeof input.key || _report(_exceptionable, {
7051
+ path: _path + ".key",
7052
+ expected: "string",
7053
+ value: input.key
7054
+ }), true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
7055
+ if (false === __is(input)) {
7056
+ errors = [];
7057
+ _report = __typia_transform__validateReport._validateReport(errors);
7058
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
6207
7059
  path: _path + "",
6208
- expected: "ContactRecord",
7060
+ expected: "DesignDomainRecord<string, string, unknown>",
6209
7061
  value: input
6210
7062
  })) && _vo0(input, _path + "", true) || _report(true, {
6211
7063
  path: _path + "",
6212
- expected: "ContactRecord",
7064
+ expected: "DesignDomainRecord<string, string, unknown>",
6213
7065
  value: input
6214
7066
  }))(input, "$input", true);
6215
7067
  const success = 0 === errors.length;
@@ -6228,30 +7080,38 @@ function _validateDomainRecord(domain, input) {
6228
7080
  };
6229
7081
  }; })()(input);
6230
7082
  }
6231
- case ":deepstream.replicate": {
6232
- return (() => { const _io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since) && (undefined === input.version || "number" === typeof input.version); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.synced || "boolean" === typeof input.synced || _report(_exceptionable, {
6233
- path: _path + ".synced",
6234
- expected: "(boolean | undefined)",
6235
- value: input.synced
6236
- }), null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since || _report(_exceptionable, {
6237
- path: _path + ".since",
6238
- expected: "(0 | null | string | undefined)",
6239
- value: input.since
6240
- }), undefined === input.version || "number" === typeof input.version || _report(_exceptionable, {
6241
- path: _path + ".version",
6242
- expected: "(number | undefined)",
6243
- value: input.version
7083
+ case ":device": {
7084
+ 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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "display" === input.type || _report(_exceptionable, {
7085
+ path: _path + ".type",
7086
+ expected: "(\"display\" | undefined)",
7087
+ value: input.type
7088
+ }), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
7089
+ path: _path + ".display",
7090
+ expected: "(__type | undefined)",
7091
+ value: input.display
7092
+ })) && _vo1(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
7093
+ path: _path + ".display",
7094
+ expected: "(__type | undefined)",
7095
+ value: input.display
7096
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.activeAsset || "string" === typeof input.activeAsset || _report(_exceptionable, {
7097
+ path: _path + ".activeAsset",
7098
+ expected: "(string | undefined)",
7099
+ value: input.activeAsset
7100
+ }), undefined === input.editor || "string" === typeof input.editor || _report(_exceptionable, {
7101
+ path: _path + ".editor",
7102
+ expected: "(string | undefined)",
7103
+ value: input.editor
6244
7104
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
6245
7105
  if (false === __is(input)) {
6246
7106
  errors = [];
6247
7107
  _report = __typia_transform__validateReport._validateReport(errors);
6248
7108
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
6249
7109
  path: _path + "",
6250
- expected: "DeepstreamDomainReplicateRecord",
7110
+ expected: "DeviceDomainRecord",
6251
7111
  value: input
6252
7112
  })) && _vo0(input, _path + "", true) || _report(true, {
6253
7113
  path: _path + "",
6254
- expected: "DeepstreamDomainReplicateRecord",
7114
+ expected: "DeviceDomainRecord",
6255
7115
  value: input
6256
7116
  }))(input, "$input", true);
6257
7117
  const success = 0 === errors.length;
@@ -6270,42 +7130,30 @@ function _validateDomainRecord(domain, input) {
6270
7130
  };
6271
7131
  }; })()(input);
6272
7132
  }
6273
- case ":design?": {
6274
- return (() => { const _io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.key && true; const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.rows) || _report(_exceptionable, {
6275
- path: _path + ".rows",
6276
- expected: "Array<DesignViewRow<string, string, unknown>>",
6277
- value: input.rows
6278
- })) && input.rows.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
6279
- path: _path + ".rows[" + _index2 + "]",
6280
- expected: "DesignViewRow<string, string, unknown>",
6281
- value: elem
6282
- })) && _vo1(elem, _path + ".rows[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
6283
- path: _path + ".rows[" + _index2 + "]",
6284
- expected: "DesignViewRow<string, string, unknown>",
6285
- value: elem
6286
- })).every(flag => flag) || _report(_exceptionable, {
6287
- path: _path + ".rows",
6288
- expected: "Array<DesignViewRow<string, string, unknown>>",
6289
- value: input.rows
6290
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
6291
- path: _path + ".id",
6292
- expected: "string",
6293
- value: input.id
6294
- }), "string" === typeof input.key || _report(_exceptionable, {
6295
- path: _path + ".key",
6296
- expected: "string",
6297
- value: input.key
6298
- }), true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
7133
+ case ":device.status?": {
7134
+ 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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.since || "string" === typeof input.since || _report(_exceptionable, {
7135
+ path: _path + ".since",
7136
+ expected: "(string | undefined)",
7137
+ value: input.since
7138
+ }), undefined === input.heartbeat || "string" === typeof input.heartbeat || _report(_exceptionable, {
7139
+ path: _path + ".heartbeat",
7140
+ expected: "(string | undefined)",
7141
+ value: input.heartbeat
7142
+ }), undefined === input.version || "string" === typeof input.version || _report(_exceptionable, {
7143
+ path: _path + ".version",
7144
+ expected: "(string | undefined)",
7145
+ value: input.version
7146
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
6299
7147
  if (false === __is(input)) {
6300
7148
  errors = [];
6301
7149
  _report = __typia_transform__validateReport._validateReport(errors);
6302
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
7150
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
6303
7151
  path: _path + "",
6304
- expected: "DesignDomainRecord<string, string, unknown>",
7152
+ expected: "DeviceDomainStatusRecord",
6305
7153
  value: input
6306
7154
  })) && _vo0(input, _path + "", true) || _report(true, {
6307
7155
  path: _path + "",
6308
- expected: "DesignDomainRecord<string, string, unknown>",
7156
+ expected: "DeviceDomainStatusRecord",
6309
7157
  value: input
6310
7158
  }))(input, "$input", true);
6311
7159
  const success = 0 === errors.length;
@@ -8045,6 +8893,220 @@ function _validateDomainRecord(domain, input) {
8045
8893
  };
8046
8894
  }; })()(input);
8047
8895
  }
8896
+ case ":ingestschedule": {
8897
+ 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 => {
8898
+ const value = input[key];
8899
+ if (undefined === value)
8900
+ return true;
8901
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
8902
+ }); 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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.io || ("object" === typeof input.io && null !== input.io && false === Array.isArray(input.io) || _report(_exceptionable, {
8903
+ path: _path + ".io",
8904
+ expected: "(__type | undefined)",
8905
+ value: input.io
8906
+ })) && _vo1(input.io, _path + ".io", true && _exceptionable) || _report(_exceptionable, {
8907
+ path: _path + ".io",
8908
+ expected: "(__type | undefined)",
8909
+ value: input.io
8910
+ }), undefined === input.sourcesHint || "string" === typeof input.sourcesHint || _report(_exceptionable, {
8911
+ path: _path + ".sourcesHint",
8912
+ expected: "(string | undefined)",
8913
+ value: input.sourcesHint
8914
+ }), undefined === input.enabled || "boolean" === typeof input.enabled || _report(_exceptionable, {
8915
+ path: _path + ".enabled",
8916
+ expected: "(boolean | undefined)",
8917
+ value: input.enabled
8918
+ }), (null !== input.clipname || _report(_exceptionable, {
8919
+ path: _path + ".clipname",
8920
+ expected: "(__type.o1 | string | undefined)",
8921
+ value: input.clipname
8922
+ })) && (undefined === input.clipname || "string" === typeof input.clipname || ("object" === typeof input.clipname && null !== input.clipname || _report(_exceptionable, {
8923
+ path: _path + ".clipname",
8924
+ expected: "(__type.o1 | string | undefined)",
8925
+ value: input.clipname
8926
+ })) && _vo3(input.clipname, _path + ".clipname", true && _exceptionable) || _report(_exceptionable, {
8927
+ path: _path + ".clipname",
8928
+ expected: "(__type.o1 | string | undefined)",
8929
+ value: input.clipname
8930
+ })), undefined === input.autoTags || (Array.isArray(input.autoTags) || _report(_exceptionable, {
8931
+ path: _path + ".autoTags",
8932
+ expected: "(Array<string> | undefined)",
8933
+ value: input.autoTags
8934
+ })) && input.autoTags.map((elem, _index4) => "string" === typeof elem || _report(_exceptionable, {
8935
+ path: _path + ".autoTags[" + _index4 + "]",
8936
+ expected: "string",
8937
+ value: elem
8938
+ })).every(flag => flag) || _report(_exceptionable, {
8939
+ path: _path + ".autoTags",
8940
+ expected: "(Array<string> | undefined)",
8941
+ value: input.autoTags
8942
+ }), null === input.storyboard || undefined === input.storyboard || "string" === typeof input.storyboard || _report(_exceptionable, {
8943
+ path: _path + ".storyboard",
8944
+ expected: "(null | string | undefined)",
8945
+ value: input.storyboard
8946
+ }), null === input.pipeline || undefined === input.pipeline || "string" === typeof input.pipeline || _report(_exceptionable, {
8947
+ path: _path + ".pipeline",
8948
+ expected: "(null | string | undefined)",
8949
+ value: input.pipeline
8950
+ }), undefined === input.type || "instant" === input.type || "repeat" === input.type || "salami" === input.type || _report(_exceptionable, {
8951
+ path: _path + ".type",
8952
+ expected: "(\"instant\" | \"repeat\" | \"salami\" | undefined)",
8953
+ value: input.type
8954
+ }), undefined === input.salami || ("object" === typeof input.salami && null !== input.salami && false === Array.isArray(input.salami) || _report(_exceptionable, {
8955
+ path: _path + ".salami",
8956
+ expected: "(__type.o2 | undefined)",
8957
+ value: input.salami
8958
+ })) && _vo5(input.salami, _path + ".salami", true && _exceptionable) || _report(_exceptionable, {
8959
+ path: _path + ".salami",
8960
+ expected: "(__type.o2 | undefined)",
8961
+ value: input.salami
8962
+ }), undefined === input.repeat || ("object" === typeof input.repeat && null !== input.repeat && false === Array.isArray(input.repeat) || _report(_exceptionable, {
8963
+ path: _path + ".repeat",
8964
+ expected: "(IngestScheduleRepeat | undefined)",
8965
+ value: input.repeat
8966
+ })) && _vo6(input.repeat, _path + ".repeat", true && _exceptionable) || _report(_exceptionable, {
8967
+ path: _path + ".repeat",
8968
+ expected: "(IngestScheduleRepeat | undefined)",
8969
+ value: input.repeat
8970
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
8971
+ const value = input[key];
8972
+ if (undefined === value)
8973
+ return true;
8974
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
8975
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8976
+ expected: "IngestIo",
8977
+ value: value
8978
+ })) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8979
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8980
+ expected: "IngestIo",
8981
+ value: value
8982
+ });
8983
+ }).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.route || "string" === typeof input.route || _report(_exceptionable, {
8984
+ path: _path + ".route",
8985
+ expected: "(string | undefined)",
8986
+ value: input.route
8987
+ }), undefined === input.publish || (Array.isArray(input.publish) || _report(_exceptionable, {
8988
+ path: _path + ".publish",
8989
+ expected: "(Array<string> | undefined)",
8990
+ value: input.publish
8991
+ })) && input.publish.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
8992
+ path: _path + ".publish[" + _index5 + "]",
8993
+ expected: "string",
8994
+ value: elem
8995
+ })).every(flag => flag) || _report(_exceptionable, {
8996
+ path: _path + ".publish",
8997
+ expected: "(Array<string> | undefined)",
8998
+ value: input.publish
8999
+ })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || _report(_exceptionable, {
9000
+ path: _path + ".__context",
9001
+ expected: "object",
9002
+ value: input.__context
9003
+ })) && _vo4(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
9004
+ path: _path + ".__context",
9005
+ expected: "object",
9006
+ value: input.__context
9007
+ }), "string" === typeof input.__returnValue || _report(_exceptionable, {
9008
+ path: _path + ".__returnValue",
9009
+ expected: "string",
9010
+ value: input.__returnValue
9011
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => true; const _vo5 = (input, _path, _exceptionable = true) => [null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery || _report(_exceptionable, {
9012
+ path: _path + ".gallery",
9013
+ expected: "(null | string | undefined)",
9014
+ value: input.gallery
9015
+ }), undefined === input.tag || "string" === typeof input.tag || _report(_exceptionable, {
9016
+ path: _path + ".tag",
9017
+ expected: "(string | undefined)",
9018
+ value: input.tag
9019
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.freq || 0 === input.freq || 2 === input.freq || 3 === input.freq || _report(_exceptionable, {
9020
+ path: _path + ".freq",
9021
+ expected: "(0 | 2 | 3 | undefined)",
9022
+ value: input.freq
9023
+ }), undefined === input.until || "string" === typeof input.until || _report(_exceptionable, {
9024
+ path: _path + ".until",
9025
+ expected: "(string | undefined)",
9026
+ value: input.until
9027
+ }), undefined === input.start || "string" === typeof input.start || _report(_exceptionable, {
9028
+ path: _path + ".start",
9029
+ expected: "(string | undefined)",
9030
+ value: input.start
9031
+ }), undefined === input.tzid || "string" === typeof input.tzid || _report(_exceptionable, {
9032
+ path: _path + ".tzid",
9033
+ expected: "(string | undefined)",
9034
+ value: input.tzid
9035
+ }), undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
9036
+ path: _path + ".duration",
9037
+ expected: "(number | undefined)",
9038
+ value: input.duration
9039
+ }), undefined === input.byweekday || (Array.isArray(input.byweekday) || _report(_exceptionable, {
9040
+ path: _path + ".byweekday",
9041
+ expected: "(Array<number> | undefined)",
9042
+ value: input.byweekday
9043
+ })) && input.byweekday.map((elem, _index6) => "number" === typeof elem || _report(_exceptionable, {
9044
+ path: _path + ".byweekday[" + _index6 + "]",
9045
+ expected: "number",
9046
+ value: elem
9047
+ })).every(flag => flag) || _report(_exceptionable, {
9048
+ path: _path + ".byweekday",
9049
+ expected: "(Array<number> | undefined)",
9050
+ value: input.byweekday
9051
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
9052
+ if (false === __is(input)) {
9053
+ errors = [];
9054
+ _report = __typia_transform__validateReport._validateReport(errors);
9055
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
9056
+ path: _path + "",
9057
+ expected: "IngestScheduleDomainRecord",
9058
+ value: input
9059
+ })) && _vo0(input, _path + "", true) || _report(true, {
9060
+ path: _path + "",
9061
+ expected: "IngestScheduleDomainRecord",
9062
+ value: input
9063
+ }))(input, "$input", true);
9064
+ const success = 0 === errors.length;
9065
+ return success ? {
9066
+ success,
9067
+ data: input
9068
+ } : {
9069
+ success,
9070
+ errors,
9071
+ data: input
9072
+ };
9073
+ }
9074
+ return {
9075
+ success: true,
9076
+ data: input
9077
+ };
9078
+ }; })()(input);
9079
+ }
9080
+ case ":ingestschedule.stats?": {
9081
+ return (() => { const _io0 = input => true; const _vo0 = (input, _path, _exceptionable = true) => [true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
9082
+ if (false === __is(input)) {
9083
+ errors = [];
9084
+ _report = __typia_transform__validateReport._validateReport(errors);
9085
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
9086
+ path: _path + "",
9087
+ expected: "IngestScheduleDomainStatsRecord",
9088
+ value: input
9089
+ })) && _vo0(input, _path + "", true) || _report(true, {
9090
+ path: _path + "",
9091
+ expected: "IngestScheduleDomainStatsRecord",
9092
+ value: input
9093
+ }))(input, "$input", true);
9094
+ const success = 0 === errors.length;
9095
+ return success ? {
9096
+ success,
9097
+ data: input
9098
+ } : {
9099
+ success,
9100
+ errors,
9101
+ data: input
9102
+ };
9103
+ }
9104
+ return {
9105
+ success: true,
9106
+ data: input
9107
+ };
9108
+ }; })()(input);
9109
+ }
8048
9110
  case ":media.source": {
8049
9111
  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 => {
8050
9112
  const value = input[key];
@@ -9717,13 +10779,47 @@ function _validateDomainRecord(domain, input) {
9717
10779
  };
9718
10780
  }; })()(input);
9719
10781
  }
10782
+ case ":note": {
10783
+ return (() => { const _io0 = input => "string" === typeof input.value; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.value || _report(_exceptionable, {
10784
+ path: _path + ".value",
10785
+ expected: "string",
10786
+ value: input.value
10787
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
10788
+ if (false === __is(input)) {
10789
+ errors = [];
10790
+ _report = __typia_transform__validateReport._validateReport(errors);
10791
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
10792
+ path: _path + "",
10793
+ expected: "NoteDomainRecord",
10794
+ value: input
10795
+ })) && _vo0(input, _path + "", true) || _report(true, {
10796
+ path: _path + "",
10797
+ expected: "NoteDomainRecord",
10798
+ value: input
10799
+ }))(input, "$input", true);
10800
+ const success = 0 === errors.length;
10801
+ return success ? {
10802
+ success,
10803
+ data: input
10804
+ } : {
10805
+ success,
10806
+ errors,
10807
+ data: input
10808
+ };
10809
+ }
10810
+ return {
10811
+ success: true,
10812
+ data: input
10813
+ };
10814
+ }; })()(input);
10815
+ }
9720
10816
  case ":panel": {
9721
10817
  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 => {
9722
10818
  const value = input[key];
9723
10819
  if (undefined === value)
9724
10820
  return true;
9725
10821
  return "object" === typeof value && null !== value && _io2(value);
9726
- }); 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 || "assetTypes" === input.widget || "assetTags" === input.widget || "geopoint" === input.widget || "poster" === input.widget || "textarea" === input.widget || "tags" === input.widget || "object" === typeof input.widget && null !== input.widget && _io9(input.widget))); const _io9 = input => ("default" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type || "tags" === input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _iu0 = input => (() => {
10822
+ }); 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 => (() => {
9727
10823
  if (undefined !== input.type)
9728
10824
  return _io7(input);
9729
10825
  else if (undefined !== input.property)
@@ -9780,11 +10876,11 @@ function _validateDomainRecord(domain, input) {
9780
10876
  return true;
9781
10877
  return ("object" === typeof value && null !== value || _report(_exceptionable, {
9782
10878
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9783
- expected: "PanelProperty",
10879
+ expected: "PanelProperty<unknown>",
9784
10880
  value: value
9785
10881
  })) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9786
10882
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9787
- expected: "PanelProperty",
10883
+ expected: "PanelProperty<unknown>",
9788
10884
  value: value
9789
10885
  });
9790
10886
  }).every(flag => flag)].every(flag => flag); const _vo2 = (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 || _report(_exceptionable, {
@@ -9851,6 +10947,10 @@ function _validateDomainRecord(domain, input) {
9851
10947
  path: _path + ".anyOf",
9852
10948
  expected: "(Array<__type>.o1 | undefined)",
9853
10949
  value: input.anyOf
10950
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
10951
+ path: _path + "[\"enum\"]",
10952
+ expected: "(Array<unknown> | undefined)",
10953
+ value: input["enum"]
9854
10954
  })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
9855
10955
  path: _path + ".label",
9856
10956
  expected: "string",
@@ -9919,7 +11019,7 @@ function _validateDomainRecord(domain, input) {
9919
11019
  path: _path + ".widget",
9920
11020
  expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
9921
11021
  value: input.widget
9922
- })) && (undefined === input.widget || "default" === input.widget || "assetTypes" === input.widget || "assetTags" === input.widget || "geopoint" === input.widget || "poster" === input.widget || "textarea" === input.widget || "tags" === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
11022
+ })) && (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 || _report(_exceptionable, {
9923
11023
  path: _path + ".widget",
9924
11024
  expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
9925
11025
  value: input.widget
@@ -9927,7 +11027,7 @@ function _validateDomainRecord(domain, input) {
9927
11027
  path: _path + ".widget",
9928
11028
  expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
9929
11029
  value: input.widget
9930
- }))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["default" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type || "tags" === input.type || _report(_exceptionable, {
11030
+ }))].every(flag => flag); const _vo9 = (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 || _report(_exceptionable, {
9931
11031
  path: _path + ".type",
9932
11032
  expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\")",
9933
11033
  value: input.type
@@ -14800,14 +15900,14 @@ function _validateDomainRecord(domain, input) {
14800
15900
  }; })()(input);
14801
15901
  }
14802
15902
  case ":settings": {
14803
- 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 _vv54 = 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 _vv58 = 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 => {
15903
+ 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 _vv54 = 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 _vv58 = 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 => {
14804
15904
  if (["settingsPanelStore"].some(prop => key === prop))
14805
15905
  return true;
14806
15906
  const value = input[key];
14807
15907
  if (undefined === value)
14808
15908
  return true;
14809
15909
  return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
14810
- }); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority); const _io5 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority); const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io19(input.layout)); const _io19 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io20 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io21(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io22(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io23(input.collapsedNodes)); const _io21 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io22 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io23 = input => Object.keys(input).every(key => {
15910
+ }); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io5 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io19(input.layout)); const _io19 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io20 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io21(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io22(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io23(input.collapsedNodes)); const _io21 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io22 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io23 = input => Object.keys(input).every(key => {
14811
15911
  const value = input[key];
14812
15912
  if (undefined === value)
14813
15913
  return true;
@@ -14877,7 +15977,7 @@ function _validateDomainRecord(domain, input) {
14877
15977
  if (undefined === value)
14878
15978
  return true;
14879
15979
  return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
14880
- }); 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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
15980
+ }); 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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
14881
15981
  path: _path + ".autoLogoutTime",
14882
15982
  expected: "(number | undefined)",
14883
15983
  value: input.autoLogoutTime
@@ -15177,6 +16277,22 @@ function _validateDomainRecord(domain, input) {
15177
16277
  path: _path + ".utilsAssetEditorPanel",
15178
16278
  expected: "(__type.o73 | undefined)",
15179
16279
  value: input.utilsAssetEditorPanel
16280
+ }), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
16281
+ path: _path + ".display",
16282
+ expected: "(__type.o74 | undefined)",
16283
+ value: input.display
16284
+ })) && _vo81(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
16285
+ path: _path + ".display",
16286
+ expected: "(__type.o74 | undefined)",
16287
+ value: input.display
16288
+ }), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
16289
+ path: _path + ".bookmarks",
16290
+ expected: "(__type.o75 | undefined)",
16291
+ value: input.bookmarks
16292
+ })) && _vo82(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
16293
+ path: _path + ".bookmarks",
16294
+ expected: "(__type.o75 | undefined)",
16295
+ value: input.bookmarks
15180
16296
  })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
15181
16297
  path: _path + ".overrideUserContact",
15182
16298
  expected: "(boolean | undefined)",
@@ -15232,6 +16348,10 @@ function _validateDomainRecord(domain, input) {
15232
16348
  path: _path + ".priority",
15233
16349
  expected: "(number | undefined)",
15234
16350
  value: input.priority
16351
+ }), null === input.height || undefined === input.height || "number" === typeof input.height || _report(_exceptionable, {
16352
+ path: _path + ".height",
16353
+ expected: "(null | number | undefined)",
16354
+ value: input.height
15235
16355
  })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab || _report(_exceptionable, {
15236
16356
  path: _path + ".activeTab",
15237
16357
  expected: "(null | string | undefined)",
@@ -15240,6 +16360,10 @@ function _validateDomainRecord(domain, input) {
15240
16360
  path: _path + ".priority",
15241
16361
  expected: "(number | undefined)",
15242
16362
  value: input.priority
16363
+ }), null === input.height || undefined === input.height || "number" === typeof input.height || _report(_exceptionable, {
16364
+ path: _path + ".height",
16365
+ expected: "(null | number | undefined)",
16366
+ value: input.height
15243
16367
  })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping || _report(_exceptionable, {
15244
16368
  path: _path + ".defaultGrouping",
15245
16369
  expected: "(\"\" | \"collection\" | \"stitch\" | undefined)",
@@ -16582,6 +17706,14 @@ function _validateDomainRecord(domain, input) {
16582
17706
  path: _path + ".parseRegex",
16583
17707
  expected: "(boolean | undefined)",
16584
17708
  value: input.parseRegex
17709
+ })].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
17710
+ path: _path + ".disableHotArea",
17711
+ expected: "(boolean | undefined)",
17712
+ value: input.disableHotArea
17713
+ })].every(flag => flag); const _vo82 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
17714
+ path: _path + ".refreshInterval",
17715
+ expected: "(number | undefined)",
17716
+ value: input.refreshInterval
16585
17717
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
16586
17718
  if (false === __is(input)) {
16587
17719
  errors = [];