@sjcrh/proteinpaint-types 2.146.2 → 2.147.1
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/aiProjectSelectedWSImages.js +1 -1
- package/dist/aiProjectTrainModel.js +11 -0
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-75OHIZMS.js → chunk-225Q2ZUA.js} +2 -6
- package/dist/{chunk-74B7B2CV.js → chunk-2ZJS3NUY.js} +258 -82
- package/dist/{chunk-NBV7HYBA.js → chunk-3SKFYOKV.js} +407 -515
- package/dist/{chunk-G5KSPYQG.js → chunk-4SJC57Y6.js} +403 -511
- package/dist/{chunk-4VEXL32Q.js → chunk-75GS5ZG5.js} +381 -489
- package/dist/{chunk-2BHWLFKE.js → chunk-ETMCI34A.js} +2 -6
- package/dist/{chunk-7ICZFAGK.js → chunk-KSVIBMFQ.js} +1049 -797
- package/dist/{chunk-C246BWQE.js → chunk-NQUMNEVO.js} +258 -82
- package/dist/{chunk-4DNCZQOB.js → chunk-OOQIRLS5.js} +258 -82
- package/dist/{chunk-5KADNZH2.js → chunk-RA7IEGS4.js} +408 -516
- package/dist/chunk-UYJA4UM7.js +97 -0
- package/dist/{chunk-GCAZSDCW.js → chunk-WL7ZVGZS.js} +403 -511
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +48 -40
- package/dist/samplewsimages.js +1 -1
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +15 -12
- package/src/index.ts +2 -0
- package/src/routes/aiProjectSelectedWSImages.ts +0 -1
- package/src/routes/aiProjectTrainModel.ts +20 -0
- package/src/routes/brainImaging.ts +3 -3
- package/src/terms/categorical.ts +9 -90
- package/src/terms/q.ts +6 -1
- package/src/terms/qualitative.ts +73 -0
- package/src/terms/singleCellCellType.ts +6 -10
- package/src/terms/snp.ts +9 -13
- package/src/terms/term.ts +2 -2
- package/src/terms/tw.ts +3 -4
|
@@ -21,8 +21,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
24
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.refKey && (void 0 === input3.l || "string" === typeof input3.l) && (void 0 === input3.f || "string" === typeof input3.f) && (void 0 === input3.t || "string" === typeof input3.t) && (Array.isArray(input3.selectedSampleFileNames) && input3.selectedSampleFileNames.every((elem) => "string" === typeof elem)) && (void 0 === input3.divideByTW || "object" === typeof input3.divideByTW && null !== input3.divideByTW && $
|
|
25
|
-
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("
|
|
24
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.refKey && (void 0 === input3.l || "string" === typeof input3.l) && (void 0 === input3.f || "string" === typeof input3.f) && (void 0 === input3.t || "string" === typeof input3.t) && (Array.isArray(input3.selectedSampleFileNames) && input3.selectedSampleFileNames.every((elem) => "string" === typeof elem)) && (void 0 === input3.divideByTW || "object" === typeof input3.divideByTW && null !== input3.divideByTW && $iu4(input3.divideByTW)) && (void 0 === input3.overlayTW || "object" === typeof input3.overlayTW && null !== input3.overlayTW && $iu4(input3.overlayTW)) && (void 0 === input3.legendFilter || Array.isArray(input3.legendFilter) && input3.legendFilter.every((elem) => "string" === typeof elem));
|
|
25
|
+
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io42(input3.q)) && "QualTWValues" === input3.type;
|
|
26
26
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
27
27
|
const value = input3[key];
|
|
28
28
|
if (void 0 === value)
|
|
@@ -31,159 +31,169 @@ var validBrainImagingRequest = (input) => {
|
|
|
31
31
|
return true;
|
|
32
32
|
return true;
|
|
33
33
|
});
|
|
34
|
-
const $io3 = (input3) =>
|
|
34
|
+
const $io3 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io33(input3.groupsetting));
|
|
35
35
|
const $io4 = (input3) => Object.keys(input3).every((key) => {
|
|
36
36
|
const value = input3[key];
|
|
37
37
|
if (void 0 === value)
|
|
38
38
|
return true;
|
|
39
39
|
if (RegExp(/(.*)/).test(key))
|
|
40
|
-
return "
|
|
40
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
|
|
41
|
+
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
42
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
|
|
41
43
|
return true;
|
|
42
44
|
});
|
|
43
|
-
const $io5 = (input3) => (void 0 === input3.
|
|
44
|
-
const $io6 = (input3) =>
|
|
45
|
-
const $io7 = (input3) =>
|
|
46
|
-
const $io8 = (input3) => Array.isArray(input3.
|
|
47
|
-
const $io9 = (input3) => "string" === typeof input3.
|
|
48
|
-
const $io10 = (input3) => ("string" === typeof input3.
|
|
49
|
-
const $io11 = (input3) => "string" === typeof input3.
|
|
50
|
-
const $io12 = (input3) => "
|
|
51
|
-
const $io13 = (input3) => "
|
|
52
|
-
const $io14 = (input3) =>
|
|
53
|
-
const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting));
|
|
54
|
-
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
45
|
+
const $io5 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter));
|
|
46
|
+
const $io6 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
47
|
+
const $io7 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu6(input3.tvs));
|
|
48
|
+
const $io8 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io3(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io5(elem)));
|
|
49
|
+
const $io9 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu7(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io24(elem)));
|
|
50
|
+
const $io10 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io11(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io12(input3.bins));
|
|
51
|
+
const $io11 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
52
|
+
const $io12 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu8(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu8(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
53
|
+
const $io13 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu9(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu10(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
54
|
+
const $io14 = (input3) => Object.keys(input3).every((key) => {
|
|
55
55
|
const value = input3[key];
|
|
56
56
|
if (void 0 === value)
|
|
57
57
|
return true;
|
|
58
58
|
if (RegExp(/(.*)/).test(key))
|
|
59
|
-
return "
|
|
60
|
-
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
61
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io17(value);
|
|
59
|
+
return "number" === typeof value;
|
|
62
60
|
return true;
|
|
63
61
|
});
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
74
|
-
const $
|
|
75
|
-
const $
|
|
76
|
-
const $
|
|
77
|
-
const $
|
|
78
|
-
const $
|
|
79
|
-
const $
|
|
80
|
-
const $
|
|
81
|
-
const $
|
|
82
|
-
const $
|
|
83
|
-
const $
|
|
84
|
-
const $
|
|
85
|
-
const $
|
|
86
|
-
const $
|
|
87
|
-
const $
|
|
88
|
-
const $
|
|
89
|
-
const $
|
|
90
|
-
const $
|
|
91
|
-
const $
|
|
62
|
+
const $io15 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
63
|
+
const $io16 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
64
|
+
const $io17 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
65
|
+
const $io18 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu1(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu1(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
66
|
+
const $io19 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io11(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io12(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
67
|
+
const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io11(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io12(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
68
|
+
const $io21 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io11(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io12(input3.bins));
|
|
69
|
+
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io11(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io12(input3.bins));
|
|
70
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io11(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io12(input3.bins));
|
|
71
|
+
const $io24 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
72
|
+
const $io25 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io26(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
73
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
74
|
+
const $io27 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
75
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io39(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
76
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu11(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values));
|
|
77
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io33(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
78
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
79
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
80
|
+
const $io33 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
|
|
81
|
+
const $io34 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
82
|
+
const $io35 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io36(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
83
|
+
const $io36 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
84
|
+
const $io37 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter)) && "string" === typeof input3.color;
|
|
85
|
+
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io33(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
86
|
+
const $io39 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
87
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "snp" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io33(input3.groupsetting));
|
|
88
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellCellType" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "string" === typeof input3.sample && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io33(input3.groupsetting));
|
|
89
|
+
const $io42 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
|
|
90
|
+
const $io43 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io44(input3.q)) && "QualTWPredefinedGS" === input3.type;
|
|
91
|
+
const $io44 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
92
|
+
const $io45 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io46(input3.q)) && "QualTWCustomGS" === input3.type;
|
|
93
|
+
const $io46 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io47(input3.customset));
|
|
94
|
+
const $io47 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem));
|
|
92
95
|
const $iu0 = (input3) => (() => {
|
|
93
|
-
if ("string" === typeof input3.type)
|
|
94
|
-
return $io9(input3);
|
|
95
|
-
if ("filter" === input3.type)
|
|
96
|
-
return $io11(input3);
|
|
97
|
-
return false;
|
|
98
|
-
})();
|
|
99
|
-
const $iu1 = (input3) => (() => {
|
|
100
96
|
if ("tvslst" === input3.type)
|
|
101
|
-
return $
|
|
97
|
+
return $io6(input3);
|
|
102
98
|
if ("tvs" === input3.type)
|
|
103
|
-
return $
|
|
99
|
+
return $io7(input3);
|
|
104
100
|
return false;
|
|
105
101
|
})();
|
|
106
|
-
const $
|
|
102
|
+
const $iu1 = (input3) => (() => {
|
|
107
103
|
if (true === input3.startunbounded)
|
|
108
|
-
return $
|
|
104
|
+
return $io15(input3);
|
|
109
105
|
if (true === input3.stopunbounded)
|
|
110
|
-
return $
|
|
111
|
-
return $
|
|
106
|
+
return $io17(input3);
|
|
107
|
+
return $io16(input3);
|
|
112
108
|
})();
|
|
113
|
-
const $
|
|
109
|
+
const $iu2 = (input3) => (() => {
|
|
114
110
|
if ("gene" === input3.kind)
|
|
115
|
-
return $
|
|
111
|
+
return $io31(input3);
|
|
116
112
|
if ("coord" === input3.kind)
|
|
117
|
-
return $
|
|
113
|
+
return $io32(input3);
|
|
118
114
|
return false;
|
|
119
115
|
})();
|
|
120
|
-
const $
|
|
121
|
-
if ("
|
|
122
|
-
return $
|
|
116
|
+
const $iu3 = (input3) => (() => {
|
|
117
|
+
if ("string" === typeof input3.type)
|
|
118
|
+
return $io35(input3);
|
|
123
119
|
if ("filter" === input3.type)
|
|
124
|
-
return $
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
120
|
+
return $io37(input3);
|
|
121
|
+
return false;
|
|
122
|
+
})();
|
|
123
|
+
const $iu4 = (input3) => (() => {
|
|
124
|
+
if ("QualTWCustomGS" === input3.type)
|
|
125
|
+
return $io45(input3);
|
|
126
|
+
if ("QualTWPredefinedGS" === input3.type)
|
|
127
|
+
return $io43(input3);
|
|
128
|
+
if ("QualTWValues" === input3.type)
|
|
129
|
+
return $io1(input3);
|
|
129
130
|
return false;
|
|
130
131
|
})();
|
|
131
132
|
const $iu5 = (input3) => (() => {
|
|
133
|
+
if ("categorical" === input3.type)
|
|
134
|
+
return $io3(input3);
|
|
135
|
+
if ("snp" === input3.type)
|
|
136
|
+
return $io40(input3);
|
|
137
|
+
if ("singleCellCellType" === input3.type)
|
|
138
|
+
return $io41(input3);
|
|
139
|
+
return false;
|
|
140
|
+
})();
|
|
141
|
+
const $iu6 = (input3) => (() => {
|
|
132
142
|
if (void 0 !== input3.ranges)
|
|
133
|
-
return $
|
|
143
|
+
return $io9(input3);
|
|
134
144
|
return (() => {
|
|
135
|
-
if ($
|
|
136
|
-
return $
|
|
137
|
-
if ($
|
|
138
|
-
return $
|
|
139
|
-
if ($
|
|
140
|
-
return $
|
|
145
|
+
if ($io8(input3))
|
|
146
|
+
return $io8(input3);
|
|
147
|
+
if ($io25(input3))
|
|
148
|
+
return $io25(input3);
|
|
149
|
+
if ($io28(input3))
|
|
150
|
+
return $io28(input3);
|
|
141
151
|
return false;
|
|
142
152
|
})();
|
|
143
153
|
})();
|
|
144
|
-
const $
|
|
154
|
+
const $iu7 = (input3) => (() => {
|
|
145
155
|
if ("integer" === input3.type || "float" === input3.type)
|
|
146
|
-
return $
|
|
156
|
+
return $io10(input3);
|
|
147
157
|
if ("metaboliteIntensity" === input3.type)
|
|
148
|
-
return $
|
|
158
|
+
return $io21(input3);
|
|
149
159
|
if ("date" === input3.type)
|
|
150
|
-
return $
|
|
160
|
+
return $io22(input3);
|
|
151
161
|
if ("ssGSEA" === input3.type)
|
|
152
|
-
return $
|
|
162
|
+
return $io23(input3);
|
|
153
163
|
return (() => {
|
|
154
|
-
if ($
|
|
155
|
-
return $
|
|
156
|
-
if ($
|
|
157
|
-
return $
|
|
164
|
+
if ($io20(input3))
|
|
165
|
+
return $io20(input3);
|
|
166
|
+
if ($io19(input3))
|
|
167
|
+
return $io19(input3);
|
|
158
168
|
return false;
|
|
159
169
|
})();
|
|
160
170
|
})();
|
|
161
|
-
const $
|
|
171
|
+
const $iu8 = (input3) => (() => {
|
|
162
172
|
if ("regular-bin" === input3.type)
|
|
163
|
-
return $
|
|
173
|
+
return $io13(input3);
|
|
164
174
|
if ("custom-bin" === input3.type)
|
|
165
|
-
return $
|
|
175
|
+
return $io18(input3);
|
|
166
176
|
return false;
|
|
167
177
|
})();
|
|
168
|
-
const $
|
|
178
|
+
const $iu9 = (input3) => (() => {
|
|
169
179
|
if (true === input3.startunbounded)
|
|
170
|
-
return $
|
|
180
|
+
return $io15(input3);
|
|
171
181
|
if (void 0 !== input3.start)
|
|
172
|
-
return $
|
|
182
|
+
return $io16(input3);
|
|
173
183
|
return false;
|
|
174
184
|
})();
|
|
175
|
-
const $
|
|
185
|
+
const $iu10 = (input3) => (() => {
|
|
176
186
|
if (void 0 !== input3.stop)
|
|
177
|
-
return $
|
|
187
|
+
return $io16(input3);
|
|
178
188
|
if (true === input3.stopunbounded)
|
|
179
|
-
return $
|
|
189
|
+
return $io17(input3);
|
|
180
190
|
return false;
|
|
181
191
|
})();
|
|
182
|
-
const $
|
|
192
|
+
const $iu11 = (input3) => (() => {
|
|
183
193
|
if ("gene" === input3.kind)
|
|
184
|
-
return $
|
|
194
|
+
return $io30(input3);
|
|
185
195
|
if ("coord" === input3.kind)
|
|
186
|
-
return $
|
|
196
|
+
return $io38(input3);
|
|
187
197
|
return false;
|
|
188
198
|
})();
|
|
189
199
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -230,19 +240,19 @@ var validBrainImagingRequest = (input) => {
|
|
|
230
240
|
value: input3.selectedSampleFileNames
|
|
231
241
|
}), void 0 === input3.divideByTW || ("object" === typeof input3.divideByTW && null !== input3.divideByTW || $report(_exceptionable2, {
|
|
232
242
|
path: _path2 + ".divideByTW",
|
|
233
|
-
expected: "(
|
|
243
|
+
expected: "(QualTWCustomGS | QualTWPredefinedGS | QualTWValues | undefined)",
|
|
234
244
|
value: input3.divideByTW
|
|
235
|
-
})) && $
|
|
245
|
+
})) && $vu4(input3.divideByTW, _path2 + ".divideByTW", _exceptionable2) || $report(_exceptionable2, {
|
|
236
246
|
path: _path2 + ".divideByTW",
|
|
237
|
-
expected: "(
|
|
247
|
+
expected: "(QualTWCustomGS | QualTWPredefinedGS | QualTWValues | undefined)",
|
|
238
248
|
value: input3.divideByTW
|
|
239
249
|
}), void 0 === input3.overlayTW || ("object" === typeof input3.overlayTW && null !== input3.overlayTW || $report(_exceptionable2, {
|
|
240
250
|
path: _path2 + ".overlayTW",
|
|
241
|
-
expected: "(
|
|
251
|
+
expected: "(QualTWCustomGS | QualTWPredefinedGS | QualTWValues | undefined)",
|
|
242
252
|
value: input3.overlayTW
|
|
243
|
-
})) && $
|
|
253
|
+
})) && $vu4(input3.overlayTW, _path2 + ".overlayTW", _exceptionable2) || $report(_exceptionable2, {
|
|
244
254
|
path: _path2 + ".overlayTW",
|
|
245
|
-
expected: "(
|
|
255
|
+
expected: "(QualTWCustomGS | QualTWPredefinedGS | QualTWValues | undefined)",
|
|
246
256
|
value: input3.overlayTW
|
|
247
257
|
}), void 0 === input3.legendFilter || (Array.isArray(input3.legendFilter) || $report(_exceptionable2, {
|
|
248
258
|
path: _path2 + ".legendFilter",
|
|
@@ -281,26 +291,26 @@ var validBrainImagingRequest = (input) => {
|
|
|
281
291
|
path: _path2 + ".minNumSamples",
|
|
282
292
|
expected: "(number | undefined)",
|
|
283
293
|
value: input3.minNumSamples
|
|
284
|
-
}), true, "
|
|
285
|
-
path: _path2 + ".
|
|
286
|
-
expected:
|
|
287
|
-
value: input3.
|
|
294
|
+
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
295
|
+
path: _path2 + ".term",
|
|
296
|
+
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
297
|
+
value: input3.term
|
|
298
|
+
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
299
|
+
path: _path2 + ".term",
|
|
300
|
+
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
301
|
+
value: input3.term
|
|
288
302
|
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
289
303
|
path: _path2 + ".q",
|
|
290
|
-
expected: "
|
|
304
|
+
expected: "ValuesQ",
|
|
291
305
|
value: input3.q
|
|
292
|
-
})) && $
|
|
306
|
+
})) && $vo42(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
293
307
|
path: _path2 + ".q",
|
|
294
|
-
expected: "
|
|
308
|
+
expected: "ValuesQ",
|
|
295
309
|
value: input3.q
|
|
296
|
-
}),
|
|
297
|
-
path: _path2 + ".
|
|
298
|
-
expected: "
|
|
299
|
-
value: input3.
|
|
300
|
-
})) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
301
|
-
path: _path2 + ".term",
|
|
302
|
-
expected: "CategoricalTerm",
|
|
303
|
-
value: input3.term
|
|
310
|
+
}), "QualTWValues" === input3.type || $report(_exceptionable2, {
|
|
311
|
+
path: _path2 + ".type",
|
|
312
|
+
expected: '"QualTWValues"',
|
|
313
|
+
value: input3.type
|
|
304
314
|
})].every((flag) => flag);
|
|
305
315
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
306
316
|
const value = input3[key];
|
|
@@ -310,252 +320,164 @@ var validBrainImagingRequest = (input) => {
|
|
|
310
320
|
return true;
|
|
311
321
|
return true;
|
|
312
322
|
}).every((flag) => flag)].every((flag) => flag);
|
|
313
|
-
const $vo3 = (input3, _path2, _exceptionable2 = true) => [
|
|
314
|
-
path: _path2 + ".
|
|
315
|
-
expected: "
|
|
316
|
-
value: input3.
|
|
317
|
-
})
|
|
318
|
-
path: _path2 + ".hiddenValues",
|
|
319
|
-
expected: "(HiddenValues | undefined)",
|
|
320
|
-
value: input3.hiddenValues
|
|
321
|
-
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
322
|
-
path: _path2 + ".isAtomic",
|
|
323
|
-
expected: "(true | undefined)",
|
|
324
|
-
value: input3.isAtomic
|
|
325
|
-
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
323
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
324
|
+
path: _path2 + ".id",
|
|
325
|
+
expected: "string",
|
|
326
|
+
value: input3.id
|
|
327
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
326
328
|
path: _path2 + ".name",
|
|
327
|
-
expected: "
|
|
329
|
+
expected: "string",
|
|
328
330
|
value: input3.name
|
|
329
|
-
}),
|
|
330
|
-
path: _path2 + ".reuseId",
|
|
331
|
-
expected: "(string | undefined)",
|
|
332
|
-
value: input3.reuseId
|
|
333
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
334
|
-
path: _path2 + ".mode",
|
|
335
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
336
|
-
value: input3.mode
|
|
337
|
-
}), "values" === input3.type || $report(_exceptionable2, {
|
|
331
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
338
332
|
path: _path2 + ".type",
|
|
339
|
-
expected: '"
|
|
333
|
+
expected: '"categorical"',
|
|
340
334
|
value: input3.type
|
|
335
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
336
|
+
path: _path2 + ".child_types",
|
|
337
|
+
expected: "(Array<string> | undefined)",
|
|
338
|
+
value: input3.child_types
|
|
339
|
+
})) && input3.child_types.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable2, {
|
|
340
|
+
path: _path2 + ".child_types[" + _index3 + "]",
|
|
341
|
+
expected: "string",
|
|
342
|
+
value: elem
|
|
343
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
344
|
+
path: _path2 + ".child_types",
|
|
345
|
+
expected: "(Array<string> | undefined)",
|
|
346
|
+
value: input3.child_types
|
|
347
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
348
|
+
path: _path2 + ".hashtmldetail",
|
|
349
|
+
expected: "(boolean | undefined)",
|
|
350
|
+
value: input3.hashtmldetail
|
|
351
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
352
|
+
path: _path2 + ".included_types",
|
|
353
|
+
expected: "(Array<string> | undefined)",
|
|
354
|
+
value: input3.included_types
|
|
355
|
+
})) && input3.included_types.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
|
|
356
|
+
path: _path2 + ".included_types[" + _index4 + "]",
|
|
357
|
+
expected: "string",
|
|
358
|
+
value: elem
|
|
359
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
360
|
+
path: _path2 + ".included_types",
|
|
361
|
+
expected: "(Array<string> | undefined)",
|
|
362
|
+
value: input3.included_types
|
|
363
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
364
|
+
path: _path2 + ".isleaf",
|
|
365
|
+
expected: "(boolean | undefined)",
|
|
366
|
+
value: input3.isleaf
|
|
367
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
368
|
+
path: _path2 + ".values",
|
|
369
|
+
expected: "(TermValues | undefined)",
|
|
370
|
+
value: input3.values
|
|
371
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
372
|
+
path: _path2 + ".values",
|
|
373
|
+
expected: "(TermValues | undefined)",
|
|
374
|
+
value: input3.values
|
|
375
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
376
|
+
path: _path2 + ".skipValuesBuild",
|
|
377
|
+
expected: "(boolean | undefined)",
|
|
378
|
+
value: input3.skipValuesBuild
|
|
379
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
380
|
+
path: _path2 + ".groupsetting",
|
|
381
|
+
expected: "TermGroupSetting",
|
|
382
|
+
value: input3.groupsetting
|
|
383
|
+
})) && $vo33(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
384
|
+
path: _path2 + ".groupsetting",
|
|
385
|
+
expected: "TermGroupSetting",
|
|
386
|
+
value: input3.groupsetting
|
|
341
387
|
})].every((flag) => flag);
|
|
342
388
|
const $vo4 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
343
389
|
const value = input3[key];
|
|
344
390
|
if (void 0 === value)
|
|
345
391
|
return true;
|
|
346
392
|
if (RegExp(/(.*)/).test(key))
|
|
347
|
-
return "
|
|
393
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
348
394
|
path: _path2 + $join(key),
|
|
349
|
-
expected: "
|
|
395
|
+
expected: "BaseValue",
|
|
396
|
+
value
|
|
397
|
+
})) && $vo5(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
398
|
+
path: _path2 + $join(key),
|
|
399
|
+
expected: "BaseValue",
|
|
400
|
+
value
|
|
401
|
+
});
|
|
402
|
+
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
403
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
404
|
+
path: _path2 + $join(key),
|
|
405
|
+
expected: "BaseValue",
|
|
406
|
+
value
|
|
407
|
+
})) && $vo5(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
408
|
+
path: _path2 + $join(key),
|
|
409
|
+
expected: "BaseValue",
|
|
350
410
|
value
|
|
351
411
|
});
|
|
352
412
|
return true;
|
|
353
413
|
}).every((flag) => flag)].every((flag) => flag);
|
|
354
|
-
const $vo5 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.
|
|
355
|
-
path: _path2 + ".
|
|
356
|
-
expected: "(HiddenValues | undefined)",
|
|
357
|
-
value: input3.hiddenValues
|
|
358
|
-
})) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
359
|
-
path: _path2 + ".hiddenValues",
|
|
360
|
-
expected: "(HiddenValues | undefined)",
|
|
361
|
-
value: input3.hiddenValues
|
|
362
|
-
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
363
|
-
path: _path2 + ".isAtomic",
|
|
364
|
-
expected: "(true | undefined)",
|
|
365
|
-
value: input3.isAtomic
|
|
366
|
-
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
367
|
-
path: _path2 + ".name",
|
|
414
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
415
|
+
path: _path2 + ".key",
|
|
368
416
|
expected: "(string | undefined)",
|
|
369
|
-
value: input3.
|
|
370
|
-
}), void 0 === input3.
|
|
371
|
-
path: _path2 + ".
|
|
417
|
+
value: input3.key
|
|
418
|
+
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
419
|
+
path: _path2 + ".uncomputable",
|
|
420
|
+
expected: "(boolean | undefined)",
|
|
421
|
+
value: input3.uncomputable
|
|
422
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
423
|
+
path: _path2 + ".label",
|
|
424
|
+
expected: "(number | string | undefined)",
|
|
425
|
+
value: input3.label
|
|
426
|
+
}), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
|
|
427
|
+
path: _path2 + ".order",
|
|
372
428
|
expected: "(string | undefined)",
|
|
373
|
-
value: input3.
|
|
374
|
-
}), "
|
|
429
|
+
value: input3.order
|
|
430
|
+
}), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
|
|
431
|
+
path: _path2 + ".color",
|
|
432
|
+
expected: "(string | undefined)",
|
|
433
|
+
value: input3.color
|
|
434
|
+
}), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
|
|
435
|
+
path: _path2 + ".group",
|
|
436
|
+
expected: "(number | undefined)",
|
|
437
|
+
value: input3.group
|
|
438
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
439
|
+
path: _path2 + ".filter",
|
|
440
|
+
expected: "(Filter | undefined)",
|
|
441
|
+
value: input3.filter
|
|
442
|
+
})) && $vo6(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
443
|
+
path: _path2 + ".filter",
|
|
444
|
+
expected: "(Filter | undefined)",
|
|
445
|
+
value: input3.filter
|
|
446
|
+
})].every((flag) => flag);
|
|
447
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
375
448
|
path: _path2 + ".type",
|
|
376
|
-
expected: '"
|
|
449
|
+
expected: '"tvslst"',
|
|
377
450
|
value: input3.type
|
|
378
|
-
})]
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
path: _path2 + ".isAtomic",
|
|
389
|
-
expected: "(true | undefined)",
|
|
390
|
-
value: input3.isAtomic
|
|
391
|
-
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
392
|
-
path: _path2 + ".name",
|
|
393
|
-
expected: "(string | undefined)",
|
|
394
|
-
value: input3.name
|
|
395
|
-
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
396
|
-
path: _path2 + ".reuseId",
|
|
451
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
452
|
+
path: _path2 + '["in"]',
|
|
453
|
+
expected: "boolean",
|
|
454
|
+
value: input3["in"]
|
|
455
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
456
|
+
path: _path2 + ".join",
|
|
457
|
+
expected: "string",
|
|
458
|
+
value: input3.join
|
|
459
|
+
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
460
|
+
path: _path2 + ".tag",
|
|
397
461
|
expected: "(string | undefined)",
|
|
398
|
-
value: input3.
|
|
399
|
-
}),
|
|
400
|
-
path: _path2 + ".
|
|
401
|
-
expected: '
|
|
402
|
-
value: input3.
|
|
403
|
-
}), "
|
|
404
|
-
path: _path2 + ".
|
|
405
|
-
expected:
|
|
406
|
-
value:
|
|
407
|
-
}), "
|
|
408
|
-
path: _path2 + ".
|
|
409
|
-
expected: "
|
|
410
|
-
value:
|
|
411
|
-
})
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
path: _path2 + ".hiddenValues",
|
|
418
|
-
expected: "(HiddenValues | undefined)",
|
|
419
|
-
value: input3.hiddenValues
|
|
420
|
-
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
421
|
-
path: _path2 + ".isAtomic",
|
|
422
|
-
expected: "(true | undefined)",
|
|
423
|
-
value: input3.isAtomic
|
|
424
|
-
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
425
|
-
path: _path2 + ".name",
|
|
426
|
-
expected: "(string | undefined)",
|
|
427
|
-
value: input3.name
|
|
428
|
-
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
429
|
-
path: _path2 + ".reuseId",
|
|
430
|
-
expected: "(string | undefined)",
|
|
431
|
-
value: input3.reuseId
|
|
432
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
433
|
-
path: _path2 + ".mode",
|
|
434
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
435
|
-
value: input3.mode
|
|
436
|
-
}), "custom-groupset" === input3.type || $report(_exceptionable2, {
|
|
437
|
-
path: _path2 + ".type",
|
|
438
|
-
expected: '"custom-groupset"',
|
|
439
|
-
value: input3.type
|
|
440
|
-
}), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
|
|
441
|
-
path: _path2 + ".customset",
|
|
442
|
-
expected: "BaseGroupSet",
|
|
443
|
-
value: input3.customset
|
|
444
|
-
})) && $vo8(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
445
|
-
path: _path2 + ".customset",
|
|
446
|
-
expected: "BaseGroupSet",
|
|
447
|
-
value: input3.customset
|
|
448
|
-
})].every((flag) => flag);
|
|
449
|
-
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
450
|
-
path: _path2 + ".groups",
|
|
451
|
-
expected: "Array<GroupEntry>",
|
|
452
|
-
value: input3.groups
|
|
453
|
-
})) && input3.groups.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
454
|
-
path: _path2 + ".groups[" + _index3 + "]",
|
|
455
|
-
expected: "(FilterGroup | ValuesGroup)",
|
|
456
|
-
value: elem
|
|
457
|
-
})) && $vu0(elem, _path2 + ".groups[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
458
|
-
path: _path2 + ".groups[" + _index3 + "]",
|
|
459
|
-
expected: "(FilterGroup | ValuesGroup)",
|
|
460
|
-
value: elem
|
|
461
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
462
|
-
path: _path2 + ".groups",
|
|
463
|
-
expected: "Array<GroupEntry>",
|
|
464
|
-
value: input3.groups
|
|
465
|
-
})].every((flag) => flag);
|
|
466
|
-
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
467
|
-
path: _path2 + ".name",
|
|
468
|
-
expected: "string",
|
|
469
|
-
value: input3.name
|
|
470
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
471
|
-
path: _path2 + ".type",
|
|
472
|
-
expected: "string",
|
|
473
|
-
value: input3.type
|
|
474
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
475
|
-
path: _path2 + ".values",
|
|
476
|
-
expected: "Array<__type>",
|
|
477
|
-
value: input3.values
|
|
478
|
-
})) && input3.values.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
479
|
-
path: _path2 + ".values[" + _index4 + "]",
|
|
480
|
-
expected: "__type.o1",
|
|
481
|
-
value: elem
|
|
482
|
-
})) && $vo10(elem, _path2 + ".values[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
483
|
-
path: _path2 + ".values[" + _index4 + "]",
|
|
484
|
-
expected: "__type.o1",
|
|
485
|
-
value: elem
|
|
486
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
487
|
-
path: _path2 + ".values",
|
|
488
|
-
expected: "Array<__type>",
|
|
489
|
-
value: input3.values
|
|
490
|
-
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
491
|
-
path: _path2 + ".uncomputable",
|
|
492
|
-
expected: "(boolean | undefined)",
|
|
493
|
-
value: input3.uncomputable
|
|
494
|
-
})].every((flag) => flag);
|
|
495
|
-
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
496
|
-
path: _path2 + ".key",
|
|
497
|
-
expected: "(number | string)",
|
|
498
|
-
value: input3.key
|
|
499
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
500
|
-
path: _path2 + ".label",
|
|
501
|
-
expected: "string",
|
|
502
|
-
value: input3.label
|
|
503
|
-
})].every((flag) => flag);
|
|
504
|
-
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
505
|
-
path: _path2 + ".name",
|
|
506
|
-
expected: "string",
|
|
507
|
-
value: input3.name
|
|
508
|
-
}), "filter" === input3.type || $report(_exceptionable2, {
|
|
509
|
-
path: _path2 + ".type",
|
|
510
|
-
expected: '"filter"',
|
|
511
|
-
value: input3.type
|
|
512
|
-
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
513
|
-
path: _path2 + ".filter",
|
|
514
|
-
expected: "Filter",
|
|
515
|
-
value: input3.filter
|
|
516
|
-
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
517
|
-
path: _path2 + ".filter",
|
|
518
|
-
expected: "Filter",
|
|
519
|
-
value: input3.filter
|
|
520
|
-
}), "string" === typeof input3.color || $report(_exceptionable2, {
|
|
521
|
-
path: _path2 + ".color",
|
|
522
|
-
expected: "string",
|
|
523
|
-
value: input3.color
|
|
524
|
-
})].every((flag) => flag);
|
|
525
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
526
|
-
path: _path2 + ".type",
|
|
527
|
-
expected: '"tvslst"',
|
|
528
|
-
value: input3.type
|
|
529
|
-
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
530
|
-
path: _path2 + '["in"]',
|
|
531
|
-
expected: "boolean",
|
|
532
|
-
value: input3["in"]
|
|
533
|
-
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
534
|
-
path: _path2 + ".join",
|
|
535
|
-
expected: "string",
|
|
536
|
-
value: input3.join
|
|
537
|
-
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
538
|
-
path: _path2 + ".tag",
|
|
539
|
-
expected: "(string | undefined)",
|
|
540
|
-
value: input3.tag
|
|
541
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
542
|
-
path: _path2 + ".lst",
|
|
543
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
544
|
-
value: input3.lst
|
|
545
|
-
})) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
546
|
-
path: _path2 + ".lst[" + _index5 + "]",
|
|
547
|
-
expected: "(Filter | __type.o2)",
|
|
548
|
-
value: elem
|
|
549
|
-
})) && $vu1(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
550
|
-
path: _path2 + ".lst[" + _index5 + "]",
|
|
551
|
-
expected: "(Filter | __type.o2)",
|
|
552
|
-
value: elem
|
|
553
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
554
|
-
path: _path2 + ".lst",
|
|
555
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
556
|
-
value: input3.lst
|
|
557
|
-
})].every((flag) => flag);
|
|
558
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
462
|
+
value: input3.tag
|
|
463
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
464
|
+
path: _path2 + ".lst",
|
|
465
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
466
|
+
value: input3.lst
|
|
467
|
+
})) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
468
|
+
path: _path2 + ".lst[" + _index5 + "]",
|
|
469
|
+
expected: "(Filter | __type.o1)",
|
|
470
|
+
value: elem
|
|
471
|
+
})) && $vu0(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
472
|
+
path: _path2 + ".lst[" + _index5 + "]",
|
|
473
|
+
expected: "(Filter | __type.o1)",
|
|
474
|
+
value: elem
|
|
475
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
476
|
+
path: _path2 + ".lst",
|
|
477
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
478
|
+
value: input3.lst
|
|
479
|
+
})].every((flag) => flag);
|
|
480
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
559
481
|
path: _path2 + ".type",
|
|
560
482
|
expected: '"tvs"',
|
|
561
483
|
value: input3.type
|
|
@@ -563,12 +485,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
563
485
|
path: _path2 + ".tvs",
|
|
564
486
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
565
487
|
value: input3.tvs
|
|
566
|
-
})) && $
|
|
488
|
+
})) && $vu6(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
567
489
|
path: _path2 + ".tvs",
|
|
568
490
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
569
491
|
value: input3.tvs
|
|
570
492
|
})].every((flag) => flag);
|
|
571
|
-
const $
|
|
493
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
572
494
|
path: _path2 + ".join",
|
|
573
495
|
expected: "(string | undefined)",
|
|
574
496
|
value: input3.join
|
|
@@ -580,7 +502,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
580
502
|
path: _path2 + ".term",
|
|
581
503
|
expected: "CategoricalTerm",
|
|
582
504
|
value: input3.term
|
|
583
|
-
})) && $
|
|
505
|
+
})) && $vo3(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
584
506
|
path: _path2 + ".term",
|
|
585
507
|
expected: "CategoricalTerm",
|
|
586
508
|
value: input3.term
|
|
@@ -596,7 +518,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
596
518
|
path: _path2 + ".values[" + _index6 + "]",
|
|
597
519
|
expected: "BaseValue",
|
|
598
520
|
value: elem
|
|
599
|
-
})) && $
|
|
521
|
+
})) && $vo5(elem, _path2 + ".values[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
600
522
|
path: _path2 + ".values[" + _index6 + "]",
|
|
601
523
|
expected: "BaseValue",
|
|
602
524
|
value: elem
|
|
@@ -605,7 +527,56 @@ var validBrainImagingRequest = (input) => {
|
|
|
605
527
|
expected: "Array<BaseValue>",
|
|
606
528
|
value: input3.values
|
|
607
529
|
})].every((flag) => flag);
|
|
608
|
-
const $
|
|
530
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
531
|
+
path: _path2 + ".join",
|
|
532
|
+
expected: "(string | undefined)",
|
|
533
|
+
value: input3.join
|
|
534
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
535
|
+
path: _path2 + ".isnot",
|
|
536
|
+
expected: "(boolean | undefined)",
|
|
537
|
+
value: input3.isnot
|
|
538
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
539
|
+
path: _path2 + ".term",
|
|
540
|
+
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
541
|
+
value: input3.term
|
|
542
|
+
})) && $vu7(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
543
|
+
path: _path2 + ".term",
|
|
544
|
+
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
545
|
+
value: input3.term
|
|
546
|
+
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
547
|
+
path: _path2 + ".ranges",
|
|
548
|
+
expected: "Array<NumericBin>",
|
|
549
|
+
value: input3.ranges
|
|
550
|
+
})) && input3.ranges.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
551
|
+
path: _path2 + ".ranges[" + _index7 + "]",
|
|
552
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
553
|
+
value: elem
|
|
554
|
+
})) && $vu1(elem, _path2 + ".ranges[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
555
|
+
path: _path2 + ".ranges[" + _index7 + "]",
|
|
556
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
557
|
+
value: elem
|
|
558
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
559
|
+
path: _path2 + ".ranges",
|
|
560
|
+
expected: "Array<NumericBin>",
|
|
561
|
+
value: input3.ranges
|
|
562
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
563
|
+
path: _path2 + ".values",
|
|
564
|
+
expected: "Array<__type>",
|
|
565
|
+
value: input3.values
|
|
566
|
+
})) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
567
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
568
|
+
expected: "__type.o3",
|
|
569
|
+
value: elem
|
|
570
|
+
})) && $vo24(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
571
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
572
|
+
expected: "__type.o3",
|
|
573
|
+
value: elem
|
|
574
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
575
|
+
path: _path2 + ".values",
|
|
576
|
+
expected: "Array<__type>",
|
|
577
|
+
value: input3.values
|
|
578
|
+
})].every((flag) => flag);
|
|
579
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
609
580
|
path: _path2 + ".id",
|
|
610
581
|
expected: "string",
|
|
611
582
|
value: input3.id
|
|
@@ -613,16 +584,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
613
584
|
path: _path2 + ".name",
|
|
614
585
|
expected: "string",
|
|
615
586
|
value: input3.name
|
|
616
|
-
}), "
|
|
587
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
617
588
|
path: _path2 + ".type",
|
|
618
|
-
expected: '"
|
|
589
|
+
expected: '("float" | "integer")',
|
|
619
590
|
value: input3.type
|
|
620
591
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
621
592
|
path: _path2 + ".child_types",
|
|
622
593
|
expected: "(Array<string> | undefined)",
|
|
623
594
|
value: input3.child_types
|
|
624
|
-
})) && input3.child_types.map((elem,
|
|
625
|
-
path: _path2 + ".child_types[" +
|
|
595
|
+
})) && input3.child_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
|
|
596
|
+
path: _path2 + ".child_types[" + _index9 + "]",
|
|
626
597
|
expected: "string",
|
|
627
598
|
value: elem
|
|
628
599
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -637,8 +608,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
637
608
|
path: _path2 + ".included_types",
|
|
638
609
|
expected: "(Array<string> | undefined)",
|
|
639
610
|
value: input3.included_types
|
|
640
|
-
})) && input3.included_types.map((elem,
|
|
641
|
-
path: _path2 + ".included_types[" +
|
|
611
|
+
})) && input3.included_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
|
|
612
|
+
path: _path2 + ".included_types[" + _index10 + "]",
|
|
642
613
|
expected: "string",
|
|
643
614
|
value: elem
|
|
644
615
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -653,7 +624,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
653
624
|
path: _path2 + ".values",
|
|
654
625
|
expected: "(TermValues | undefined)",
|
|
655
626
|
value: input3.values
|
|
656
|
-
})) && $
|
|
627
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
657
628
|
path: _path2 + ".values",
|
|
658
629
|
expected: "(TermValues | undefined)",
|
|
659
630
|
value: input3.values
|
|
@@ -661,255 +632,28 @@ var validBrainImagingRequest = (input) => {
|
|
|
661
632
|
path: _path2 + ".skipValuesBuild",
|
|
662
633
|
expected: "(boolean | undefined)",
|
|
663
634
|
value: input3.skipValuesBuild
|
|
664
|
-
}), ("object" === typeof input3.
|
|
665
|
-
path: _path2 + ".
|
|
666
|
-
expected: "
|
|
667
|
-
value: input3.
|
|
668
|
-
})) && $
|
|
669
|
-
path: _path2 + ".
|
|
670
|
-
expected: "
|
|
671
|
-
value: input3.
|
|
672
|
-
})
|
|
673
|
-
|
|
674
|
-
const value = input3[key];
|
|
675
|
-
if (void 0 === value)
|
|
676
|
-
return true;
|
|
677
|
-
if (RegExp(/(.*)/).test(key))
|
|
678
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
679
|
-
path: _path2 + $join(key),
|
|
680
|
-
expected: "BaseValue",
|
|
681
|
-
value
|
|
682
|
-
})) && $vo17(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
683
|
-
path: _path2 + $join(key),
|
|
684
|
-
expected: "BaseValue",
|
|
685
|
-
value
|
|
686
|
-
});
|
|
687
|
-
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
688
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
689
|
-
path: _path2 + $join(key),
|
|
690
|
-
expected: "BaseValue",
|
|
691
|
-
value
|
|
692
|
-
})) && $vo17(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
693
|
-
path: _path2 + $join(key),
|
|
694
|
-
expected: "BaseValue",
|
|
695
|
-
value
|
|
696
|
-
});
|
|
697
|
-
return true;
|
|
698
|
-
}).every((flag) => flag)].every((flag) => flag);
|
|
699
|
-
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
700
|
-
path: _path2 + ".key",
|
|
701
|
-
expected: "(string | undefined)",
|
|
702
|
-
value: input3.key
|
|
703
|
-
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
704
|
-
path: _path2 + ".uncomputable",
|
|
705
|
-
expected: "(boolean | undefined)",
|
|
706
|
-
value: input3.uncomputable
|
|
707
|
-
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
708
|
-
path: _path2 + ".label",
|
|
709
|
-
expected: "(number | string | undefined)",
|
|
710
|
-
value: input3.label
|
|
711
|
-
}), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
|
|
712
|
-
path: _path2 + ".order",
|
|
713
|
-
expected: "(string | undefined)",
|
|
714
|
-
value: input3.order
|
|
715
|
-
}), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
|
|
716
|
-
path: _path2 + ".color",
|
|
635
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
636
|
+
path: _path2 + ".continuousColorScale",
|
|
637
|
+
expected: "(__type.o2 | undefined)",
|
|
638
|
+
value: input3.continuousColorScale
|
|
639
|
+
})) && $vo11(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
640
|
+
path: _path2 + ".continuousColorScale",
|
|
641
|
+
expected: "(__type.o2 | undefined)",
|
|
642
|
+
value: input3.continuousColorScale
|
|
643
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
644
|
+
path: _path2 + ".unit",
|
|
717
645
|
expected: "(string | undefined)",
|
|
718
|
-
value: input3.
|
|
719
|
-
}),
|
|
720
|
-
path: _path2 + ".
|
|
721
|
-
expected: "
|
|
722
|
-
value: input3.
|
|
723
|
-
})
|
|
724
|
-
path: _path2 + ".
|
|
725
|
-
expected: "
|
|
726
|
-
value: input3.
|
|
727
|
-
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
728
|
-
path: _path2 + ".filter",
|
|
729
|
-
expected: "(Filter | undefined)",
|
|
730
|
-
value: input3.filter
|
|
646
|
+
value: input3.unit
|
|
647
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
648
|
+
path: _path2 + ".bins",
|
|
649
|
+
expected: "PresetNumericBins",
|
|
650
|
+
value: input3.bins
|
|
651
|
+
})) && $vo12(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
652
|
+
path: _path2 + ".bins",
|
|
653
|
+
expected: "PresetNumericBins",
|
|
654
|
+
value: input3.bins
|
|
731
655
|
})].every((flag) => flag);
|
|
732
|
-
const $
|
|
733
|
-
path: _path2 + ".disabled",
|
|
734
|
-
expected: "boolean",
|
|
735
|
-
value: input3.disabled
|
|
736
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
737
|
-
path: _path2 + ".lst",
|
|
738
|
-
expected: "(Array<Groupset> | undefined)",
|
|
739
|
-
value: input3.lst
|
|
740
|
-
})) && input3.lst.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
741
|
-
path: _path2 + ".lst[" + _index9 + "]",
|
|
742
|
-
expected: "Groupset",
|
|
743
|
-
value: elem
|
|
744
|
-
})) && $vo19(elem, _path2 + ".lst[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
745
|
-
path: _path2 + ".lst[" + _index9 + "]",
|
|
746
|
-
expected: "Groupset",
|
|
747
|
-
value: elem
|
|
748
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
749
|
-
path: _path2 + ".lst",
|
|
750
|
-
expected: "(Array<Groupset> | undefined)",
|
|
751
|
-
value: input3.lst
|
|
752
|
-
})].every((flag) => flag);
|
|
753
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
754
|
-
path: _path2 + ".name",
|
|
755
|
-
expected: "string",
|
|
756
|
-
value: input3.name
|
|
757
|
-
}), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
|
|
758
|
-
path: _path2 + ".is_grade",
|
|
759
|
-
expected: "(boolean | undefined)",
|
|
760
|
-
value: input3.is_grade
|
|
761
|
-
}), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
|
|
762
|
-
path: _path2 + ".is_subcondition",
|
|
763
|
-
expected: "(boolean | undefined)",
|
|
764
|
-
value: input3.is_subcondition
|
|
765
|
-
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
766
|
-
path: _path2 + ".dt",
|
|
767
|
-
expected: "(number | undefined)",
|
|
768
|
-
value: input3.dt
|
|
769
|
-
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
770
|
-
path: _path2 + ".groups",
|
|
771
|
-
expected: "Array<GroupEntry>",
|
|
772
|
-
value: input3.groups
|
|
773
|
-
})) && input3.groups.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
774
|
-
path: _path2 + ".groups[" + _index10 + "]",
|
|
775
|
-
expected: "(FilterGroup | ValuesGroup)",
|
|
776
|
-
value: elem
|
|
777
|
-
})) && $vu0(elem, _path2 + ".groups[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
778
|
-
path: _path2 + ".groups[" + _index10 + "]",
|
|
779
|
-
expected: "(FilterGroup | ValuesGroup)",
|
|
780
|
-
value: elem
|
|
781
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
782
|
-
path: _path2 + ".groups",
|
|
783
|
-
expected: "Array<GroupEntry>",
|
|
784
|
-
value: input3.groups
|
|
785
|
-
})].every((flag) => flag);
|
|
786
|
-
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
787
|
-
path: _path2 + ".join",
|
|
788
|
-
expected: "(string | undefined)",
|
|
789
|
-
value: input3.join
|
|
790
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
791
|
-
path: _path2 + ".isnot",
|
|
792
|
-
expected: "(boolean | undefined)",
|
|
793
|
-
value: input3.isnot
|
|
794
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
795
|
-
path: _path2 + ".term",
|
|
796
|
-
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
797
|
-
value: input3.term
|
|
798
|
-
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
799
|
-
path: _path2 + ".term",
|
|
800
|
-
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
801
|
-
value: input3.term
|
|
802
|
-
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
803
|
-
path: _path2 + ".ranges",
|
|
804
|
-
expected: "Array<NumericBin>",
|
|
805
|
-
value: input3.ranges
|
|
806
|
-
})) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
807
|
-
path: _path2 + ".ranges[" + _index11 + "]",
|
|
808
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
809
|
-
value: elem
|
|
810
|
-
})) && $vu2(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
811
|
-
path: _path2 + ".ranges[" + _index11 + "]",
|
|
812
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
813
|
-
value: elem
|
|
814
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
815
|
-
path: _path2 + ".ranges",
|
|
816
|
-
expected: "Array<NumericBin>",
|
|
817
|
-
value: input3.ranges
|
|
818
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
819
|
-
path: _path2 + ".values",
|
|
820
|
-
expected: "Array<__type>.o1",
|
|
821
|
-
value: input3.values
|
|
822
|
-
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
823
|
-
path: _path2 + ".values[" + _index12 + "]",
|
|
824
|
-
expected: "__type.o4",
|
|
825
|
-
value: elem
|
|
826
|
-
})) && $vo34(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
827
|
-
path: _path2 + ".values[" + _index12 + "]",
|
|
828
|
-
expected: "__type.o4",
|
|
829
|
-
value: elem
|
|
830
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
831
|
-
path: _path2 + ".values",
|
|
832
|
-
expected: "Array<__type>.o1",
|
|
833
|
-
value: input3.values
|
|
834
|
-
})].every((flag) => flag);
|
|
835
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
836
|
-
path: _path2 + ".id",
|
|
837
|
-
expected: "string",
|
|
838
|
-
value: input3.id
|
|
839
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
840
|
-
path: _path2 + ".name",
|
|
841
|
-
expected: "string",
|
|
842
|
-
value: input3.name
|
|
843
|
-
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
844
|
-
path: _path2 + ".type",
|
|
845
|
-
expected: '("float" | "integer")',
|
|
846
|
-
value: input3.type
|
|
847
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
848
|
-
path: _path2 + ".child_types",
|
|
849
|
-
expected: "(Array<string> | undefined)",
|
|
850
|
-
value: input3.child_types
|
|
851
|
-
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
852
|
-
path: _path2 + ".child_types[" + _index13 + "]",
|
|
853
|
-
expected: "string",
|
|
854
|
-
value: elem
|
|
855
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
856
|
-
path: _path2 + ".child_types",
|
|
857
|
-
expected: "(Array<string> | undefined)",
|
|
858
|
-
value: input3.child_types
|
|
859
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
860
|
-
path: _path2 + ".hashtmldetail",
|
|
861
|
-
expected: "(boolean | undefined)",
|
|
862
|
-
value: input3.hashtmldetail
|
|
863
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
864
|
-
path: _path2 + ".included_types",
|
|
865
|
-
expected: "(Array<string> | undefined)",
|
|
866
|
-
value: input3.included_types
|
|
867
|
-
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
868
|
-
path: _path2 + ".included_types[" + _index14 + "]",
|
|
869
|
-
expected: "string",
|
|
870
|
-
value: elem
|
|
871
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
872
|
-
path: _path2 + ".included_types",
|
|
873
|
-
expected: "(Array<string> | undefined)",
|
|
874
|
-
value: input3.included_types
|
|
875
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
876
|
-
path: _path2 + ".isleaf",
|
|
877
|
-
expected: "(boolean | undefined)",
|
|
878
|
-
value: input3.isleaf
|
|
879
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
880
|
-
path: _path2 + ".values",
|
|
881
|
-
expected: "(TermValues | undefined)",
|
|
882
|
-
value: input3.values
|
|
883
|
-
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
884
|
-
path: _path2 + ".values",
|
|
885
|
-
expected: "(TermValues | undefined)",
|
|
886
|
-
value: input3.values
|
|
887
|
-
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
888
|
-
path: _path2 + ".skipValuesBuild",
|
|
889
|
-
expected: "(boolean | undefined)",
|
|
890
|
-
value: input3.skipValuesBuild
|
|
891
|
-
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
892
|
-
path: _path2 + ".continuousColorScale",
|
|
893
|
-
expected: "(__type.o3 | undefined)",
|
|
894
|
-
value: input3.continuousColorScale
|
|
895
|
-
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
896
|
-
path: _path2 + ".continuousColorScale",
|
|
897
|
-
expected: "(__type.o3 | undefined)",
|
|
898
|
-
value: input3.continuousColorScale
|
|
899
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
900
|
-
path: _path2 + ".unit",
|
|
901
|
-
expected: "(string | undefined)",
|
|
902
|
-
value: input3.unit
|
|
903
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
904
|
-
path: _path2 + ".bins",
|
|
905
|
-
expected: "PresetNumericBins",
|
|
906
|
-
value: input3.bins
|
|
907
|
-
})) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
908
|
-
path: _path2 + ".bins",
|
|
909
|
-
expected: "PresetNumericBins",
|
|
910
|
-
value: input3.bins
|
|
911
|
-
})].every((flag) => flag);
|
|
912
|
-
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
656
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
913
657
|
path: _path2 + ".minColor",
|
|
914
658
|
expected: "string",
|
|
915
659
|
value: input3.minColor
|
|
@@ -918,11 +662,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
918
662
|
expected: "string",
|
|
919
663
|
value: input3.maxColor
|
|
920
664
|
})].every((flag) => flag);
|
|
921
|
-
const $
|
|
665
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
922
666
|
path: _path2 + '["default"]',
|
|
923
667
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
924
668
|
value: input3["default"]
|
|
925
|
-
})) && $
|
|
669
|
+
})) && $vu8(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
926
670
|
path: _path2 + '["default"]',
|
|
927
671
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
928
672
|
value: input3["default"]
|
|
@@ -930,7 +674,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
930
674
|
path: _path2 + ".less",
|
|
931
675
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
932
676
|
value: input3.less
|
|
933
|
-
})) && $
|
|
677
|
+
})) && $vu8(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
934
678
|
path: _path2 + ".less",
|
|
935
679
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
936
680
|
value: input3.less
|
|
@@ -955,11 +699,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
955
699
|
expected: "(number | undefined)",
|
|
956
700
|
value: input3.max
|
|
957
701
|
})].every((flag) => flag);
|
|
958
|
-
const $
|
|
702
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
959
703
|
path: _path2 + ".hiddenValues",
|
|
960
704
|
expected: "(HiddenValues | undefined)",
|
|
961
705
|
value: input3.hiddenValues
|
|
962
|
-
})) && $
|
|
706
|
+
})) && $vo14(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
963
707
|
path: _path2 + ".hiddenValues",
|
|
964
708
|
expected: "(HiddenValues | undefined)",
|
|
965
709
|
value: input3.hiddenValues
|
|
@@ -991,7 +735,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
991
735
|
path: _path2 + ".first_bin",
|
|
992
736
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
993
737
|
value: input3.first_bin
|
|
994
|
-
})) && $
|
|
738
|
+
})) && $vu9(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
995
739
|
path: _path2 + ".first_bin",
|
|
996
740
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
997
741
|
value: input3.first_bin
|
|
@@ -999,7 +743,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
999
743
|
path: _path2 + ".last_bin",
|
|
1000
744
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1001
745
|
value: input3.last_bin
|
|
1002
|
-
})) && $
|
|
746
|
+
})) && $vu10(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1003
747
|
path: _path2 + ".last_bin",
|
|
1004
748
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1005
749
|
value: input3.last_bin
|
|
@@ -1008,7 +752,19 @@ var validBrainImagingRequest = (input) => {
|
|
|
1008
752
|
expected: "(number | undefined)",
|
|
1009
753
|
value: input3.label_offset
|
|
1010
754
|
})].every((flag) => flag);
|
|
1011
|
-
const $
|
|
755
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
756
|
+
const value = input3[key];
|
|
757
|
+
if (void 0 === value)
|
|
758
|
+
return true;
|
|
759
|
+
if (RegExp(/(.*)/).test(key))
|
|
760
|
+
return "number" === typeof value || $report(_exceptionable2, {
|
|
761
|
+
path: _path2 + $join(key),
|
|
762
|
+
expected: "number",
|
|
763
|
+
value
|
|
764
|
+
});
|
|
765
|
+
return true;
|
|
766
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
767
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1012
768
|
path: _path2 + ".startunbounded",
|
|
1013
769
|
expected: "true",
|
|
1014
770
|
value: input3.startunbounded
|
|
@@ -1037,7 +793,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1037
793
|
expected: "(string | undefined)",
|
|
1038
794
|
value: input3.range
|
|
1039
795
|
})].every((flag) => flag);
|
|
1040
|
-
const $
|
|
796
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1041
797
|
path: _path2 + ".startunbounded",
|
|
1042
798
|
expected: "(false | undefined)",
|
|
1043
799
|
value: input3.startunbounded
|
|
@@ -1070,7 +826,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1070
826
|
expected: "(string | undefined)",
|
|
1071
827
|
value: input3.range
|
|
1072
828
|
})].every((flag) => flag);
|
|
1073
|
-
const $
|
|
829
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1074
830
|
path: _path2 + ".start",
|
|
1075
831
|
expected: "number",
|
|
1076
832
|
value: input3.start
|
|
@@ -1099,11 +855,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1099
855
|
expected: "(string | undefined)",
|
|
1100
856
|
value: input3.range
|
|
1101
857
|
})].every((flag) => flag);
|
|
1102
|
-
const $
|
|
858
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1103
859
|
path: _path2 + ".hiddenValues",
|
|
1104
860
|
expected: "(HiddenValues | undefined)",
|
|
1105
861
|
value: input3.hiddenValues
|
|
1106
|
-
})) && $
|
|
862
|
+
})) && $vo14(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1107
863
|
path: _path2 + ".hiddenValues",
|
|
1108
864
|
expected: "(HiddenValues | undefined)",
|
|
1109
865
|
value: input3.hiddenValues
|
|
@@ -1136,7 +892,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1136
892
|
path: _path2 + ".lst[0]",
|
|
1137
893
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1138
894
|
value: input3.lst[0]
|
|
1139
|
-
})) && $
|
|
895
|
+
})) && $vu1(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
1140
896
|
path: _path2 + ".lst[0]",
|
|
1141
897
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1142
898
|
value: input3.lst[0]
|
|
@@ -1145,12 +901,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1145
901
|
path: _path2 + ".lst",
|
|
1146
902
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1147
903
|
value: input3.lst.slice(1)
|
|
1148
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1149
|
-
path: _path2 + ".lst[" + (1 +
|
|
904
|
+
})) && input3.lst.slice(1).map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
905
|
+
path: _path2 + ".lst[" + (1 + _index11) + "]",
|
|
1150
906
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1151
907
|
value: elem
|
|
1152
|
-
})) && $
|
|
1153
|
-
path: _path2 + ".lst[" + (1 +
|
|
908
|
+
})) && $vu1(elem, _path2 + ".lst[" + (1 + _index11) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
909
|
+
path: _path2 + ".lst[" + (1 + _index11) + "]",
|
|
1154
910
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1155
911
|
value: elem
|
|
1156
912
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1166,7 +922,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1166
922
|
expected: '("median" | undefined)',
|
|
1167
923
|
value: input3.preferredBins
|
|
1168
924
|
})].every((flag) => flag);
|
|
1169
|
-
const $
|
|
925
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1170
926
|
path: _path2 + ".id",
|
|
1171
927
|
expected: "string",
|
|
1172
928
|
value: input3.id
|
|
@@ -1182,8 +938,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1182
938
|
path: _path2 + ".child_types",
|
|
1183
939
|
expected: "(Array<string> | undefined)",
|
|
1184
940
|
value: input3.child_types
|
|
1185
|
-
})) && input3.child_types.map((elem,
|
|
1186
|
-
path: _path2 + ".child_types[" +
|
|
941
|
+
})) && input3.child_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
942
|
+
path: _path2 + ".child_types[" + _index12 + "]",
|
|
1187
943
|
expected: "string",
|
|
1188
944
|
value: elem
|
|
1189
945
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1198,8 +954,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1198
954
|
path: _path2 + ".included_types",
|
|
1199
955
|
expected: "(Array<string> | undefined)",
|
|
1200
956
|
value: input3.included_types
|
|
1201
|
-
})) && input3.included_types.map((elem,
|
|
1202
|
-
path: _path2 + ".included_types[" +
|
|
957
|
+
})) && input3.included_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
958
|
+
path: _path2 + ".included_types[" + _index13 + "]",
|
|
1203
959
|
expected: "string",
|
|
1204
960
|
value: elem
|
|
1205
961
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1214,7 +970,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1214
970
|
path: _path2 + ".values",
|
|
1215
971
|
expected: "(TermValues | undefined)",
|
|
1216
972
|
value: input3.values
|
|
1217
|
-
})) && $
|
|
973
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1218
974
|
path: _path2 + ".values",
|
|
1219
975
|
expected: "(TermValues | undefined)",
|
|
1220
976
|
value: input3.values
|
|
@@ -1224,11 +980,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1224
980
|
value: input3.skipValuesBuild
|
|
1225
981
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1226
982
|
path: _path2 + ".continuousColorScale",
|
|
1227
|
-
expected: "(__type.
|
|
983
|
+
expected: "(__type.o2 | undefined)",
|
|
1228
984
|
value: input3.continuousColorScale
|
|
1229
|
-
})) && $
|
|
985
|
+
})) && $vo11(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1230
986
|
path: _path2 + ".continuousColorScale",
|
|
1231
|
-
expected: "(__type.
|
|
987
|
+
expected: "(__type.o2 | undefined)",
|
|
1232
988
|
value: input3.continuousColorScale
|
|
1233
989
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1234
990
|
path: _path2 + ".unit",
|
|
@@ -1238,7 +994,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1238
994
|
path: _path2 + ".bins",
|
|
1239
995
|
expected: "(PresetNumericBins | undefined)",
|
|
1240
996
|
value: input3.bins
|
|
1241
|
-
})) && $
|
|
997
|
+
})) && $vo12(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1242
998
|
path: _path2 + ".bins",
|
|
1243
999
|
expected: "(PresetNumericBins | undefined)",
|
|
1244
1000
|
value: input3.bins
|
|
@@ -1263,7 +1019,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1263
1019
|
expected: "(number | undefined)",
|
|
1264
1020
|
value: input3.stop
|
|
1265
1021
|
})].every((flag) => flag);
|
|
1266
|
-
const $
|
|
1022
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1267
1023
|
path: _path2 + ".id",
|
|
1268
1024
|
expected: "string",
|
|
1269
1025
|
value: input3.id
|
|
@@ -1279,8 +1035,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1279
1035
|
path: _path2 + ".child_types",
|
|
1280
1036
|
expected: "(Array<string> | undefined)",
|
|
1281
1037
|
value: input3.child_types
|
|
1282
|
-
})) && input3.child_types.map((elem,
|
|
1283
|
-
path: _path2 + ".child_types[" +
|
|
1038
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1039
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
1284
1040
|
expected: "string",
|
|
1285
1041
|
value: elem
|
|
1286
1042
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1295,8 +1051,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1295
1051
|
path: _path2 + ".included_types",
|
|
1296
1052
|
expected: "(Array<string> | undefined)",
|
|
1297
1053
|
value: input3.included_types
|
|
1298
|
-
})) && input3.included_types.map((elem,
|
|
1299
|
-
path: _path2 + ".included_types[" +
|
|
1054
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1055
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
1300
1056
|
expected: "string",
|
|
1301
1057
|
value: elem
|
|
1302
1058
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1311,7 +1067,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1311
1067
|
path: _path2 + ".values",
|
|
1312
1068
|
expected: "(TermValues | undefined)",
|
|
1313
1069
|
value: input3.values
|
|
1314
|
-
})) && $
|
|
1070
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1315
1071
|
path: _path2 + ".values",
|
|
1316
1072
|
expected: "(TermValues | undefined)",
|
|
1317
1073
|
value: input3.values
|
|
@@ -1321,11 +1077,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1321
1077
|
value: input3.skipValuesBuild
|
|
1322
1078
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1323
1079
|
path: _path2 + ".continuousColorScale",
|
|
1324
|
-
expected: "(__type.
|
|
1080
|
+
expected: "(__type.o2 | undefined)",
|
|
1325
1081
|
value: input3.continuousColorScale
|
|
1326
|
-
})) && $
|
|
1082
|
+
})) && $vo11(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1327
1083
|
path: _path2 + ".continuousColorScale",
|
|
1328
|
-
expected: "(__type.
|
|
1084
|
+
expected: "(__type.o2 | undefined)",
|
|
1329
1085
|
value: input3.continuousColorScale
|
|
1330
1086
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1331
1087
|
path: _path2 + ".unit",
|
|
@@ -1335,7 +1091,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1335
1091
|
path: _path2 + ".bins",
|
|
1336
1092
|
expected: "(PresetNumericBins | undefined)",
|
|
1337
1093
|
value: input3.bins
|
|
1338
|
-
})) && $
|
|
1094
|
+
})) && $vo12(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1339
1095
|
path: _path2 + ".bins",
|
|
1340
1096
|
expected: "(PresetNumericBins | undefined)",
|
|
1341
1097
|
value: input3.bins
|
|
@@ -1360,7 +1116,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1360
1116
|
expected: "number",
|
|
1361
1117
|
value: input3.stop
|
|
1362
1118
|
})].every((flag) => flag);
|
|
1363
|
-
const $
|
|
1119
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1364
1120
|
path: _path2 + ".id",
|
|
1365
1121
|
expected: "string",
|
|
1366
1122
|
value: input3.id
|
|
@@ -1376,8 +1132,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1376
1132
|
path: _path2 + ".child_types",
|
|
1377
1133
|
expected: "(Array<string> | undefined)",
|
|
1378
1134
|
value: input3.child_types
|
|
1379
|
-
})) && input3.child_types.map((elem,
|
|
1380
|
-
path: _path2 + ".child_types[" +
|
|
1135
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1136
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
1381
1137
|
expected: "string",
|
|
1382
1138
|
value: elem
|
|
1383
1139
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1392,8 +1148,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1392
1148
|
path: _path2 + ".included_types",
|
|
1393
1149
|
expected: "(Array<string> | undefined)",
|
|
1394
1150
|
value: input3.included_types
|
|
1395
|
-
})) && input3.included_types.map((elem,
|
|
1396
|
-
path: _path2 + ".included_types[" +
|
|
1151
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1152
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
1397
1153
|
expected: "string",
|
|
1398
1154
|
value: elem
|
|
1399
1155
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1408,7 +1164,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1408
1164
|
path: _path2 + ".values",
|
|
1409
1165
|
expected: "(TermValues | undefined)",
|
|
1410
1166
|
value: input3.values
|
|
1411
|
-
})) && $
|
|
1167
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1412
1168
|
path: _path2 + ".values",
|
|
1413
1169
|
expected: "(TermValues | undefined)",
|
|
1414
1170
|
value: input3.values
|
|
@@ -1418,11 +1174,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1418
1174
|
value: input3.skipValuesBuild
|
|
1419
1175
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1420
1176
|
path: _path2 + ".continuousColorScale",
|
|
1421
|
-
expected: "(__type.
|
|
1177
|
+
expected: "(__type.o2 | undefined)",
|
|
1422
1178
|
value: input3.continuousColorScale
|
|
1423
|
-
})) && $
|
|
1179
|
+
})) && $vo11(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1424
1180
|
path: _path2 + ".continuousColorScale",
|
|
1425
|
-
expected: "(__type.
|
|
1181
|
+
expected: "(__type.o2 | undefined)",
|
|
1426
1182
|
value: input3.continuousColorScale
|
|
1427
1183
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1428
1184
|
path: _path2 + ".unit",
|
|
@@ -1436,12 +1192,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1436
1192
|
path: _path2 + ".bins",
|
|
1437
1193
|
expected: "(PresetNumericBins | undefined)",
|
|
1438
1194
|
value: input3.bins
|
|
1439
|
-
})) && $
|
|
1195
|
+
})) && $vo12(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1440
1196
|
path: _path2 + ".bins",
|
|
1441
1197
|
expected: "(PresetNumericBins | undefined)",
|
|
1442
1198
|
value: input3.bins
|
|
1443
1199
|
})].every((flag) => flag);
|
|
1444
|
-
const $
|
|
1200
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1445
1201
|
path: _path2 + ".id",
|
|
1446
1202
|
expected: "string",
|
|
1447
1203
|
value: input3.id
|
|
@@ -1457,8 +1213,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1457
1213
|
path: _path2 + ".child_types",
|
|
1458
1214
|
expected: "(Array<string> | undefined)",
|
|
1459
1215
|
value: input3.child_types
|
|
1460
|
-
})) && input3.child_types.map((elem,
|
|
1461
|
-
path: _path2 + ".child_types[" +
|
|
1216
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1217
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1462
1218
|
expected: "string",
|
|
1463
1219
|
value: elem
|
|
1464
1220
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1473,8 +1229,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1473
1229
|
path: _path2 + ".included_types",
|
|
1474
1230
|
expected: "(Array<string> | undefined)",
|
|
1475
1231
|
value: input3.included_types
|
|
1476
|
-
})) && input3.included_types.map((elem,
|
|
1477
|
-
path: _path2 + ".included_types[" +
|
|
1232
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1233
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1478
1234
|
expected: "string",
|
|
1479
1235
|
value: elem
|
|
1480
1236
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1489,7 +1245,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1489
1245
|
path: _path2 + ".values",
|
|
1490
1246
|
expected: "(TermValues | undefined)",
|
|
1491
1247
|
value: input3.values
|
|
1492
|
-
})) && $
|
|
1248
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1493
1249
|
path: _path2 + ".values",
|
|
1494
1250
|
expected: "(TermValues | undefined)",
|
|
1495
1251
|
value: input3.values
|
|
@@ -1499,11 +1255,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1499
1255
|
value: input3.skipValuesBuild
|
|
1500
1256
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1501
1257
|
path: _path2 + ".continuousColorScale",
|
|
1502
|
-
expected: "(__type.
|
|
1258
|
+
expected: "(__type.o2 | undefined)",
|
|
1503
1259
|
value: input3.continuousColorScale
|
|
1504
|
-
})) && $
|
|
1260
|
+
})) && $vo11(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1505
1261
|
path: _path2 + ".continuousColorScale",
|
|
1506
|
-
expected: "(__type.
|
|
1262
|
+
expected: "(__type.o2 | undefined)",
|
|
1507
1263
|
value: input3.continuousColorScale
|
|
1508
1264
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1509
1265
|
path: _path2 + ".unit",
|
|
@@ -1513,12 +1269,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1513
1269
|
path: _path2 + ".bins",
|
|
1514
1270
|
expected: "(PresetNumericBins | undefined)",
|
|
1515
1271
|
value: input3.bins
|
|
1516
|
-
})) && $
|
|
1272
|
+
})) && $vo12(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1517
1273
|
path: _path2 + ".bins",
|
|
1518
1274
|
expected: "(PresetNumericBins | undefined)",
|
|
1519
1275
|
value: input3.bins
|
|
1520
1276
|
})].every((flag) => flag);
|
|
1521
|
-
const $
|
|
1277
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1522
1278
|
path: _path2 + ".id",
|
|
1523
1279
|
expected: "string",
|
|
1524
1280
|
value: input3.id
|
|
@@ -1534,8 +1290,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1534
1290
|
path: _path2 + ".child_types",
|
|
1535
1291
|
expected: "(Array<string> | undefined)",
|
|
1536
1292
|
value: input3.child_types
|
|
1537
|
-
})) && input3.child_types.map((elem,
|
|
1538
|
-
path: _path2 + ".child_types[" +
|
|
1293
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1294
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1539
1295
|
expected: "string",
|
|
1540
1296
|
value: elem
|
|
1541
1297
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1550,8 +1306,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1550
1306
|
path: _path2 + ".included_types",
|
|
1551
1307
|
expected: "(Array<string> | undefined)",
|
|
1552
1308
|
value: input3.included_types
|
|
1553
|
-
})) && input3.included_types.map((elem,
|
|
1554
|
-
path: _path2 + ".included_types[" +
|
|
1309
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1310
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1555
1311
|
expected: "string",
|
|
1556
1312
|
value: elem
|
|
1557
1313
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1566,7 +1322,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1566
1322
|
path: _path2 + ".values",
|
|
1567
1323
|
expected: "(TermValues | undefined)",
|
|
1568
1324
|
value: input3.values
|
|
1569
|
-
})) && $
|
|
1325
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1570
1326
|
path: _path2 + ".values",
|
|
1571
1327
|
expected: "(TermValues | undefined)",
|
|
1572
1328
|
value: input3.values
|
|
@@ -1576,11 +1332,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1576
1332
|
value: input3.skipValuesBuild
|
|
1577
1333
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1578
1334
|
path: _path2 + ".continuousColorScale",
|
|
1579
|
-
expected: "(__type.
|
|
1335
|
+
expected: "(__type.o2 | undefined)",
|
|
1580
1336
|
value: input3.continuousColorScale
|
|
1581
|
-
})) && $
|
|
1337
|
+
})) && $vo11(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1582
1338
|
path: _path2 + ".continuousColorScale",
|
|
1583
|
-
expected: "(__type.
|
|
1339
|
+
expected: "(__type.o2 | undefined)",
|
|
1584
1340
|
value: input3.continuousColorScale
|
|
1585
1341
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1586
1342
|
path: _path2 + ".unit",
|
|
@@ -1590,8 +1346,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1590
1346
|
path: _path2 + ".genes",
|
|
1591
1347
|
expected: "(Array<string> | undefined)",
|
|
1592
1348
|
value: input3.genes
|
|
1593
|
-
})) && input3.genes.map((elem,
|
|
1594
|
-
path: _path2 + ".genes[" +
|
|
1349
|
+
})) && input3.genes.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1350
|
+
path: _path2 + ".genes[" + _index22 + "]",
|
|
1595
1351
|
expected: "string",
|
|
1596
1352
|
value: elem
|
|
1597
1353
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1602,12 +1358,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1602
1358
|
path: _path2 + ".bins",
|
|
1603
1359
|
expected: "(PresetNumericBins | undefined)",
|
|
1604
1360
|
value: input3.bins
|
|
1605
|
-
})) && $
|
|
1361
|
+
})) && $vo12(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1606
1362
|
path: _path2 + ".bins",
|
|
1607
1363
|
expected: "(PresetNumericBins | undefined)",
|
|
1608
1364
|
value: input3.bins
|
|
1609
1365
|
})].every((flag) => flag);
|
|
1610
|
-
const $
|
|
1366
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1611
1367
|
path: _path2 + ".key",
|
|
1612
1368
|
expected: "string",
|
|
1613
1369
|
value: input3.key
|
|
@@ -1624,7 +1380,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1624
1380
|
expected: "(string | undefined)",
|
|
1625
1381
|
value: input3.label
|
|
1626
1382
|
})].every((flag) => flag);
|
|
1627
|
-
const $
|
|
1383
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1628
1384
|
path: _path2 + ".join",
|
|
1629
1385
|
expected: "(string | undefined)",
|
|
1630
1386
|
value: input3.join
|
|
@@ -1636,7 +1392,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1636
1392
|
path: _path2 + ".term",
|
|
1637
1393
|
expected: "ConditionTerm",
|
|
1638
1394
|
value: input3.term
|
|
1639
|
-
})) && $
|
|
1395
|
+
})) && $vo26(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1640
1396
|
path: _path2 + ".term",
|
|
1641
1397
|
expected: "ConditionTerm",
|
|
1642
1398
|
value: input3.term
|
|
@@ -1656,12 +1412,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1656
1412
|
path: _path2 + ".grade_and_child",
|
|
1657
1413
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1658
1414
|
value: input3.grade_and_child
|
|
1659
|
-
})) && input3.grade_and_child.map((elem,
|
|
1660
|
-
path: _path2 + ".grade_and_child[" +
|
|
1415
|
+
})) && input3.grade_and_child.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1416
|
+
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
1661
1417
|
expected: "GradeAndChildEntry",
|
|
1662
1418
|
value: elem
|
|
1663
|
-
})) && $
|
|
1664
|
-
path: _path2 + ".grade_and_child[" +
|
|
1419
|
+
})) && $vo27(elem, _path2 + ".grade_and_child[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1420
|
+
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
1665
1421
|
expected: "GradeAndChildEntry",
|
|
1666
1422
|
value: elem
|
|
1667
1423
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1669,7 +1425,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1669
1425
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1670
1426
|
value: input3.grade_and_child
|
|
1671
1427
|
})].every((flag) => flag);
|
|
1672
|
-
const $
|
|
1428
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1673
1429
|
path: _path2 + ".id",
|
|
1674
1430
|
expected: "string",
|
|
1675
1431
|
value: input3.id
|
|
@@ -1685,8 +1441,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1685
1441
|
path: _path2 + ".child_types",
|
|
1686
1442
|
expected: "(Array<string> | undefined)",
|
|
1687
1443
|
value: input3.child_types
|
|
1688
|
-
})) && input3.child_types.map((elem,
|
|
1689
|
-
path: _path2 + ".child_types[" +
|
|
1444
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1445
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1690
1446
|
expected: "string",
|
|
1691
1447
|
value: elem
|
|
1692
1448
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1701,8 +1457,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1701
1457
|
path: _path2 + ".included_types",
|
|
1702
1458
|
expected: "(Array<string> | undefined)",
|
|
1703
1459
|
value: input3.included_types
|
|
1704
|
-
})) && input3.included_types.map((elem,
|
|
1705
|
-
path: _path2 + ".included_types[" +
|
|
1460
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1461
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1706
1462
|
expected: "string",
|
|
1707
1463
|
value: elem
|
|
1708
1464
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1717,7 +1473,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1717
1473
|
path: _path2 + ".values",
|
|
1718
1474
|
expected: "(TermValues | undefined)",
|
|
1719
1475
|
value: input3.values
|
|
1720
|
-
})) && $
|
|
1476
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1721
1477
|
path: _path2 + ".values",
|
|
1722
1478
|
expected: "(TermValues | undefined)",
|
|
1723
1479
|
value: input3.values
|
|
@@ -1726,7 +1482,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1726
1482
|
expected: "(boolean | undefined)",
|
|
1727
1483
|
value: input3.skipValuesBuild
|
|
1728
1484
|
})].every((flag) => flag);
|
|
1729
|
-
const $
|
|
1485
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1730
1486
|
path: _path2 + ".grade",
|
|
1731
1487
|
expected: "number",
|
|
1732
1488
|
value: input3.grade
|
|
@@ -1743,7 +1499,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1743
1499
|
expected: "string",
|
|
1744
1500
|
value: input3.child_label
|
|
1745
1501
|
})].every((flag) => flag);
|
|
1746
|
-
const $
|
|
1502
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1747
1503
|
path: _path2 + ".join",
|
|
1748
1504
|
expected: "(string | undefined)",
|
|
1749
1505
|
value: input3.join
|
|
@@ -1755,7 +1511,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1755
1511
|
path: _path2 + ".term",
|
|
1756
1512
|
expected: "DtTerm",
|
|
1757
1513
|
value: input3.term
|
|
1758
|
-
})) && $
|
|
1514
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1759
1515
|
path: _path2 + ".term",
|
|
1760
1516
|
expected: "DtTerm",
|
|
1761
1517
|
value: input3.term
|
|
@@ -1763,12 +1519,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1763
1519
|
path: _path2 + ".values",
|
|
1764
1520
|
expected: "Array<__type>.o2",
|
|
1765
1521
|
value: input3.values
|
|
1766
|
-
})) && input3.values.map((elem,
|
|
1767
|
-
path: _path2 + ".values[" +
|
|
1522
|
+
})) && input3.values.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1523
|
+
path: _path2 + ".values[" + _index26 + "]",
|
|
1768
1524
|
expected: "__type.o5",
|
|
1769
1525
|
value: elem
|
|
1770
|
-
})) && $
|
|
1771
|
-
path: _path2 + ".values[" +
|
|
1526
|
+
})) && $vo39(elem, _path2 + ".values[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1527
|
+
path: _path2 + ".values[" + _index26 + "]",
|
|
1772
1528
|
expected: "__type.o5",
|
|
1773
1529
|
value: elem
|
|
1774
1530
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1784,7 +1540,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1784
1540
|
expected: "(boolean | undefined)",
|
|
1785
1541
|
value: input3.excludeGeneName
|
|
1786
1542
|
})].every((flag) => flag);
|
|
1787
|
-
const $
|
|
1543
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1788
1544
|
path: _path2 + ".id",
|
|
1789
1545
|
expected: "string",
|
|
1790
1546
|
value: input3.id
|
|
@@ -1804,7 +1560,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1804
1560
|
path: _path2 + ".parentTerm",
|
|
1805
1561
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1806
1562
|
value: input3.parentTerm
|
|
1807
|
-
})) && $
|
|
1563
|
+
})) && $vu11(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1808
1564
|
path: _path2 + ".parentTerm",
|
|
1809
1565
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1810
1566
|
value: input3.parentTerm
|
|
@@ -1828,12 +1584,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1828
1584
|
path: _path2 + ".values",
|
|
1829
1585
|
expected: "TermValues",
|
|
1830
1586
|
value: input3.values
|
|
1831
|
-
})) && $
|
|
1587
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1832
1588
|
path: _path2 + ".values",
|
|
1833
1589
|
expected: "TermValues",
|
|
1834
1590
|
value: input3.values
|
|
1835
1591
|
})].every((flag) => flag);
|
|
1836
|
-
const $
|
|
1592
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1837
1593
|
path: _path2 + ".id",
|
|
1838
1594
|
expected: "string",
|
|
1839
1595
|
value: input3.id
|
|
@@ -1849,8 +1605,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1849
1605
|
path: _path2 + ".child_types",
|
|
1850
1606
|
expected: "(Array<string> | undefined)",
|
|
1851
1607
|
value: input3.child_types
|
|
1852
|
-
})) && input3.child_types.map((elem,
|
|
1853
|
-
path: _path2 + ".child_types[" +
|
|
1608
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1609
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1854
1610
|
expected: "string",
|
|
1855
1611
|
value: elem
|
|
1856
1612
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1865,8 +1621,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1865
1621
|
path: _path2 + ".included_types",
|
|
1866
1622
|
expected: "(Array<string> | undefined)",
|
|
1867
1623
|
value: input3.included_types
|
|
1868
|
-
})) && input3.included_types.map((elem,
|
|
1869
|
-
path: _path2 + ".included_types[" +
|
|
1624
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1625
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1870
1626
|
expected: "string",
|
|
1871
1627
|
value: elem
|
|
1872
1628
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1881,7 +1637,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1881
1637
|
path: _path2 + ".values",
|
|
1882
1638
|
expected: "(TermValues | undefined)",
|
|
1883
1639
|
value: input3.values
|
|
1884
|
-
})) && $
|
|
1640
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1885
1641
|
path: _path2 + ".values",
|
|
1886
1642
|
expected: "(TermValues | undefined)",
|
|
1887
1643
|
value: input3.values
|
|
@@ -1913,12 +1669,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1913
1669
|
path: _path2 + ".genes",
|
|
1914
1670
|
expected: "Array<GvGeneTerm>",
|
|
1915
1671
|
value: input3.genes
|
|
1916
|
-
})) && input3.genes.map((elem,
|
|
1917
|
-
path: _path2 + ".genes[" +
|
|
1672
|
+
})) && input3.genes.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1673
|
+
path: _path2 + ".genes[" + _index29 + "]",
|
|
1918
1674
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1919
1675
|
value: elem
|
|
1920
|
-
})) && $
|
|
1921
|
-
path: _path2 + ".genes[" +
|
|
1676
|
+
})) && $vu2(elem, _path2 + ".genes[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1677
|
+
path: _path2 + ".genes[" + _index29 + "]",
|
|
1922
1678
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1923
1679
|
value: elem
|
|
1924
1680
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1929,7 +1685,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1929
1685
|
path: _path2 + ".groupsetting",
|
|
1930
1686
|
expected: "(TermGroupSetting | undefined)",
|
|
1931
1687
|
value: input3.groupsetting
|
|
1932
|
-
})) && $
|
|
1688
|
+
})) && $vo33(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1933
1689
|
path: _path2 + ".groupsetting",
|
|
1934
1690
|
expected: "(TermGroupSetting | undefined)",
|
|
1935
1691
|
value: input3.groupsetting
|
|
@@ -1937,12 +1693,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1937
1693
|
path: _path2 + ".childTerms",
|
|
1938
1694
|
expected: "(Array<DtTerm> | undefined)",
|
|
1939
1695
|
value: input3.childTerms
|
|
1940
|
-
})) && input3.childTerms.map((elem,
|
|
1941
|
-
path: _path2 + ".childTerms[" +
|
|
1696
|
+
})) && input3.childTerms.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1697
|
+
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
1942
1698
|
expected: "DtTerm",
|
|
1943
1699
|
value: elem
|
|
1944
|
-
})) && $
|
|
1945
|
-
path: _path2 + ".childTerms[" +
|
|
1700
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1701
|
+
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
1946
1702
|
expected: "DtTerm",
|
|
1947
1703
|
value: elem
|
|
1948
1704
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1950,7 +1706,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1950
1706
|
expected: "(Array<DtTerm> | undefined)",
|
|
1951
1707
|
value: input3.childTerms
|
|
1952
1708
|
})].every((flag) => flag);
|
|
1953
|
-
const $
|
|
1709
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1954
1710
|
path: _path2 + ".id",
|
|
1955
1711
|
expected: "string",
|
|
1956
1712
|
value: input3.id
|
|
@@ -1966,8 +1722,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1966
1722
|
path: _path2 + ".child_types",
|
|
1967
1723
|
expected: "(Array<string> | undefined)",
|
|
1968
1724
|
value: input3.child_types
|
|
1969
|
-
})) && input3.child_types.map((elem,
|
|
1970
|
-
path: _path2 + ".child_types[" +
|
|
1725
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1726
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
1971
1727
|
expected: "string",
|
|
1972
1728
|
value: elem
|
|
1973
1729
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1982,8 +1738,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1982
1738
|
path: _path2 + ".included_types",
|
|
1983
1739
|
expected: "(Array<string> | undefined)",
|
|
1984
1740
|
value: input3.included_types
|
|
1985
|
-
})) && input3.included_types.map((elem,
|
|
1986
|
-
path: _path2 + ".included_types[" +
|
|
1741
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1742
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
1987
1743
|
expected: "string",
|
|
1988
1744
|
value: elem
|
|
1989
1745
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1998,7 +1754,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1998
1754
|
path: _path2 + ".values",
|
|
1999
1755
|
expected: "(TermValues | undefined)",
|
|
2000
1756
|
value: input3.values
|
|
2001
|
-
})) && $
|
|
1757
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2002
1758
|
path: _path2 + ".values",
|
|
2003
1759
|
expected: "(TermValues | undefined)",
|
|
2004
1760
|
value: input3.values
|
|
@@ -2027,7 +1783,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2027
1783
|
expected: "(number | undefined)",
|
|
2028
1784
|
value: input3.stop
|
|
2029
1785
|
})].every((flag) => flag);
|
|
2030
|
-
const $
|
|
1786
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2031
1787
|
path: _path2 + ".id",
|
|
2032
1788
|
expected: "string",
|
|
2033
1789
|
value: input3.id
|
|
@@ -2043,8 +1799,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2043
1799
|
path: _path2 + ".child_types",
|
|
2044
1800
|
expected: "(Array<string> | undefined)",
|
|
2045
1801
|
value: input3.child_types
|
|
2046
|
-
})) && input3.child_types.map((elem,
|
|
2047
|
-
path: _path2 + ".child_types[" +
|
|
1802
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1803
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
2048
1804
|
expected: "string",
|
|
2049
1805
|
value: elem
|
|
2050
1806
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2059,8 +1815,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2059
1815
|
path: _path2 + ".included_types",
|
|
2060
1816
|
expected: "(Array<string> | undefined)",
|
|
2061
1817
|
value: input3.included_types
|
|
2062
|
-
})) && input3.included_types.map((elem,
|
|
2063
|
-
path: _path2 + ".included_types[" +
|
|
1818
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1819
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
2064
1820
|
expected: "string",
|
|
2065
1821
|
value: elem
|
|
2066
1822
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2075,7 +1831,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2075
1831
|
path: _path2 + ".values",
|
|
2076
1832
|
expected: "(TermValues | undefined)",
|
|
2077
1833
|
value: input3.values
|
|
2078
|
-
})) && $
|
|
1834
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2079
1835
|
path: _path2 + ".values",
|
|
2080
1836
|
expected: "(TermValues | undefined)",
|
|
2081
1837
|
value: input3.values
|
|
@@ -2100,24 +1856,137 @@ var validBrainImagingRequest = (input) => {
|
|
|
2100
1856
|
expected: "number",
|
|
2101
1857
|
value: input3.stop
|
|
2102
1858
|
})].every((flag) => flag);
|
|
2103
|
-
const $
|
|
2104
|
-
path: _path2 + ".
|
|
1859
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1860
|
+
path: _path2 + ".disabled",
|
|
1861
|
+
expected: "boolean",
|
|
1862
|
+
value: input3.disabled
|
|
1863
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1864
|
+
path: _path2 + ".lst",
|
|
1865
|
+
expected: "(Array<Groupset> | undefined)",
|
|
1866
|
+
value: input3.lst
|
|
1867
|
+
})) && input3.lst.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1868
|
+
path: _path2 + ".lst[" + _index35 + "]",
|
|
1869
|
+
expected: "Groupset",
|
|
1870
|
+
value: elem
|
|
1871
|
+
})) && $vo34(elem, _path2 + ".lst[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1872
|
+
path: _path2 + ".lst[" + _index35 + "]",
|
|
1873
|
+
expected: "Groupset",
|
|
1874
|
+
value: elem
|
|
1875
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1876
|
+
path: _path2 + ".lst",
|
|
1877
|
+
expected: "(Array<Groupset> | undefined)",
|
|
1878
|
+
value: input3.lst
|
|
1879
|
+
})].every((flag) => flag);
|
|
1880
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1881
|
+
path: _path2 + ".name",
|
|
2105
1882
|
expected: "string",
|
|
2106
|
-
value: input3.
|
|
2107
|
-
}), "
|
|
1883
|
+
value: input3.name
|
|
1884
|
+
}), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
|
|
1885
|
+
path: _path2 + ".is_grade",
|
|
1886
|
+
expected: "(boolean | undefined)",
|
|
1887
|
+
value: input3.is_grade
|
|
1888
|
+
}), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
|
|
1889
|
+
path: _path2 + ".is_subcondition",
|
|
1890
|
+
expected: "(boolean | undefined)",
|
|
1891
|
+
value: input3.is_subcondition
|
|
1892
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1893
|
+
path: _path2 + ".dt",
|
|
1894
|
+
expected: "(number | undefined)",
|
|
1895
|
+
value: input3.dt
|
|
1896
|
+
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
1897
|
+
path: _path2 + ".groups",
|
|
1898
|
+
expected: "Array<GroupEntry>",
|
|
1899
|
+
value: input3.groups
|
|
1900
|
+
})) && input3.groups.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1901
|
+
path: _path2 + ".groups[" + _index36 + "]",
|
|
1902
|
+
expected: "(FilterGroup | ValuesGroup)",
|
|
1903
|
+
value: elem
|
|
1904
|
+
})) && $vu3(elem, _path2 + ".groups[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1905
|
+
path: _path2 + ".groups[" + _index36 + "]",
|
|
1906
|
+
expected: "(FilterGroup | ValuesGroup)",
|
|
1907
|
+
value: elem
|
|
1908
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1909
|
+
path: _path2 + ".groups",
|
|
1910
|
+
expected: "Array<GroupEntry>",
|
|
1911
|
+
value: input3.groups
|
|
1912
|
+
})].every((flag) => flag);
|
|
1913
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2108
1914
|
path: _path2 + ".name",
|
|
2109
1915
|
expected: "string",
|
|
2110
1916
|
value: input3.name
|
|
2111
|
-
}), "
|
|
1917
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2112
1918
|
path: _path2 + ".type",
|
|
2113
|
-
expected:
|
|
1919
|
+
expected: "string",
|
|
2114
1920
|
value: input3.type
|
|
2115
|
-
}),
|
|
2116
|
-
path: _path2 + ".
|
|
1921
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1922
|
+
path: _path2 + ".values",
|
|
1923
|
+
expected: "Array<__type>.o1",
|
|
1924
|
+
value: input3.values
|
|
1925
|
+
})) && input3.values.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1926
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
1927
|
+
expected: "__type.o4",
|
|
1928
|
+
value: elem
|
|
1929
|
+
})) && $vo36(elem, _path2 + ".values[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1930
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
1931
|
+
expected: "__type.o4",
|
|
1932
|
+
value: elem
|
|
1933
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1934
|
+
path: _path2 + ".values",
|
|
1935
|
+
expected: "Array<__type>.o1",
|
|
1936
|
+
value: input3.values
|
|
1937
|
+
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
1938
|
+
path: _path2 + ".uncomputable",
|
|
1939
|
+
expected: "(boolean | undefined)",
|
|
1940
|
+
value: input3.uncomputable
|
|
1941
|
+
})].every((flag) => flag);
|
|
1942
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
1943
|
+
path: _path2 + ".key",
|
|
1944
|
+
expected: "(number | string)",
|
|
1945
|
+
value: input3.key
|
|
1946
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1947
|
+
path: _path2 + ".label",
|
|
1948
|
+
expected: "string",
|
|
1949
|
+
value: input3.label
|
|
1950
|
+
})].every((flag) => flag);
|
|
1951
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1952
|
+
path: _path2 + ".name",
|
|
1953
|
+
expected: "string",
|
|
1954
|
+
value: input3.name
|
|
1955
|
+
}), "filter" === input3.type || $report(_exceptionable2, {
|
|
1956
|
+
path: _path2 + ".type",
|
|
1957
|
+
expected: '"filter"',
|
|
1958
|
+
value: input3.type
|
|
1959
|
+
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1960
|
+
path: _path2 + ".filter",
|
|
1961
|
+
expected: "Filter",
|
|
1962
|
+
value: input3.filter
|
|
1963
|
+
})) && $vo6(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1964
|
+
path: _path2 + ".filter",
|
|
1965
|
+
expected: "Filter",
|
|
1966
|
+
value: input3.filter
|
|
1967
|
+
}), "string" === typeof input3.color || $report(_exceptionable2, {
|
|
1968
|
+
path: _path2 + ".color",
|
|
1969
|
+
expected: "string",
|
|
1970
|
+
value: input3.color
|
|
1971
|
+
})].every((flag) => flag);
|
|
1972
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1973
|
+
path: _path2 + ".id",
|
|
1974
|
+
expected: "string",
|
|
1975
|
+
value: input3.id
|
|
1976
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1977
|
+
path: _path2 + ".name",
|
|
1978
|
+
expected: "string",
|
|
1979
|
+
value: input3.name
|
|
1980
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1981
|
+
path: _path2 + ".type",
|
|
1982
|
+
expected: '"geneVariant"',
|
|
1983
|
+
value: input3.type
|
|
1984
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1985
|
+
path: _path2 + ".child_types",
|
|
2117
1986
|
expected: "(Array<string> | undefined)",
|
|
2118
1987
|
value: input3.child_types
|
|
2119
|
-
})) && input3.child_types.map((elem,
|
|
2120
|
-
path: _path2 + ".child_types[" +
|
|
1988
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1989
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
2121
1990
|
expected: "string",
|
|
2122
1991
|
value: elem
|
|
2123
1992
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2132,8 +2001,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2132
2001
|
path: _path2 + ".included_types",
|
|
2133
2002
|
expected: "(Array<string> | undefined)",
|
|
2134
2003
|
value: input3.included_types
|
|
2135
|
-
})) && input3.included_types.map((elem,
|
|
2136
|
-
path: _path2 + ".included_types[" +
|
|
2004
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2005
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
2137
2006
|
expected: "string",
|
|
2138
2007
|
value: elem
|
|
2139
2008
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2148,7 +2017,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2148
2017
|
path: _path2 + ".values",
|
|
2149
2018
|
expected: "(TermValues | undefined)",
|
|
2150
2019
|
value: input3.values
|
|
2151
|
-
})) && $
|
|
2020
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2152
2021
|
path: _path2 + ".values",
|
|
2153
2022
|
expected: "(TermValues | undefined)",
|
|
2154
2023
|
value: input3.values
|
|
@@ -2176,12 +2045,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2176
2045
|
path: _path2 + ".genes",
|
|
2177
2046
|
expected: "Array<GvGeneTerm>",
|
|
2178
2047
|
value: input3.genes
|
|
2179
|
-
})) && input3.genes.map((elem,
|
|
2180
|
-
path: _path2 + ".genes[" +
|
|
2048
|
+
})) && input3.genes.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2049
|
+
path: _path2 + ".genes[" + _index40 + "]",
|
|
2181
2050
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2182
2051
|
value: elem
|
|
2183
|
-
})) && $
|
|
2184
|
-
path: _path2 + ".genes[" +
|
|
2052
|
+
})) && $vu2(elem, _path2 + ".genes[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2053
|
+
path: _path2 + ".genes[" + _index40 + "]",
|
|
2185
2054
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2186
2055
|
value: elem
|
|
2187
2056
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2192,7 +2061,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2192
2061
|
path: _path2 + ".groupsetting",
|
|
2193
2062
|
expected: "(TermGroupSetting | undefined)",
|
|
2194
2063
|
value: input3.groupsetting
|
|
2195
|
-
})) && $
|
|
2064
|
+
})) && $vo33(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2196
2065
|
path: _path2 + ".groupsetting",
|
|
2197
2066
|
expected: "(TermGroupSetting | undefined)",
|
|
2198
2067
|
value: input3.groupsetting
|
|
@@ -2200,12 +2069,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2200
2069
|
path: _path2 + ".childTerms",
|
|
2201
2070
|
expected: "(Array<DtTerm> | undefined)",
|
|
2202
2071
|
value: input3.childTerms
|
|
2203
|
-
})) && input3.childTerms.map((elem,
|
|
2204
|
-
path: _path2 + ".childTerms[" +
|
|
2072
|
+
})) && input3.childTerms.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2073
|
+
path: _path2 + ".childTerms[" + _index41 + "]",
|
|
2205
2074
|
expected: "DtTerm",
|
|
2206
2075
|
value: elem
|
|
2207
|
-
})) && $
|
|
2208
|
-
path: _path2 + ".childTerms[" +
|
|
2076
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2077
|
+
path: _path2 + ".childTerms[" + _index41 + "]",
|
|
2209
2078
|
expected: "DtTerm",
|
|
2210
2079
|
value: elem
|
|
2211
2080
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2213,7 +2082,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2213
2082
|
expected: "(Array<DtTerm> | undefined)",
|
|
2214
2083
|
value: input3.childTerms
|
|
2215
2084
|
})].every((flag) => flag);
|
|
2216
|
-
const $
|
|
2085
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2217
2086
|
path: _path2 + ".key",
|
|
2218
2087
|
expected: "string",
|
|
2219
2088
|
value: input3.key
|
|
@@ -2226,115 +2095,498 @@ var validBrainImagingRequest = (input) => {
|
|
|
2226
2095
|
expected: "string",
|
|
2227
2096
|
value: input3.value
|
|
2228
2097
|
})].every((flag) => flag);
|
|
2098
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2099
|
+
path: _path2 + ".id",
|
|
2100
|
+
expected: "string",
|
|
2101
|
+
value: input3.id
|
|
2102
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2103
|
+
path: _path2 + ".name",
|
|
2104
|
+
expected: "string",
|
|
2105
|
+
value: input3.name
|
|
2106
|
+
}), "snp" === input3.type || $report(_exceptionable2, {
|
|
2107
|
+
path: _path2 + ".type",
|
|
2108
|
+
expected: '"snp"',
|
|
2109
|
+
value: input3.type
|
|
2110
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2111
|
+
path: _path2 + ".child_types",
|
|
2112
|
+
expected: "(Array<string> | undefined)",
|
|
2113
|
+
value: input3.child_types
|
|
2114
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2115
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
2116
|
+
expected: "string",
|
|
2117
|
+
value: elem
|
|
2118
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2119
|
+
path: _path2 + ".child_types",
|
|
2120
|
+
expected: "(Array<string> | undefined)",
|
|
2121
|
+
value: input3.child_types
|
|
2122
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2123
|
+
path: _path2 + ".hashtmldetail",
|
|
2124
|
+
expected: "(boolean | undefined)",
|
|
2125
|
+
value: input3.hashtmldetail
|
|
2126
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2127
|
+
path: _path2 + ".included_types",
|
|
2128
|
+
expected: "(Array<string> | undefined)",
|
|
2129
|
+
value: input3.included_types
|
|
2130
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2131
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
2132
|
+
expected: "string",
|
|
2133
|
+
value: elem
|
|
2134
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2135
|
+
path: _path2 + ".included_types",
|
|
2136
|
+
expected: "(Array<string> | undefined)",
|
|
2137
|
+
value: input3.included_types
|
|
2138
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2139
|
+
path: _path2 + ".isleaf",
|
|
2140
|
+
expected: "(boolean | undefined)",
|
|
2141
|
+
value: input3.isleaf
|
|
2142
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2143
|
+
path: _path2 + ".values",
|
|
2144
|
+
expected: "(TermValues | undefined)",
|
|
2145
|
+
value: input3.values
|
|
2146
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2147
|
+
path: _path2 + ".values",
|
|
2148
|
+
expected: "(TermValues | undefined)",
|
|
2149
|
+
value: input3.values
|
|
2150
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2151
|
+
path: _path2 + ".skipValuesBuild",
|
|
2152
|
+
expected: "(boolean | undefined)",
|
|
2153
|
+
value: input3.skipValuesBuild
|
|
2154
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2155
|
+
path: _path2 + ".chr",
|
|
2156
|
+
expected: "string",
|
|
2157
|
+
value: input3.chr
|
|
2158
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2159
|
+
path: _path2 + ".start",
|
|
2160
|
+
expected: "number",
|
|
2161
|
+
value: input3.start
|
|
2162
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2163
|
+
path: _path2 + ".stop",
|
|
2164
|
+
expected: "number",
|
|
2165
|
+
value: input3.stop
|
|
2166
|
+
}), "string" === typeof input3.ref || $report(_exceptionable2, {
|
|
2167
|
+
path: _path2 + ".ref",
|
|
2168
|
+
expected: "string",
|
|
2169
|
+
value: input3.ref
|
|
2170
|
+
}), (Array.isArray(input3.alt) || $report(_exceptionable2, {
|
|
2171
|
+
path: _path2 + ".alt",
|
|
2172
|
+
expected: "Array<string>",
|
|
2173
|
+
value: input3.alt
|
|
2174
|
+
})) && input3.alt.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2175
|
+
path: _path2 + ".alt[" + _index44 + "]",
|
|
2176
|
+
expected: "string",
|
|
2177
|
+
value: elem
|
|
2178
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2179
|
+
path: _path2 + ".alt",
|
|
2180
|
+
expected: "Array<string>",
|
|
2181
|
+
value: input3.alt
|
|
2182
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2183
|
+
path: _path2 + ".groupsetting",
|
|
2184
|
+
expected: "TermGroupSetting",
|
|
2185
|
+
value: input3.groupsetting
|
|
2186
|
+
})) && $vo33(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2187
|
+
path: _path2 + ".groupsetting",
|
|
2188
|
+
expected: "TermGroupSetting",
|
|
2189
|
+
value: input3.groupsetting
|
|
2190
|
+
})].every((flag) => flag);
|
|
2191
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2192
|
+
path: _path2 + ".id",
|
|
2193
|
+
expected: "string",
|
|
2194
|
+
value: input3.id
|
|
2195
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2196
|
+
path: _path2 + ".name",
|
|
2197
|
+
expected: "string",
|
|
2198
|
+
value: input3.name
|
|
2199
|
+
}), "singleCellCellType" === input3.type || $report(_exceptionable2, {
|
|
2200
|
+
path: _path2 + ".type",
|
|
2201
|
+
expected: '"singleCellCellType"',
|
|
2202
|
+
value: input3.type
|
|
2203
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2204
|
+
path: _path2 + ".child_types",
|
|
2205
|
+
expected: "(Array<string> | undefined)",
|
|
2206
|
+
value: input3.child_types
|
|
2207
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2208
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2209
|
+
expected: "string",
|
|
2210
|
+
value: elem
|
|
2211
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2212
|
+
path: _path2 + ".child_types",
|
|
2213
|
+
expected: "(Array<string> | undefined)",
|
|
2214
|
+
value: input3.child_types
|
|
2215
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2216
|
+
path: _path2 + ".hashtmldetail",
|
|
2217
|
+
expected: "(boolean | undefined)",
|
|
2218
|
+
value: input3.hashtmldetail
|
|
2219
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2220
|
+
path: _path2 + ".included_types",
|
|
2221
|
+
expected: "(Array<string> | undefined)",
|
|
2222
|
+
value: input3.included_types
|
|
2223
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2224
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2225
|
+
expected: "string",
|
|
2226
|
+
value: elem
|
|
2227
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2228
|
+
path: _path2 + ".included_types",
|
|
2229
|
+
expected: "(Array<string> | undefined)",
|
|
2230
|
+
value: input3.included_types
|
|
2231
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2232
|
+
path: _path2 + ".isleaf",
|
|
2233
|
+
expected: "(boolean | undefined)",
|
|
2234
|
+
value: input3.isleaf
|
|
2235
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2236
|
+
path: _path2 + ".values",
|
|
2237
|
+
expected: "(TermValues | undefined)",
|
|
2238
|
+
value: input3.values
|
|
2239
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2240
|
+
path: _path2 + ".values",
|
|
2241
|
+
expected: "(TermValues | undefined)",
|
|
2242
|
+
value: input3.values
|
|
2243
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2244
|
+
path: _path2 + ".skipValuesBuild",
|
|
2245
|
+
expected: "(boolean | undefined)",
|
|
2246
|
+
value: input3.skipValuesBuild
|
|
2247
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
2248
|
+
path: _path2 + ".sample",
|
|
2249
|
+
expected: "string",
|
|
2250
|
+
value: input3.sample
|
|
2251
|
+
}), "string" === typeof input3.plot || $report(_exceptionable2, {
|
|
2252
|
+
path: _path2 + ".plot",
|
|
2253
|
+
expected: "string",
|
|
2254
|
+
value: input3.plot
|
|
2255
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2256
|
+
path: _path2 + ".groupsetting",
|
|
2257
|
+
expected: "TermGroupSetting",
|
|
2258
|
+
value: input3.groupsetting
|
|
2259
|
+
})) && $vo33(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2260
|
+
path: _path2 + ".groupsetting",
|
|
2261
|
+
expected: "TermGroupSetting",
|
|
2262
|
+
value: input3.groupsetting
|
|
2263
|
+
})].every((flag) => flag);
|
|
2264
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2265
|
+
path: _path2 + ".hiddenValues",
|
|
2266
|
+
expected: "(HiddenValues | undefined)",
|
|
2267
|
+
value: input3.hiddenValues
|
|
2268
|
+
})) && $vo14(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2269
|
+
path: _path2 + ".hiddenValues",
|
|
2270
|
+
expected: "(HiddenValues | undefined)",
|
|
2271
|
+
value: input3.hiddenValues
|
|
2272
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2273
|
+
path: _path2 + ".isAtomic",
|
|
2274
|
+
expected: "(true | undefined)",
|
|
2275
|
+
value: input3.isAtomic
|
|
2276
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2277
|
+
path: _path2 + ".name",
|
|
2278
|
+
expected: "(string | undefined)",
|
|
2279
|
+
value: input3.name
|
|
2280
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
2281
|
+
path: _path2 + ".reuseId",
|
|
2282
|
+
expected: "(string | undefined)",
|
|
2283
|
+
value: input3.reuseId
|
|
2284
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
2285
|
+
path: _path2 + ".mode",
|
|
2286
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
2287
|
+
value: input3.mode
|
|
2288
|
+
}), "values" === input3.type || $report(_exceptionable2, {
|
|
2289
|
+
path: _path2 + ".type",
|
|
2290
|
+
expected: '"values"',
|
|
2291
|
+
value: input3.type
|
|
2292
|
+
})].every((flag) => flag);
|
|
2293
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2294
|
+
path: _path2 + ".id",
|
|
2295
|
+
expected: "(string | undefined)",
|
|
2296
|
+
value: input3.id
|
|
2297
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
2298
|
+
path: _path2 + ".$id",
|
|
2299
|
+
expected: "(string | undefined)",
|
|
2300
|
+
value: input3.$id
|
|
2301
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2302
|
+
path: _path2 + ".isAtomic",
|
|
2303
|
+
expected: "(true | undefined)",
|
|
2304
|
+
value: input3.isAtomic
|
|
2305
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
2306
|
+
path: _path2 + ".settings",
|
|
2307
|
+
expected: "(__type | undefined)",
|
|
2308
|
+
value: input3.settings
|
|
2309
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
2310
|
+
path: _path2 + ".settings",
|
|
2311
|
+
expected: "(__type | undefined)",
|
|
2312
|
+
value: input3.settings
|
|
2313
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
2314
|
+
path: _path2 + ".minNumSamples",
|
|
2315
|
+
expected: "(number | undefined)",
|
|
2316
|
+
value: input3.minNumSamples
|
|
2317
|
+
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2318
|
+
path: _path2 + ".term",
|
|
2319
|
+
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
2320
|
+
value: input3.term
|
|
2321
|
+
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2322
|
+
path: _path2 + ".term",
|
|
2323
|
+
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
2324
|
+
value: input3.term
|
|
2325
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2326
|
+
path: _path2 + ".q",
|
|
2327
|
+
expected: "PredefinedGroupSettingQ",
|
|
2328
|
+
value: input3.q
|
|
2329
|
+
})) && $vo44(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2330
|
+
path: _path2 + ".q",
|
|
2331
|
+
expected: "PredefinedGroupSettingQ",
|
|
2332
|
+
value: input3.q
|
|
2333
|
+
}), "QualTWPredefinedGS" === input3.type || $report(_exceptionable2, {
|
|
2334
|
+
path: _path2 + ".type",
|
|
2335
|
+
expected: '"QualTWPredefinedGS"',
|
|
2336
|
+
value: input3.type
|
|
2337
|
+
})].every((flag) => flag);
|
|
2338
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2339
|
+
path: _path2 + ".hiddenValues",
|
|
2340
|
+
expected: "(HiddenValues | undefined)",
|
|
2341
|
+
value: input3.hiddenValues
|
|
2342
|
+
})) && $vo14(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2343
|
+
path: _path2 + ".hiddenValues",
|
|
2344
|
+
expected: "(HiddenValues | undefined)",
|
|
2345
|
+
value: input3.hiddenValues
|
|
2346
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2347
|
+
path: _path2 + ".isAtomic",
|
|
2348
|
+
expected: "(true | undefined)",
|
|
2349
|
+
value: input3.isAtomic
|
|
2350
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2351
|
+
path: _path2 + ".name",
|
|
2352
|
+
expected: "(string | undefined)",
|
|
2353
|
+
value: input3.name
|
|
2354
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
2355
|
+
path: _path2 + ".reuseId",
|
|
2356
|
+
expected: "(string | undefined)",
|
|
2357
|
+
value: input3.reuseId
|
|
2358
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
2359
|
+
path: _path2 + ".mode",
|
|
2360
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
2361
|
+
value: input3.mode
|
|
2362
|
+
}), "predefined-groupset" === input3.type || $report(_exceptionable2, {
|
|
2363
|
+
path: _path2 + ".type",
|
|
2364
|
+
expected: '"predefined-groupset"',
|
|
2365
|
+
value: input3.type
|
|
2366
|
+
}), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
|
|
2367
|
+
path: _path2 + ".predefined_groupset_idx",
|
|
2368
|
+
expected: "number",
|
|
2369
|
+
value: input3.predefined_groupset_idx
|
|
2370
|
+
})].every((flag) => flag);
|
|
2371
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2372
|
+
path: _path2 + ".id",
|
|
2373
|
+
expected: "(string | undefined)",
|
|
2374
|
+
value: input3.id
|
|
2375
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
2376
|
+
path: _path2 + ".$id",
|
|
2377
|
+
expected: "(string | undefined)",
|
|
2378
|
+
value: input3.$id
|
|
2379
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2380
|
+
path: _path2 + ".isAtomic",
|
|
2381
|
+
expected: "(true | undefined)",
|
|
2382
|
+
value: input3.isAtomic
|
|
2383
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
2384
|
+
path: _path2 + ".settings",
|
|
2385
|
+
expected: "(__type | undefined)",
|
|
2386
|
+
value: input3.settings
|
|
2387
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
2388
|
+
path: _path2 + ".settings",
|
|
2389
|
+
expected: "(__type | undefined)",
|
|
2390
|
+
value: input3.settings
|
|
2391
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
2392
|
+
path: _path2 + ".minNumSamples",
|
|
2393
|
+
expected: "(number | undefined)",
|
|
2394
|
+
value: input3.minNumSamples
|
|
2395
|
+
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2396
|
+
path: _path2 + ".term",
|
|
2397
|
+
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
2398
|
+
value: input3.term
|
|
2399
|
+
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2400
|
+
path: _path2 + ".term",
|
|
2401
|
+
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
2402
|
+
value: input3.term
|
|
2403
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2404
|
+
path: _path2 + ".q",
|
|
2405
|
+
expected: "CustomGroupSettingQ",
|
|
2406
|
+
value: input3.q
|
|
2407
|
+
})) && $vo46(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2408
|
+
path: _path2 + ".q",
|
|
2409
|
+
expected: "CustomGroupSettingQ",
|
|
2410
|
+
value: input3.q
|
|
2411
|
+
}), "QualTWCustomGS" === input3.type || $report(_exceptionable2, {
|
|
2412
|
+
path: _path2 + ".type",
|
|
2413
|
+
expected: '"QualTWCustomGS"',
|
|
2414
|
+
value: input3.type
|
|
2415
|
+
})].every((flag) => flag);
|
|
2416
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2417
|
+
path: _path2 + ".hiddenValues",
|
|
2418
|
+
expected: "(HiddenValues | undefined)",
|
|
2419
|
+
value: input3.hiddenValues
|
|
2420
|
+
})) && $vo14(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2421
|
+
path: _path2 + ".hiddenValues",
|
|
2422
|
+
expected: "(HiddenValues | undefined)",
|
|
2423
|
+
value: input3.hiddenValues
|
|
2424
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2425
|
+
path: _path2 + ".isAtomic",
|
|
2426
|
+
expected: "(true | undefined)",
|
|
2427
|
+
value: input3.isAtomic
|
|
2428
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2429
|
+
path: _path2 + ".name",
|
|
2430
|
+
expected: "(string | undefined)",
|
|
2431
|
+
value: input3.name
|
|
2432
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
2433
|
+
path: _path2 + ".reuseId",
|
|
2434
|
+
expected: "(string | undefined)",
|
|
2435
|
+
value: input3.reuseId
|
|
2436
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
2437
|
+
path: _path2 + ".mode",
|
|
2438
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
2439
|
+
value: input3.mode
|
|
2440
|
+
}), "custom-groupset" === input3.type || $report(_exceptionable2, {
|
|
2441
|
+
path: _path2 + ".type",
|
|
2442
|
+
expected: '"custom-groupset"',
|
|
2443
|
+
value: input3.type
|
|
2444
|
+
}), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
|
|
2445
|
+
path: _path2 + ".customset",
|
|
2446
|
+
expected: "BaseGroupSet",
|
|
2447
|
+
value: input3.customset
|
|
2448
|
+
})) && $vo47(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
2449
|
+
path: _path2 + ".customset",
|
|
2450
|
+
expected: "BaseGroupSet",
|
|
2451
|
+
value: input3.customset
|
|
2452
|
+
})].every((flag) => flag);
|
|
2453
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
2454
|
+
path: _path2 + ".groups",
|
|
2455
|
+
expected: "Array<GroupEntry>",
|
|
2456
|
+
value: input3.groups
|
|
2457
|
+
})) && input3.groups.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2458
|
+
path: _path2 + ".groups[" + _index47 + "]",
|
|
2459
|
+
expected: "(FilterGroup | ValuesGroup)",
|
|
2460
|
+
value: elem
|
|
2461
|
+
})) && $vu3(elem, _path2 + ".groups[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2462
|
+
path: _path2 + ".groups[" + _index47 + "]",
|
|
2463
|
+
expected: "(FilterGroup | ValuesGroup)",
|
|
2464
|
+
value: elem
|
|
2465
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2466
|
+
path: _path2 + ".groups",
|
|
2467
|
+
expected: "Array<GroupEntry>",
|
|
2468
|
+
value: input3.groups
|
|
2469
|
+
})].every((flag) => flag);
|
|
2229
2470
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2230
|
-
if ("string" === typeof input3.type)
|
|
2231
|
-
return $vo9(input3, _path2, _exceptionable2);
|
|
2232
|
-
if ("filter" === input3.type)
|
|
2233
|
-
return $vo11(input3, _path2, _exceptionable2);
|
|
2234
|
-
return $report(_exceptionable2, {
|
|
2235
|
-
path: _path2,
|
|
2236
|
-
expected: "(ValuesGroup | FilterGroup)",
|
|
2237
|
-
value: input3
|
|
2238
|
-
});
|
|
2239
|
-
})();
|
|
2240
|
-
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2241
2471
|
if ("tvslst" === input3.type)
|
|
2242
|
-
return $
|
|
2472
|
+
return $vo6(input3, _path2, _exceptionable2);
|
|
2243
2473
|
if ("tvs" === input3.type)
|
|
2244
|
-
return $
|
|
2474
|
+
return $vo7(input3, _path2, _exceptionable2);
|
|
2245
2475
|
return $report(_exceptionable2, {
|
|
2246
2476
|
path: _path2,
|
|
2247
|
-
expected: "(Filter | __type.
|
|
2477
|
+
expected: "(Filter | __type.o1)",
|
|
2248
2478
|
value: input3
|
|
2249
2479
|
});
|
|
2250
2480
|
})();
|
|
2251
|
-
const $
|
|
2481
|
+
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2252
2482
|
if (true === input3.startunbounded)
|
|
2253
|
-
return $
|
|
2483
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
2254
2484
|
if (true === input3.stopunbounded)
|
|
2255
|
-
return $
|
|
2256
|
-
return $
|
|
2485
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
2486
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
2257
2487
|
})();
|
|
2258
|
-
const $
|
|
2488
|
+
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2259
2489
|
if ("gene" === input3.kind)
|
|
2260
|
-
return $
|
|
2490
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
2261
2491
|
if ("coord" === input3.kind)
|
|
2262
|
-
return $
|
|
2492
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
2263
2493
|
return $report(_exceptionable2, {
|
|
2264
2494
|
path: _path2,
|
|
2265
2495
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
2266
2496
|
value: input3
|
|
2267
2497
|
});
|
|
2268
2498
|
})();
|
|
2269
|
-
const $
|
|
2270
|
-
if ("
|
|
2271
|
-
return $
|
|
2499
|
+
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2500
|
+
if ("string" === typeof input3.type)
|
|
2501
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
2272
2502
|
if ("filter" === input3.type)
|
|
2273
|
-
return $
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2503
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
2504
|
+
return $report(_exceptionable2, {
|
|
2505
|
+
path: _path2,
|
|
2506
|
+
expected: "(ValuesGroup | FilterGroup)",
|
|
2507
|
+
value: input3
|
|
2508
|
+
});
|
|
2509
|
+
})();
|
|
2510
|
+
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2511
|
+
if ("QualTWCustomGS" === input3.type)
|
|
2512
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
2513
|
+
if ("QualTWPredefinedGS" === input3.type)
|
|
2514
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
2515
|
+
if ("QualTWValues" === input3.type)
|
|
2516
|
+
return $vo1(input3, _path2, _exceptionable2);
|
|
2278
2517
|
return $report(_exceptionable2, {
|
|
2279
2518
|
path: _path2,
|
|
2280
|
-
expected: "(
|
|
2519
|
+
expected: "(QualTWCustomGS | QualTWPredefinedGS | QualTWValues)",
|
|
2281
2520
|
value: input3
|
|
2282
2521
|
});
|
|
2283
2522
|
})();
|
|
2284
2523
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2285
|
-
if (
|
|
2286
|
-
return $
|
|
2287
|
-
|
|
2524
|
+
if ("categorical" === input3.type)
|
|
2525
|
+
return $vo3(input3, _path2, _exceptionable2);
|
|
2526
|
+
if ("snp" === input3.type)
|
|
2527
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
2528
|
+
if ("singleCellCellType" === input3.type)
|
|
2529
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
2530
|
+
return $report(_exceptionable2, {
|
|
2531
|
+
path: _path2,
|
|
2532
|
+
expected: "(CategoricalTerm | SnpTerm | SingleCellCellTypeTerm)",
|
|
2533
|
+
value: input3
|
|
2534
|
+
});
|
|
2288
2535
|
})();
|
|
2289
2536
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2537
|
+
if (void 0 !== input3.ranges)
|
|
2538
|
+
return $vo9(input3, _path2, _exceptionable2);
|
|
2539
|
+
return $vo8(input3, _path2, false) || $vo25(input3, _path2, false) || $vo28(input3, _path2, false);
|
|
2540
|
+
})();
|
|
2541
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2290
2542
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2291
|
-
return $
|
|
2543
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
2292
2544
|
if ("metaboliteIntensity" === input3.type)
|
|
2293
|
-
return $
|
|
2545
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2294
2546
|
if ("date" === input3.type)
|
|
2295
|
-
return $
|
|
2547
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
2296
2548
|
if ("ssGSEA" === input3.type)
|
|
2297
|
-
return $
|
|
2298
|
-
return $
|
|
2549
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
2550
|
+
return $vo20(input3, _path2, false) || $vo19(input3, _path2, false);
|
|
2299
2551
|
})();
|
|
2300
|
-
const $
|
|
2552
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2301
2553
|
if ("regular-bin" === input3.type)
|
|
2302
|
-
return $
|
|
2554
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
2303
2555
|
if ("custom-bin" === input3.type)
|
|
2304
|
-
return $
|
|
2556
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
2305
2557
|
return $report(_exceptionable2, {
|
|
2306
2558
|
path: _path2,
|
|
2307
2559
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
2308
2560
|
value: input3
|
|
2309
2561
|
});
|
|
2310
2562
|
})();
|
|
2311
|
-
const $
|
|
2563
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2312
2564
|
if (true === input3.startunbounded)
|
|
2313
|
-
return $
|
|
2565
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
2314
2566
|
if (void 0 !== input3.start)
|
|
2315
|
-
return $
|
|
2567
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
2316
2568
|
return $report(_exceptionable2, {
|
|
2317
2569
|
path: _path2,
|
|
2318
2570
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
2319
2571
|
value: input3
|
|
2320
2572
|
});
|
|
2321
2573
|
})();
|
|
2322
|
-
const $
|
|
2574
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2323
2575
|
if (void 0 !== input3.stop)
|
|
2324
|
-
return $
|
|
2576
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
2325
2577
|
if (true === input3.stopunbounded)
|
|
2326
|
-
return $
|
|
2578
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
2327
2579
|
return $report(_exceptionable2, {
|
|
2328
2580
|
path: _path2,
|
|
2329
2581
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
2330
2582
|
value: input3
|
|
2331
2583
|
});
|
|
2332
2584
|
})();
|
|
2333
|
-
const $
|
|
2585
|
+
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2334
2586
|
if ("gene" === input3.kind)
|
|
2335
|
-
return $
|
|
2587
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
2336
2588
|
if ("coord" === input3.kind)
|
|
2337
|
-
return $
|
|
2589
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
2338
2590
|
return $report(_exceptionable2, {
|
|
2339
2591
|
path: _path2,
|
|
2340
2592
|
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|