@sjcrh/proteinpaint-types 2.178.0 → 2.179.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-GAYJUXNZ.js → chunk-4J5BPYYR.js} +429 -201
- package/dist/{chunk-WXCXZRKP.js → chunk-6DWX22RA.js} +707 -479
- package/dist/{chunk-UWAVSKMD.js → chunk-7V7USAKJ.js} +705 -477
- package/dist/{chunk-2XQJCZEO.js → chunk-A2FMYVMI.js} +520 -292
- package/dist/{chunk-FQYNRDHB.js → chunk-CC4IBTKW.js} +429 -201
- package/dist/{chunk-2Y7WE3JU.js → chunk-CSK3ZCDF.js} +705 -477
- package/dist/{chunk-UFYKXOY2.js → chunk-DUFHC6EI.js} +1073 -625
- package/dist/{chunk-NRV6MPRM.js → chunk-E2O4N7OC.js} +1346 -898
- package/dist/{chunk-CYQDO4FX.js → chunk-FQLGK65A.js} +742 -456
- package/dist/{chunk-HZEV7D5E.js → chunk-JTZQYNIT.js} +705 -477
- package/dist/{chunk-CX2Y673E.js → chunk-MKM4A5NU.js} +429 -201
- package/dist/{chunk-26UKKPK2.js → chunk-QQNDJ6BY.js} +713 -485
- package/dist/{chunk-PHRILOVX.js → chunk-RANWGPF7.js} +429 -201
- package/dist/{chunk-VBNF7BRI.js → chunk-XAHE4RNZ.js} +452 -224
- package/dist/{chunk-YHKFJCXG.js → chunk-YI63CW7Y.js} +646 -426
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +15 -15
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +429 -201
- package/dist/termdb.chat2.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.dmr.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +28 -8
- package/src/filter.ts +33 -4
- package/src/routes/termdb.chat2.ts +13 -2
- package/src/routes/termdb.dmr.ts +17 -2
- package/src/terms/termCollection.ts +0 -3
|
@@ -21,8 +21,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
24
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.refKey && (void 0 === input3.l || "string" === typeof input3.l) && (void 0 === input3.f || "string" === typeof input3.f) && (void 0 === input3.t || "string" === typeof input3.t) && (Array.isArray(input3.selectedSampleFileNames) && input3.selectedSampleFileNames.every((elem) => "string" === typeof elem)) && (void 0 === input3.divideByTW || "object" === typeof input3.divideByTW && null !== input3.divideByTW && $
|
|
25
|
-
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $
|
|
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 && $iu5(input3.divideByTW)) && (void 0 === input3.overlayTW || "object" === typeof input3.overlayTW && null !== input3.overlayTW && $iu5(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 && $iu6(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io57(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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && ("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 && $io40(input3.groupsetting));
|
|
35
35
|
const $io4 = (input3) => Object.keys(input3).every((key) => {
|
|
36
36
|
const value = input3[key];
|
|
37
37
|
if (void 0 === value)
|
|
@@ -43,15 +43,15 @@ var validBrainImagingRequest = (input) => {
|
|
|
43
43
|
return true;
|
|
44
44
|
});
|
|
45
45
|
const $io5 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter));
|
|
46
|
-
const $io6 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
47
|
-
const $io7 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
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 && $
|
|
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))) && (void 0 === input3.$id || "string" === typeof input3.$id);
|
|
47
|
+
const $io7 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
48
|
+
const $io8 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("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))) && (void 0 === input3.valueset || input3.valueset instanceof Set);
|
|
49
|
+
const $io9 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem))) && (void 0 === input3.values || Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
50
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
51
|
const $io11 = (input3) => "string" === typeof input3.fromUnit && "string" === typeof input3.toUnit && "string" === typeof input3.scaleFactor;
|
|
52
52
|
const $io12 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
53
|
-
const $io13 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $
|
|
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 && $
|
|
53
|
+
const $io13 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu9(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu9(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 && $iu10(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu11(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) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
|
|
55
55
|
const $io15 = (input3) => Object.keys(input3).every((key) => {
|
|
56
56
|
const value = input3[key];
|
|
57
57
|
if (void 0 === value)
|
|
@@ -63,7 +63,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
63
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
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
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] && $
|
|
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] && $iu4(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
|
|
67
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
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
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));
|
|
@@ -73,34 +73,45 @@ var validBrainImagingRequest = (input) => {
|
|
|
73
73
|
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins));
|
|
74
74
|
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
75
75
|
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
76
|
-
const $io29 = (input3) => "
|
|
77
|
-
const $io30 = (input3) =>
|
|
78
|
-
const $io31 = (input3) =>
|
|
79
|
-
const $io32 = (input3) => "
|
|
80
|
-
const $io33 = (input3) =>
|
|
81
|
-
const $io34 = (input3) => "string" === typeof input3.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
const $io37 = (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;
|
|
85
|
-
const $io38 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
86
|
-
const $io39 = (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)));
|
|
87
|
-
const $io40 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io41(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
88
|
-
const $io41 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
89
|
-
const $io42 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter)) && "string" === typeof input3.color;
|
|
90
|
-
const $io43 = (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 && $io38(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
|
|
91
|
-
const $io44 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
92
|
-
const $io45 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && "number" === typeof input3.ratio;
|
|
93
|
-
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
94
|
-
const $io47 = (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));
|
|
95
|
-
const $io48 = (input3) => Object.keys(input3).every((key) => {
|
|
76
|
+
const $io29 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
77
|
+
const $io30 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
78
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io32(input3.term)) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io33(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
|
|
79
|
+
const $io32 = (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));
|
|
80
|
+
const $io33 = (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;
|
|
81
|
+
const $io34 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
82
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
83
|
+
return true;
|
|
96
84
|
const value = input3[key];
|
|
97
85
|
if (void 0 === value)
|
|
98
86
|
return true;
|
|
99
87
|
if (RegExp(/(.*)/).test(key))
|
|
100
|
-
return
|
|
88
|
+
return true;
|
|
101
89
|
return true;
|
|
102
90
|
});
|
|
103
|
-
const $
|
|
91
|
+
const $io35 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io36(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io46(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName) && (void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype) && (void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount) && (void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT) && (void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap);
|
|
92
|
+
const $io36 = (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 && $iu12(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));
|
|
93
|
+
const $io37 = (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 && $io40(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io36(elem)));
|
|
94
|
+
const $io38 = (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);
|
|
95
|
+
const $io39 = (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;
|
|
96
|
+
const $io40 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io41(elem)));
|
|
97
|
+
const $io41 = (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)));
|
|
98
|
+
const $io42 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io43(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
99
|
+
const $io43 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
100
|
+
const $io44 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter)) && "string" === typeof input3.color;
|
|
101
|
+
const $io45 = (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 && $io40(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io36(elem)));
|
|
102
|
+
const $io46 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
|
|
103
|
+
const $io47 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu13(input3.term)) && "number" === typeof input3.ratio;
|
|
104
|
+
const $io48 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io49(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io50(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
105
|
+
const $io49 = (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));
|
|
106
|
+
const $io50 = (input3) => Object.keys(input3).every((key) => {
|
|
107
|
+
const value = input3[key];
|
|
108
|
+
if (void 0 === value)
|
|
109
|
+
return true;
|
|
110
|
+
if (RegExp(/(.*)/).test(key))
|
|
111
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io51(value);
|
|
112
|
+
return true;
|
|
113
|
+
});
|
|
114
|
+
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
104
115
|
const value = input3[key];
|
|
105
116
|
if (void 0 === value)
|
|
106
117
|
return true;
|
|
@@ -108,16 +119,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
108
119
|
return true;
|
|
109
120
|
return true;
|
|
110
121
|
});
|
|
111
|
-
const $
|
|
112
|
-
const $
|
|
113
|
-
const $
|
|
114
|
-
const $
|
|
115
|
-
const $
|
|
116
|
-
const $
|
|
117
|
-
const $
|
|
118
|
-
const $
|
|
119
|
-
const $
|
|
120
|
-
const $
|
|
122
|
+
const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io49(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io50(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io53(elem)));
|
|
123
|
+
const $io53 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
124
|
+
const $io54 = (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 && $io40(input3.groupsetting));
|
|
125
|
+
const $io55 = (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)) && ("object" === typeof input3.sample && null !== input3.sample && true) && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io40(input3.groupsetting));
|
|
126
|
+
const $io57 = (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;
|
|
127
|
+
const $io58 = (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 && $iu6(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io59(input3.q)) && "QualTWPredefinedGS" === input3.type;
|
|
128
|
+
const $io59 = (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;
|
|
129
|
+
const $io60 = (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 && $iu6(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io61(input3.q)) && "QualTWCustomGS" === input3.type;
|
|
130
|
+
const $io61 = (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 && $io62(input3.customset));
|
|
131
|
+
const $io62 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem));
|
|
121
132
|
const $iu0 = (input3) => (() => {
|
|
122
133
|
if ("tvslst" === input3.type)
|
|
123
134
|
return $io6(input3);
|
|
@@ -130,56 +141,65 @@ var validBrainImagingRequest = (input) => {
|
|
|
130
141
|
return $io16(input3);
|
|
131
142
|
if (true === input3.stopunbounded)
|
|
132
143
|
return $io18(input3);
|
|
144
|
+
if (void 0 !== input3.value)
|
|
145
|
+
return $io29(input3);
|
|
133
146
|
return $io17(input3);
|
|
134
147
|
})();
|
|
135
148
|
const $iu2 = (input3) => (() => {
|
|
136
149
|
if ("gene" === input3.kind)
|
|
137
|
-
return $
|
|
150
|
+
return $io38(input3);
|
|
138
151
|
if ("coord" === input3.kind)
|
|
139
|
-
return $
|
|
152
|
+
return $io39(input3);
|
|
140
153
|
return false;
|
|
141
154
|
})();
|
|
142
155
|
const $iu3 = (input3) => (() => {
|
|
143
156
|
if ("string" === typeof input3.type)
|
|
144
|
-
return $io40(input3);
|
|
145
|
-
if ("filter" === input3.type)
|
|
146
157
|
return $io42(input3);
|
|
158
|
+
if ("filter" === input3.type)
|
|
159
|
+
return $io44(input3);
|
|
147
160
|
return false;
|
|
148
161
|
})();
|
|
149
162
|
const $iu4 = (input3) => (() => {
|
|
163
|
+
if (true === input3.startunbounded)
|
|
164
|
+
return $io16(input3);
|
|
165
|
+
if (true === input3.stopunbounded)
|
|
166
|
+
return $io18(input3);
|
|
167
|
+
return $io17(input3);
|
|
168
|
+
})();
|
|
169
|
+
const $iu5 = (input3) => (() => {
|
|
150
170
|
if ("QualTWCustomGS" === input3.type)
|
|
151
|
-
return $
|
|
171
|
+
return $io60(input3);
|
|
152
172
|
if ("QualTWPredefinedGS" === input3.type)
|
|
153
|
-
return $
|
|
173
|
+
return $io58(input3);
|
|
154
174
|
if ("QualTWValues" === input3.type)
|
|
155
175
|
return $io1(input3);
|
|
156
176
|
return false;
|
|
157
177
|
})();
|
|
158
|
-
const $
|
|
178
|
+
const $iu6 = (input3) => (() => {
|
|
159
179
|
if ("categorical" === input3.type)
|
|
160
180
|
return $io3(input3);
|
|
161
181
|
if ("snp" === input3.type)
|
|
162
|
-
return $
|
|
182
|
+
return $io54(input3);
|
|
163
183
|
if ("singleCellCellType" === input3.type)
|
|
164
|
-
return $
|
|
184
|
+
return $io55(input3);
|
|
165
185
|
return false;
|
|
166
186
|
})();
|
|
167
|
-
const $
|
|
187
|
+
const $iu7 = (input3) => (() => {
|
|
168
188
|
if (void 0 !== input3.ranges)
|
|
169
189
|
return $io9(input3);
|
|
170
190
|
if (void 0 !== input3.ratio)
|
|
171
|
-
return $
|
|
191
|
+
return $io47(input3);
|
|
172
192
|
return (() => {
|
|
173
193
|
if ($io8(input3))
|
|
174
194
|
return $io8(input3);
|
|
175
|
-
if ($
|
|
176
|
-
return $
|
|
177
|
-
if ($
|
|
178
|
-
return $
|
|
195
|
+
if ($io31(input3))
|
|
196
|
+
return $io31(input3);
|
|
197
|
+
if ($io35(input3))
|
|
198
|
+
return $io35(input3);
|
|
179
199
|
return false;
|
|
180
200
|
})();
|
|
181
201
|
})();
|
|
182
|
-
const $
|
|
202
|
+
const $iu8 = (input3) => (() => {
|
|
183
203
|
if ("integer" === input3.type || "float" === input3.type)
|
|
184
204
|
return $io10(input3);
|
|
185
205
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -204,39 +224,39 @@ var validBrainImagingRequest = (input) => {
|
|
|
204
224
|
return false;
|
|
205
225
|
})();
|
|
206
226
|
})();
|
|
207
|
-
const $
|
|
227
|
+
const $iu9 = (input3) => (() => {
|
|
208
228
|
if ("regular-bin" === input3.type)
|
|
209
229
|
return $io14(input3);
|
|
210
230
|
if ("custom-bin" === input3.type)
|
|
211
231
|
return $io19(input3);
|
|
212
232
|
return false;
|
|
213
233
|
})();
|
|
214
|
-
const $
|
|
234
|
+
const $iu10 = (input3) => (() => {
|
|
215
235
|
if (true === input3.startunbounded)
|
|
216
236
|
return $io16(input3);
|
|
217
237
|
if (void 0 !== input3.start)
|
|
218
238
|
return $io17(input3);
|
|
219
239
|
return false;
|
|
220
240
|
})();
|
|
221
|
-
const $
|
|
241
|
+
const $iu11 = (input3) => (() => {
|
|
222
242
|
if (void 0 !== input3.stop)
|
|
223
243
|
return $io17(input3);
|
|
224
244
|
if (true === input3.stopunbounded)
|
|
225
245
|
return $io18(input3);
|
|
226
246
|
return false;
|
|
227
247
|
})();
|
|
228
|
-
const $
|
|
248
|
+
const $iu12 = (input3) => (() => {
|
|
229
249
|
if ("gene" === input3.kind)
|
|
230
|
-
return $
|
|
250
|
+
return $io37(input3);
|
|
231
251
|
if ("coord" === input3.kind)
|
|
232
|
-
return $
|
|
252
|
+
return $io45(input3);
|
|
233
253
|
return false;
|
|
234
254
|
})();
|
|
235
|
-
const $
|
|
255
|
+
const $iu13 = (input3) => (() => {
|
|
236
256
|
if ("numeric" === input3.memberType)
|
|
237
|
-
return $
|
|
257
|
+
return $io48(input3);
|
|
238
258
|
if ("categorical" === input3.memberType)
|
|
239
|
-
return $
|
|
259
|
+
return $io52(input3);
|
|
240
260
|
return false;
|
|
241
261
|
})();
|
|
242
262
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -285,7 +305,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
285
305
|
path: _path2 + ".divideByTW",
|
|
286
306
|
expected: "(QualTWCustomGS | QualTWPredefinedGS | QualTWValues | undefined)",
|
|
287
307
|
value: input3.divideByTW
|
|
288
|
-
})) && $
|
|
308
|
+
})) && $vu5(input3.divideByTW, _path2 + ".divideByTW", _exceptionable2) || $report(_exceptionable2, {
|
|
289
309
|
path: _path2 + ".divideByTW",
|
|
290
310
|
expected: "(QualTWCustomGS | QualTWPredefinedGS | QualTWValues | undefined)",
|
|
291
311
|
value: input3.divideByTW
|
|
@@ -293,7 +313,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
293
313
|
path: _path2 + ".overlayTW",
|
|
294
314
|
expected: "(QualTWCustomGS | QualTWPredefinedGS | QualTWValues | undefined)",
|
|
295
315
|
value: input3.overlayTW
|
|
296
|
-
})) && $
|
|
316
|
+
})) && $vu5(input3.overlayTW, _path2 + ".overlayTW", _exceptionable2) || $report(_exceptionable2, {
|
|
297
317
|
path: _path2 + ".overlayTW",
|
|
298
318
|
expected: "(QualTWCustomGS | QualTWPredefinedGS | QualTWValues | undefined)",
|
|
299
319
|
value: input3.overlayTW
|
|
@@ -338,7 +358,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
338
358
|
path: _path2 + ".term",
|
|
339
359
|
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
340
360
|
value: input3.term
|
|
341
|
-
})) && $
|
|
361
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
342
362
|
path: _path2 + ".term",
|
|
343
363
|
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
344
364
|
value: input3.term
|
|
@@ -346,7 +366,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
346
366
|
path: _path2 + ".q",
|
|
347
367
|
expected: "ValuesQ",
|
|
348
368
|
value: input3.q
|
|
349
|
-
})) && $
|
|
369
|
+
})) && $vo57(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
350
370
|
path: _path2 + ".q",
|
|
351
371
|
expected: "ValuesQ",
|
|
352
372
|
value: input3.q
|
|
@@ -431,7 +451,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
431
451
|
path: _path2 + ".groupsetting",
|
|
432
452
|
expected: "TermGroupSetting",
|
|
433
453
|
value: input3.groupsetting
|
|
434
|
-
})) && $
|
|
454
|
+
})) && $vo40(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
435
455
|
path: _path2 + ".groupsetting",
|
|
436
456
|
expected: "TermGroupSetting",
|
|
437
457
|
value: input3.groupsetting
|
|
@@ -527,6 +547,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
527
547
|
path: _path2 + ".lst",
|
|
528
548
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
529
549
|
value: input3.lst
|
|
550
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
551
|
+
path: _path2 + ".$id",
|
|
552
|
+
expected: "(string | undefined)",
|
|
553
|
+
value: input3.$id
|
|
530
554
|
})].every((flag) => flag);
|
|
531
555
|
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
532
556
|
path: _path2 + ".type",
|
|
@@ -536,7 +560,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
536
560
|
path: _path2 + ".tvs",
|
|
537
561
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
538
562
|
value: input3.tvs
|
|
539
|
-
})) && $
|
|
563
|
+
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
540
564
|
path: _path2 + ".tvs",
|
|
541
565
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
542
566
|
value: input3.tvs
|
|
@@ -549,6 +573,26 @@ var validBrainImagingRequest = (input) => {
|
|
|
549
573
|
path: _path2 + ".isnot",
|
|
550
574
|
expected: "(boolean | undefined)",
|
|
551
575
|
value: input3.isnot
|
|
576
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
577
|
+
path: _path2 + ".bar_by_grade",
|
|
578
|
+
expected: "(boolean | undefined)",
|
|
579
|
+
value: input3.bar_by_grade
|
|
580
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
581
|
+
path: _path2 + ".bar_by_children",
|
|
582
|
+
expected: "(boolean | undefined)",
|
|
583
|
+
value: input3.bar_by_children
|
|
584
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
585
|
+
path: _path2 + ".value_by_max_grade",
|
|
586
|
+
expected: "(boolean | undefined)",
|
|
587
|
+
value: input3.value_by_max_grade
|
|
588
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
589
|
+
path: _path2 + ".value_by_most_recent",
|
|
590
|
+
expected: "(boolean | undefined)",
|
|
591
|
+
value: input3.value_by_most_recent
|
|
592
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
593
|
+
path: _path2 + ".value_by_computable_grade",
|
|
594
|
+
expected: "(boolean | undefined)",
|
|
595
|
+
value: input3.value_by_computable_grade
|
|
552
596
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
553
597
|
path: _path2 + ".term",
|
|
554
598
|
expected: "CategoricalTerm",
|
|
@@ -577,6 +621,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
577
621
|
path: _path2 + ".values",
|
|
578
622
|
expected: "Array<BaseValue>",
|
|
579
623
|
value: input3.values
|
|
624
|
+
}), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
|
|
625
|
+
path: _path2 + ".valueset",
|
|
626
|
+
expected: "(Set<any> | undefined)",
|
|
627
|
+
value: input3.valueset
|
|
580
628
|
})].every((flag) => flag);
|
|
581
629
|
const $vo9 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
582
630
|
path: _path2 + ".join",
|
|
@@ -586,45 +634,65 @@ var validBrainImagingRequest = (input) => {
|
|
|
586
634
|
path: _path2 + ".isnot",
|
|
587
635
|
expected: "(boolean | undefined)",
|
|
588
636
|
value: input3.isnot
|
|
637
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
638
|
+
path: _path2 + ".bar_by_grade",
|
|
639
|
+
expected: "(boolean | undefined)",
|
|
640
|
+
value: input3.bar_by_grade
|
|
641
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
642
|
+
path: _path2 + ".bar_by_children",
|
|
643
|
+
expected: "(boolean | undefined)",
|
|
644
|
+
value: input3.bar_by_children
|
|
645
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
646
|
+
path: _path2 + ".value_by_max_grade",
|
|
647
|
+
expected: "(boolean | undefined)",
|
|
648
|
+
value: input3.value_by_max_grade
|
|
649
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
650
|
+
path: _path2 + ".value_by_most_recent",
|
|
651
|
+
expected: "(boolean | undefined)",
|
|
652
|
+
value: input3.value_by_most_recent
|
|
653
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
654
|
+
path: _path2 + ".value_by_computable_grade",
|
|
655
|
+
expected: "(boolean | undefined)",
|
|
656
|
+
value: input3.value_by_computable_grade
|
|
589
657
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
590
658
|
path: _path2 + ".term",
|
|
591
659
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
592
660
|
value: input3.term
|
|
593
|
-
})) && $
|
|
661
|
+
})) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
594
662
|
path: _path2 + ".term",
|
|
595
663
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
596
664
|
value: input3.term
|
|
597
665
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
598
666
|
path: _path2 + ".ranges",
|
|
599
|
-
expected: "Array<NumericBin>",
|
|
667
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
600
668
|
value: input3.ranges
|
|
601
669
|
})) && input3.ranges.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
602
670
|
path: _path2 + ".ranges[" + _index7 + "]",
|
|
603
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
671
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
604
672
|
value: elem
|
|
605
673
|
})) && $vu1(elem, _path2 + ".ranges[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
606
674
|
path: _path2 + ".ranges[" + _index7 + "]",
|
|
607
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
675
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
608
676
|
value: elem
|
|
609
677
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
610
678
|
path: _path2 + ".ranges",
|
|
611
|
-
expected: "Array<NumericBin>",
|
|
679
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
612
680
|
value: input3.ranges
|
|
613
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
681
|
+
}), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
614
682
|
path: _path2 + ".values",
|
|
615
|
-
expected: "Array<__type>",
|
|
683
|
+
expected: "(Array<__type> | undefined)",
|
|
616
684
|
value: input3.values
|
|
617
685
|
})) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
618
686
|
path: _path2 + ".values[" + _index8 + "]",
|
|
619
|
-
expected: "__type.
|
|
687
|
+
expected: "__type.o5",
|
|
620
688
|
value: elem
|
|
621
|
-
})) && $
|
|
689
|
+
})) && $vo30(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
622
690
|
path: _path2 + ".values[" + _index8 + "]",
|
|
623
|
-
expected: "__type.
|
|
691
|
+
expected: "__type.o5",
|
|
624
692
|
value: elem
|
|
625
693
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
626
694
|
path: _path2 + ".values",
|
|
627
|
-
expected: "Array<__type>",
|
|
695
|
+
expected: "(Array<__type> | undefined)",
|
|
628
696
|
value: input3.values
|
|
629
697
|
})].every((flag) => flag);
|
|
630
698
|
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -738,7 +806,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
738
806
|
path: _path2 + '["default"]',
|
|
739
807
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
740
808
|
value: input3["default"]
|
|
741
|
-
})) && $
|
|
809
|
+
})) && $vu9(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
742
810
|
path: _path2 + '["default"]',
|
|
743
811
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
744
812
|
value: input3["default"]
|
|
@@ -746,7 +814,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
746
814
|
path: _path2 + ".less",
|
|
747
815
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
748
816
|
value: input3.less
|
|
749
|
-
})) && $
|
|
817
|
+
})) && $vu9(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
750
818
|
path: _path2 + ".less",
|
|
751
819
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
752
820
|
value: input3.less
|
|
@@ -807,7 +875,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
807
875
|
path: _path2 + ".first_bin",
|
|
808
876
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
809
877
|
value: input3.first_bin
|
|
810
|
-
})) && $
|
|
878
|
+
})) && $vu10(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
811
879
|
path: _path2 + ".first_bin",
|
|
812
880
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
813
881
|
value: input3.first_bin
|
|
@@ -815,7 +883,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
815
883
|
path: _path2 + ".last_bin",
|
|
816
884
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
817
885
|
value: input3.last_bin
|
|
818
|
-
})) && $
|
|
886
|
+
})) && $vu11(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
819
887
|
path: _path2 + ".last_bin",
|
|
820
888
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
821
889
|
value: input3.last_bin
|
|
@@ -980,7 +1048,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
980
1048
|
path: _path2 + ".lst[0]",
|
|
981
1049
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
982
1050
|
value: input3.lst[0]
|
|
983
|
-
})) && $
|
|
1051
|
+
})) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
984
1052
|
path: _path2 + ".lst[0]",
|
|
985
1053
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
986
1054
|
value: input3.lst[0]
|
|
@@ -993,7 +1061,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
993
1061
|
path: _path2 + ".lst[" + (1 + _index11) + "]",
|
|
994
1062
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
995
1063
|
value: elem
|
|
996
|
-
})) && $
|
|
1064
|
+
})) && $vu4(elem, _path2 + ".lst[" + (1 + _index11) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
997
1065
|
path: _path2 + ".lst[" + (1 + _index11) + "]",
|
|
998
1066
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
999
1067
|
value: elem
|
|
@@ -1899,7 +1967,20 @@ var validBrainImagingRequest = (input) => {
|
|
|
1899
1967
|
expected: "number",
|
|
1900
1968
|
value: input3.stop
|
|
1901
1969
|
})].every((flag) => flag);
|
|
1902
|
-
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["
|
|
1970
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
1971
|
+
path: _path2 + ".value",
|
|
1972
|
+
expected: "number",
|
|
1973
|
+
value: input3.value
|
|
1974
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1975
|
+
path: _path2 + ".label",
|
|
1976
|
+
expected: "(string | undefined)",
|
|
1977
|
+
value: input3.label
|
|
1978
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1979
|
+
path: _path2 + ".name",
|
|
1980
|
+
expected: "(string | undefined)",
|
|
1981
|
+
value: input3.name
|
|
1982
|
+
})].every((flag) => flag);
|
|
1983
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1903
1984
|
path: _path2 + ".key",
|
|
1904
1985
|
expected: "string",
|
|
1905
1986
|
value: input3.key
|
|
@@ -1916,7 +1997,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1916
1997
|
expected: "(string | undefined)",
|
|
1917
1998
|
value: input3.label
|
|
1918
1999
|
})].every((flag) => flag);
|
|
1919
|
-
const $
|
|
2000
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1920
2001
|
path: _path2 + ".join",
|
|
1921
2002
|
expected: "(string | undefined)",
|
|
1922
2003
|
value: input3.join
|
|
@@ -1924,14 +2005,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
1924
2005
|
path: _path2 + ".isnot",
|
|
1925
2006
|
expected: "(boolean | undefined)",
|
|
1926
2007
|
value: input3.isnot
|
|
1927
|
-
}),
|
|
1928
|
-
path: _path2 + ".
|
|
1929
|
-
expected: "
|
|
1930
|
-
value: input3.
|
|
1931
|
-
})
|
|
1932
|
-
path: _path2 + ".
|
|
1933
|
-
expected: "
|
|
1934
|
-
value: input3.
|
|
2008
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2009
|
+
path: _path2 + ".bar_by_grade",
|
|
2010
|
+
expected: "(boolean | undefined)",
|
|
2011
|
+
value: input3.bar_by_grade
|
|
2012
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2013
|
+
path: _path2 + ".bar_by_children",
|
|
2014
|
+
expected: "(boolean | undefined)",
|
|
2015
|
+
value: input3.bar_by_children
|
|
1935
2016
|
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1936
2017
|
path: _path2 + ".value_by_max_grade",
|
|
1937
2018
|
expected: "(boolean | undefined)",
|
|
@@ -1944,6 +2025,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
1944
2025
|
path: _path2 + ".value_by_computable_grade",
|
|
1945
2026
|
expected: "(boolean | undefined)",
|
|
1946
2027
|
value: input3.value_by_computable_grade
|
|
2028
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2029
|
+
path: _path2 + ".term",
|
|
2030
|
+
expected: "ConditionTerm",
|
|
2031
|
+
value: input3.term
|
|
2032
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2033
|
+
path: _path2 + ".term",
|
|
2034
|
+
expected: "ConditionTerm",
|
|
2035
|
+
value: input3.term
|
|
1947
2036
|
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1948
2037
|
path: _path2 + ".grade_and_child",
|
|
1949
2038
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
@@ -1952,7 +2041,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1952
2041
|
path: _path2 + ".grade_and_child[" + _index31 + "]",
|
|
1953
2042
|
expected: "GradeAndChildEntry",
|
|
1954
2043
|
value: elem
|
|
1955
|
-
})) && $
|
|
2044
|
+
})) && $vo33(elem, _path2 + ".grade_and_child[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1956
2045
|
path: _path2 + ".grade_and_child[" + _index31 + "]",
|
|
1957
2046
|
expected: "GradeAndChildEntry",
|
|
1958
2047
|
value: elem
|
|
@@ -1960,8 +2049,24 @@ var validBrainImagingRequest = (input) => {
|
|
|
1960
2049
|
path: _path2 + ".grade_and_child",
|
|
1961
2050
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1962
2051
|
value: input3.grade_and_child
|
|
2052
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2053
|
+
path: _path2 + ".values",
|
|
2054
|
+
expected: "Array<__type>.o1",
|
|
2055
|
+
value: input3.values
|
|
2056
|
+
})) && input3.values.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2057
|
+
path: _path2 + ".values[" + _index32 + "]",
|
|
2058
|
+
expected: "__type.o6",
|
|
2059
|
+
value: elem
|
|
2060
|
+
})) && $vo34(elem, _path2 + ".values[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2061
|
+
path: _path2 + ".values[" + _index32 + "]",
|
|
2062
|
+
expected: "__type.o6",
|
|
2063
|
+
value: elem
|
|
2064
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2065
|
+
path: _path2 + ".values",
|
|
2066
|
+
expected: "Array<__type>.o1",
|
|
2067
|
+
value: input3.values
|
|
1963
2068
|
})].every((flag) => flag);
|
|
1964
|
-
const $
|
|
2069
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1965
2070
|
path: _path2 + ".id",
|
|
1966
2071
|
expected: "string",
|
|
1967
2072
|
value: input3.id
|
|
@@ -1977,8 +2082,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1977
2082
|
path: _path2 + ".child_types",
|
|
1978
2083
|
expected: "(Array<string> | undefined)",
|
|
1979
2084
|
value: input3.child_types
|
|
1980
|
-
})) && input3.child_types.map((elem,
|
|
1981
|
-
path: _path2 + ".child_types[" +
|
|
2085
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2086
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
1982
2087
|
expected: "string",
|
|
1983
2088
|
value: elem
|
|
1984
2089
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1993,8 +2098,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1993
2098
|
path: _path2 + ".included_types",
|
|
1994
2099
|
expected: "(Array<string> | undefined)",
|
|
1995
2100
|
value: input3.included_types
|
|
1996
|
-
})) && input3.included_types.map((elem,
|
|
1997
|
-
path: _path2 + ".included_types[" +
|
|
2101
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2102
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
1998
2103
|
expected: "string",
|
|
1999
2104
|
value: elem
|
|
2000
2105
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2026,7 +2131,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2026
2131
|
expected: "(__type.o2 | undefined)",
|
|
2027
2132
|
value: input3.valueConversion
|
|
2028
2133
|
})].every((flag) => flag);
|
|
2029
|
-
const $
|
|
2134
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2030
2135
|
path: _path2 + ".grade",
|
|
2031
2136
|
expected: "number",
|
|
2032
2137
|
value: input3.grade
|
|
@@ -2043,7 +2148,25 @@ var validBrainImagingRequest = (input) => {
|
|
|
2043
2148
|
expected: "string",
|
|
2044
2149
|
value: input3.child_label
|
|
2045
2150
|
})].every((flag) => flag);
|
|
2046
|
-
const $
|
|
2151
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2152
|
+
path: _path2 + ".key",
|
|
2153
|
+
expected: "(number | string)",
|
|
2154
|
+
value: input3.key
|
|
2155
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2156
|
+
path: _path2 + ".label",
|
|
2157
|
+
expected: "(string | undefined)",
|
|
2158
|
+
value: input3.label
|
|
2159
|
+
}), false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2160
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
2161
|
+
return true;
|
|
2162
|
+
const value = input3[key];
|
|
2163
|
+
if (void 0 === value)
|
|
2164
|
+
return true;
|
|
2165
|
+
if (RegExp(/(.*)/).test(key))
|
|
2166
|
+
return true;
|
|
2167
|
+
return true;
|
|
2168
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
2169
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2047
2170
|
path: _path2 + ".join",
|
|
2048
2171
|
expected: "(string | undefined)",
|
|
2049
2172
|
value: input3.join
|
|
@@ -2051,29 +2174,49 @@ var validBrainImagingRequest = (input) => {
|
|
|
2051
2174
|
path: _path2 + ".isnot",
|
|
2052
2175
|
expected: "(boolean | undefined)",
|
|
2053
2176
|
value: input3.isnot
|
|
2177
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2178
|
+
path: _path2 + ".bar_by_grade",
|
|
2179
|
+
expected: "(boolean | undefined)",
|
|
2180
|
+
value: input3.bar_by_grade
|
|
2181
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2182
|
+
path: _path2 + ".bar_by_children",
|
|
2183
|
+
expected: "(boolean | undefined)",
|
|
2184
|
+
value: input3.bar_by_children
|
|
2185
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2186
|
+
path: _path2 + ".value_by_max_grade",
|
|
2187
|
+
expected: "(boolean | undefined)",
|
|
2188
|
+
value: input3.value_by_max_grade
|
|
2189
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2190
|
+
path: _path2 + ".value_by_most_recent",
|
|
2191
|
+
expected: "(boolean | undefined)",
|
|
2192
|
+
value: input3.value_by_most_recent
|
|
2193
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2194
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2195
|
+
expected: "(boolean | undefined)",
|
|
2196
|
+
value: input3.value_by_computable_grade
|
|
2054
2197
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2055
2198
|
path: _path2 + ".term",
|
|
2056
2199
|
expected: "DtTerm",
|
|
2057
2200
|
value: input3.term
|
|
2058
|
-
})) && $
|
|
2201
|
+
})) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2059
2202
|
path: _path2 + ".term",
|
|
2060
2203
|
expected: "DtTerm",
|
|
2061
2204
|
value: input3.term
|
|
2062
2205
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2063
2206
|
path: _path2 + ".values",
|
|
2064
|
-
expected: "Array<
|
|
2207
|
+
expected: "Array<GeneVariantValue>",
|
|
2065
2208
|
value: input3.values
|
|
2066
|
-
})) && input3.values.map((elem,
|
|
2067
|
-
path: _path2 + ".values[" +
|
|
2068
|
-
expected: "
|
|
2209
|
+
})) && input3.values.map((elem, _index35) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2210
|
+
path: _path2 + ".values[" + _index35 + "]",
|
|
2211
|
+
expected: "GeneVariantValue",
|
|
2069
2212
|
value: elem
|
|
2070
|
-
})) && $
|
|
2071
|
-
path: _path2 + ".values[" +
|
|
2072
|
-
expected: "
|
|
2213
|
+
})) && $vo46(elem, _path2 + ".values[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2214
|
+
path: _path2 + ".values[" + _index35 + "]",
|
|
2215
|
+
expected: "GeneVariantValue",
|
|
2073
2216
|
value: elem
|
|
2074
2217
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2075
2218
|
path: _path2 + ".values",
|
|
2076
|
-
expected: "Array<
|
|
2219
|
+
expected: "Array<GeneVariantValue>",
|
|
2077
2220
|
value: input3.values
|
|
2078
2221
|
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2079
2222
|
path: _path2 + ".includeNotTested",
|
|
@@ -2083,8 +2226,40 @@ var validBrainImagingRequest = (input) => {
|
|
|
2083
2226
|
path: _path2 + ".excludeGeneName",
|
|
2084
2227
|
expected: "(boolean | undefined)",
|
|
2085
2228
|
value: input3.excludeGeneName
|
|
2229
|
+
}), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
|
|
2230
|
+
path: _path2 + ".genotype",
|
|
2231
|
+
expected: '("nt" | "variant" | "wt" | undefined)',
|
|
2232
|
+
value: input3.genotype
|
|
2233
|
+
}), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
|
|
2234
|
+
path: _path2 + ".mcount",
|
|
2235
|
+
expected: '("all" | "any" | "multiple" | "single" | undefined)',
|
|
2236
|
+
value: input3.mcount
|
|
2237
|
+
}), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
|
|
2238
|
+
path: _path2 + ".continuousCnv",
|
|
2239
|
+
expected: "(boolean | undefined)",
|
|
2240
|
+
value: input3.continuousCnv
|
|
2241
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
2242
|
+
path: _path2 + ".cnvLossCutoff",
|
|
2243
|
+
expected: "(number | undefined)",
|
|
2244
|
+
value: input3.cnvLossCutoff
|
|
2245
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
2246
|
+
path: _path2 + ".cnvGainCutoff",
|
|
2247
|
+
expected: "(number | undefined)",
|
|
2248
|
+
value: input3.cnvGainCutoff
|
|
2249
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
2250
|
+
path: _path2 + ".cnvMaxLength",
|
|
2251
|
+
expected: "(number | undefined)",
|
|
2252
|
+
value: input3.cnvMaxLength
|
|
2253
|
+
}), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
|
|
2254
|
+
path: _path2 + ".cnvWT",
|
|
2255
|
+
expected: "(boolean | undefined)",
|
|
2256
|
+
value: input3.cnvWT
|
|
2257
|
+
}), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
|
|
2258
|
+
path: _path2 + ".fractionOverlap",
|
|
2259
|
+
expected: "(number | undefined)",
|
|
2260
|
+
value: input3.fractionOverlap
|
|
2086
2261
|
})].every((flag) => flag);
|
|
2087
|
-
const $
|
|
2262
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2088
2263
|
path: _path2 + ".id",
|
|
2089
2264
|
expected: "string",
|
|
2090
2265
|
value: input3.id
|
|
@@ -2104,7 +2279,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2104
2279
|
path: _path2 + ".parentTerm",
|
|
2105
2280
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2106
2281
|
value: input3.parentTerm
|
|
2107
|
-
})) && $
|
|
2282
|
+
})) && $vu12(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2108
2283
|
path: _path2 + ".parentTerm",
|
|
2109
2284
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2110
2285
|
value: input3.parentTerm
|
|
@@ -2133,7 +2308,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2133
2308
|
expected: "TermValues",
|
|
2134
2309
|
value: input3.values
|
|
2135
2310
|
})].every((flag) => flag);
|
|
2136
|
-
const $
|
|
2311
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2137
2312
|
path: _path2 + ".id",
|
|
2138
2313
|
expected: "string",
|
|
2139
2314
|
value: input3.id
|
|
@@ -2149,8 +2324,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2149
2324
|
path: _path2 + ".child_types",
|
|
2150
2325
|
expected: "(Array<string> | undefined)",
|
|
2151
2326
|
value: input3.child_types
|
|
2152
|
-
})) && input3.child_types.map((elem,
|
|
2153
|
-
path: _path2 + ".child_types[" +
|
|
2327
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2328
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
2154
2329
|
expected: "string",
|
|
2155
2330
|
value: elem
|
|
2156
2331
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2165,8 +2340,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2165
2340
|
path: _path2 + ".included_types",
|
|
2166
2341
|
expected: "(Array<string> | undefined)",
|
|
2167
2342
|
value: input3.included_types
|
|
2168
|
-
})) && input3.included_types.map((elem,
|
|
2169
|
-
path: _path2 + ".included_types[" +
|
|
2343
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2344
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
2170
2345
|
expected: "string",
|
|
2171
2346
|
value: elem
|
|
2172
2347
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2221,12 +2396,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2221
2396
|
path: _path2 + ".genes",
|
|
2222
2397
|
expected: "Array<GvGeneTerm>",
|
|
2223
2398
|
value: input3.genes
|
|
2224
|
-
})) && input3.genes.map((elem,
|
|
2225
|
-
path: _path2 + ".genes[" +
|
|
2399
|
+
})) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2400
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
2226
2401
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2227
2402
|
value: elem
|
|
2228
|
-
})) && $vu2(elem, _path2 + ".genes[" +
|
|
2229
|
-
path: _path2 + ".genes[" +
|
|
2403
|
+
})) && $vu2(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2404
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
2230
2405
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2231
2406
|
value: elem
|
|
2232
2407
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2237,7 +2412,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2237
2412
|
path: _path2 + ".groupsetting",
|
|
2238
2413
|
expected: "(TermGroupSetting | undefined)",
|
|
2239
2414
|
value: input3.groupsetting
|
|
2240
|
-
})) && $
|
|
2415
|
+
})) && $vo40(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2241
2416
|
path: _path2 + ".groupsetting",
|
|
2242
2417
|
expected: "(TermGroupSetting | undefined)",
|
|
2243
2418
|
value: input3.groupsetting
|
|
@@ -2245,12 +2420,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2245
2420
|
path: _path2 + ".childTerms",
|
|
2246
2421
|
expected: "(Array<DtTerm> | undefined)",
|
|
2247
2422
|
value: input3.childTerms
|
|
2248
|
-
})) && input3.childTerms.map((elem,
|
|
2249
|
-
path: _path2 + ".childTerms[" +
|
|
2423
|
+
})) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2424
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
2250
2425
|
expected: "DtTerm",
|
|
2251
2426
|
value: elem
|
|
2252
|
-
})) && $
|
|
2253
|
-
path: _path2 + ".childTerms[" +
|
|
2427
|
+
})) && $vo36(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2428
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
2254
2429
|
expected: "DtTerm",
|
|
2255
2430
|
value: elem
|
|
2256
2431
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2258,7 +2433,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2258
2433
|
expected: "(Array<DtTerm> | undefined)",
|
|
2259
2434
|
value: input3.childTerms
|
|
2260
2435
|
})].every((flag) => flag);
|
|
2261
|
-
const $
|
|
2436
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2262
2437
|
path: _path2 + ".id",
|
|
2263
2438
|
expected: "string",
|
|
2264
2439
|
value: input3.id
|
|
@@ -2274,8 +2449,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2274
2449
|
path: _path2 + ".child_types",
|
|
2275
2450
|
expected: "(Array<string> | undefined)",
|
|
2276
2451
|
value: input3.child_types
|
|
2277
|
-
})) && input3.child_types.map((elem,
|
|
2278
|
-
path: _path2 + ".child_types[" +
|
|
2452
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2453
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
2279
2454
|
expected: "string",
|
|
2280
2455
|
value: elem
|
|
2281
2456
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2290,8 +2465,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2290
2465
|
path: _path2 + ".included_types",
|
|
2291
2466
|
expected: "(Array<string> | undefined)",
|
|
2292
2467
|
value: input3.included_types
|
|
2293
|
-
})) && input3.included_types.map((elem,
|
|
2294
|
-
path: _path2 + ".included_types[" +
|
|
2468
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2469
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
2295
2470
|
expected: "string",
|
|
2296
2471
|
value: elem
|
|
2297
2472
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2343,7 +2518,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2343
2518
|
expected: "(number | undefined)",
|
|
2344
2519
|
value: input3.stop
|
|
2345
2520
|
})].every((flag) => flag);
|
|
2346
|
-
const $
|
|
2521
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2347
2522
|
path: _path2 + ".id",
|
|
2348
2523
|
expected: "string",
|
|
2349
2524
|
value: input3.id
|
|
@@ -2359,8 +2534,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2359
2534
|
path: _path2 + ".child_types",
|
|
2360
2535
|
expected: "(Array<string> | undefined)",
|
|
2361
2536
|
value: input3.child_types
|
|
2362
|
-
})) && input3.child_types.map((elem,
|
|
2363
|
-
path: _path2 + ".child_types[" +
|
|
2537
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2538
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
2364
2539
|
expected: "string",
|
|
2365
2540
|
value: elem
|
|
2366
2541
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2375,8 +2550,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2375
2550
|
path: _path2 + ".included_types",
|
|
2376
2551
|
expected: "(Array<string> | undefined)",
|
|
2377
2552
|
value: input3.included_types
|
|
2378
|
-
})) && input3.included_types.map((elem,
|
|
2379
|
-
path: _path2 + ".included_types[" +
|
|
2553
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2554
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
2380
2555
|
expected: "string",
|
|
2381
2556
|
value: elem
|
|
2382
2557
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2424,7 +2599,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2424
2599
|
expected: "number",
|
|
2425
2600
|
value: input3.stop
|
|
2426
2601
|
})].every((flag) => flag);
|
|
2427
|
-
const $
|
|
2602
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2428
2603
|
path: _path2 + ".disabled",
|
|
2429
2604
|
expected: "boolean",
|
|
2430
2605
|
value: input3.disabled
|
|
@@ -2432,12 +2607,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2432
2607
|
path: _path2 + ".lst",
|
|
2433
2608
|
expected: "(Array<Groupset> | undefined)",
|
|
2434
2609
|
value: input3.lst
|
|
2435
|
-
})) && input3.lst.map((elem,
|
|
2436
|
-
path: _path2 + ".lst[" +
|
|
2610
|
+
})) && input3.lst.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2611
|
+
path: _path2 + ".lst[" + _index44 + "]",
|
|
2437
2612
|
expected: "Groupset",
|
|
2438
2613
|
value: elem
|
|
2439
|
-
})) && $
|
|
2440
|
-
path: _path2 + ".lst[" +
|
|
2614
|
+
})) && $vo41(elem, _path2 + ".lst[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2615
|
+
path: _path2 + ".lst[" + _index44 + "]",
|
|
2441
2616
|
expected: "Groupset",
|
|
2442
2617
|
value: elem
|
|
2443
2618
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2445,7 +2620,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2445
2620
|
expected: "(Array<Groupset> | undefined)",
|
|
2446
2621
|
value: input3.lst
|
|
2447
2622
|
})].every((flag) => flag);
|
|
2448
|
-
const $
|
|
2623
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2449
2624
|
path: _path2 + ".name",
|
|
2450
2625
|
expected: "string",
|
|
2451
2626
|
value: input3.name
|
|
@@ -2465,12 +2640,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2465
2640
|
path: _path2 + ".groups",
|
|
2466
2641
|
expected: "Array<GroupEntry>",
|
|
2467
2642
|
value: input3.groups
|
|
2468
|
-
})) && input3.groups.map((elem,
|
|
2469
|
-
path: _path2 + ".groups[" +
|
|
2643
|
+
})) && input3.groups.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2644
|
+
path: _path2 + ".groups[" + _index45 + "]",
|
|
2470
2645
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2471
2646
|
value: elem
|
|
2472
|
-
})) && $vu3(elem, _path2 + ".groups[" +
|
|
2473
|
-
path: _path2 + ".groups[" +
|
|
2647
|
+
})) && $vu3(elem, _path2 + ".groups[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2648
|
+
path: _path2 + ".groups[" + _index45 + "]",
|
|
2474
2649
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2475
2650
|
value: elem
|
|
2476
2651
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2478,7 +2653,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2478
2653
|
expected: "Array<GroupEntry>",
|
|
2479
2654
|
value: input3.groups
|
|
2480
2655
|
})].every((flag) => flag);
|
|
2481
|
-
const $
|
|
2656
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2482
2657
|
path: _path2 + ".name",
|
|
2483
2658
|
expected: "string",
|
|
2484
2659
|
value: input3.name
|
|
@@ -2488,26 +2663,26 @@ var validBrainImagingRequest = (input) => {
|
|
|
2488
2663
|
value: input3.type
|
|
2489
2664
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2490
2665
|
path: _path2 + ".values",
|
|
2491
|
-
expected: "Array<__type>.
|
|
2666
|
+
expected: "Array<__type>.o2",
|
|
2492
2667
|
value: input3.values
|
|
2493
|
-
})) && input3.values.map((elem,
|
|
2494
|
-
path: _path2 + ".values[" +
|
|
2495
|
-
expected: "__type.
|
|
2668
|
+
})) && input3.values.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2669
|
+
path: _path2 + ".values[" + _index46 + "]",
|
|
2670
|
+
expected: "__type.o7",
|
|
2496
2671
|
value: elem
|
|
2497
|
-
})) && $
|
|
2498
|
-
path: _path2 + ".values[" +
|
|
2499
|
-
expected: "__type.
|
|
2672
|
+
})) && $vo43(elem, _path2 + ".values[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2673
|
+
path: _path2 + ".values[" + _index46 + "]",
|
|
2674
|
+
expected: "__type.o7",
|
|
2500
2675
|
value: elem
|
|
2501
2676
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2502
2677
|
path: _path2 + ".values",
|
|
2503
|
-
expected: "Array<__type>.
|
|
2678
|
+
expected: "Array<__type>.o2",
|
|
2504
2679
|
value: input3.values
|
|
2505
2680
|
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
2506
2681
|
path: _path2 + ".uncomputable",
|
|
2507
2682
|
expected: "(boolean | undefined)",
|
|
2508
2683
|
value: input3.uncomputable
|
|
2509
2684
|
})].every((flag) => flag);
|
|
2510
|
-
const $
|
|
2685
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2511
2686
|
path: _path2 + ".key",
|
|
2512
2687
|
expected: "(number | string)",
|
|
2513
2688
|
value: input3.key
|
|
@@ -2516,7 +2691,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2516
2691
|
expected: "string",
|
|
2517
2692
|
value: input3.label
|
|
2518
2693
|
})].every((flag) => flag);
|
|
2519
|
-
const $
|
|
2694
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2520
2695
|
path: _path2 + ".name",
|
|
2521
2696
|
expected: "string",
|
|
2522
2697
|
value: input3.name
|
|
@@ -2537,7 +2712,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2537
2712
|
expected: "string",
|
|
2538
2713
|
value: input3.color
|
|
2539
2714
|
})].every((flag) => flag);
|
|
2540
|
-
const $
|
|
2715
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2541
2716
|
path: _path2 + ".id",
|
|
2542
2717
|
expected: "string",
|
|
2543
2718
|
value: input3.id
|
|
@@ -2553,8 +2728,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2553
2728
|
path: _path2 + ".child_types",
|
|
2554
2729
|
expected: "(Array<string> | undefined)",
|
|
2555
2730
|
value: input3.child_types
|
|
2556
|
-
})) && input3.child_types.map((elem,
|
|
2557
|
-
path: _path2 + ".child_types[" +
|
|
2731
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2732
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
2558
2733
|
expected: "string",
|
|
2559
2734
|
value: elem
|
|
2560
2735
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2569,8 +2744,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2569
2744
|
path: _path2 + ".included_types",
|
|
2570
2745
|
expected: "(Array<string> | undefined)",
|
|
2571
2746
|
value: input3.included_types
|
|
2572
|
-
})) && input3.included_types.map((elem,
|
|
2573
|
-
path: _path2 + ".included_types[" +
|
|
2747
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2748
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
2574
2749
|
expected: "string",
|
|
2575
2750
|
value: elem
|
|
2576
2751
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2621,12 +2796,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2621
2796
|
path: _path2 + ".genes",
|
|
2622
2797
|
expected: "Array<GvGeneTerm>",
|
|
2623
2798
|
value: input3.genes
|
|
2624
|
-
})) && input3.genes.map((elem,
|
|
2625
|
-
path: _path2 + ".genes[" +
|
|
2799
|
+
})) && input3.genes.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2800
|
+
path: _path2 + ".genes[" + _index49 + "]",
|
|
2626
2801
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2627
2802
|
value: elem
|
|
2628
|
-
})) && $vu2(elem, _path2 + ".genes[" +
|
|
2629
|
-
path: _path2 + ".genes[" +
|
|
2803
|
+
})) && $vu2(elem, _path2 + ".genes[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2804
|
+
path: _path2 + ".genes[" + _index49 + "]",
|
|
2630
2805
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2631
2806
|
value: elem
|
|
2632
2807
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2637,7 +2812,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2637
2812
|
path: _path2 + ".groupsetting",
|
|
2638
2813
|
expected: "(TermGroupSetting | undefined)",
|
|
2639
2814
|
value: input3.groupsetting
|
|
2640
|
-
})) && $
|
|
2815
|
+
})) && $vo40(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2641
2816
|
path: _path2 + ".groupsetting",
|
|
2642
2817
|
expected: "(TermGroupSetting | undefined)",
|
|
2643
2818
|
value: input3.groupsetting
|
|
@@ -2645,12 +2820,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2645
2820
|
path: _path2 + ".childTerms",
|
|
2646
2821
|
expected: "(Array<DtTerm> | undefined)",
|
|
2647
2822
|
value: input3.childTerms
|
|
2648
|
-
})) && input3.childTerms.map((elem,
|
|
2649
|
-
path: _path2 + ".childTerms[" +
|
|
2823
|
+
})) && input3.childTerms.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2824
|
+
path: _path2 + ".childTerms[" + _index50 + "]",
|
|
2650
2825
|
expected: "DtTerm",
|
|
2651
2826
|
value: elem
|
|
2652
|
-
})) && $
|
|
2653
|
-
path: _path2 + ".childTerms[" +
|
|
2827
|
+
})) && $vo36(elem, _path2 + ".childTerms[" + _index50 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2828
|
+
path: _path2 + ".childTerms[" + _index50 + "]",
|
|
2654
2829
|
expected: "DtTerm",
|
|
2655
2830
|
value: elem
|
|
2656
2831
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2658,20 +2833,52 @@ var validBrainImagingRequest = (input) => {
|
|
|
2658
2833
|
expected: "(Array<DtTerm> | undefined)",
|
|
2659
2834
|
value: input3.childTerms
|
|
2660
2835
|
})].every((flag) => flag);
|
|
2661
|
-
const $
|
|
2836
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2662
2837
|
path: _path2 + ".key",
|
|
2663
|
-
expected: "string",
|
|
2838
|
+
expected: "(string | undefined)",
|
|
2664
2839
|
value: input3.key
|
|
2665
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2840
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
2666
2841
|
path: _path2 + ".label",
|
|
2667
|
-
expected: "string",
|
|
2842
|
+
expected: "(number | string | undefined)",
|
|
2668
2843
|
value: input3.label
|
|
2669
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2844
|
+
}), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2670
2845
|
path: _path2 + ".value",
|
|
2671
|
-
expected: "string",
|
|
2846
|
+
expected: "(string | undefined)",
|
|
2672
2847
|
value: input3.value
|
|
2848
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2849
|
+
path: _path2 + ".dt",
|
|
2850
|
+
expected: "(number | undefined)",
|
|
2851
|
+
value: input3.dt
|
|
2852
|
+
}), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
|
|
2853
|
+
path: _path2 + ".mclasslst",
|
|
2854
|
+
expected: "(Array<string> | undefined)",
|
|
2855
|
+
value: input3.mclasslst
|
|
2856
|
+
})) && input3.mclasslst.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2857
|
+
path: _path2 + ".mclasslst[" + _index51 + "]",
|
|
2858
|
+
expected: "string",
|
|
2859
|
+
value: elem
|
|
2860
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2861
|
+
path: _path2 + ".mclasslst",
|
|
2862
|
+
expected: "(Array<string> | undefined)",
|
|
2863
|
+
value: input3.mclasslst
|
|
2864
|
+
}), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2865
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2866
|
+
expected: "(Array<string> | undefined)",
|
|
2867
|
+
value: input3.mclassExcludeLst
|
|
2868
|
+
})) && input3.mclassExcludeLst.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2869
|
+
path: _path2 + ".mclassExcludeLst[" + _index52 + "]",
|
|
2870
|
+
expected: "string",
|
|
2871
|
+
value: elem
|
|
2872
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2873
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2874
|
+
expected: "(Array<string> | undefined)",
|
|
2875
|
+
value: input3.mclassExcludeLst
|
|
2876
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2877
|
+
path: _path2 + ".origin",
|
|
2878
|
+
expected: "(string | undefined)",
|
|
2879
|
+
value: input3.origin
|
|
2673
2880
|
})].every((flag) => flag);
|
|
2674
|
-
const $
|
|
2881
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2675
2882
|
path: _path2 + ".join",
|
|
2676
2883
|
expected: "(string | undefined)",
|
|
2677
2884
|
value: input3.join
|
|
@@ -2679,11 +2886,31 @@ var validBrainImagingRequest = (input) => {
|
|
|
2679
2886
|
path: _path2 + ".isnot",
|
|
2680
2887
|
expected: "(boolean | undefined)",
|
|
2681
2888
|
value: input3.isnot
|
|
2889
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2890
|
+
path: _path2 + ".bar_by_grade",
|
|
2891
|
+
expected: "(boolean | undefined)",
|
|
2892
|
+
value: input3.bar_by_grade
|
|
2893
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2894
|
+
path: _path2 + ".bar_by_children",
|
|
2895
|
+
expected: "(boolean | undefined)",
|
|
2896
|
+
value: input3.bar_by_children
|
|
2897
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2898
|
+
path: _path2 + ".value_by_max_grade",
|
|
2899
|
+
expected: "(boolean | undefined)",
|
|
2900
|
+
value: input3.value_by_max_grade
|
|
2901
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2902
|
+
path: _path2 + ".value_by_most_recent",
|
|
2903
|
+
expected: "(boolean | undefined)",
|
|
2904
|
+
value: input3.value_by_most_recent
|
|
2905
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2906
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2907
|
+
expected: "(boolean | undefined)",
|
|
2908
|
+
value: input3.value_by_computable_grade
|
|
2682
2909
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2683
2910
|
path: _path2 + ".term",
|
|
2684
2911
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2685
2912
|
value: input3.term
|
|
2686
|
-
})) && $
|
|
2913
|
+
})) && $vu13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2687
2914
|
path: _path2 + ".term",
|
|
2688
2915
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2689
2916
|
value: input3.term
|
|
@@ -2692,7 +2919,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2692
2919
|
expected: "number",
|
|
2693
2920
|
value: input3.ratio
|
|
2694
2921
|
})].every((flag) => flag);
|
|
2695
|
-
const $
|
|
2922
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2696
2923
|
path: _path2 + ".id",
|
|
2697
2924
|
expected: "string",
|
|
2698
2925
|
value: input3.id
|
|
@@ -2708,8 +2935,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2708
2935
|
path: _path2 + ".child_types",
|
|
2709
2936
|
expected: "(Array<string> | undefined)",
|
|
2710
2937
|
value: input3.child_types
|
|
2711
|
-
})) && input3.child_types.map((elem,
|
|
2712
|
-
path: _path2 + ".child_types[" +
|
|
2938
|
+
})) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2939
|
+
path: _path2 + ".child_types[" + _index53 + "]",
|
|
2713
2940
|
expected: "string",
|
|
2714
2941
|
value: elem
|
|
2715
2942
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2724,8 +2951,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2724
2951
|
path: _path2 + ".included_types",
|
|
2725
2952
|
expected: "(Array<string> | undefined)",
|
|
2726
2953
|
value: input3.included_types
|
|
2727
|
-
})) && input3.included_types.map((elem,
|
|
2728
|
-
path: _path2 + ".included_types[" +
|
|
2954
|
+
})) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2955
|
+
path: _path2 + ".included_types[" + _index54 + "]",
|
|
2729
2956
|
expected: "string",
|
|
2730
2957
|
value: elem
|
|
2731
2958
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2756,16 +2983,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2756
2983
|
path: _path2 + ".valueConversion",
|
|
2757
2984
|
expected: "(__type.o2 | undefined)",
|
|
2758
2985
|
value: input3.valueConversion
|
|
2759
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2760
|
-
path: _path2 + ".collectionId",
|
|
2761
|
-
expected: "(string | undefined)",
|
|
2762
|
-
value: input3.collectionId
|
|
2763
2986
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2764
2987
|
path: _path2 + ".termIds",
|
|
2765
2988
|
expected: "(Array<string> | undefined)",
|
|
2766
2989
|
value: input3.termIds
|
|
2767
|
-
})) && input3.termIds.map((elem,
|
|
2768
|
-
path: _path2 + ".termIds[" +
|
|
2990
|
+
})) && input3.termIds.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2991
|
+
path: _path2 + ".termIds[" + _index55 + "]",
|
|
2769
2992
|
expected: "string",
|
|
2770
2993
|
value: elem
|
|
2771
2994
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2776,12 +2999,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2776
2999
|
path: _path2 + ".termlst",
|
|
2777
3000
|
expected: "Array<BaseTerm>",
|
|
2778
3001
|
value: input3.termlst
|
|
2779
|
-
})) && input3.termlst.map((elem,
|
|
2780
|
-
path: _path2 + ".termlst[" +
|
|
3002
|
+
})) && input3.termlst.map((elem, _index56) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3003
|
+
path: _path2 + ".termlst[" + _index56 + "]",
|
|
2781
3004
|
expected: "BaseTerm",
|
|
2782
3005
|
value: elem
|
|
2783
|
-
})) && $
|
|
2784
|
-
path: _path2 + ".termlst[" +
|
|
3006
|
+
})) && $vo49(elem, _path2 + ".termlst[" + _index56 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3007
|
+
path: _path2 + ".termlst[" + _index56 + "]",
|
|
2785
3008
|
expected: "BaseTerm",
|
|
2786
3009
|
value: elem
|
|
2787
3010
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2794,11 +3017,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
2794
3017
|
value: input3.newTvs
|
|
2795
3018
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2796
3019
|
path: _path2 + ".propsByTermId",
|
|
2797
|
-
expected: "__type.
|
|
3020
|
+
expected: "__type.o8",
|
|
2798
3021
|
value: input3.propsByTermId
|
|
2799
|
-
})) && $
|
|
3022
|
+
})) && $vo50(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2800
3023
|
path: _path2 + ".propsByTermId",
|
|
2801
|
-
expected: "__type.
|
|
3024
|
+
expected: "__type.o8",
|
|
2802
3025
|
value: input3.propsByTermId
|
|
2803
3026
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2804
3027
|
path: _path2 + ".memberType",
|
|
@@ -2808,8 +3031,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2808
3031
|
path: _path2 + ".numerators",
|
|
2809
3032
|
expected: "(Array<string> | undefined)",
|
|
2810
3033
|
value: input3.numerators
|
|
2811
|
-
})) && input3.numerators.map((elem,
|
|
2812
|
-
path: _path2 + ".numerators[" +
|
|
3034
|
+
})) && input3.numerators.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3035
|
+
path: _path2 + ".numerators[" + _index57 + "]",
|
|
2813
3036
|
expected: "string",
|
|
2814
3037
|
value: elem
|
|
2815
3038
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2817,7 +3040,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2817
3040
|
expected: "(Array<string> | undefined)",
|
|
2818
3041
|
value: input3.numerators
|
|
2819
3042
|
})].every((flag) => flag);
|
|
2820
|
-
const $
|
|
3043
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2821
3044
|
path: _path2 + ".id",
|
|
2822
3045
|
expected: "string",
|
|
2823
3046
|
value: input3.id
|
|
@@ -2833,8 +3056,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2833
3056
|
path: _path2 + ".child_types",
|
|
2834
3057
|
expected: "(Array<string> | undefined)",
|
|
2835
3058
|
value: input3.child_types
|
|
2836
|
-
})) && input3.child_types.map((elem,
|
|
2837
|
-
path: _path2 + ".child_types[" +
|
|
3059
|
+
})) && input3.child_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3060
|
+
path: _path2 + ".child_types[" + _index58 + "]",
|
|
2838
3061
|
expected: "string",
|
|
2839
3062
|
value: elem
|
|
2840
3063
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2849,8 +3072,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2849
3072
|
path: _path2 + ".included_types",
|
|
2850
3073
|
expected: "(Array<string> | undefined)",
|
|
2851
3074
|
value: input3.included_types
|
|
2852
|
-
})) && input3.included_types.map((elem,
|
|
2853
|
-
path: _path2 + ".included_types[" +
|
|
3075
|
+
})) && input3.included_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3076
|
+
path: _path2 + ".included_types[" + _index59 + "]",
|
|
2854
3077
|
expected: "string",
|
|
2855
3078
|
value: elem
|
|
2856
3079
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2882,23 +3105,23 @@ var validBrainImagingRequest = (input) => {
|
|
|
2882
3105
|
expected: "(__type.o2 | undefined)",
|
|
2883
3106
|
value: input3.valueConversion
|
|
2884
3107
|
})].every((flag) => flag);
|
|
2885
|
-
const $
|
|
3108
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2886
3109
|
const value = input3[key];
|
|
2887
3110
|
if (void 0 === value)
|
|
2888
3111
|
return true;
|
|
2889
3112
|
if (RegExp(/(.*)/).test(key))
|
|
2890
3113
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
2891
3114
|
path: _path2 + $join(key),
|
|
2892
|
-
expected: "__type.
|
|
3115
|
+
expected: "__type.o9",
|
|
2893
3116
|
value
|
|
2894
|
-
})) && $
|
|
3117
|
+
})) && $vo51(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2895
3118
|
path: _path2 + $join(key),
|
|
2896
|
-
expected: "__type.
|
|
3119
|
+
expected: "__type.o9",
|
|
2897
3120
|
value
|
|
2898
3121
|
});
|
|
2899
3122
|
return true;
|
|
2900
3123
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2901
|
-
const $
|
|
3124
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2902
3125
|
const value = input3[key];
|
|
2903
3126
|
if (void 0 === value)
|
|
2904
3127
|
return true;
|
|
@@ -2906,7 +3129,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2906
3129
|
return true;
|
|
2907
3130
|
return true;
|
|
2908
3131
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2909
|
-
const $
|
|
3132
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2910
3133
|
path: _path2 + ".id",
|
|
2911
3134
|
expected: "string",
|
|
2912
3135
|
value: input3.id
|
|
@@ -2922,8 +3145,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2922
3145
|
path: _path2 + ".child_types",
|
|
2923
3146
|
expected: "(Array<string> | undefined)",
|
|
2924
3147
|
value: input3.child_types
|
|
2925
|
-
})) && input3.child_types.map((elem,
|
|
2926
|
-
path: _path2 + ".child_types[" +
|
|
3148
|
+
})) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3149
|
+
path: _path2 + ".child_types[" + _index60 + "]",
|
|
2927
3150
|
expected: "string",
|
|
2928
3151
|
value: elem
|
|
2929
3152
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2938,8 +3161,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2938
3161
|
path: _path2 + ".included_types",
|
|
2939
3162
|
expected: "(Array<string> | undefined)",
|
|
2940
3163
|
value: input3.included_types
|
|
2941
|
-
})) && input3.included_types.map((elem,
|
|
2942
|
-
path: _path2 + ".included_types[" +
|
|
3164
|
+
})) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3165
|
+
path: _path2 + ".included_types[" + _index61 + "]",
|
|
2943
3166
|
expected: "string",
|
|
2944
3167
|
value: elem
|
|
2945
3168
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2970,16 +3193,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2970
3193
|
path: _path2 + ".valueConversion",
|
|
2971
3194
|
expected: "(__type.o2 | undefined)",
|
|
2972
3195
|
value: input3.valueConversion
|
|
2973
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2974
|
-
path: _path2 + ".collectionId",
|
|
2975
|
-
expected: "(string | undefined)",
|
|
2976
|
-
value: input3.collectionId
|
|
2977
3196
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2978
3197
|
path: _path2 + ".termIds",
|
|
2979
3198
|
expected: "(Array<string> | undefined)",
|
|
2980
3199
|
value: input3.termIds
|
|
2981
|
-
})) && input3.termIds.map((elem,
|
|
2982
|
-
path: _path2 + ".termIds[" +
|
|
3200
|
+
})) && input3.termIds.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3201
|
+
path: _path2 + ".termIds[" + _index62 + "]",
|
|
2983
3202
|
expected: "string",
|
|
2984
3203
|
value: elem
|
|
2985
3204
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2990,12 +3209,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2990
3209
|
path: _path2 + ".termlst",
|
|
2991
3210
|
expected: "Array<BaseTerm>",
|
|
2992
3211
|
value: input3.termlst
|
|
2993
|
-
})) && input3.termlst.map((elem,
|
|
2994
|
-
path: _path2 + ".termlst[" +
|
|
3212
|
+
})) && input3.termlst.map((elem, _index63) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3213
|
+
path: _path2 + ".termlst[" + _index63 + "]",
|
|
2995
3214
|
expected: "BaseTerm",
|
|
2996
3215
|
value: elem
|
|
2997
|
-
})) && $
|
|
2998
|
-
path: _path2 + ".termlst[" +
|
|
3216
|
+
})) && $vo49(elem, _path2 + ".termlst[" + _index63 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3217
|
+
path: _path2 + ".termlst[" + _index63 + "]",
|
|
2999
3218
|
expected: "BaseTerm",
|
|
3000
3219
|
value: elem
|
|
3001
3220
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3008,11 +3227,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
3008
3227
|
value: input3.newTvs
|
|
3009
3228
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
3010
3229
|
path: _path2 + ".propsByTermId",
|
|
3011
|
-
expected: "__type.
|
|
3230
|
+
expected: "__type.o8",
|
|
3012
3231
|
value: input3.propsByTermId
|
|
3013
|
-
})) && $
|
|
3232
|
+
})) && $vo50(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
3014
3233
|
path: _path2 + ".propsByTermId",
|
|
3015
|
-
expected: "__type.
|
|
3234
|
+
expected: "__type.o8",
|
|
3016
3235
|
value: input3.propsByTermId
|
|
3017
3236
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
3018
3237
|
path: _path2 + ".memberType",
|
|
@@ -3022,12 +3241,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
3022
3241
|
path: _path2 + ".categoryKeys",
|
|
3023
3242
|
expected: "Array<CategoryKey>",
|
|
3024
3243
|
value: input3.categoryKeys
|
|
3025
|
-
})) && input3.categoryKeys.map((elem,
|
|
3026
|
-
path: _path2 + ".categoryKeys[" +
|
|
3244
|
+
})) && input3.categoryKeys.map((elem, _index64) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3245
|
+
path: _path2 + ".categoryKeys[" + _index64 + "]",
|
|
3027
3246
|
expected: "CategoryKey",
|
|
3028
3247
|
value: elem
|
|
3029
|
-
})) && $
|
|
3030
|
-
path: _path2 + ".categoryKeys[" +
|
|
3248
|
+
})) && $vo53(elem, _path2 + ".categoryKeys[" + _index64 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3249
|
+
path: _path2 + ".categoryKeys[" + _index64 + "]",
|
|
3031
3250
|
expected: "CategoryKey",
|
|
3032
3251
|
value: elem
|
|
3033
3252
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3035,7 +3254,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3035
3254
|
expected: "Array<CategoryKey>",
|
|
3036
3255
|
value: input3.categoryKeys
|
|
3037
3256
|
})].every((flag) => flag);
|
|
3038
|
-
const $
|
|
3257
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3039
3258
|
path: _path2 + ".key",
|
|
3040
3259
|
expected: "string",
|
|
3041
3260
|
value: input3.key
|
|
@@ -3044,7 +3263,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3044
3263
|
expected: "boolean",
|
|
3045
3264
|
value: input3.shown
|
|
3046
3265
|
})].every((flag) => flag);
|
|
3047
|
-
const $
|
|
3266
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3048
3267
|
path: _path2 + ".id",
|
|
3049
3268
|
expected: "string",
|
|
3050
3269
|
value: input3.id
|
|
@@ -3060,8 +3279,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
3060
3279
|
path: _path2 + ".child_types",
|
|
3061
3280
|
expected: "(Array<string> | undefined)",
|
|
3062
3281
|
value: input3.child_types
|
|
3063
|
-
})) && input3.child_types.map((elem,
|
|
3064
|
-
path: _path2 + ".child_types[" +
|
|
3282
|
+
})) && input3.child_types.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3283
|
+
path: _path2 + ".child_types[" + _index65 + "]",
|
|
3065
3284
|
expected: "string",
|
|
3066
3285
|
value: elem
|
|
3067
3286
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3076,8 +3295,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
3076
3295
|
path: _path2 + ".included_types",
|
|
3077
3296
|
expected: "(Array<string> | undefined)",
|
|
3078
3297
|
value: input3.included_types
|
|
3079
|
-
})) && input3.included_types.map((elem,
|
|
3080
|
-
path: _path2 + ".included_types[" +
|
|
3298
|
+
})) && input3.included_types.map((elem, _index66) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3299
|
+
path: _path2 + ".included_types[" + _index66 + "]",
|
|
3081
3300
|
expected: "string",
|
|
3082
3301
|
value: elem
|
|
3083
3302
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3128,8 +3347,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
3128
3347
|
path: _path2 + ".alt",
|
|
3129
3348
|
expected: "Array<string>",
|
|
3130
3349
|
value: input3.alt
|
|
3131
|
-
})) && input3.alt.map((elem,
|
|
3132
|
-
path: _path2 + ".alt[" +
|
|
3350
|
+
})) && input3.alt.map((elem, _index67) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3351
|
+
path: _path2 + ".alt[" + _index67 + "]",
|
|
3133
3352
|
expected: "string",
|
|
3134
3353
|
value: elem
|
|
3135
3354
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3140,12 +3359,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
3140
3359
|
path: _path2 + ".groupsetting",
|
|
3141
3360
|
expected: "TermGroupSetting",
|
|
3142
3361
|
value: input3.groupsetting
|
|
3143
|
-
})) && $
|
|
3362
|
+
})) && $vo40(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3144
3363
|
path: _path2 + ".groupsetting",
|
|
3145
3364
|
expected: "TermGroupSetting",
|
|
3146
3365
|
value: input3.groupsetting
|
|
3147
3366
|
})].every((flag) => flag);
|
|
3148
|
-
const $
|
|
3367
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3149
3368
|
path: _path2 + ".id",
|
|
3150
3369
|
expected: "string",
|
|
3151
3370
|
value: input3.id
|
|
@@ -3161,8 +3380,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
3161
3380
|
path: _path2 + ".child_types",
|
|
3162
3381
|
expected: "(Array<string> | undefined)",
|
|
3163
3382
|
value: input3.child_types
|
|
3164
|
-
})) && input3.child_types.map((elem,
|
|
3165
|
-
path: _path2 + ".child_types[" +
|
|
3383
|
+
})) && input3.child_types.map((elem, _index68) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3384
|
+
path: _path2 + ".child_types[" + _index68 + "]",
|
|
3166
3385
|
expected: "string",
|
|
3167
3386
|
value: elem
|
|
3168
3387
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3177,8 +3396,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
3177
3396
|
path: _path2 + ".included_types",
|
|
3178
3397
|
expected: "(Array<string> | undefined)",
|
|
3179
3398
|
value: input3.included_types
|
|
3180
|
-
})) && input3.included_types.map((elem,
|
|
3181
|
-
path: _path2 + ".included_types[" +
|
|
3399
|
+
})) && input3.included_types.map((elem, _index69) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3400
|
+
path: _path2 + ".included_types[" + _index69 + "]",
|
|
3182
3401
|
expected: "string",
|
|
3183
3402
|
value: elem
|
|
3184
3403
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3213,7 +3432,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3213
3432
|
path: _path2 + ".sample",
|
|
3214
3433
|
expected: "object",
|
|
3215
3434
|
value: input3.sample
|
|
3216
|
-
})) && $
|
|
3435
|
+
})) && $vo56(input3.sample, _path2 + ".sample", _exceptionable2) || $report(_exceptionable2, {
|
|
3217
3436
|
path: _path2 + ".sample",
|
|
3218
3437
|
expected: "object",
|
|
3219
3438
|
value: input3.sample
|
|
@@ -3225,13 +3444,13 @@ var validBrainImagingRequest = (input) => {
|
|
|
3225
3444
|
path: _path2 + ".groupsetting",
|
|
3226
3445
|
expected: "TermGroupSetting",
|
|
3227
3446
|
value: input3.groupsetting
|
|
3228
|
-
})) && $
|
|
3447
|
+
})) && $vo40(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3229
3448
|
path: _path2 + ".groupsetting",
|
|
3230
3449
|
expected: "TermGroupSetting",
|
|
3231
3450
|
value: input3.groupsetting
|
|
3232
3451
|
})].every((flag) => flag);
|
|
3233
|
-
const $
|
|
3234
|
-
const $
|
|
3452
|
+
const $vo56 = (input3, _path2, _exceptionable2 = true) => true;
|
|
3453
|
+
const $vo57 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3235
3454
|
path: _path2 + ".hiddenValues",
|
|
3236
3455
|
expected: "(HiddenValues | undefined)",
|
|
3237
3456
|
value: input3.hiddenValues
|
|
@@ -3260,7 +3479,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3260
3479
|
expected: '"values"',
|
|
3261
3480
|
value: input3.type
|
|
3262
3481
|
})].every((flag) => flag);
|
|
3263
|
-
const $
|
|
3482
|
+
const $vo58 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3264
3483
|
path: _path2 + ".id",
|
|
3265
3484
|
expected: "(string | undefined)",
|
|
3266
3485
|
value: input3.id
|
|
@@ -3288,7 +3507,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3288
3507
|
path: _path2 + ".term",
|
|
3289
3508
|
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
3290
3509
|
value: input3.term
|
|
3291
|
-
})) && $
|
|
3510
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3292
3511
|
path: _path2 + ".term",
|
|
3293
3512
|
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
3294
3513
|
value: input3.term
|
|
@@ -3296,7 +3515,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3296
3515
|
path: _path2 + ".q",
|
|
3297
3516
|
expected: "PredefinedGroupSettingQ",
|
|
3298
3517
|
value: input3.q
|
|
3299
|
-
})) && $
|
|
3518
|
+
})) && $vo59(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3300
3519
|
path: _path2 + ".q",
|
|
3301
3520
|
expected: "PredefinedGroupSettingQ",
|
|
3302
3521
|
value: input3.q
|
|
@@ -3305,7 +3524,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3305
3524
|
expected: '"QualTWPredefinedGS"',
|
|
3306
3525
|
value: input3.type
|
|
3307
3526
|
})].every((flag) => flag);
|
|
3308
|
-
const $
|
|
3527
|
+
const $vo59 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3309
3528
|
path: _path2 + ".hiddenValues",
|
|
3310
3529
|
expected: "(HiddenValues | undefined)",
|
|
3311
3530
|
value: input3.hiddenValues
|
|
@@ -3338,7 +3557,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3338
3557
|
expected: "number",
|
|
3339
3558
|
value: input3.predefined_groupset_idx
|
|
3340
3559
|
})].every((flag) => flag);
|
|
3341
|
-
const $
|
|
3560
|
+
const $vo60 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3342
3561
|
path: _path2 + ".id",
|
|
3343
3562
|
expected: "(string | undefined)",
|
|
3344
3563
|
value: input3.id
|
|
@@ -3366,7 +3585,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3366
3585
|
path: _path2 + ".term",
|
|
3367
3586
|
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
3368
3587
|
value: input3.term
|
|
3369
|
-
})) && $
|
|
3588
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3370
3589
|
path: _path2 + ".term",
|
|
3371
3590
|
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
3372
3591
|
value: input3.term
|
|
@@ -3374,7 +3593,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3374
3593
|
path: _path2 + ".q",
|
|
3375
3594
|
expected: "CustomGroupSettingQ",
|
|
3376
3595
|
value: input3.q
|
|
3377
|
-
})) && $
|
|
3596
|
+
})) && $vo61(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3378
3597
|
path: _path2 + ".q",
|
|
3379
3598
|
expected: "CustomGroupSettingQ",
|
|
3380
3599
|
value: input3.q
|
|
@@ -3383,7 +3602,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3383
3602
|
expected: '"QualTWCustomGS"',
|
|
3384
3603
|
value: input3.type
|
|
3385
3604
|
})].every((flag) => flag);
|
|
3386
|
-
const $
|
|
3605
|
+
const $vo61 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3387
3606
|
path: _path2 + ".hiddenValues",
|
|
3388
3607
|
expected: "(HiddenValues | undefined)",
|
|
3389
3608
|
value: input3.hiddenValues
|
|
@@ -3415,21 +3634,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
3415
3634
|
path: _path2 + ".customset",
|
|
3416
3635
|
expected: "BaseGroupSet",
|
|
3417
3636
|
value: input3.customset
|
|
3418
|
-
})) && $
|
|
3637
|
+
})) && $vo62(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
3419
3638
|
path: _path2 + ".customset",
|
|
3420
3639
|
expected: "BaseGroupSet",
|
|
3421
3640
|
value: input3.customset
|
|
3422
3641
|
})].every((flag) => flag);
|
|
3423
|
-
const $
|
|
3642
|
+
const $vo62 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
3424
3643
|
path: _path2 + ".groups",
|
|
3425
3644
|
expected: "Array<GroupEntry>",
|
|
3426
3645
|
value: input3.groups
|
|
3427
|
-
})) && input3.groups.map((elem,
|
|
3428
|
-
path: _path2 + ".groups[" +
|
|
3646
|
+
})) && input3.groups.map((elem, _index70) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3647
|
+
path: _path2 + ".groups[" + _index70 + "]",
|
|
3429
3648
|
expected: "(FilterGroup | ValuesGroup)",
|
|
3430
3649
|
value: elem
|
|
3431
|
-
})) && $vu3(elem, _path2 + ".groups[" +
|
|
3432
|
-
path: _path2 + ".groups[" +
|
|
3650
|
+
})) && $vu3(elem, _path2 + ".groups[" + _index70 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3651
|
+
path: _path2 + ".groups[" + _index70 + "]",
|
|
3433
3652
|
expected: "(FilterGroup | ValuesGroup)",
|
|
3434
3653
|
value: elem
|
|
3435
3654
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3453,13 +3672,15 @@ var validBrainImagingRequest = (input) => {
|
|
|
3453
3672
|
return $vo16(input3, _path2, _exceptionable2);
|
|
3454
3673
|
if (true === input3.stopunbounded)
|
|
3455
3674
|
return $vo18(input3, _path2, _exceptionable2);
|
|
3675
|
+
if (void 0 !== input3.value)
|
|
3676
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
3456
3677
|
return $vo17(input3, _path2, _exceptionable2);
|
|
3457
3678
|
})();
|
|
3458
3679
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3459
3680
|
if ("gene" === input3.kind)
|
|
3460
|
-
return $
|
|
3681
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
3461
3682
|
if ("coord" === input3.kind)
|
|
3462
|
-
return $
|
|
3683
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
3463
3684
|
return $report(_exceptionable2, {
|
|
3464
3685
|
path: _path2,
|
|
3465
3686
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3468,9 +3689,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
3468
3689
|
})();
|
|
3469
3690
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3470
3691
|
if ("string" === typeof input3.type)
|
|
3471
|
-
return $vo40(input3, _path2, _exceptionable2);
|
|
3472
|
-
if ("filter" === input3.type)
|
|
3473
3692
|
return $vo42(input3, _path2, _exceptionable2);
|
|
3693
|
+
if ("filter" === input3.type)
|
|
3694
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
3474
3695
|
return $report(_exceptionable2, {
|
|
3475
3696
|
path: _path2,
|
|
3476
3697
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -3478,10 +3699,17 @@ var validBrainImagingRequest = (input) => {
|
|
|
3478
3699
|
});
|
|
3479
3700
|
})();
|
|
3480
3701
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3702
|
+
if (true === input3.startunbounded)
|
|
3703
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
3704
|
+
if (true === input3.stopunbounded)
|
|
3705
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
3706
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
3707
|
+
})();
|
|
3708
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3481
3709
|
if ("QualTWCustomGS" === input3.type)
|
|
3482
|
-
return $
|
|
3710
|
+
return $vo60(input3, _path2, _exceptionable2);
|
|
3483
3711
|
if ("QualTWPredefinedGS" === input3.type)
|
|
3484
|
-
return $
|
|
3712
|
+
return $vo58(input3, _path2, _exceptionable2);
|
|
3485
3713
|
if ("QualTWValues" === input3.type)
|
|
3486
3714
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3487
3715
|
return $report(_exceptionable2, {
|
|
@@ -3490,27 +3718,27 @@ var validBrainImagingRequest = (input) => {
|
|
|
3490
3718
|
value: input3
|
|
3491
3719
|
});
|
|
3492
3720
|
})();
|
|
3493
|
-
const $
|
|
3721
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3494
3722
|
if ("categorical" === input3.type)
|
|
3495
3723
|
return $vo3(input3, _path2, _exceptionable2);
|
|
3496
3724
|
if ("snp" === input3.type)
|
|
3497
|
-
return $
|
|
3725
|
+
return $vo54(input3, _path2, _exceptionable2);
|
|
3498
3726
|
if ("singleCellCellType" === input3.type)
|
|
3499
|
-
return $
|
|
3727
|
+
return $vo55(input3, _path2, _exceptionable2);
|
|
3500
3728
|
return $report(_exceptionable2, {
|
|
3501
3729
|
path: _path2,
|
|
3502
3730
|
expected: "(CategoricalTerm | SnpTerm | SingleCellCellTypeTerm)",
|
|
3503
3731
|
value: input3
|
|
3504
3732
|
});
|
|
3505
3733
|
})();
|
|
3506
|
-
const $
|
|
3734
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3507
3735
|
if (void 0 !== input3.ranges)
|
|
3508
3736
|
return $vo9(input3, _path2, _exceptionable2);
|
|
3509
3737
|
if (void 0 !== input3.ratio)
|
|
3510
|
-
return $
|
|
3511
|
-
return $vo8(input3, _path2, false) || $
|
|
3738
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
3739
|
+
return $vo8(input3, _path2, false) || $vo31(input3, _path2, false) || $vo35(input3, _path2, false);
|
|
3512
3740
|
})();
|
|
3513
|
-
const $
|
|
3741
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3514
3742
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3515
3743
|
return $vo10(input3, _path2, _exceptionable2);
|
|
3516
3744
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -3525,7 +3753,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3525
3753
|
return $vo26(input3, _path2, _exceptionable2);
|
|
3526
3754
|
return $vo21(input3, _path2, false) || $vo20(input3, _path2, false) || $vo28(input3, _path2, false) || $vo27(input3, _path2, false);
|
|
3527
3755
|
})();
|
|
3528
|
-
const $
|
|
3756
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3529
3757
|
if ("regular-bin" === input3.type)
|
|
3530
3758
|
return $vo14(input3, _path2, _exceptionable2);
|
|
3531
3759
|
if ("custom-bin" === input3.type)
|
|
@@ -3536,7 +3764,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3536
3764
|
value: input3
|
|
3537
3765
|
});
|
|
3538
3766
|
})();
|
|
3539
|
-
const $
|
|
3767
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3540
3768
|
if (true === input3.startunbounded)
|
|
3541
3769
|
return $vo16(input3, _path2, _exceptionable2);
|
|
3542
3770
|
if (void 0 !== input3.start)
|
|
@@ -3547,7 +3775,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
3547
3775
|
value: input3
|
|
3548
3776
|
});
|
|
3549
3777
|
})();
|
|
3550
|
-
const $
|
|
3778
|
+
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3551
3779
|
if (void 0 !== input3.stop)
|
|
3552
3780
|
return $vo17(input3, _path2, _exceptionable2);
|
|
3553
3781
|
if (true === input3.stopunbounded)
|
|
@@ -3558,22 +3786,22 @@ var validBrainImagingRequest = (input) => {
|
|
|
3558
3786
|
value: input3
|
|
3559
3787
|
});
|
|
3560
3788
|
})();
|
|
3561
|
-
const $
|
|
3789
|
+
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3562
3790
|
if ("gene" === input3.kind)
|
|
3563
|
-
return $
|
|
3791
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
3564
3792
|
if ("coord" === input3.kind)
|
|
3565
|
-
return $
|
|
3793
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3566
3794
|
return $report(_exceptionable2, {
|
|
3567
3795
|
path: _path2,
|
|
3568
3796
|
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; })',
|
|
3569
3797
|
value: input3
|
|
3570
3798
|
});
|
|
3571
3799
|
})();
|
|
3572
|
-
const $
|
|
3800
|
+
const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3573
3801
|
if ("numeric" === input3.memberType)
|
|
3574
|
-
return $
|
|
3802
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
3575
3803
|
if ("categorical" === input3.memberType)
|
|
3576
|
-
return $
|
|
3804
|
+
return $vo52(input3, _path2, _exceptionable2);
|
|
3577
3805
|
return $report(_exceptionable2, {
|
|
3578
3806
|
path: _path2,
|
|
3579
3807
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|