@sjcrh/proteinpaint-types 2.150.0 → 2.152.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-OSBVSZBB.js → chunk-5BNDT4E6.js} +13 -77
- package/dist/{chunk-TTUU5XQC.js → chunk-5F24QFE7.js} +471 -253
- package/dist/{chunk-KSVIBMFQ.js → chunk-5OMJAZK4.js} +323 -185
- package/dist/{chunk-WL7ZVGZS.js → chunk-C27KCAQH.js} +476 -302
- package/dist/{chunk-5MGSKBUU.js → chunk-CC32XCET.js} +950 -574
- package/dist/{chunk-OZ3CVAFP.js → chunk-EBPGV76U.js} +279 -157
- package/dist/{chunk-KQNLROUN.js → chunk-GZKTMVAU.js} +750 -410
- package/dist/{chunk-3SKFYOKV.js → chunk-JT4DSNJ3.js} +476 -302
- package/dist/{chunk-75GS5ZG5.js → chunk-LXW2FSLR.js} +526 -352
- package/dist/{chunk-RA7IEGS4.js → chunk-MCL6EDOS.js} +482 -308
- package/dist/{chunk-DBSRGRXR.js → chunk-OAETETAO.js} +279 -157
- package/dist/{chunk-4MLQS6N7.js → chunk-OLWNM7QP.js} +279 -157
- package/dist/{chunk-MMFL6N5M.js → chunk-OLXOQLZH.js} +279 -157
- package/dist/{chunk-4SJC57Y6.js → chunk-ZXPLL3NT.js} +476 -302
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +14 -14
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.sampleScatter.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/routes/termdb.sampleScatter.ts +1 -3
- package/src/terms/numeric.ts +17 -1
- package/src/terms/term.ts +5 -0
|
@@ -22,7 +22,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
24
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 && $
|
|
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 && $io43(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,7 +31,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
31
31
|
return true;
|
|
32
32
|
return true;
|
|
33
33
|
});
|
|
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 && $
|
|
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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting));
|
|
35
35
|
const $io4 = (input3) => Object.keys(input3).every((key) => {
|
|
36
36
|
const value = input3[key];
|
|
37
37
|
if (void 0 === value)
|
|
@@ -46,12 +46,13 @@ var validBrainImagingRequest = (input) => {
|
|
|
46
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
47
|
const $io7 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu6(input3.tvs));
|
|
48
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 && $
|
|
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 && $
|
|
51
|
-
const $io11 = (input3) => "string" === typeof input3.
|
|
52
|
-
const $io12 = (input3) => "
|
|
53
|
-
const $io13 = (input3) =>
|
|
54
|
-
const $io14 = (input3) =>
|
|
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 && $io25(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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins));
|
|
51
|
+
const $io11 = (input3) => "string" === typeof input3.fromUnit && "string" === typeof input3.toUnit && "string" === typeof input3.scaleFactor;
|
|
52
|
+
const $io12 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
53
|
+
const $io13 = (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);
|
|
54
|
+
const $io14 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding);
|
|
55
|
+
const $io15 = (input3) => Object.keys(input3).every((key) => {
|
|
55
56
|
const value = input3[key];
|
|
56
57
|
if (void 0 === value)
|
|
57
58
|
return true;
|
|
@@ -59,39 +60,39 @@ var validBrainImagingRequest = (input) => {
|
|
|
59
60
|
return "number" === typeof value;
|
|
60
61
|
return true;
|
|
61
62
|
});
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
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 $
|
|
92
|
-
const $
|
|
93
|
-
const $
|
|
94
|
-
const $
|
|
63
|
+
const $io16 = (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);
|
|
64
|
+
const $io17 = (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);
|
|
65
|
+
const $io18 = (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);
|
|
66
|
+
const $io19 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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);
|
|
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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(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);
|
|
68
|
+
const $io21 = (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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(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;
|
|
69
|
+
const $io22 = (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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(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 && $io13(input3.bins));
|
|
70
|
+
const $io23 = (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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins));
|
|
71
|
+
const $io24 = (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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(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 && $io13(input3.bins));
|
|
72
|
+
const $io25 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
73
|
+
const $io26 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io27(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 && $io28(elem)));
|
|
74
|
+
const $io27 = (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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion));
|
|
75
|
+
const $io28 = (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;
|
|
76
|
+
const $io29 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io30(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io40(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
77
|
+
const $io30 = (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));
|
|
78
|
+
const $io31 = (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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "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 && $io34(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "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);
|
|
80
|
+
const $io33 = (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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
81
|
+
const $io34 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
82
|
+
const $io35 = (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)));
|
|
83
|
+
const $io36 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
84
|
+
const $io37 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
85
|
+
const $io38 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter)) && "string" === typeof input3.color;
|
|
86
|
+
const $io39 = (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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "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 && $io34(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
87
|
+
const $io40 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
88
|
+
const $io41 = (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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "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 && $io34(input3.groupsetting));
|
|
89
|
+
const $io42 = (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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "string" === typeof input3.sample && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting));
|
|
90
|
+
const $io43 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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;
|
|
91
|
+
const $io44 = (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 && $io45(input3.q)) && "QualTWPredefinedGS" === input3.type;
|
|
92
|
+
const $io45 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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;
|
|
93
|
+
const $io46 = (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 && $io47(input3.q)) && "QualTWCustomGS" === input3.type;
|
|
94
|
+
const $io47 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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 && $io48(input3.customset));
|
|
95
|
+
const $io48 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem));
|
|
95
96
|
const $iu0 = (input3) => (() => {
|
|
96
97
|
if ("tvslst" === input3.type)
|
|
97
98
|
return $io6(input3);
|
|
@@ -101,30 +102,30 @@ var validBrainImagingRequest = (input) => {
|
|
|
101
102
|
})();
|
|
102
103
|
const $iu1 = (input3) => (() => {
|
|
103
104
|
if (true === input3.startunbounded)
|
|
104
|
-
return $
|
|
105
|
+
return $io16(input3);
|
|
105
106
|
if (true === input3.stopunbounded)
|
|
106
|
-
return $
|
|
107
|
-
return $
|
|
107
|
+
return $io18(input3);
|
|
108
|
+
return $io17(input3);
|
|
108
109
|
})();
|
|
109
110
|
const $iu2 = (input3) => (() => {
|
|
110
111
|
if ("gene" === input3.kind)
|
|
111
|
-
return $io31(input3);
|
|
112
|
-
if ("coord" === input3.kind)
|
|
113
112
|
return $io32(input3);
|
|
113
|
+
if ("coord" === input3.kind)
|
|
114
|
+
return $io33(input3);
|
|
114
115
|
return false;
|
|
115
116
|
})();
|
|
116
117
|
const $iu3 = (input3) => (() => {
|
|
117
118
|
if ("string" === typeof input3.type)
|
|
118
|
-
return $
|
|
119
|
+
return $io36(input3);
|
|
119
120
|
if ("filter" === input3.type)
|
|
120
|
-
return $
|
|
121
|
+
return $io38(input3);
|
|
121
122
|
return false;
|
|
122
123
|
})();
|
|
123
124
|
const $iu4 = (input3) => (() => {
|
|
124
125
|
if ("QualTWCustomGS" === input3.type)
|
|
125
|
-
return $
|
|
126
|
+
return $io46(input3);
|
|
126
127
|
if ("QualTWPredefinedGS" === input3.type)
|
|
127
|
-
return $
|
|
128
|
+
return $io44(input3);
|
|
128
129
|
if ("QualTWValues" === input3.type)
|
|
129
130
|
return $io1(input3);
|
|
130
131
|
return false;
|
|
@@ -133,9 +134,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
133
134
|
if ("categorical" === input3.type)
|
|
134
135
|
return $io3(input3);
|
|
135
136
|
if ("snp" === input3.type)
|
|
136
|
-
return $io40(input3);
|
|
137
|
-
if ("singleCellCellType" === input3.type)
|
|
138
137
|
return $io41(input3);
|
|
138
|
+
if ("singleCellCellType" === input3.type)
|
|
139
|
+
return $io42(input3);
|
|
139
140
|
return false;
|
|
140
141
|
})();
|
|
141
142
|
const $iu6 = (input3) => (() => {
|
|
@@ -144,10 +145,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
144
145
|
return (() => {
|
|
145
146
|
if ($io8(input3))
|
|
146
147
|
return $io8(input3);
|
|
147
|
-
if ($
|
|
148
|
-
return $
|
|
149
|
-
if ($
|
|
150
|
-
return $
|
|
148
|
+
if ($io26(input3))
|
|
149
|
+
return $io26(input3);
|
|
150
|
+
if ($io29(input3))
|
|
151
|
+
return $io29(input3);
|
|
151
152
|
return false;
|
|
152
153
|
})();
|
|
153
154
|
})();
|
|
@@ -155,45 +156,45 @@ var validBrainImagingRequest = (input) => {
|
|
|
155
156
|
if ("integer" === input3.type || "float" === input3.type)
|
|
156
157
|
return $io10(input3);
|
|
157
158
|
if ("metaboliteIntensity" === input3.type)
|
|
158
|
-
return $io21(input3);
|
|
159
|
-
if ("date" === input3.type)
|
|
160
159
|
return $io22(input3);
|
|
161
|
-
if ("
|
|
160
|
+
if ("date" === input3.type)
|
|
162
161
|
return $io23(input3);
|
|
162
|
+
if ("ssGSEA" === input3.type)
|
|
163
|
+
return $io24(input3);
|
|
163
164
|
return (() => {
|
|
165
|
+
if ($io21(input3))
|
|
166
|
+
return $io21(input3);
|
|
164
167
|
if ($io20(input3))
|
|
165
168
|
return $io20(input3);
|
|
166
|
-
if ($io19(input3))
|
|
167
|
-
return $io19(input3);
|
|
168
169
|
return false;
|
|
169
170
|
})();
|
|
170
171
|
})();
|
|
171
172
|
const $iu8 = (input3) => (() => {
|
|
172
173
|
if ("regular-bin" === input3.type)
|
|
173
|
-
return $
|
|
174
|
+
return $io14(input3);
|
|
174
175
|
if ("custom-bin" === input3.type)
|
|
175
|
-
return $
|
|
176
|
+
return $io19(input3);
|
|
176
177
|
return false;
|
|
177
178
|
})();
|
|
178
179
|
const $iu9 = (input3) => (() => {
|
|
179
180
|
if (true === input3.startunbounded)
|
|
180
|
-
return $io15(input3);
|
|
181
|
-
if (void 0 !== input3.start)
|
|
182
181
|
return $io16(input3);
|
|
182
|
+
if (void 0 !== input3.start)
|
|
183
|
+
return $io17(input3);
|
|
183
184
|
return false;
|
|
184
185
|
})();
|
|
185
186
|
const $iu10 = (input3) => (() => {
|
|
186
187
|
if (void 0 !== input3.stop)
|
|
187
|
-
return $io16(input3);
|
|
188
|
-
if (true === input3.stopunbounded)
|
|
189
188
|
return $io17(input3);
|
|
189
|
+
if (true === input3.stopunbounded)
|
|
190
|
+
return $io18(input3);
|
|
190
191
|
return false;
|
|
191
192
|
})();
|
|
192
193
|
const $iu11 = (input3) => (() => {
|
|
193
194
|
if ("gene" === input3.kind)
|
|
194
|
-
return $
|
|
195
|
+
return $io31(input3);
|
|
195
196
|
if ("coord" === input3.kind)
|
|
196
|
-
return $
|
|
197
|
+
return $io39(input3);
|
|
197
198
|
return false;
|
|
198
199
|
})();
|
|
199
200
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -303,7 +304,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
303
304
|
path: _path2 + ".q",
|
|
304
305
|
expected: "ValuesQ",
|
|
305
306
|
value: input3.q
|
|
306
|
-
})) && $
|
|
307
|
+
})) && $vo43(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
307
308
|
path: _path2 + ".q",
|
|
308
309
|
expected: "ValuesQ",
|
|
309
310
|
value: input3.q
|
|
@@ -376,11 +377,19 @@ var validBrainImagingRequest = (input) => {
|
|
|
376
377
|
path: _path2 + ".skipValuesBuild",
|
|
377
378
|
expected: "(boolean | undefined)",
|
|
378
379
|
value: input3.skipValuesBuild
|
|
380
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
381
|
+
path: _path2 + ".valueConversion",
|
|
382
|
+
expected: "(__type.o2 | undefined)",
|
|
383
|
+
value: input3.valueConversion
|
|
384
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
385
|
+
path: _path2 + ".valueConversion",
|
|
386
|
+
expected: "(__type.o2 | undefined)",
|
|
387
|
+
value: input3.valueConversion
|
|
379
388
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
380
389
|
path: _path2 + ".groupsetting",
|
|
381
390
|
expected: "TermGroupSetting",
|
|
382
391
|
value: input3.groupsetting
|
|
383
|
-
})) && $
|
|
392
|
+
})) && $vo34(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
384
393
|
path: _path2 + ".groupsetting",
|
|
385
394
|
expected: "TermGroupSetting",
|
|
386
395
|
value: input3.groupsetting
|
|
@@ -565,11 +574,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
565
574
|
value: input3.values
|
|
566
575
|
})) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
567
576
|
path: _path2 + ".values[" + _index8 + "]",
|
|
568
|
-
expected: "__type.
|
|
577
|
+
expected: "__type.o4",
|
|
569
578
|
value: elem
|
|
570
|
-
})) && $
|
|
579
|
+
})) && $vo25(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
571
580
|
path: _path2 + ".values[" + _index8 + "]",
|
|
572
|
-
expected: "__type.
|
|
581
|
+
expected: "__type.o4",
|
|
573
582
|
value: elem
|
|
574
583
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
575
584
|
path: _path2 + ".values",
|
|
@@ -632,13 +641,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
632
641
|
path: _path2 + ".skipValuesBuild",
|
|
633
642
|
expected: "(boolean | undefined)",
|
|
634
643
|
value: input3.skipValuesBuild
|
|
644
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
645
|
+
path: _path2 + ".valueConversion",
|
|
646
|
+
expected: "(__type.o2 | undefined)",
|
|
647
|
+
value: input3.valueConversion
|
|
648
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
649
|
+
path: _path2 + ".valueConversion",
|
|
650
|
+
expected: "(__type.o2 | undefined)",
|
|
651
|
+
value: input3.valueConversion
|
|
635
652
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
636
653
|
path: _path2 + ".continuousColorScale",
|
|
637
|
-
expected: "(__type.
|
|
654
|
+
expected: "(__type.o3 | undefined)",
|
|
638
655
|
value: input3.continuousColorScale
|
|
639
|
-
})) && $
|
|
656
|
+
})) && $vo12(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
640
657
|
path: _path2 + ".continuousColorScale",
|
|
641
|
-
expected: "(__type.
|
|
658
|
+
expected: "(__type.o3 | undefined)",
|
|
642
659
|
value: input3.continuousColorScale
|
|
643
660
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
644
661
|
path: _path2 + ".unit",
|
|
@@ -648,12 +665,25 @@ var validBrainImagingRequest = (input) => {
|
|
|
648
665
|
path: _path2 + ".bins",
|
|
649
666
|
expected: "PresetNumericBins",
|
|
650
667
|
value: input3.bins
|
|
651
|
-
})) && $
|
|
668
|
+
})) && $vo13(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
652
669
|
path: _path2 + ".bins",
|
|
653
670
|
expected: "PresetNumericBins",
|
|
654
671
|
value: input3.bins
|
|
655
672
|
})].every((flag) => flag);
|
|
656
|
-
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
673
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fromUnit || $report(_exceptionable2, {
|
|
674
|
+
path: _path2 + ".fromUnit",
|
|
675
|
+
expected: "string",
|
|
676
|
+
value: input3.fromUnit
|
|
677
|
+
}), "string" === typeof input3.toUnit || $report(_exceptionable2, {
|
|
678
|
+
path: _path2 + ".toUnit",
|
|
679
|
+
expected: "string",
|
|
680
|
+
value: input3.toUnit
|
|
681
|
+
}), "string" === typeof input3.scaleFactor || $report(_exceptionable2, {
|
|
682
|
+
path: _path2 + ".scaleFactor",
|
|
683
|
+
expected: "string",
|
|
684
|
+
value: input3.scaleFactor
|
|
685
|
+
})].every((flag) => flag);
|
|
686
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
657
687
|
path: _path2 + ".minColor",
|
|
658
688
|
expected: "string",
|
|
659
689
|
value: input3.minColor
|
|
@@ -662,7 +692,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
662
692
|
expected: "string",
|
|
663
693
|
value: input3.maxColor
|
|
664
694
|
})].every((flag) => flag);
|
|
665
|
-
const $
|
|
695
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
666
696
|
path: _path2 + '["default"]',
|
|
667
697
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
668
698
|
value: input3["default"]
|
|
@@ -699,11 +729,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
699
729
|
expected: "(number | undefined)",
|
|
700
730
|
value: input3.max
|
|
701
731
|
})].every((flag) => flag);
|
|
702
|
-
const $
|
|
732
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
703
733
|
path: _path2 + ".hiddenValues",
|
|
704
734
|
expected: "(HiddenValues | undefined)",
|
|
705
735
|
value: input3.hiddenValues
|
|
706
|
-
})) && $
|
|
736
|
+
})) && $vo15(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
707
737
|
path: _path2 + ".hiddenValues",
|
|
708
738
|
expected: "(HiddenValues | undefined)",
|
|
709
739
|
value: input3.hiddenValues
|
|
@@ -751,8 +781,20 @@ var validBrainImagingRequest = (input) => {
|
|
|
751
781
|
path: _path2 + ".label_offset",
|
|
752
782
|
expected: "(number | undefined)",
|
|
753
783
|
value: input3.label_offset
|
|
784
|
+
}), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
|
|
785
|
+
path: _path2 + ".startinclusive",
|
|
786
|
+
expected: "(boolean | undefined)",
|
|
787
|
+
value: input3.startinclusive
|
|
788
|
+
}), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
|
|
789
|
+
path: _path2 + ".stopinclusive",
|
|
790
|
+
expected: "(boolean | undefined)",
|
|
791
|
+
value: input3.stopinclusive
|
|
792
|
+
}), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
|
|
793
|
+
path: _path2 + ".rounding",
|
|
794
|
+
expected: "(string | undefined)",
|
|
795
|
+
value: input3.rounding
|
|
754
796
|
})].every((flag) => flag);
|
|
755
|
-
const $
|
|
797
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
756
798
|
const value = input3[key];
|
|
757
799
|
if (void 0 === value)
|
|
758
800
|
return true;
|
|
@@ -764,7 +806,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
764
806
|
});
|
|
765
807
|
return true;
|
|
766
808
|
}).every((flag) => flag)].every((flag) => flag);
|
|
767
|
-
const $
|
|
809
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
768
810
|
path: _path2 + ".startunbounded",
|
|
769
811
|
expected: "true",
|
|
770
812
|
value: input3.startunbounded
|
|
@@ -793,7 +835,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
793
835
|
expected: "(string | undefined)",
|
|
794
836
|
value: input3.range
|
|
795
837
|
})].every((flag) => flag);
|
|
796
|
-
const $
|
|
838
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
797
839
|
path: _path2 + ".startunbounded",
|
|
798
840
|
expected: "(false | undefined)",
|
|
799
841
|
value: input3.startunbounded
|
|
@@ -826,7 +868,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
826
868
|
expected: "(string | undefined)",
|
|
827
869
|
value: input3.range
|
|
828
870
|
})].every((flag) => flag);
|
|
829
|
-
const $
|
|
871
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
830
872
|
path: _path2 + ".start",
|
|
831
873
|
expected: "number",
|
|
832
874
|
value: input3.start
|
|
@@ -855,11 +897,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
855
897
|
expected: "(string | undefined)",
|
|
856
898
|
value: input3.range
|
|
857
899
|
})].every((flag) => flag);
|
|
858
|
-
const $
|
|
900
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
859
901
|
path: _path2 + ".hiddenValues",
|
|
860
902
|
expected: "(HiddenValues | undefined)",
|
|
861
903
|
value: input3.hiddenValues
|
|
862
|
-
})) && $
|
|
904
|
+
})) && $vo15(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
863
905
|
path: _path2 + ".hiddenValues",
|
|
864
906
|
expected: "(HiddenValues | undefined)",
|
|
865
907
|
value: input3.hiddenValues
|
|
@@ -885,7 +927,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
885
927
|
value: input3.mode
|
|
886
928
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
887
929
|
path: _path2 + ".lst",
|
|
888
|
-
expected: "
|
|
930
|
+
expected: "CustomNumericBinConfigLst",
|
|
889
931
|
value: input3.lst
|
|
890
932
|
})) && ([
|
|
891
933
|
("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
|
|
@@ -915,14 +957,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
915
957
|
value: input3.lst.slice(1)
|
|
916
958
|
}))) || $report(_exceptionable2, {
|
|
917
959
|
path: _path2 + ".lst",
|
|
918
|
-
expected: "
|
|
960
|
+
expected: "CustomNumericBinConfigLst",
|
|
919
961
|
value: input3.lst
|
|
920
962
|
}), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
|
|
921
963
|
path: _path2 + ".preferredBins",
|
|
922
964
|
expected: '("median" | undefined)',
|
|
923
965
|
value: input3.preferredBins
|
|
924
966
|
})].every((flag) => flag);
|
|
925
|
-
const $
|
|
967
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
926
968
|
path: _path2 + ".id",
|
|
927
969
|
expected: "string",
|
|
928
970
|
value: input3.id
|
|
@@ -978,13 +1020,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
978
1020
|
path: _path2 + ".skipValuesBuild",
|
|
979
1021
|
expected: "(boolean | undefined)",
|
|
980
1022
|
value: input3.skipValuesBuild
|
|
1023
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1024
|
+
path: _path2 + ".valueConversion",
|
|
1025
|
+
expected: "(__type.o2 | undefined)",
|
|
1026
|
+
value: input3.valueConversion
|
|
1027
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1028
|
+
path: _path2 + ".valueConversion",
|
|
1029
|
+
expected: "(__type.o2 | undefined)",
|
|
1030
|
+
value: input3.valueConversion
|
|
981
1031
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
982
1032
|
path: _path2 + ".continuousColorScale",
|
|
983
|
-
expected: "(__type.
|
|
1033
|
+
expected: "(__type.o3 | undefined)",
|
|
984
1034
|
value: input3.continuousColorScale
|
|
985
|
-
})) && $
|
|
1035
|
+
})) && $vo12(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
986
1036
|
path: _path2 + ".continuousColorScale",
|
|
987
|
-
expected: "(__type.
|
|
1037
|
+
expected: "(__type.o3 | undefined)",
|
|
988
1038
|
value: input3.continuousColorScale
|
|
989
1039
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
990
1040
|
path: _path2 + ".unit",
|
|
@@ -994,7 +1044,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
994
1044
|
path: _path2 + ".bins",
|
|
995
1045
|
expected: "(PresetNumericBins | undefined)",
|
|
996
1046
|
value: input3.bins
|
|
997
|
-
})) && $
|
|
1047
|
+
})) && $vo13(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
998
1048
|
path: _path2 + ".bins",
|
|
999
1049
|
expected: "(PresetNumericBins | undefined)",
|
|
1000
1050
|
value: input3.bins
|
|
@@ -1019,7 +1069,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1019
1069
|
expected: "(number | undefined)",
|
|
1020
1070
|
value: input3.stop
|
|
1021
1071
|
})].every((flag) => flag);
|
|
1022
|
-
const $
|
|
1072
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1023
1073
|
path: _path2 + ".id",
|
|
1024
1074
|
expected: "string",
|
|
1025
1075
|
value: input3.id
|
|
@@ -1075,13 +1125,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
1075
1125
|
path: _path2 + ".skipValuesBuild",
|
|
1076
1126
|
expected: "(boolean | undefined)",
|
|
1077
1127
|
value: input3.skipValuesBuild
|
|
1128
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1129
|
+
path: _path2 + ".valueConversion",
|
|
1130
|
+
expected: "(__type.o2 | undefined)",
|
|
1131
|
+
value: input3.valueConversion
|
|
1132
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1133
|
+
path: _path2 + ".valueConversion",
|
|
1134
|
+
expected: "(__type.o2 | undefined)",
|
|
1135
|
+
value: input3.valueConversion
|
|
1078
1136
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1079
1137
|
path: _path2 + ".continuousColorScale",
|
|
1080
|
-
expected: "(__type.
|
|
1138
|
+
expected: "(__type.o3 | undefined)",
|
|
1081
1139
|
value: input3.continuousColorScale
|
|
1082
|
-
})) && $
|
|
1140
|
+
})) && $vo12(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1083
1141
|
path: _path2 + ".continuousColorScale",
|
|
1084
|
-
expected: "(__type.
|
|
1142
|
+
expected: "(__type.o3 | undefined)",
|
|
1085
1143
|
value: input3.continuousColorScale
|
|
1086
1144
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1087
1145
|
path: _path2 + ".unit",
|
|
@@ -1091,7 +1149,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1091
1149
|
path: _path2 + ".bins",
|
|
1092
1150
|
expected: "(PresetNumericBins | undefined)",
|
|
1093
1151
|
value: input3.bins
|
|
1094
|
-
})) && $
|
|
1152
|
+
})) && $vo13(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1095
1153
|
path: _path2 + ".bins",
|
|
1096
1154
|
expected: "(PresetNumericBins | undefined)",
|
|
1097
1155
|
value: input3.bins
|
|
@@ -1116,7 +1174,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1116
1174
|
expected: "number",
|
|
1117
1175
|
value: input3.stop
|
|
1118
1176
|
})].every((flag) => flag);
|
|
1119
|
-
const $
|
|
1177
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1120
1178
|
path: _path2 + ".id",
|
|
1121
1179
|
expected: "string",
|
|
1122
1180
|
value: input3.id
|
|
@@ -1172,13 +1230,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
1172
1230
|
path: _path2 + ".skipValuesBuild",
|
|
1173
1231
|
expected: "(boolean | undefined)",
|
|
1174
1232
|
value: input3.skipValuesBuild
|
|
1233
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1234
|
+
path: _path2 + ".valueConversion",
|
|
1235
|
+
expected: "(__type.o2 | undefined)",
|
|
1236
|
+
value: input3.valueConversion
|
|
1237
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1238
|
+
path: _path2 + ".valueConversion",
|
|
1239
|
+
expected: "(__type.o2 | undefined)",
|
|
1240
|
+
value: input3.valueConversion
|
|
1175
1241
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1176
1242
|
path: _path2 + ".continuousColorScale",
|
|
1177
|
-
expected: "(__type.
|
|
1243
|
+
expected: "(__type.o3 | undefined)",
|
|
1178
1244
|
value: input3.continuousColorScale
|
|
1179
|
-
})) && $
|
|
1245
|
+
})) && $vo12(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1180
1246
|
path: _path2 + ".continuousColorScale",
|
|
1181
|
-
expected: "(__type.
|
|
1247
|
+
expected: "(__type.o3 | undefined)",
|
|
1182
1248
|
value: input3.continuousColorScale
|
|
1183
1249
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1184
1250
|
path: _path2 + ".unit",
|
|
@@ -1192,12 +1258,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1192
1258
|
path: _path2 + ".bins",
|
|
1193
1259
|
expected: "(PresetNumericBins | undefined)",
|
|
1194
1260
|
value: input3.bins
|
|
1195
|
-
})) && $
|
|
1261
|
+
})) && $vo13(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1196
1262
|
path: _path2 + ".bins",
|
|
1197
1263
|
expected: "(PresetNumericBins | undefined)",
|
|
1198
1264
|
value: input3.bins
|
|
1199
1265
|
})].every((flag) => flag);
|
|
1200
|
-
const $
|
|
1266
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1201
1267
|
path: _path2 + ".id",
|
|
1202
1268
|
expected: "string",
|
|
1203
1269
|
value: input3.id
|
|
@@ -1253,13 +1319,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
1253
1319
|
path: _path2 + ".skipValuesBuild",
|
|
1254
1320
|
expected: "(boolean | undefined)",
|
|
1255
1321
|
value: input3.skipValuesBuild
|
|
1322
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1323
|
+
path: _path2 + ".valueConversion",
|
|
1324
|
+
expected: "(__type.o2 | undefined)",
|
|
1325
|
+
value: input3.valueConversion
|
|
1326
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1327
|
+
path: _path2 + ".valueConversion",
|
|
1328
|
+
expected: "(__type.o2 | undefined)",
|
|
1329
|
+
value: input3.valueConversion
|
|
1256
1330
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1257
1331
|
path: _path2 + ".continuousColorScale",
|
|
1258
|
-
expected: "(__type.
|
|
1332
|
+
expected: "(__type.o3 | undefined)",
|
|
1259
1333
|
value: input3.continuousColorScale
|
|
1260
|
-
})) && $
|
|
1334
|
+
})) && $vo12(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1261
1335
|
path: _path2 + ".continuousColorScale",
|
|
1262
|
-
expected: "(__type.
|
|
1336
|
+
expected: "(__type.o3 | undefined)",
|
|
1263
1337
|
value: input3.continuousColorScale
|
|
1264
1338
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1265
1339
|
path: _path2 + ".unit",
|
|
@@ -1269,12 +1343,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1269
1343
|
path: _path2 + ".bins",
|
|
1270
1344
|
expected: "(PresetNumericBins | undefined)",
|
|
1271
1345
|
value: input3.bins
|
|
1272
|
-
})) && $
|
|
1346
|
+
})) && $vo13(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1273
1347
|
path: _path2 + ".bins",
|
|
1274
1348
|
expected: "(PresetNumericBins | undefined)",
|
|
1275
1349
|
value: input3.bins
|
|
1276
1350
|
})].every((flag) => flag);
|
|
1277
|
-
const $
|
|
1351
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1278
1352
|
path: _path2 + ".id",
|
|
1279
1353
|
expected: "string",
|
|
1280
1354
|
value: input3.id
|
|
@@ -1330,13 +1404,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
1330
1404
|
path: _path2 + ".skipValuesBuild",
|
|
1331
1405
|
expected: "(boolean | undefined)",
|
|
1332
1406
|
value: input3.skipValuesBuild
|
|
1407
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1408
|
+
path: _path2 + ".valueConversion",
|
|
1409
|
+
expected: "(__type.o2 | undefined)",
|
|
1410
|
+
value: input3.valueConversion
|
|
1411
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1412
|
+
path: _path2 + ".valueConversion",
|
|
1413
|
+
expected: "(__type.o2 | undefined)",
|
|
1414
|
+
value: input3.valueConversion
|
|
1333
1415
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1334
1416
|
path: _path2 + ".continuousColorScale",
|
|
1335
|
-
expected: "(__type.
|
|
1417
|
+
expected: "(__type.o3 | undefined)",
|
|
1336
1418
|
value: input3.continuousColorScale
|
|
1337
|
-
})) && $
|
|
1419
|
+
})) && $vo12(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1338
1420
|
path: _path2 + ".continuousColorScale",
|
|
1339
|
-
expected: "(__type.
|
|
1421
|
+
expected: "(__type.o3 | undefined)",
|
|
1340
1422
|
value: input3.continuousColorScale
|
|
1341
1423
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1342
1424
|
path: _path2 + ".unit",
|
|
@@ -1358,12 +1440,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1358
1440
|
path: _path2 + ".bins",
|
|
1359
1441
|
expected: "(PresetNumericBins | undefined)",
|
|
1360
1442
|
value: input3.bins
|
|
1361
|
-
})) && $
|
|
1443
|
+
})) && $vo13(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1362
1444
|
path: _path2 + ".bins",
|
|
1363
1445
|
expected: "(PresetNumericBins | undefined)",
|
|
1364
1446
|
value: input3.bins
|
|
1365
1447
|
})].every((flag) => flag);
|
|
1366
|
-
const $
|
|
1448
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1367
1449
|
path: _path2 + ".key",
|
|
1368
1450
|
expected: "string",
|
|
1369
1451
|
value: input3.key
|
|
@@ -1380,7 +1462,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1380
1462
|
expected: "(string | undefined)",
|
|
1381
1463
|
value: input3.label
|
|
1382
1464
|
})].every((flag) => flag);
|
|
1383
|
-
const $
|
|
1465
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1384
1466
|
path: _path2 + ".join",
|
|
1385
1467
|
expected: "(string | undefined)",
|
|
1386
1468
|
value: input3.join
|
|
@@ -1392,7 +1474,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1392
1474
|
path: _path2 + ".term",
|
|
1393
1475
|
expected: "ConditionTerm",
|
|
1394
1476
|
value: input3.term
|
|
1395
|
-
})) && $
|
|
1477
|
+
})) && $vo27(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1396
1478
|
path: _path2 + ".term",
|
|
1397
1479
|
expected: "ConditionTerm",
|
|
1398
1480
|
value: input3.term
|
|
@@ -1416,7 +1498,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1416
1498
|
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
1417
1499
|
expected: "GradeAndChildEntry",
|
|
1418
1500
|
value: elem
|
|
1419
|
-
})) && $
|
|
1501
|
+
})) && $vo28(elem, _path2 + ".grade_and_child[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1420
1502
|
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
1421
1503
|
expected: "GradeAndChildEntry",
|
|
1422
1504
|
value: elem
|
|
@@ -1425,7 +1507,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1425
1507
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1426
1508
|
value: input3.grade_and_child
|
|
1427
1509
|
})].every((flag) => flag);
|
|
1428
|
-
const $
|
|
1510
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1429
1511
|
path: _path2 + ".id",
|
|
1430
1512
|
expected: "string",
|
|
1431
1513
|
value: input3.id
|
|
@@ -1481,8 +1563,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
1481
1563
|
path: _path2 + ".skipValuesBuild",
|
|
1482
1564
|
expected: "(boolean | undefined)",
|
|
1483
1565
|
value: input3.skipValuesBuild
|
|
1566
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1567
|
+
path: _path2 + ".valueConversion",
|
|
1568
|
+
expected: "(__type.o2 | undefined)",
|
|
1569
|
+
value: input3.valueConversion
|
|
1570
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1571
|
+
path: _path2 + ".valueConversion",
|
|
1572
|
+
expected: "(__type.o2 | undefined)",
|
|
1573
|
+
value: input3.valueConversion
|
|
1484
1574
|
})].every((flag) => flag);
|
|
1485
|
-
const $
|
|
1575
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1486
1576
|
path: _path2 + ".grade",
|
|
1487
1577
|
expected: "number",
|
|
1488
1578
|
value: input3.grade
|
|
@@ -1499,7 +1589,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1499
1589
|
expected: "string",
|
|
1500
1590
|
value: input3.child_label
|
|
1501
1591
|
})].every((flag) => flag);
|
|
1502
|
-
const $
|
|
1592
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1503
1593
|
path: _path2 + ".join",
|
|
1504
1594
|
expected: "(string | undefined)",
|
|
1505
1595
|
value: input3.join
|
|
@@ -1511,7 +1601,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1511
1601
|
path: _path2 + ".term",
|
|
1512
1602
|
expected: "DtTerm",
|
|
1513
1603
|
value: input3.term
|
|
1514
|
-
})) && $
|
|
1604
|
+
})) && $vo30(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1515
1605
|
path: _path2 + ".term",
|
|
1516
1606
|
expected: "DtTerm",
|
|
1517
1607
|
value: input3.term
|
|
@@ -1521,11 +1611,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1521
1611
|
value: input3.values
|
|
1522
1612
|
})) && input3.values.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1523
1613
|
path: _path2 + ".values[" + _index26 + "]",
|
|
1524
|
-
expected: "__type.
|
|
1614
|
+
expected: "__type.o6",
|
|
1525
1615
|
value: elem
|
|
1526
|
-
})) && $
|
|
1616
|
+
})) && $vo40(elem, _path2 + ".values[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1527
1617
|
path: _path2 + ".values[" + _index26 + "]",
|
|
1528
|
-
expected: "__type.
|
|
1618
|
+
expected: "__type.o6",
|
|
1529
1619
|
value: elem
|
|
1530
1620
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1531
1621
|
path: _path2 + ".values",
|
|
@@ -1540,7 +1630,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1540
1630
|
expected: "(boolean | undefined)",
|
|
1541
1631
|
value: input3.excludeGeneName
|
|
1542
1632
|
})].every((flag) => flag);
|
|
1543
|
-
const $
|
|
1633
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1544
1634
|
path: _path2 + ".id",
|
|
1545
1635
|
expected: "string",
|
|
1546
1636
|
value: input3.id
|
|
@@ -1589,7 +1679,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1589
1679
|
expected: "TermValues",
|
|
1590
1680
|
value: input3.values
|
|
1591
1681
|
})].every((flag) => flag);
|
|
1592
|
-
const $
|
|
1682
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1593
1683
|
path: _path2 + ".id",
|
|
1594
1684
|
expected: "string",
|
|
1595
1685
|
value: input3.id
|
|
@@ -1645,6 +1735,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
1645
1735
|
path: _path2 + ".skipValuesBuild",
|
|
1646
1736
|
expected: "(boolean | undefined)",
|
|
1647
1737
|
value: input3.skipValuesBuild
|
|
1738
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1739
|
+
path: _path2 + ".valueConversion",
|
|
1740
|
+
expected: "(__type.o2 | undefined)",
|
|
1741
|
+
value: input3.valueConversion
|
|
1742
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1743
|
+
path: _path2 + ".valueConversion",
|
|
1744
|
+
expected: "(__type.o2 | undefined)",
|
|
1745
|
+
value: input3.valueConversion
|
|
1648
1746
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1649
1747
|
path: _path2 + ".kind",
|
|
1650
1748
|
expected: '"gene"',
|
|
@@ -1685,7 +1783,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1685
1783
|
path: _path2 + ".groupsetting",
|
|
1686
1784
|
expected: "(TermGroupSetting | undefined)",
|
|
1687
1785
|
value: input3.groupsetting
|
|
1688
|
-
})) && $
|
|
1786
|
+
})) && $vo34(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1689
1787
|
path: _path2 + ".groupsetting",
|
|
1690
1788
|
expected: "(TermGroupSetting | undefined)",
|
|
1691
1789
|
value: input3.groupsetting
|
|
@@ -1697,7 +1795,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1697
1795
|
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
1698
1796
|
expected: "DtTerm",
|
|
1699
1797
|
value: elem
|
|
1700
|
-
})) && $
|
|
1798
|
+
})) && $vo30(elem, _path2 + ".childTerms[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1701
1799
|
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
1702
1800
|
expected: "DtTerm",
|
|
1703
1801
|
value: elem
|
|
@@ -1706,7 +1804,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1706
1804
|
expected: "(Array<DtTerm> | undefined)",
|
|
1707
1805
|
value: input3.childTerms
|
|
1708
1806
|
})].every((flag) => flag);
|
|
1709
|
-
const $
|
|
1807
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1710
1808
|
path: _path2 + ".id",
|
|
1711
1809
|
expected: "string",
|
|
1712
1810
|
value: input3.id
|
|
@@ -1762,6 +1860,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
1762
1860
|
path: _path2 + ".skipValuesBuild",
|
|
1763
1861
|
expected: "(boolean | undefined)",
|
|
1764
1862
|
value: input3.skipValuesBuild
|
|
1863
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1864
|
+
path: _path2 + ".valueConversion",
|
|
1865
|
+
expected: "(__type.o2 | undefined)",
|
|
1866
|
+
value: input3.valueConversion
|
|
1867
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1868
|
+
path: _path2 + ".valueConversion",
|
|
1869
|
+
expected: "(__type.o2 | undefined)",
|
|
1870
|
+
value: input3.valueConversion
|
|
1765
1871
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1766
1872
|
path: _path2 + ".kind",
|
|
1767
1873
|
expected: '"gene"',
|
|
@@ -1783,7 +1889,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1783
1889
|
expected: "(number | undefined)",
|
|
1784
1890
|
value: input3.stop
|
|
1785
1891
|
})].every((flag) => flag);
|
|
1786
|
-
const $
|
|
1892
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1787
1893
|
path: _path2 + ".id",
|
|
1788
1894
|
expected: "string",
|
|
1789
1895
|
value: input3.id
|
|
@@ -1839,6 +1945,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
1839
1945
|
path: _path2 + ".skipValuesBuild",
|
|
1840
1946
|
expected: "(boolean | undefined)",
|
|
1841
1947
|
value: input3.skipValuesBuild
|
|
1948
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1949
|
+
path: _path2 + ".valueConversion",
|
|
1950
|
+
expected: "(__type.o2 | undefined)",
|
|
1951
|
+
value: input3.valueConversion
|
|
1952
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1953
|
+
path: _path2 + ".valueConversion",
|
|
1954
|
+
expected: "(__type.o2 | undefined)",
|
|
1955
|
+
value: input3.valueConversion
|
|
1842
1956
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1843
1957
|
path: _path2 + ".kind",
|
|
1844
1958
|
expected: '"coord"',
|
|
@@ -1856,7 +1970,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1856
1970
|
expected: "number",
|
|
1857
1971
|
value: input3.stop
|
|
1858
1972
|
})].every((flag) => flag);
|
|
1859
|
-
const $
|
|
1973
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1860
1974
|
path: _path2 + ".disabled",
|
|
1861
1975
|
expected: "boolean",
|
|
1862
1976
|
value: input3.disabled
|
|
@@ -1868,7 +1982,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1868
1982
|
path: _path2 + ".lst[" + _index35 + "]",
|
|
1869
1983
|
expected: "Groupset",
|
|
1870
1984
|
value: elem
|
|
1871
|
-
})) && $
|
|
1985
|
+
})) && $vo35(elem, _path2 + ".lst[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1872
1986
|
path: _path2 + ".lst[" + _index35 + "]",
|
|
1873
1987
|
expected: "Groupset",
|
|
1874
1988
|
value: elem
|
|
@@ -1877,7 +1991,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1877
1991
|
expected: "(Array<Groupset> | undefined)",
|
|
1878
1992
|
value: input3.lst
|
|
1879
1993
|
})].every((flag) => flag);
|
|
1880
|
-
const $
|
|
1994
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1881
1995
|
path: _path2 + ".name",
|
|
1882
1996
|
expected: "string",
|
|
1883
1997
|
value: input3.name
|
|
@@ -1910,7 +2024,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1910
2024
|
expected: "Array<GroupEntry>",
|
|
1911
2025
|
value: input3.groups
|
|
1912
2026
|
})].every((flag) => flag);
|
|
1913
|
-
const $
|
|
2027
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1914
2028
|
path: _path2 + ".name",
|
|
1915
2029
|
expected: "string",
|
|
1916
2030
|
value: input3.name
|
|
@@ -1924,11 +2038,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1924
2038
|
value: input3.values
|
|
1925
2039
|
})) && input3.values.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1926
2040
|
path: _path2 + ".values[" + _index37 + "]",
|
|
1927
|
-
expected: "__type.
|
|
2041
|
+
expected: "__type.o5",
|
|
1928
2042
|
value: elem
|
|
1929
|
-
})) && $
|
|
2043
|
+
})) && $vo37(elem, _path2 + ".values[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1930
2044
|
path: _path2 + ".values[" + _index37 + "]",
|
|
1931
|
-
expected: "__type.
|
|
2045
|
+
expected: "__type.o5",
|
|
1932
2046
|
value: elem
|
|
1933
2047
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1934
2048
|
path: _path2 + ".values",
|
|
@@ -1939,7 +2053,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1939
2053
|
expected: "(boolean | undefined)",
|
|
1940
2054
|
value: input3.uncomputable
|
|
1941
2055
|
})].every((flag) => flag);
|
|
1942
|
-
const $
|
|
2056
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
1943
2057
|
path: _path2 + ".key",
|
|
1944
2058
|
expected: "(number | string)",
|
|
1945
2059
|
value: input3.key
|
|
@@ -1948,7 +2062,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1948
2062
|
expected: "string",
|
|
1949
2063
|
value: input3.label
|
|
1950
2064
|
})].every((flag) => flag);
|
|
1951
|
-
const $
|
|
2065
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1952
2066
|
path: _path2 + ".name",
|
|
1953
2067
|
expected: "string",
|
|
1954
2068
|
value: input3.name
|
|
@@ -1969,7 +2083,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1969
2083
|
expected: "string",
|
|
1970
2084
|
value: input3.color
|
|
1971
2085
|
})].every((flag) => flag);
|
|
1972
|
-
const $
|
|
2086
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1973
2087
|
path: _path2 + ".id",
|
|
1974
2088
|
expected: "string",
|
|
1975
2089
|
value: input3.id
|
|
@@ -2025,6 +2139,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
2025
2139
|
path: _path2 + ".skipValuesBuild",
|
|
2026
2140
|
expected: "(boolean | undefined)",
|
|
2027
2141
|
value: input3.skipValuesBuild
|
|
2142
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2143
|
+
path: _path2 + ".valueConversion",
|
|
2144
|
+
expected: "(__type.o2 | undefined)",
|
|
2145
|
+
value: input3.valueConversion
|
|
2146
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2147
|
+
path: _path2 + ".valueConversion",
|
|
2148
|
+
expected: "(__type.o2 | undefined)",
|
|
2149
|
+
value: input3.valueConversion
|
|
2028
2150
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2029
2151
|
path: _path2 + ".kind",
|
|
2030
2152
|
expected: '"coord"',
|
|
@@ -2061,7 +2183,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2061
2183
|
path: _path2 + ".groupsetting",
|
|
2062
2184
|
expected: "(TermGroupSetting | undefined)",
|
|
2063
2185
|
value: input3.groupsetting
|
|
2064
|
-
})) && $
|
|
2186
|
+
})) && $vo34(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2065
2187
|
path: _path2 + ".groupsetting",
|
|
2066
2188
|
expected: "(TermGroupSetting | undefined)",
|
|
2067
2189
|
value: input3.groupsetting
|
|
@@ -2073,7 +2195,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2073
2195
|
path: _path2 + ".childTerms[" + _index41 + "]",
|
|
2074
2196
|
expected: "DtTerm",
|
|
2075
2197
|
value: elem
|
|
2076
|
-
})) && $
|
|
2198
|
+
})) && $vo30(elem, _path2 + ".childTerms[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2077
2199
|
path: _path2 + ".childTerms[" + _index41 + "]",
|
|
2078
2200
|
expected: "DtTerm",
|
|
2079
2201
|
value: elem
|
|
@@ -2082,7 +2204,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2082
2204
|
expected: "(Array<DtTerm> | undefined)",
|
|
2083
2205
|
value: input3.childTerms
|
|
2084
2206
|
})].every((flag) => flag);
|
|
2085
|
-
const $
|
|
2207
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2086
2208
|
path: _path2 + ".key",
|
|
2087
2209
|
expected: "string",
|
|
2088
2210
|
value: input3.key
|
|
@@ -2095,7 +2217,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2095
2217
|
expected: "string",
|
|
2096
2218
|
value: input3.value
|
|
2097
2219
|
})].every((flag) => flag);
|
|
2098
|
-
const $
|
|
2220
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2099
2221
|
path: _path2 + ".id",
|
|
2100
2222
|
expected: "string",
|
|
2101
2223
|
value: input3.id
|
|
@@ -2151,6 +2273,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
2151
2273
|
path: _path2 + ".skipValuesBuild",
|
|
2152
2274
|
expected: "(boolean | undefined)",
|
|
2153
2275
|
value: input3.skipValuesBuild
|
|
2276
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2277
|
+
path: _path2 + ".valueConversion",
|
|
2278
|
+
expected: "(__type.o2 | undefined)",
|
|
2279
|
+
value: input3.valueConversion
|
|
2280
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2281
|
+
path: _path2 + ".valueConversion",
|
|
2282
|
+
expected: "(__type.o2 | undefined)",
|
|
2283
|
+
value: input3.valueConversion
|
|
2154
2284
|
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2155
2285
|
path: _path2 + ".chr",
|
|
2156
2286
|
expected: "string",
|
|
@@ -2183,12 +2313,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2183
2313
|
path: _path2 + ".groupsetting",
|
|
2184
2314
|
expected: "TermGroupSetting",
|
|
2185
2315
|
value: input3.groupsetting
|
|
2186
|
-
})) && $
|
|
2316
|
+
})) && $vo34(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2187
2317
|
path: _path2 + ".groupsetting",
|
|
2188
2318
|
expected: "TermGroupSetting",
|
|
2189
2319
|
value: input3.groupsetting
|
|
2190
2320
|
})].every((flag) => flag);
|
|
2191
|
-
const $
|
|
2321
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2192
2322
|
path: _path2 + ".id",
|
|
2193
2323
|
expected: "string",
|
|
2194
2324
|
value: input3.id
|
|
@@ -2244,6 +2374,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
2244
2374
|
path: _path2 + ".skipValuesBuild",
|
|
2245
2375
|
expected: "(boolean | undefined)",
|
|
2246
2376
|
value: input3.skipValuesBuild
|
|
2377
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2378
|
+
path: _path2 + ".valueConversion",
|
|
2379
|
+
expected: "(__type.o2 | undefined)",
|
|
2380
|
+
value: input3.valueConversion
|
|
2381
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2382
|
+
path: _path2 + ".valueConversion",
|
|
2383
|
+
expected: "(__type.o2 | undefined)",
|
|
2384
|
+
value: input3.valueConversion
|
|
2247
2385
|
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
2248
2386
|
path: _path2 + ".sample",
|
|
2249
2387
|
expected: "string",
|
|
@@ -2256,16 +2394,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
2256
2394
|
path: _path2 + ".groupsetting",
|
|
2257
2395
|
expected: "TermGroupSetting",
|
|
2258
2396
|
value: input3.groupsetting
|
|
2259
|
-
})) && $
|
|
2397
|
+
})) && $vo34(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2260
2398
|
path: _path2 + ".groupsetting",
|
|
2261
2399
|
expected: "TermGroupSetting",
|
|
2262
2400
|
value: input3.groupsetting
|
|
2263
2401
|
})].every((flag) => flag);
|
|
2264
|
-
const $
|
|
2402
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2265
2403
|
path: _path2 + ".hiddenValues",
|
|
2266
2404
|
expected: "(HiddenValues | undefined)",
|
|
2267
2405
|
value: input3.hiddenValues
|
|
2268
|
-
})) && $
|
|
2406
|
+
})) && $vo15(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2269
2407
|
path: _path2 + ".hiddenValues",
|
|
2270
2408
|
expected: "(HiddenValues | undefined)",
|
|
2271
2409
|
value: input3.hiddenValues
|
|
@@ -2290,7 +2428,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2290
2428
|
expected: '"values"',
|
|
2291
2429
|
value: input3.type
|
|
2292
2430
|
})].every((flag) => flag);
|
|
2293
|
-
const $
|
|
2431
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2294
2432
|
path: _path2 + ".id",
|
|
2295
2433
|
expected: "(string | undefined)",
|
|
2296
2434
|
value: input3.id
|
|
@@ -2326,7 +2464,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2326
2464
|
path: _path2 + ".q",
|
|
2327
2465
|
expected: "PredefinedGroupSettingQ",
|
|
2328
2466
|
value: input3.q
|
|
2329
|
-
})) && $
|
|
2467
|
+
})) && $vo45(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2330
2468
|
path: _path2 + ".q",
|
|
2331
2469
|
expected: "PredefinedGroupSettingQ",
|
|
2332
2470
|
value: input3.q
|
|
@@ -2335,11 +2473,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
2335
2473
|
expected: '"QualTWPredefinedGS"',
|
|
2336
2474
|
value: input3.type
|
|
2337
2475
|
})].every((flag) => flag);
|
|
2338
|
-
const $
|
|
2476
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2339
2477
|
path: _path2 + ".hiddenValues",
|
|
2340
2478
|
expected: "(HiddenValues | undefined)",
|
|
2341
2479
|
value: input3.hiddenValues
|
|
2342
|
-
})) && $
|
|
2480
|
+
})) && $vo15(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2343
2481
|
path: _path2 + ".hiddenValues",
|
|
2344
2482
|
expected: "(HiddenValues | undefined)",
|
|
2345
2483
|
value: input3.hiddenValues
|
|
@@ -2368,7 +2506,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2368
2506
|
expected: "number",
|
|
2369
2507
|
value: input3.predefined_groupset_idx
|
|
2370
2508
|
})].every((flag) => flag);
|
|
2371
|
-
const $
|
|
2509
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2372
2510
|
path: _path2 + ".id",
|
|
2373
2511
|
expected: "(string | undefined)",
|
|
2374
2512
|
value: input3.id
|
|
@@ -2404,7 +2542,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2404
2542
|
path: _path2 + ".q",
|
|
2405
2543
|
expected: "CustomGroupSettingQ",
|
|
2406
2544
|
value: input3.q
|
|
2407
|
-
})) && $
|
|
2545
|
+
})) && $vo47(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2408
2546
|
path: _path2 + ".q",
|
|
2409
2547
|
expected: "CustomGroupSettingQ",
|
|
2410
2548
|
value: input3.q
|
|
@@ -2413,11 +2551,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
2413
2551
|
expected: '"QualTWCustomGS"',
|
|
2414
2552
|
value: input3.type
|
|
2415
2553
|
})].every((flag) => flag);
|
|
2416
|
-
const $
|
|
2554
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2417
2555
|
path: _path2 + ".hiddenValues",
|
|
2418
2556
|
expected: "(HiddenValues | undefined)",
|
|
2419
2557
|
value: input3.hiddenValues
|
|
2420
|
-
})) && $
|
|
2558
|
+
})) && $vo15(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2421
2559
|
path: _path2 + ".hiddenValues",
|
|
2422
2560
|
expected: "(HiddenValues | undefined)",
|
|
2423
2561
|
value: input3.hiddenValues
|
|
@@ -2445,12 +2583,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2445
2583
|
path: _path2 + ".customset",
|
|
2446
2584
|
expected: "BaseGroupSet",
|
|
2447
2585
|
value: input3.customset
|
|
2448
|
-
})) && $
|
|
2586
|
+
})) && $vo48(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
2449
2587
|
path: _path2 + ".customset",
|
|
2450
2588
|
expected: "BaseGroupSet",
|
|
2451
2589
|
value: input3.customset
|
|
2452
2590
|
})].every((flag) => flag);
|
|
2453
|
-
const $
|
|
2591
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
2454
2592
|
path: _path2 + ".groups",
|
|
2455
2593
|
expected: "Array<GroupEntry>",
|
|
2456
2594
|
value: input3.groups
|
|
@@ -2480,16 +2618,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
2480
2618
|
})();
|
|
2481
2619
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2482
2620
|
if (true === input3.startunbounded)
|
|
2483
|
-
return $
|
|
2621
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
2484
2622
|
if (true === input3.stopunbounded)
|
|
2485
|
-
return $
|
|
2486
|
-
return $
|
|
2623
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
2624
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
2487
2625
|
})();
|
|
2488
2626
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2489
2627
|
if ("gene" === input3.kind)
|
|
2490
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
2491
|
-
if ("coord" === input3.kind)
|
|
2492
2628
|
return $vo32(input3, _path2, _exceptionable2);
|
|
2629
|
+
if ("coord" === input3.kind)
|
|
2630
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
2493
2631
|
return $report(_exceptionable2, {
|
|
2494
2632
|
path: _path2,
|
|
2495
2633
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2498,9 +2636,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2498
2636
|
})();
|
|
2499
2637
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2500
2638
|
if ("string" === typeof input3.type)
|
|
2501
|
-
return $
|
|
2639
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
2502
2640
|
if ("filter" === input3.type)
|
|
2503
|
-
return $
|
|
2641
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
2504
2642
|
return $report(_exceptionable2, {
|
|
2505
2643
|
path: _path2,
|
|
2506
2644
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -2509,9 +2647,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2509
2647
|
})();
|
|
2510
2648
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2511
2649
|
if ("QualTWCustomGS" === input3.type)
|
|
2512
|
-
return $
|
|
2650
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
2513
2651
|
if ("QualTWPredefinedGS" === input3.type)
|
|
2514
|
-
return $
|
|
2652
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
2515
2653
|
if ("QualTWValues" === input3.type)
|
|
2516
2654
|
return $vo1(input3, _path2, _exceptionable2);
|
|
2517
2655
|
return $report(_exceptionable2, {
|
|
@@ -2524,9 +2662,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2524
2662
|
if ("categorical" === input3.type)
|
|
2525
2663
|
return $vo3(input3, _path2, _exceptionable2);
|
|
2526
2664
|
if ("snp" === input3.type)
|
|
2527
|
-
return $vo40(input3, _path2, _exceptionable2);
|
|
2528
|
-
if ("singleCellCellType" === input3.type)
|
|
2529
2665
|
return $vo41(input3, _path2, _exceptionable2);
|
|
2666
|
+
if ("singleCellCellType" === input3.type)
|
|
2667
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
2530
2668
|
return $report(_exceptionable2, {
|
|
2531
2669
|
path: _path2,
|
|
2532
2670
|
expected: "(CategoricalTerm | SnpTerm | SingleCellCellTypeTerm)",
|
|
@@ -2536,24 +2674,24 @@ var validBrainImagingRequest = (input) => {
|
|
|
2536
2674
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2537
2675
|
if (void 0 !== input3.ranges)
|
|
2538
2676
|
return $vo9(input3, _path2, _exceptionable2);
|
|
2539
|
-
return $vo8(input3, _path2, false) || $
|
|
2677
|
+
return $vo8(input3, _path2, false) || $vo26(input3, _path2, false) || $vo29(input3, _path2, false);
|
|
2540
2678
|
})();
|
|
2541
2679
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2542
2680
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2543
2681
|
return $vo10(input3, _path2, _exceptionable2);
|
|
2544
2682
|
if ("metaboliteIntensity" === input3.type)
|
|
2545
|
-
return $vo21(input3, _path2, _exceptionable2);
|
|
2546
|
-
if ("date" === input3.type)
|
|
2547
2683
|
return $vo22(input3, _path2, _exceptionable2);
|
|
2548
|
-
if ("
|
|
2684
|
+
if ("date" === input3.type)
|
|
2549
2685
|
return $vo23(input3, _path2, _exceptionable2);
|
|
2550
|
-
|
|
2686
|
+
if ("ssGSEA" === input3.type)
|
|
2687
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
2688
|
+
return $vo21(input3, _path2, false) || $vo20(input3, _path2, false);
|
|
2551
2689
|
})();
|
|
2552
2690
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2553
2691
|
if ("regular-bin" === input3.type)
|
|
2554
|
-
return $
|
|
2692
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
2555
2693
|
if ("custom-bin" === input3.type)
|
|
2556
|
-
return $
|
|
2694
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
2557
2695
|
return $report(_exceptionable2, {
|
|
2558
2696
|
path: _path2,
|
|
2559
2697
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -2562,9 +2700,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2562
2700
|
})();
|
|
2563
2701
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2564
2702
|
if (true === input3.startunbounded)
|
|
2565
|
-
return $vo15(input3, _path2, _exceptionable2);
|
|
2566
|
-
if (void 0 !== input3.start)
|
|
2567
2703
|
return $vo16(input3, _path2, _exceptionable2);
|
|
2704
|
+
if (void 0 !== input3.start)
|
|
2705
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
2568
2706
|
return $report(_exceptionable2, {
|
|
2569
2707
|
path: _path2,
|
|
2570
2708
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -2573,9 +2711,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2573
2711
|
})();
|
|
2574
2712
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2575
2713
|
if (void 0 !== input3.stop)
|
|
2576
|
-
return $vo16(input3, _path2, _exceptionable2);
|
|
2577
|
-
if (true === input3.stopunbounded)
|
|
2578
2714
|
return $vo17(input3, _path2, _exceptionable2);
|
|
2715
|
+
if (true === input3.stopunbounded)
|
|
2716
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
2579
2717
|
return $report(_exceptionable2, {
|
|
2580
2718
|
path: _path2,
|
|
2581
2719
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -2584,9 +2722,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2584
2722
|
})();
|
|
2585
2723
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2586
2724
|
if ("gene" === input3.kind)
|
|
2587
|
-
return $
|
|
2725
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
2588
2726
|
if ("coord" === input3.kind)
|
|
2589
|
-
return $
|
|
2727
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
2590
2728
|
return $report(_exceptionable2, {
|
|
2591
2729
|
path: _path2,
|
|
2592
2730
|
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; })',
|