@sjcrh/proteinpaint-types 2.85.0 → 2.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes.ts +182 -118
- package/package.json +4 -1
package/dist/routes.ts
CHANGED
|
@@ -46,7 +46,7 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
46
46
|
const errors = [] as any[];
|
|
47
47
|
const __is = (input: any): input is BrainImagingRequest => {
|
|
48
48
|
const $join = (createValidate as any).join;
|
|
49
|
-
const $io0 = (input: any): boolean => "string" === typeof input.genome && "string" === typeof input.dslabel && "string" === typeof input.refKey && (undefined === input.l || "string" === typeof input.l) && (undefined === input.f || "string" === typeof input.f) && (undefined === input.t || "string" === typeof input.t) && (Array.isArray(input.selectedSampleFileNames) && input.selectedSampleFileNames.every((elem: any) => "string" === typeof elem)) && (undefined === input.divideByTW || "object" === typeof input.divideByTW && null !== input.divideByTW && $io1(input.divideByTW)) && (undefined === input.overlayTW || "object" === typeof input.overlayTW && null !== input.overlayTW && $io1(input.overlayTW));
|
|
49
|
+
const $io0 = (input: any): boolean => "string" === typeof input.genome && "string" === typeof input.dslabel && "string" === typeof input.refKey && (undefined === input.l || "string" === typeof input.l) && (undefined === input.f || "string" === typeof input.f) && (undefined === input.t || "string" === typeof input.t) && (Array.isArray(input.selectedSampleFileNames) && input.selectedSampleFileNames.every((elem: any) => "string" === typeof elem)) && (undefined === input.divideByTW || "object" === typeof input.divideByTW && null !== input.divideByTW && $io1(input.divideByTW)) && (undefined === input.overlayTW || "object" === typeof input.overlayTW && null !== input.overlayTW && $io1(input.overlayTW)) && (undefined === input.legendFilter || Array.isArray(input.legendFilter) && input.legendFilter.every((elem: any) => "string" === typeof elem));
|
|
50
50
|
const $io1 = (input: any): boolean => (undefined === input.id || "string" === typeof input.id) && (undefined === input.$id || "string" === typeof input.$id) && (undefined === input.isAtomic || true === input.isAtomic) && true && (undefined === input.settings || "object" === typeof input.settings && null !== input.settings && false === Array.isArray(input.settings) && $io2(input.settings)) && true && (undefined === input.minNumSamples || "number" === typeof input.minNumSamples) && true && ("CatTWValues" === input.type || "CatTWPredefinedGS" === input.type || "CatTWCustomGS" === input.type) && ("object" === typeof input.q && null !== input.q && $iu4(input.q)) && ("object" === typeof input.term && null !== input.term && $io13(input.term));
|
|
51
51
|
const $io2 = (input: any): boolean => Object.keys(input).every((key: any) => {
|
|
52
52
|
const value = input[key];
|
|
@@ -247,6 +247,18 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
247
247
|
path: _path + ".overlayTW",
|
|
248
248
|
expected: "(CategoricalTW | undefined)",
|
|
249
249
|
value: input.overlayTW
|
|
250
|
+
}), undefined === input.legendFilter || (Array.isArray(input.legendFilter) || $report(_exceptionable, {
|
|
251
|
+
path: _path + ".legendFilter",
|
|
252
|
+
expected: "(Array<string> | undefined)",
|
|
253
|
+
value: input.legendFilter
|
|
254
|
+
})) && input.legendFilter.map((elem: any, _index2: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
255
|
+
path: _path + ".legendFilter[" + _index2 + "]",
|
|
256
|
+
expected: "string",
|
|
257
|
+
value: elem
|
|
258
|
+
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
259
|
+
path: _path + ".legendFilter",
|
|
260
|
+
expected: "(Array<string> | undefined)",
|
|
261
|
+
value: input.legendFilter
|
|
250
262
|
})].every((flag: boolean) => flag);
|
|
251
263
|
const $vo1 = (input: any, _path: string, _exceptionable: boolean = true): boolean => [undefined === input.id || "string" === typeof input.id || $report(_exceptionable, {
|
|
252
264
|
path: _path + ".id",
|
|
@@ -416,12 +428,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
416
428
|
path: _path + ".groups",
|
|
417
429
|
expected: "Array<GroupEntry>",
|
|
418
430
|
value: input.groups
|
|
419
|
-
})) && input.groups.map((elem: any,
|
|
420
|
-
path: _path + ".groups[" +
|
|
431
|
+
})) && input.groups.map((elem: any, _index3: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
432
|
+
path: _path + ".groups[" + _index3 + "]",
|
|
421
433
|
expected: "(FilterGroup | ValuesGroup)",
|
|
422
434
|
value: elem
|
|
423
|
-
})) && $vu0(elem, _path + ".groups[" +
|
|
424
|
-
path: _path + ".groups[" +
|
|
435
|
+
})) && $vu0(elem, _path + ".groups[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
436
|
+
path: _path + ".groups[" + _index3 + "]",
|
|
425
437
|
expected: "(FilterGroup | ValuesGroup)",
|
|
426
438
|
value: elem
|
|
427
439
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -441,12 +453,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
441
453
|
path: _path + ".values",
|
|
442
454
|
expected: "Array<__type>",
|
|
443
455
|
value: input.values
|
|
444
|
-
})) && input.values.map((elem: any,
|
|
445
|
-
path: _path + ".values[" +
|
|
456
|
+
})) && input.values.map((elem: any, _index4: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
457
|
+
path: _path + ".values[" + _index4 + "]",
|
|
446
458
|
expected: "__type.o1",
|
|
447
459
|
value: elem
|
|
448
|
-
})) && $vo9(elem, _path + ".values[" +
|
|
449
|
-
path: _path + ".values[" +
|
|
460
|
+
})) && $vo9(elem, _path + ".values[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
461
|
+
path: _path + ".values[" + _index4 + "]",
|
|
450
462
|
expected: "__type.o1",
|
|
451
463
|
value: elem
|
|
452
464
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -504,12 +516,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
504
516
|
path: _path + ".lst",
|
|
505
517
|
expected: "Array<Filter | Tvs>",
|
|
506
518
|
value: input.lst
|
|
507
|
-
})) && input.lst.map((elem: any,
|
|
508
|
-
path: _path + ".lst[" +
|
|
519
|
+
})) && input.lst.map((elem: any, _index5: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
520
|
+
path: _path + ".lst[" + _index5 + "]",
|
|
509
521
|
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
510
522
|
value: elem
|
|
511
|
-
})) && $vu1(elem, _path + ".lst[" +
|
|
512
|
-
path: _path + ".lst[" +
|
|
523
|
+
})) && $vu1(elem, _path + ".lst[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
524
|
+
path: _path + ".lst[" + _index5 + "]",
|
|
513
525
|
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
514
526
|
value: elem
|
|
515
527
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -541,12 +553,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
541
553
|
path: _path + ".values",
|
|
542
554
|
expected: "Array<BaseValue>",
|
|
543
555
|
value: input.values
|
|
544
|
-
})) && input.values.map((elem: any,
|
|
545
|
-
path: _path + ".values[" +
|
|
556
|
+
})) && input.values.map((elem: any, _index6: number) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
557
|
+
path: _path + ".values[" + _index6 + "]",
|
|
546
558
|
expected: "BaseValue",
|
|
547
559
|
value: elem
|
|
548
|
-
})) && $vo15(elem, _path + ".values[" +
|
|
549
|
-
path: _path + ".values[" +
|
|
560
|
+
})) && $vo15(elem, _path + ".values[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
561
|
+
path: _path + ".values[" + _index6 + "]",
|
|
550
562
|
expected: "BaseValue",
|
|
551
563
|
value: elem
|
|
552
564
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -570,8 +582,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
570
582
|
path: _path + ".child_types",
|
|
571
583
|
expected: "(Array<string> | undefined)",
|
|
572
584
|
value: input.child_types
|
|
573
|
-
})) && input.child_types.map((elem: any,
|
|
574
|
-
path: _path + ".child_types[" +
|
|
585
|
+
})) && input.child_types.map((elem: any, _index7: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
586
|
+
path: _path + ".child_types[" + _index7 + "]",
|
|
575
587
|
expected: "string",
|
|
576
588
|
value: elem
|
|
577
589
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -586,8 +598,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
586
598
|
path: _path + ".included_types",
|
|
587
599
|
expected: "(Array<string> | undefined)",
|
|
588
600
|
value: input.included_types
|
|
589
|
-
})) && input.included_types.map((elem: any,
|
|
590
|
-
path: _path + ".included_types[" +
|
|
601
|
+
})) && input.included_types.map((elem: any, _index8: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
602
|
+
path: _path + ".included_types[" + _index8 + "]",
|
|
591
603
|
expected: "string",
|
|
592
604
|
value: elem
|
|
593
605
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -682,12 +694,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
682
694
|
path: _path + ".lst",
|
|
683
695
|
expected: "Array<Groupset>",
|
|
684
696
|
value: input.lst
|
|
685
|
-
})) && input.lst.map((elem: any,
|
|
686
|
-
path: _path + ".lst[" +
|
|
697
|
+
})) && input.lst.map((elem: any, _index9: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
698
|
+
path: _path + ".lst[" + _index9 + "]",
|
|
687
699
|
expected: "Groupset",
|
|
688
700
|
value: elem
|
|
689
|
-
})) && $vo17(elem, _path + ".lst[" +
|
|
690
|
-
path: _path + ".lst[" +
|
|
701
|
+
})) && $vo17(elem, _path + ".lst[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
702
|
+
path: _path + ".lst[" + _index9 + "]",
|
|
691
703
|
expected: "Groupset",
|
|
692
704
|
value: elem
|
|
693
705
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -711,12 +723,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
711
723
|
path: _path + ".groups",
|
|
712
724
|
expected: "Array<GroupEntry>",
|
|
713
725
|
value: input.groups
|
|
714
|
-
})) && input.groups.map((elem: any,
|
|
715
|
-
path: _path + ".groups[" +
|
|
726
|
+
})) && input.groups.map((elem: any, _index10: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
727
|
+
path: _path + ".groups[" + _index10 + "]",
|
|
716
728
|
expected: "(FilterGroup | ValuesGroup)",
|
|
717
729
|
value: elem
|
|
718
|
-
})) && $vu0(elem, _path + ".groups[" +
|
|
719
|
-
path: _path + ".groups[" +
|
|
730
|
+
})) && $vu0(elem, _path + ".groups[" + _index10 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
731
|
+
path: _path + ".groups[" + _index10 + "]",
|
|
720
732
|
expected: "(FilterGroup | ValuesGroup)",
|
|
721
733
|
value: elem
|
|
722
734
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -761,12 +773,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
761
773
|
path: _path + ".ranges",
|
|
762
774
|
expected: "Array<NumericBin>",
|
|
763
775
|
value: input.ranges
|
|
764
|
-
})) && input.ranges.map((elem: any,
|
|
765
|
-
path: _path + ".ranges[" +
|
|
776
|
+
})) && input.ranges.map((elem: any, _index11: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
777
|
+
path: _path + ".ranges[" + _index11 + "]",
|
|
766
778
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
767
779
|
value: elem
|
|
768
|
-
})) && $vu2(elem, _path + ".ranges[" +
|
|
769
|
-
path: _path + ".ranges[" +
|
|
780
|
+
})) && $vu2(elem, _path + ".ranges[" + _index11 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
781
|
+
path: _path + ".ranges[" + _index11 + "]",
|
|
770
782
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
771
783
|
value: elem
|
|
772
784
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -777,12 +789,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
777
789
|
path: _path + ".values",
|
|
778
790
|
expected: "Array<__type>.o1",
|
|
779
791
|
value: input.values
|
|
780
|
-
})) && input.values.map((elem: any,
|
|
781
|
-
path: _path + ".values[" +
|
|
792
|
+
})) && input.values.map((elem: any, _index12: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
793
|
+
path: _path + ".values[" + _index12 + "]",
|
|
782
794
|
expected: "__type.o3",
|
|
783
795
|
value: elem
|
|
784
|
-
})) && $vo27(elem, _path + ".values[" +
|
|
785
|
-
path: _path + ".values[" +
|
|
796
|
+
})) && $vo27(elem, _path + ".values[" + _index12 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
797
|
+
path: _path + ".values[" + _index12 + "]",
|
|
786
798
|
expected: "__type.o3",
|
|
787
799
|
value: elem
|
|
788
800
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -806,8 +818,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
806
818
|
path: _path + ".child_types",
|
|
807
819
|
expected: "(Array<string> | undefined)",
|
|
808
820
|
value: input.child_types
|
|
809
|
-
})) && input.child_types.map((elem: any,
|
|
810
|
-
path: _path + ".child_types[" +
|
|
821
|
+
})) && input.child_types.map((elem: any, _index13: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
822
|
+
path: _path + ".child_types[" + _index13 + "]",
|
|
811
823
|
expected: "string",
|
|
812
824
|
value: elem
|
|
813
825
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -822,8 +834,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
822
834
|
path: _path + ".included_types",
|
|
823
835
|
expected: "(Array<string> | undefined)",
|
|
824
836
|
value: input.included_types
|
|
825
|
-
})) && input.included_types.map((elem: any,
|
|
826
|
-
path: _path + ".included_types[" +
|
|
837
|
+
})) && input.included_types.map((elem: any, _index14: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
838
|
+
path: _path + ".included_types[" + _index14 + "]",
|
|
827
839
|
expected: "string",
|
|
828
840
|
value: elem
|
|
829
841
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1070,12 +1082,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1070
1082
|
path: _path + ".lst",
|
|
1071
1083
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1072
1084
|
value: input.lst.slice(1)
|
|
1073
|
-
})) && input.lst.slice(1).map((elem: any,
|
|
1074
|
-
path: _path + ".lst[" + (1 +
|
|
1085
|
+
})) && input.lst.slice(1).map((elem: any, _index15: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
1086
|
+
path: _path + ".lst[" + (1 + _index15) + "]",
|
|
1075
1087
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1076
1088
|
value: elem
|
|
1077
|
-
})) && $vu2(elem, _path + ".lst[" + (1 +
|
|
1078
|
-
path: _path + ".lst[" + (1 +
|
|
1089
|
+
})) && $vu2(elem, _path + ".lst[" + (1 + _index15) + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
1090
|
+
path: _path + ".lst[" + (1 + _index15) + "]",
|
|
1079
1091
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1080
1092
|
value: elem
|
|
1081
1093
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1140,12 +1152,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1140
1152
|
path: _path + ".grade_and_child",
|
|
1141
1153
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1142
1154
|
value: input.grade_and_child
|
|
1143
|
-
})) && input.grade_and_child.map((elem: any,
|
|
1144
|
-
path: _path + ".grade_and_child[" +
|
|
1155
|
+
})) && input.grade_and_child.map((elem: any, _index16: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
1156
|
+
path: _path + ".grade_and_child[" + _index16 + "]",
|
|
1145
1157
|
expected: "GradeAndChildEntry",
|
|
1146
1158
|
value: elem
|
|
1147
|
-
})) && $vo30(elem, _path + ".grade_and_child[" +
|
|
1148
|
-
path: _path + ".grade_and_child[" +
|
|
1159
|
+
})) && $vo30(elem, _path + ".grade_and_child[" + _index16 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
1160
|
+
path: _path + ".grade_and_child[" + _index16 + "]",
|
|
1149
1161
|
expected: "GradeAndChildEntry",
|
|
1150
1162
|
value: elem
|
|
1151
1163
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1169,8 +1181,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1169
1181
|
path: _path + ".child_types",
|
|
1170
1182
|
expected: "(Array<string> | undefined)",
|
|
1171
1183
|
value: input.child_types
|
|
1172
|
-
})) && input.child_types.map((elem: any,
|
|
1173
|
-
path: _path + ".child_types[" +
|
|
1184
|
+
})) && input.child_types.map((elem: any, _index17: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
1185
|
+
path: _path + ".child_types[" + _index17 + "]",
|
|
1174
1186
|
expected: "string",
|
|
1175
1187
|
value: elem
|
|
1176
1188
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1185,8 +1197,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1185
1197
|
path: _path + ".included_types",
|
|
1186
1198
|
expected: "(Array<string> | undefined)",
|
|
1187
1199
|
value: input.included_types
|
|
1188
|
-
})) && input.included_types.map((elem: any,
|
|
1189
|
-
path: _path + ".included_types[" +
|
|
1200
|
+
})) && input.included_types.map((elem: any, _index18: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
1201
|
+
path: _path + ".included_types[" + _index18 + "]",
|
|
1190
1202
|
expected: "string",
|
|
1191
1203
|
value: elem
|
|
1192
1204
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1243,12 +1255,12 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1243
1255
|
path: _path + ".values",
|
|
1244
1256
|
expected: "Array<GeneVariantTvsValue>",
|
|
1245
1257
|
value: input.values
|
|
1246
|
-
})) && input.values.map((elem: any,
|
|
1247
|
-
path: _path + ".values[" +
|
|
1258
|
+
})) && input.values.map((elem: any, _index19: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
1259
|
+
path: _path + ".values[" + _index19 + "]",
|
|
1248
1260
|
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1249
1261
|
value: elem
|
|
1250
|
-
})) && $vu3(elem, _path + ".values[" +
|
|
1251
|
-
path: _path + ".values[" +
|
|
1262
|
+
})) && $vu3(elem, _path + ".values[" + _index19 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
1263
|
+
path: _path + ".values[" + _index19 + "]",
|
|
1252
1264
|
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1253
1265
|
value: elem
|
|
1254
1266
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1272,8 +1284,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1272
1284
|
path: _path + ".child_types",
|
|
1273
1285
|
expected: "(Array<string> | undefined)",
|
|
1274
1286
|
value: input.child_types
|
|
1275
|
-
})) && input.child_types.map((elem: any,
|
|
1276
|
-
path: _path + ".child_types[" +
|
|
1287
|
+
})) && input.child_types.map((elem: any, _index20: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
1288
|
+
path: _path + ".child_types[" + _index20 + "]",
|
|
1277
1289
|
expected: "string",
|
|
1278
1290
|
value: elem
|
|
1279
1291
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1288,8 +1300,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1288
1300
|
path: _path + ".included_types",
|
|
1289
1301
|
expected: "(Array<string> | undefined)",
|
|
1290
1302
|
value: input.included_types
|
|
1291
|
-
})) && input.included_types.map((elem: any,
|
|
1292
|
-
path: _path + ".included_types[" +
|
|
1303
|
+
})) && input.included_types.map((elem: any, _index21: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
1304
|
+
path: _path + ".included_types[" + _index21 + "]",
|
|
1293
1305
|
expected: "string",
|
|
1294
1306
|
value: elem
|
|
1295
1307
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1353,8 +1365,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1353
1365
|
path: _path + ".child_types",
|
|
1354
1366
|
expected: "(Array<string> | undefined)",
|
|
1355
1367
|
value: input.child_types
|
|
1356
|
-
})) && input.child_types.map((elem: any,
|
|
1357
|
-
path: _path + ".child_types[" +
|
|
1368
|
+
})) && input.child_types.map((elem: any, _index22: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
1369
|
+
path: _path + ".child_types[" + _index22 + "]",
|
|
1358
1370
|
expected: "string",
|
|
1359
1371
|
value: elem
|
|
1360
1372
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1369,8 +1381,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1369
1381
|
path: _path + ".included_types",
|
|
1370
1382
|
expected: "(Array<string> | undefined)",
|
|
1371
1383
|
value: input.included_types
|
|
1372
|
-
})) && input.included_types.map((elem: any,
|
|
1373
|
-
path: _path + ".included_types[" +
|
|
1384
|
+
})) && input.included_types.map((elem: any, _index23: number) => "string" === typeof elem || $report(_exceptionable, {
|
|
1385
|
+
path: _path + ".included_types[" + _index23 + "]",
|
|
1374
1386
|
expected: "string",
|
|
1375
1387
|
value: elem
|
|
1376
1388
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1422,8 +1434,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1422
1434
|
path: _path + ".mclassLst",
|
|
1423
1435
|
expected: "Array<SNVIndelClasses>",
|
|
1424
1436
|
value: input.mclassLst
|
|
1425
|
-
})) && input.mclassLst.map((elem: any,
|
|
1426
|
-
path: _path + ".mclassLst[" +
|
|
1437
|
+
})) && input.mclassLst.map((elem: any, _index24: number) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable, {
|
|
1438
|
+
path: _path + ".mclassLst[" + _index24 + "]",
|
|
1427
1439
|
expected: "(\"Blank\" | \"CLOSS\" | \"D\" | \"DEL\" | \"E\" | \"F\" | \"I\" | \"ITD\" | \"Intron\" | \"L\" | \"M\" | \"N\" | \"NLOSS\" | \"P\" | \"S\" | \"Utr3\" | \"Utr5\" | \"WT\" | \"X\" | \"noncoding\")",
|
|
1428
1440
|
value: elem
|
|
1429
1441
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1434,8 +1446,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1434
1446
|
path: _path + ".mclassExcludeLst",
|
|
1435
1447
|
expected: "Array<SNVIndelClasses>",
|
|
1436
1448
|
value: input.mclassExcludeLst
|
|
1437
|
-
})) && input.mclassExcludeLst.map((elem: any,
|
|
1438
|
-
path: _path + ".mclassExcludeLst[" +
|
|
1449
|
+
})) && input.mclassExcludeLst.map((elem: any, _index25: number) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable, {
|
|
1450
|
+
path: _path + ".mclassExcludeLst[" + _index25 + "]",
|
|
1439
1451
|
expected: "(\"Blank\" | \"CLOSS\" | \"D\" | \"DEL\" | \"E\" | \"F\" | \"I\" | \"ITD\" | \"Intron\" | \"L\" | \"M\" | \"N\" | \"NLOSS\" | \"P\" | \"S\" | \"Utr3\" | \"Utr5\" | \"WT\" | \"X\" | \"noncoding\")",
|
|
1440
1452
|
value: elem
|
|
1441
1453
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1455,8 +1467,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1455
1467
|
path: _path + ".mclassLst",
|
|
1456
1468
|
expected: "Array<CNVClasses>",
|
|
1457
1469
|
value: input.mclassLst
|
|
1458
|
-
})) && input.mclassLst.map((elem: any,
|
|
1459
|
-
path: _path + ".mclassLst[" +
|
|
1470
|
+
})) && input.mclassLst.map((elem: any, _index26: number) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable, {
|
|
1471
|
+
path: _path + ".mclassLst[" + _index26 + "]",
|
|
1460
1472
|
expected: "(\"Blank\" | \"CNV_amp\" | \"CNV_loh\" | \"CNV_losss\" | \"WT\")",
|
|
1461
1473
|
value: elem
|
|
1462
1474
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1467,8 +1479,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1467
1479
|
path: _path + ".mclassExcludeLst",
|
|
1468
1480
|
expected: "Array<CNVClasses>",
|
|
1469
1481
|
value: input.mclassExcludeLst
|
|
1470
|
-
})) && input.mclassExcludeLst.map((elem: any,
|
|
1471
|
-
path: _path + ".mclassExcludeLst[" +
|
|
1482
|
+
})) && input.mclassExcludeLst.map((elem: any, _index27: number) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable, {
|
|
1483
|
+
path: _path + ".mclassExcludeLst[" + _index27 + "]",
|
|
1472
1484
|
expected: "(\"Blank\" | \"CNV_amp\" | \"CNV_loh\" | \"CNV_losss\" | \"WT\")",
|
|
1473
1485
|
value: elem
|
|
1474
1486
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1488,8 +1500,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1488
1500
|
path: _path + ".mclassLst",
|
|
1489
1501
|
expected: "Array<SVClasses>",
|
|
1490
1502
|
value: input.mclassLst
|
|
1491
|
-
})) && input.mclassLst.map((elem: any,
|
|
1492
|
-
path: _path + ".mclassLst[" +
|
|
1503
|
+
})) && input.mclassLst.map((elem: any, _index28: number) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable, {
|
|
1504
|
+
path: _path + ".mclassLst[" + _index28 + "]",
|
|
1493
1505
|
expected: "(\"Blank\" | \"SV\" | \"WT\")",
|
|
1494
1506
|
value: elem
|
|
1495
1507
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1500,8 +1512,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1500
1512
|
path: _path + ".mclassExcludeLst",
|
|
1501
1513
|
expected: "Array<SVClasses>",
|
|
1502
1514
|
value: input.mclassExcludeLst
|
|
1503
|
-
})) && input.mclassExcludeLst.map((elem: any,
|
|
1504
|
-
path: _path + ".mclassExcludeLst[" +
|
|
1515
|
+
})) && input.mclassExcludeLst.map((elem: any, _index29: number) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable, {
|
|
1516
|
+
path: _path + ".mclassExcludeLst[" + _index29 + "]",
|
|
1505
1517
|
expected: "(\"Blank\" | \"SV\" | \"WT\")",
|
|
1506
1518
|
value: elem
|
|
1507
1519
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1521,8 +1533,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1521
1533
|
path: _path + ".mclassLst",
|
|
1522
1534
|
expected: "Array<FusionRNAClasses>",
|
|
1523
1535
|
value: input.mclassLst
|
|
1524
|
-
})) && input.mclassLst.map((elem: any,
|
|
1525
|
-
path: _path + ".mclassLst[" +
|
|
1536
|
+
})) && input.mclassLst.map((elem: any, _index30: number) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable, {
|
|
1537
|
+
path: _path + ".mclassLst[" + _index30 + "]",
|
|
1526
1538
|
expected: "(\"Blank\" | \"Fuserna\" | \"WT\")",
|
|
1527
1539
|
value: elem
|
|
1528
1540
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1533,8 +1545,8 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1533
1545
|
path: _path + ".mclassExcludeLst",
|
|
1534
1546
|
expected: "Array<FusionRNAClasses>",
|
|
1535
1547
|
value: input.mclassExcludeLst
|
|
1536
|
-
})) && input.mclassExcludeLst.map((elem: any,
|
|
1537
|
-
path: _path + ".mclassExcludeLst[" +
|
|
1548
|
+
})) && input.mclassExcludeLst.map((elem: any, _index31: number) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable, {
|
|
1549
|
+
path: _path + ".mclassExcludeLst[" + _index31 + "]",
|
|
1538
1550
|
expected: "(\"Blank\" | \"Fuserna\" | \"WT\")",
|
|
1539
1551
|
value: elem
|
|
1540
1552
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
@@ -1600,7 +1612,7 @@ export const validBrainImagingRequest = (input: any): typia.IValidation<BrainIma
|
|
|
1600
1612
|
});
|
|
1601
1613
|
})();
|
|
1602
1614
|
const $vu5 = (input: any, _path: string, _exceptionable: boolean = true): any => (() => {
|
|
1603
|
-
if (Array.isArray(input.lst) && input.lst.map((elem: any,
|
|
1615
|
+
if (Array.isArray(input.lst) && input.lst.map((elem: any, _index32: number) => "object" === typeof elem && null !== elem && $vo17(elem, _path + ".lst[" + _index32 + "]", false && _exceptionable)).every((flag: boolean) => flag))
|
|
1604
1616
|
return $vo16(input, _path, true && _exceptionable);
|
|
1605
1617
|
return $vo18(input, _path, true && _exceptionable);
|
|
1606
1618
|
})();
|
|
@@ -3884,10 +3896,12 @@ export const validBoxPlotRequest = (input: any): typia.IValidation<BoxPlotReques
|
|
|
3884
3896
|
export const validBoxPlotResponse = (input: any): typia.IValidation<BoxPlotResponse> => {
|
|
3885
3897
|
const errors = [] as any[];
|
|
3886
3898
|
const __is = (input: any): input is BoxPlotResponse => {
|
|
3887
|
-
const $io0 = (input: any): boolean => (undefined === input.absMin || "number" === typeof input.absMin) && (undefined === input.absMax || "number" === typeof input.absMax) && "number" === typeof input.maxLabelLgth && (Array.isArray(input.plots) && input.plots.every((elem: any) => "object" === typeof elem && null !== elem && $io1(elem)));
|
|
3888
|
-
const $io1 = (input: any): boolean => "object" === typeof input.boxplot && null !== input.boxplot && $io2(input.boxplot) && "string" === typeof input.
|
|
3889
|
-
const $io2 = (input: any): boolean => "number" === typeof input.w1 && "number" === typeof input.w2 && "number" === typeof input.p05 && "number" === typeof input.p25 && "number" === typeof input.p50 && "number" === typeof input.p75 && "number" === typeof input.p95 && "number" === typeof input.iqr && (Array.isArray(input.out) && input.out.every((elem: any) => "object" === typeof elem && null !== elem && $io3(elem)));
|
|
3899
|
+
const $io0 = (input: any): boolean => (undefined === input.absMin || "number" === typeof input.absMin) && (undefined === input.absMax || "number" === typeof input.absMax) && "number" === typeof input.maxLabelLgth && (Array.isArray(input.plots) && input.plots.every((elem: any) => "object" === typeof elem && null !== elem && $io1(elem))) && (null === input.uncomputableValues || Array.isArray(input.uncomputableValues) && input.uncomputableValues.every((elem: any) => "object" === typeof elem && null !== elem && $io5(elem)));
|
|
3900
|
+
const $io1 = (input: any): boolean => "object" === typeof input.boxplot && null !== input.boxplot && $io2(input.boxplot) && (undefined === input.color || "string" === typeof input.color) && (Array.isArray(input.descrStats) && input.descrStats.every((elem: any) => "object" === typeof elem && null !== elem && $io4(elem))) && "string" === typeof input.key && (undefined === input.seriesId || "string" === typeof input.seriesId) && (undefined === input.uncomputable || "boolean" === typeof input.uncomputable);
|
|
3901
|
+
const $io2 = (input: any): boolean => (undefined === input.w1 || "number" === typeof input.w1) && (undefined === input.w2 || "number" === typeof input.w2) && "number" === typeof input.p05 && "number" === typeof input.p25 && "number" === typeof input.p50 && "number" === typeof input.p75 && "number" === typeof input.p95 && "number" === typeof input.iqr && (Array.isArray(input.out) && input.out.every((elem: any) => "object" === typeof elem && null !== elem && $io3(elem))) && "string" === typeof input.label;
|
|
3890
3902
|
const $io3 = (input: any): boolean => "number" === typeof input.value;
|
|
3903
|
+
const $io4 = (input: any): boolean => "string" === typeof input.id && "string" === typeof input.label && "number" === typeof input.value;
|
|
3904
|
+
const $io5 = (input: any): boolean => "string" === typeof input.label && "number" === typeof input.value;
|
|
3891
3905
|
return "object" === typeof input && null !== input && $io0(input);
|
|
3892
3906
|
};
|
|
3893
3907
|
if (false === __is(input)) {
|
|
@@ -3921,47 +3935,71 @@ export const validBoxPlotResponse = (input: any): typia.IValidation<BoxPlotRespo
|
|
|
3921
3935
|
path: _path + ".plots",
|
|
3922
3936
|
expected: "Array<BoxPlotEntry>",
|
|
3923
3937
|
value: input.plots
|
|
3938
|
+
}), null === input.uncomputableValues || (Array.isArray(input.uncomputableValues) || $report(_exceptionable, {
|
|
3939
|
+
path: _path + ".uncomputableValues",
|
|
3940
|
+
expected: "(Array<__type>.o1 | null)",
|
|
3941
|
+
value: input.uncomputableValues
|
|
3942
|
+
})) && input.uncomputableValues.map((elem: any, _index2: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
3943
|
+
path: _path + ".uncomputableValues[" + _index2 + "]",
|
|
3944
|
+
expected: "__type.o1",
|
|
3945
|
+
value: elem
|
|
3946
|
+
})) && $vo5(elem, _path + ".uncomputableValues[" + _index2 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3947
|
+
path: _path + ".uncomputableValues[" + _index2 + "]",
|
|
3948
|
+
expected: "__type.o1",
|
|
3949
|
+
value: elem
|
|
3950
|
+
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
3951
|
+
path: _path + ".uncomputableValues",
|
|
3952
|
+
expected: "(Array<__type>.o1 | null)",
|
|
3953
|
+
value: input.uncomputableValues
|
|
3924
3954
|
})].every((flag: boolean) => flag);
|
|
3925
3955
|
const $vo1 = (input: any, _path: string, _exceptionable: boolean = true): boolean => [("object" === typeof input.boxplot && null !== input.boxplot || $report(_exceptionable, {
|
|
3926
3956
|
path: _path + ".boxplot",
|
|
3927
|
-
expected: "BoxPlotData",
|
|
3957
|
+
expected: "BoxPlotData & { label: string; }",
|
|
3928
3958
|
value: input.boxplot
|
|
3929
3959
|
})) && $vo2(input.boxplot, _path + ".boxplot", true && _exceptionable) || $report(_exceptionable, {
|
|
3930
3960
|
path: _path + ".boxplot",
|
|
3931
|
-
expected: "BoxPlotData",
|
|
3961
|
+
expected: "BoxPlotData & { label: string; }",
|
|
3932
3962
|
value: input.boxplot
|
|
3933
|
-
}), "string" === typeof input.
|
|
3934
|
-
path: _path + ".
|
|
3963
|
+
}), undefined === input.color || "string" === typeof input.color || $report(_exceptionable, {
|
|
3964
|
+
path: _path + ".color",
|
|
3965
|
+
expected: "(string | undefined)",
|
|
3966
|
+
value: input.color
|
|
3967
|
+
}), (Array.isArray(input.descrStats) || $report(_exceptionable, {
|
|
3968
|
+
path: _path + ".descrStats",
|
|
3969
|
+
expected: "Array<BoxPlotDescrStatsEntry>",
|
|
3970
|
+
value: input.descrStats
|
|
3971
|
+
})) && input.descrStats.map((elem: any, _index3: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
3972
|
+
path: _path + ".descrStats[" + _index3 + "]",
|
|
3973
|
+
expected: "BoxPlotDescrStatsEntry",
|
|
3974
|
+
value: elem
|
|
3975
|
+
})) && $vo4(elem, _path + ".descrStats[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3976
|
+
path: _path + ".descrStats[" + _index3 + "]",
|
|
3977
|
+
expected: "BoxPlotDescrStatsEntry",
|
|
3978
|
+
value: elem
|
|
3979
|
+
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
3980
|
+
path: _path + ".descrStats",
|
|
3981
|
+
expected: "Array<BoxPlotDescrStatsEntry>",
|
|
3982
|
+
value: input.descrStats
|
|
3983
|
+
}), "string" === typeof input.key || $report(_exceptionable, {
|
|
3984
|
+
path: _path + ".key",
|
|
3935
3985
|
expected: "string",
|
|
3936
|
-
value: input.
|
|
3937
|
-
}),
|
|
3938
|
-
path: _path + ".
|
|
3939
|
-
expected: "
|
|
3940
|
-
value: input.
|
|
3941
|
-
})
|
|
3942
|
-
path: _path + ".
|
|
3943
|
-
expected: "
|
|
3944
|
-
value:
|
|
3945
|
-
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
3946
|
-
path: _path + ".values",
|
|
3947
|
-
expected: "Array<number>",
|
|
3948
|
-
value: input.values
|
|
3949
|
-
}), "number" === typeof input.min || $report(_exceptionable, {
|
|
3950
|
-
path: _path + ".min",
|
|
3951
|
-
expected: "number",
|
|
3952
|
-
value: input.min
|
|
3953
|
-
}), "number" === typeof input.max || $report(_exceptionable, {
|
|
3954
|
-
path: _path + ".max",
|
|
3955
|
-
expected: "number",
|
|
3956
|
-
value: input.max
|
|
3986
|
+
value: input.key
|
|
3987
|
+
}), undefined === input.seriesId || "string" === typeof input.seriesId || $report(_exceptionable, {
|
|
3988
|
+
path: _path + ".seriesId",
|
|
3989
|
+
expected: "(string | undefined)",
|
|
3990
|
+
value: input.seriesId
|
|
3991
|
+
}), undefined === input.uncomputable || "boolean" === typeof input.uncomputable || $report(_exceptionable, {
|
|
3992
|
+
path: _path + ".uncomputable",
|
|
3993
|
+
expected: "(boolean | undefined)",
|
|
3994
|
+
value: input.uncomputable
|
|
3957
3995
|
})].every((flag: boolean) => flag);
|
|
3958
|
-
const $vo2 = (input: any, _path: string, _exceptionable: boolean = true): boolean => ["number" === typeof input.w1 || $report(_exceptionable, {
|
|
3996
|
+
const $vo2 = (input: any, _path: string, _exceptionable: boolean = true): boolean => [undefined === input.w1 || "number" === typeof input.w1 || $report(_exceptionable, {
|
|
3959
3997
|
path: _path + ".w1",
|
|
3960
|
-
expected: "number",
|
|
3998
|
+
expected: "(number | undefined)",
|
|
3961
3999
|
value: input.w1
|
|
3962
|
-
}), "number" === typeof input.w2 || $report(_exceptionable, {
|
|
4000
|
+
}), undefined === input.w2 || "number" === typeof input.w2 || $report(_exceptionable, {
|
|
3963
4001
|
path: _path + ".w2",
|
|
3964
|
-
expected: "number",
|
|
4002
|
+
expected: "(number | undefined)",
|
|
3965
4003
|
value: input.w2
|
|
3966
4004
|
}), "number" === typeof input.p05 || $report(_exceptionable, {
|
|
3967
4005
|
path: _path + ".p05",
|
|
@@ -3991,24 +4029,50 @@ export const validBoxPlotResponse = (input: any): typia.IValidation<BoxPlotRespo
|
|
|
3991
4029
|
path: _path + ".out",
|
|
3992
4030
|
expected: "Array<__type>",
|
|
3993
4031
|
value: input.out
|
|
3994
|
-
})) && input.out.map((elem: any,
|
|
3995
|
-
path: _path + ".out[" +
|
|
4032
|
+
})) && input.out.map((elem: any, _index4: number) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
4033
|
+
path: _path + ".out[" + _index4 + "]",
|
|
3996
4034
|
expected: "__type",
|
|
3997
4035
|
value: elem
|
|
3998
|
-
})) && $vo3(elem, _path + ".out[" +
|
|
3999
|
-
path: _path + ".out[" +
|
|
4036
|
+
})) && $vo3(elem, _path + ".out[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
4037
|
+
path: _path + ".out[" + _index4 + "]",
|
|
4000
4038
|
expected: "__type",
|
|
4001
4039
|
value: elem
|
|
4002
4040
|
})).every((flag: boolean) => flag) || $report(_exceptionable, {
|
|
4003
4041
|
path: _path + ".out",
|
|
4004
4042
|
expected: "Array<__type>",
|
|
4005
4043
|
value: input.out
|
|
4044
|
+
}), "string" === typeof input.label || $report(_exceptionable, {
|
|
4045
|
+
path: _path + ".label",
|
|
4046
|
+
expected: "string",
|
|
4047
|
+
value: input.label
|
|
4006
4048
|
})].every((flag: boolean) => flag);
|
|
4007
4049
|
const $vo3 = (input: any, _path: string, _exceptionable: boolean = true): boolean => ["number" === typeof input.value || $report(_exceptionable, {
|
|
4008
4050
|
path: _path + ".value",
|
|
4009
4051
|
expected: "number",
|
|
4010
4052
|
value: input.value
|
|
4011
4053
|
})].every((flag: boolean) => flag);
|
|
4054
|
+
const $vo4 = (input: any, _path: string, _exceptionable: boolean = true): boolean => ["string" === typeof input.id || $report(_exceptionable, {
|
|
4055
|
+
path: _path + ".id",
|
|
4056
|
+
expected: "string",
|
|
4057
|
+
value: input.id
|
|
4058
|
+
}), "string" === typeof input.label || $report(_exceptionable, {
|
|
4059
|
+
path: _path + ".label",
|
|
4060
|
+
expected: "string",
|
|
4061
|
+
value: input.label
|
|
4062
|
+
}), "number" === typeof input.value || $report(_exceptionable, {
|
|
4063
|
+
path: _path + ".value",
|
|
4064
|
+
expected: "number",
|
|
4065
|
+
value: input.value
|
|
4066
|
+
})].every((flag: boolean) => flag);
|
|
4067
|
+
const $vo5 = (input: any, _path: string, _exceptionable: boolean = true): boolean => ["string" === typeof input.label || $report(_exceptionable, {
|
|
4068
|
+
path: _path + ".label",
|
|
4069
|
+
expected: "string",
|
|
4070
|
+
value: input.label
|
|
4071
|
+
}), "number" === typeof input.value || $report(_exceptionable, {
|
|
4072
|
+
path: _path + ".value",
|
|
4073
|
+
expected: "number",
|
|
4074
|
+
value: input.value
|
|
4075
|
+
})].every((flag: boolean) => flag);
|
|
4012
4076
|
return ("object" === typeof input && null !== input || $report(true, {
|
|
4013
4077
|
path: _path + "",
|
|
4014
4078
|
expected: "BoxPlotResponse",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjcrh/proteinpaint-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.86.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shared type definitions between ProteinPaint server and client code",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"ts-node": "^10.9.2",
|
|
28
28
|
"ts-patch": "^3.2.1",
|
|
29
|
+
"typedoc": "^0.26.11",
|
|
30
|
+
"typedoc-plugin-missing-expo.js": "^3.0.0",
|
|
31
|
+
"typedoc-plugin-replace-text": "^4.0.0",
|
|
29
32
|
"typescript": "^5.6.3",
|
|
30
33
|
"typia": "^4.1.14"
|
|
31
34
|
},
|