@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
|
@@ -23,9 +23,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
25
25
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && "string" === typeof input3.tid && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
26
|
-
const $io1 = (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)));
|
|
27
|
-
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
28
|
-
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(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) && $io6(elem)));
|
|
26
|
+
const $io1 = (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);
|
|
27
|
+
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
28
|
+
const $io3 = (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 && $io4(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) && $io6(elem))) && (void 0 === input3.valueset || input3.valueset instanceof Set);
|
|
29
29
|
const $io4 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
30
30
|
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
31
31
|
const value = input3[key];
|
|
@@ -44,11 +44,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
44
44
|
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
45
45
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
46
46
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
47
|
-
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $
|
|
47
|
+
const $io13 = (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 && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.values || Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
48
48
|
const $io14 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
49
49
|
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
50
|
-
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $
|
|
51
|
-
const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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 && $
|
|
50
|
+
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(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);
|
|
51
|
+
const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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 && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(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);
|
|
52
52
|
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
53
53
|
const value = input3[key];
|
|
54
54
|
if (void 0 === value)
|
|
@@ -60,7 +60,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
60
60
|
const $io19 = (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);
|
|
61
61
|
const $io20 = (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);
|
|
62
62
|
const $io21 = (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);
|
|
63
|
-
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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] && $
|
|
63
|
+
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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);
|
|
64
64
|
const $io23 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(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);
|
|
65
65
|
const $io24 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(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;
|
|
66
66
|
const $io25 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
|
|
@@ -70,29 +70,40 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
70
70
|
const $io29 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
|
|
71
71
|
const $io30 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(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);
|
|
72
72
|
const $io31 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
73
|
-
const $io32 = (input3) => "
|
|
74
|
-
const $io33 = (input3) =>
|
|
75
|
-
const $io34 = (input3) =>
|
|
76
|
-
const $io35 = (input3) => "
|
|
77
|
-
const $io36 = (input3) =>
|
|
78
|
-
const $io37 = (input3) => "string" === typeof input3.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
73
|
+
const $io32 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
75
|
+
const $io34 = (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 && $io35(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 && $io36(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
|
|
76
|
+
const $io35 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
|
|
77
|
+
const $io36 = (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;
|
|
78
|
+
const $io37 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
79
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
80
|
+
return true;
|
|
81
|
+
const value = input3[key];
|
|
82
|
+
if (void 0 === value)
|
|
83
|
+
return true;
|
|
84
|
+
if (RegExp(/(.*)/).test(key))
|
|
85
|
+
return true;
|
|
86
|
+
return true;
|
|
87
|
+
});
|
|
88
|
+
const $io38 = (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 && $io39(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io44(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);
|
|
89
|
+
const $io39 = (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 && $iu10(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) && $io5(input3.values));
|
|
90
|
+
const $io40 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(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 && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
91
|
+
const $io41 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(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);
|
|
92
|
+
const $io42 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
93
|
+
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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(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 && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
94
|
+
const $io44 = (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);
|
|
95
|
+
const $io45 = (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 && $iu11(input3.term)) && "number" === typeof input3.ratio;
|
|
96
|
+
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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(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 && $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));
|
|
97
|
+
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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
|
|
98
|
+
const $io48 = (input3) => Object.keys(input3).every((key) => {
|
|
88
99
|
const value = input3[key];
|
|
89
100
|
if (void 0 === value)
|
|
90
101
|
return true;
|
|
91
102
|
if (RegExp(/(.*)/).test(key))
|
|
92
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
103
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io49(value);
|
|
93
104
|
return true;
|
|
94
105
|
});
|
|
95
|
-
const $
|
|
106
|
+
const $io49 = (input3) => Object.keys(input3).every((key) => {
|
|
96
107
|
const value = input3[key];
|
|
97
108
|
if (void 0 === value)
|
|
98
109
|
return true;
|
|
@@ -100,8 +111,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
100
111
|
return true;
|
|
101
112
|
return true;
|
|
102
113
|
});
|
|
103
|
-
const $
|
|
104
|
-
const $
|
|
114
|
+
const $io50 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(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 && $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)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io51(elem)));
|
|
115
|
+
const $io51 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
105
116
|
const $iu0 = (input3) => (() => {
|
|
106
117
|
if ("tvslst" === input3.type)
|
|
107
118
|
return $io1(input3);
|
|
@@ -121,31 +132,40 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
121
132
|
return $io19(input3);
|
|
122
133
|
if (true === input3.stopunbounded)
|
|
123
134
|
return $io21(input3);
|
|
135
|
+
if (void 0 !== input3.value)
|
|
136
|
+
return $io32(input3);
|
|
124
137
|
return $io20(input3);
|
|
125
138
|
})();
|
|
126
139
|
const $iu3 = (input3) => (() => {
|
|
127
140
|
if ("gene" === input3.kind)
|
|
128
|
-
return $
|
|
141
|
+
return $io41(input3);
|
|
129
142
|
if ("coord" === input3.kind)
|
|
130
|
-
return $
|
|
143
|
+
return $io42(input3);
|
|
131
144
|
return false;
|
|
132
145
|
})();
|
|
133
146
|
const $iu4 = (input3) => (() => {
|
|
147
|
+
if (true === input3.startunbounded)
|
|
148
|
+
return $io19(input3);
|
|
149
|
+
if (true === input3.stopunbounded)
|
|
150
|
+
return $io21(input3);
|
|
151
|
+
return $io20(input3);
|
|
152
|
+
})();
|
|
153
|
+
const $iu5 = (input3) => (() => {
|
|
134
154
|
if (void 0 !== input3.ranges)
|
|
135
155
|
return $io13(input3);
|
|
136
156
|
if (void 0 !== input3.ratio)
|
|
137
|
-
return $
|
|
157
|
+
return $io45(input3);
|
|
138
158
|
return (() => {
|
|
139
159
|
if ($io3(input3))
|
|
140
160
|
return $io3(input3);
|
|
141
|
-
if ($
|
|
142
|
-
return $
|
|
143
|
-
if ($
|
|
144
|
-
return $
|
|
161
|
+
if ($io34(input3))
|
|
162
|
+
return $io34(input3);
|
|
163
|
+
if ($io38(input3))
|
|
164
|
+
return $io38(input3);
|
|
145
165
|
return false;
|
|
146
166
|
})();
|
|
147
167
|
})();
|
|
148
|
-
const $
|
|
168
|
+
const $iu6 = (input3) => (() => {
|
|
149
169
|
if ("integer" === input3.type || "float" === input3.type)
|
|
150
170
|
return $io14(input3);
|
|
151
171
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -170,39 +190,39 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
170
190
|
return false;
|
|
171
191
|
})();
|
|
172
192
|
})();
|
|
173
|
-
const $
|
|
193
|
+
const $iu7 = (input3) => (() => {
|
|
174
194
|
if ("regular-bin" === input3.type)
|
|
175
195
|
return $io17(input3);
|
|
176
196
|
if ("custom-bin" === input3.type)
|
|
177
197
|
return $io22(input3);
|
|
178
198
|
return false;
|
|
179
199
|
})();
|
|
180
|
-
const $
|
|
200
|
+
const $iu8 = (input3) => (() => {
|
|
181
201
|
if (true === input3.startunbounded)
|
|
182
202
|
return $io19(input3);
|
|
183
203
|
if (void 0 !== input3.start)
|
|
184
204
|
return $io20(input3);
|
|
185
205
|
return false;
|
|
186
206
|
})();
|
|
187
|
-
const $
|
|
207
|
+
const $iu9 = (input3) => (() => {
|
|
188
208
|
if (void 0 !== input3.stop)
|
|
189
209
|
return $io20(input3);
|
|
190
210
|
if (true === input3.stopunbounded)
|
|
191
211
|
return $io21(input3);
|
|
192
212
|
return false;
|
|
193
213
|
})();
|
|
194
|
-
const $
|
|
214
|
+
const $iu10 = (input3) => (() => {
|
|
195
215
|
if ("gene" === input3.kind)
|
|
196
|
-
return $
|
|
216
|
+
return $io40(input3);
|
|
197
217
|
if ("coord" === input3.kind)
|
|
198
|
-
return $
|
|
218
|
+
return $io43(input3);
|
|
199
219
|
return false;
|
|
200
220
|
})();
|
|
201
|
-
const $
|
|
221
|
+
const $iu11 = (input3) => (() => {
|
|
202
222
|
if ("numeric" === input3.memberType)
|
|
203
|
-
return $
|
|
223
|
+
return $io46(input3);
|
|
204
224
|
if ("categorical" === input3.memberType)
|
|
205
|
-
return $
|
|
225
|
+
return $io50(input3);
|
|
206
226
|
return false;
|
|
207
227
|
})();
|
|
208
228
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -268,6 +288,10 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
268
288
|
path: _path2 + ".lst",
|
|
269
289
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
270
290
|
value: input3.lst
|
|
291
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
292
|
+
path: _path2 + ".$id",
|
|
293
|
+
expected: "(string | undefined)",
|
|
294
|
+
value: input3.$id
|
|
271
295
|
})].every((flag) => flag);
|
|
272
296
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
273
297
|
path: _path2 + ".type",
|
|
@@ -277,7 +301,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
277
301
|
path: _path2 + ".tvs",
|
|
278
302
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
279
303
|
value: input3.tvs
|
|
280
|
-
})) && $
|
|
304
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
281
305
|
path: _path2 + ".tvs",
|
|
282
306
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
283
307
|
value: input3.tvs
|
|
@@ -290,6 +314,26 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
290
314
|
path: _path2 + ".isnot",
|
|
291
315
|
expected: "(boolean | undefined)",
|
|
292
316
|
value: input3.isnot
|
|
317
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
318
|
+
path: _path2 + ".bar_by_grade",
|
|
319
|
+
expected: "(boolean | undefined)",
|
|
320
|
+
value: input3.bar_by_grade
|
|
321
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
322
|
+
path: _path2 + ".bar_by_children",
|
|
323
|
+
expected: "(boolean | undefined)",
|
|
324
|
+
value: input3.bar_by_children
|
|
325
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
326
|
+
path: _path2 + ".value_by_max_grade",
|
|
327
|
+
expected: "(boolean | undefined)",
|
|
328
|
+
value: input3.value_by_max_grade
|
|
329
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
330
|
+
path: _path2 + ".value_by_most_recent",
|
|
331
|
+
expected: "(boolean | undefined)",
|
|
332
|
+
value: input3.value_by_most_recent
|
|
333
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
334
|
+
path: _path2 + ".value_by_computable_grade",
|
|
335
|
+
expected: "(boolean | undefined)",
|
|
336
|
+
value: input3.value_by_computable_grade
|
|
293
337
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
294
338
|
path: _path2 + ".term",
|
|
295
339
|
expected: "CategoricalTerm",
|
|
@@ -318,6 +362,10 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
318
362
|
path: _path2 + ".values",
|
|
319
363
|
expected: "Array<BaseValue>",
|
|
320
364
|
value: input3.values
|
|
365
|
+
}), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
|
|
366
|
+
path: _path2 + ".valueset",
|
|
367
|
+
expected: "(Set<any> | undefined)",
|
|
368
|
+
value: input3.valueset
|
|
321
369
|
})].every((flag) => flag);
|
|
322
370
|
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
323
371
|
path: _path2 + ".id",
|
|
@@ -585,45 +633,65 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
585
633
|
path: _path2 + ".isnot",
|
|
586
634
|
expected: "(boolean | undefined)",
|
|
587
635
|
value: input3.isnot
|
|
636
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
637
|
+
path: _path2 + ".bar_by_grade",
|
|
638
|
+
expected: "(boolean | undefined)",
|
|
639
|
+
value: input3.bar_by_grade
|
|
640
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
641
|
+
path: _path2 + ".bar_by_children",
|
|
642
|
+
expected: "(boolean | undefined)",
|
|
643
|
+
value: input3.bar_by_children
|
|
644
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
645
|
+
path: _path2 + ".value_by_max_grade",
|
|
646
|
+
expected: "(boolean | undefined)",
|
|
647
|
+
value: input3.value_by_max_grade
|
|
648
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
649
|
+
path: _path2 + ".value_by_most_recent",
|
|
650
|
+
expected: "(boolean | undefined)",
|
|
651
|
+
value: input3.value_by_most_recent
|
|
652
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
653
|
+
path: _path2 + ".value_by_computable_grade",
|
|
654
|
+
expected: "(boolean | undefined)",
|
|
655
|
+
value: input3.value_by_computable_grade
|
|
588
656
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
589
657
|
path: _path2 + ".term",
|
|
590
658
|
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)',
|
|
591
659
|
value: input3.term
|
|
592
|
-
})) && $
|
|
660
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
593
661
|
path: _path2 + ".term",
|
|
594
662
|
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)',
|
|
595
663
|
value: input3.term
|
|
596
664
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
597
665
|
path: _path2 + ".ranges",
|
|
598
|
-
expected: "Array<NumericBin>",
|
|
666
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
599
667
|
value: input3.ranges
|
|
600
668
|
})) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
601
669
|
path: _path2 + ".ranges[" + _index8 + "]",
|
|
602
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
670
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
603
671
|
value: elem
|
|
604
672
|
})) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
605
673
|
path: _path2 + ".ranges[" + _index8 + "]",
|
|
606
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
674
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
607
675
|
value: elem
|
|
608
676
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
609
677
|
path: _path2 + ".ranges",
|
|
610
|
-
expected: "Array<NumericBin>",
|
|
678
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
611
679
|
value: input3.ranges
|
|
612
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
680
|
+
}), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
613
681
|
path: _path2 + ".values",
|
|
614
|
-
expected: "Array<__type>.o1",
|
|
682
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
615
683
|
value: input3.values
|
|
616
684
|
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
617
685
|
path: _path2 + ".values[" + _index9 + "]",
|
|
618
|
-
expected: "__type.
|
|
686
|
+
expected: "__type.o5",
|
|
619
687
|
value: elem
|
|
620
|
-
})) && $
|
|
688
|
+
})) && $vo33(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
621
689
|
path: _path2 + ".values[" + _index9 + "]",
|
|
622
|
-
expected: "__type.
|
|
690
|
+
expected: "__type.o5",
|
|
623
691
|
value: elem
|
|
624
692
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
625
693
|
path: _path2 + ".values",
|
|
626
|
-
expected: "Array<__type>.o1",
|
|
694
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
627
695
|
value: input3.values
|
|
628
696
|
})].every((flag) => flag);
|
|
629
697
|
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -724,7 +792,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
724
792
|
path: _path2 + '["default"]',
|
|
725
793
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
726
794
|
value: input3["default"]
|
|
727
|
-
})) && $
|
|
795
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
728
796
|
path: _path2 + '["default"]',
|
|
729
797
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
730
798
|
value: input3["default"]
|
|
@@ -732,7 +800,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
732
800
|
path: _path2 + ".less",
|
|
733
801
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
734
802
|
value: input3.less
|
|
735
|
-
})) && $
|
|
803
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
736
804
|
path: _path2 + ".less",
|
|
737
805
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
738
806
|
value: input3.less
|
|
@@ -793,7 +861,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
793
861
|
path: _path2 + ".first_bin",
|
|
794
862
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
795
863
|
value: input3.first_bin
|
|
796
|
-
})) && $
|
|
864
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
797
865
|
path: _path2 + ".first_bin",
|
|
798
866
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
799
867
|
value: input3.first_bin
|
|
@@ -801,7 +869,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
801
869
|
path: _path2 + ".last_bin",
|
|
802
870
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
803
871
|
value: input3.last_bin
|
|
804
|
-
})) && $
|
|
872
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
805
873
|
path: _path2 + ".last_bin",
|
|
806
874
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
807
875
|
value: input3.last_bin
|
|
@@ -966,7 +1034,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
966
1034
|
path: _path2 + ".lst[0]",
|
|
967
1035
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
968
1036
|
value: input3.lst[0]
|
|
969
|
-
})) && $
|
|
1037
|
+
})) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
970
1038
|
path: _path2 + ".lst[0]",
|
|
971
1039
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
972
1040
|
value: input3.lst[0]
|
|
@@ -979,7 +1047,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
979
1047
|
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
980
1048
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
981
1049
|
value: elem
|
|
982
|
-
})) && $
|
|
1050
|
+
})) && $vu4(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
983
1051
|
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
984
1052
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
985
1053
|
value: elem
|
|
@@ -1885,7 +1953,20 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1885
1953
|
expected: "number",
|
|
1886
1954
|
value: input3.stop
|
|
1887
1955
|
})].every((flag) => flag);
|
|
1888
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["
|
|
1956
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
1957
|
+
path: _path2 + ".value",
|
|
1958
|
+
expected: "number",
|
|
1959
|
+
value: input3.value
|
|
1960
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1961
|
+
path: _path2 + ".label",
|
|
1962
|
+
expected: "(string | undefined)",
|
|
1963
|
+
value: input3.label
|
|
1964
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1965
|
+
path: _path2 + ".name",
|
|
1966
|
+
expected: "(string | undefined)",
|
|
1967
|
+
value: input3.name
|
|
1968
|
+
})].every((flag) => flag);
|
|
1969
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1889
1970
|
path: _path2 + ".key",
|
|
1890
1971
|
expected: "string",
|
|
1891
1972
|
value: input3.key
|
|
@@ -1902,7 +1983,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1902
1983
|
expected: "(string | undefined)",
|
|
1903
1984
|
value: input3.label
|
|
1904
1985
|
})].every((flag) => flag);
|
|
1905
|
-
const $
|
|
1986
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1906
1987
|
path: _path2 + ".join",
|
|
1907
1988
|
expected: "(string | undefined)",
|
|
1908
1989
|
value: input3.join
|
|
@@ -1910,14 +1991,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1910
1991
|
path: _path2 + ".isnot",
|
|
1911
1992
|
expected: "(boolean | undefined)",
|
|
1912
1993
|
value: input3.isnot
|
|
1913
|
-
}),
|
|
1914
|
-
path: _path2 + ".
|
|
1915
|
-
expected: "
|
|
1916
|
-
value: input3.
|
|
1917
|
-
})
|
|
1918
|
-
path: _path2 + ".
|
|
1919
|
-
expected: "
|
|
1920
|
-
value: input3.
|
|
1994
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
1995
|
+
path: _path2 + ".bar_by_grade",
|
|
1996
|
+
expected: "(boolean | undefined)",
|
|
1997
|
+
value: input3.bar_by_grade
|
|
1998
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
1999
|
+
path: _path2 + ".bar_by_children",
|
|
2000
|
+
expected: "(boolean | undefined)",
|
|
2001
|
+
value: input3.bar_by_children
|
|
1921
2002
|
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1922
2003
|
path: _path2 + ".value_by_max_grade",
|
|
1923
2004
|
expected: "(boolean | undefined)",
|
|
@@ -1930,6 +2011,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1930
2011
|
path: _path2 + ".value_by_computable_grade",
|
|
1931
2012
|
expected: "(boolean | undefined)",
|
|
1932
2013
|
value: input3.value_by_computable_grade
|
|
2014
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2015
|
+
path: _path2 + ".term",
|
|
2016
|
+
expected: "ConditionTerm",
|
|
2017
|
+
value: input3.term
|
|
2018
|
+
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2019
|
+
path: _path2 + ".term",
|
|
2020
|
+
expected: "ConditionTerm",
|
|
2021
|
+
value: input3.term
|
|
1933
2022
|
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1934
2023
|
path: _path2 + ".grade_and_child",
|
|
1935
2024
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
@@ -1938,7 +2027,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1938
2027
|
path: _path2 + ".grade_and_child[" + _index32 + "]",
|
|
1939
2028
|
expected: "GradeAndChildEntry",
|
|
1940
2029
|
value: elem
|
|
1941
|
-
})) && $
|
|
2030
|
+
})) && $vo36(elem, _path2 + ".grade_and_child[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1942
2031
|
path: _path2 + ".grade_and_child[" + _index32 + "]",
|
|
1943
2032
|
expected: "GradeAndChildEntry",
|
|
1944
2033
|
value: elem
|
|
@@ -1946,8 +2035,24 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1946
2035
|
path: _path2 + ".grade_and_child",
|
|
1947
2036
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1948
2037
|
value: input3.grade_and_child
|
|
2038
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2039
|
+
path: _path2 + ".values",
|
|
2040
|
+
expected: "Array<__type>.o2",
|
|
2041
|
+
value: input3.values
|
|
2042
|
+
})) && input3.values.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2043
|
+
path: _path2 + ".values[" + _index33 + "]",
|
|
2044
|
+
expected: "__type.o6",
|
|
2045
|
+
value: elem
|
|
2046
|
+
})) && $vo37(elem, _path2 + ".values[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2047
|
+
path: _path2 + ".values[" + _index33 + "]",
|
|
2048
|
+
expected: "__type.o6",
|
|
2049
|
+
value: elem
|
|
2050
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2051
|
+
path: _path2 + ".values",
|
|
2052
|
+
expected: "Array<__type>.o2",
|
|
2053
|
+
value: input3.values
|
|
1949
2054
|
})].every((flag) => flag);
|
|
1950
|
-
const $
|
|
2055
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1951
2056
|
path: _path2 + ".id",
|
|
1952
2057
|
expected: "string",
|
|
1953
2058
|
value: input3.id
|
|
@@ -1963,8 +2068,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1963
2068
|
path: _path2 + ".child_types",
|
|
1964
2069
|
expected: "(Array<string> | undefined)",
|
|
1965
2070
|
value: input3.child_types
|
|
1966
|
-
})) && input3.child_types.map((elem,
|
|
1967
|
-
path: _path2 + ".child_types[" +
|
|
2071
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2072
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1968
2073
|
expected: "string",
|
|
1969
2074
|
value: elem
|
|
1970
2075
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1979,8 +2084,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1979
2084
|
path: _path2 + ".included_types",
|
|
1980
2085
|
expected: "(Array<string> | undefined)",
|
|
1981
2086
|
value: input3.included_types
|
|
1982
|
-
})) && input3.included_types.map((elem,
|
|
1983
|
-
path: _path2 + ".included_types[" +
|
|
2087
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2088
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1984
2089
|
expected: "string",
|
|
1985
2090
|
value: elem
|
|
1986
2091
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2012,7 +2117,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2012
2117
|
expected: "(__type.o1 | undefined)",
|
|
2013
2118
|
value: input3.valueConversion
|
|
2014
2119
|
})].every((flag) => flag);
|
|
2015
|
-
const $
|
|
2120
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2016
2121
|
path: _path2 + ".grade",
|
|
2017
2122
|
expected: "number",
|
|
2018
2123
|
value: input3.grade
|
|
@@ -2029,7 +2134,25 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2029
2134
|
expected: "string",
|
|
2030
2135
|
value: input3.child_label
|
|
2031
2136
|
})].every((flag) => flag);
|
|
2032
|
-
const $
|
|
2137
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2138
|
+
path: _path2 + ".key",
|
|
2139
|
+
expected: "(number | string)",
|
|
2140
|
+
value: input3.key
|
|
2141
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2142
|
+
path: _path2 + ".label",
|
|
2143
|
+
expected: "(string | undefined)",
|
|
2144
|
+
value: input3.label
|
|
2145
|
+
}), false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2146
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
2147
|
+
return true;
|
|
2148
|
+
const value = input3[key];
|
|
2149
|
+
if (void 0 === value)
|
|
2150
|
+
return true;
|
|
2151
|
+
if (RegExp(/(.*)/).test(key))
|
|
2152
|
+
return true;
|
|
2153
|
+
return true;
|
|
2154
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
2155
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2033
2156
|
path: _path2 + ".join",
|
|
2034
2157
|
expected: "(string | undefined)",
|
|
2035
2158
|
value: input3.join
|
|
@@ -2037,29 +2160,49 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2037
2160
|
path: _path2 + ".isnot",
|
|
2038
2161
|
expected: "(boolean | undefined)",
|
|
2039
2162
|
value: input3.isnot
|
|
2163
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2164
|
+
path: _path2 + ".bar_by_grade",
|
|
2165
|
+
expected: "(boolean | undefined)",
|
|
2166
|
+
value: input3.bar_by_grade
|
|
2167
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2168
|
+
path: _path2 + ".bar_by_children",
|
|
2169
|
+
expected: "(boolean | undefined)",
|
|
2170
|
+
value: input3.bar_by_children
|
|
2171
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2172
|
+
path: _path2 + ".value_by_max_grade",
|
|
2173
|
+
expected: "(boolean | undefined)",
|
|
2174
|
+
value: input3.value_by_max_grade
|
|
2175
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2176
|
+
path: _path2 + ".value_by_most_recent",
|
|
2177
|
+
expected: "(boolean | undefined)",
|
|
2178
|
+
value: input3.value_by_most_recent
|
|
2179
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2180
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2181
|
+
expected: "(boolean | undefined)",
|
|
2182
|
+
value: input3.value_by_computable_grade
|
|
2040
2183
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2041
2184
|
path: _path2 + ".term",
|
|
2042
2185
|
expected: "DtTerm",
|
|
2043
2186
|
value: input3.term
|
|
2044
|
-
})) && $
|
|
2187
|
+
})) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2045
2188
|
path: _path2 + ".term",
|
|
2046
2189
|
expected: "DtTerm",
|
|
2047
2190
|
value: input3.term
|
|
2048
2191
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2049
2192
|
path: _path2 + ".values",
|
|
2050
|
-
expected: "Array<
|
|
2193
|
+
expected: "Array<GeneVariantValue>",
|
|
2051
2194
|
value: input3.values
|
|
2052
|
-
})) && input3.values.map((elem,
|
|
2053
|
-
path: _path2 + ".values[" +
|
|
2054
|
-
expected: "
|
|
2195
|
+
})) && input3.values.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2196
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2197
|
+
expected: "GeneVariantValue",
|
|
2055
2198
|
value: elem
|
|
2056
|
-
})) && $
|
|
2057
|
-
path: _path2 + ".values[" +
|
|
2058
|
-
expected: "
|
|
2199
|
+
})) && $vo44(elem, _path2 + ".values[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2200
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2201
|
+
expected: "GeneVariantValue",
|
|
2059
2202
|
value: elem
|
|
2060
2203
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2061
2204
|
path: _path2 + ".values",
|
|
2062
|
-
expected: "Array<
|
|
2205
|
+
expected: "Array<GeneVariantValue>",
|
|
2063
2206
|
value: input3.values
|
|
2064
2207
|
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2065
2208
|
path: _path2 + ".includeNotTested",
|
|
@@ -2069,8 +2212,40 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2069
2212
|
path: _path2 + ".excludeGeneName",
|
|
2070
2213
|
expected: "(boolean | undefined)",
|
|
2071
2214
|
value: input3.excludeGeneName
|
|
2215
|
+
}), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
|
|
2216
|
+
path: _path2 + ".genotype",
|
|
2217
|
+
expected: '("nt" | "variant" | "wt" | undefined)',
|
|
2218
|
+
value: input3.genotype
|
|
2219
|
+
}), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
|
|
2220
|
+
path: _path2 + ".mcount",
|
|
2221
|
+
expected: '("all" | "any" | "multiple" | "single" | undefined)',
|
|
2222
|
+
value: input3.mcount
|
|
2223
|
+
}), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
|
|
2224
|
+
path: _path2 + ".continuousCnv",
|
|
2225
|
+
expected: "(boolean | undefined)",
|
|
2226
|
+
value: input3.continuousCnv
|
|
2227
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
2228
|
+
path: _path2 + ".cnvLossCutoff",
|
|
2229
|
+
expected: "(number | undefined)",
|
|
2230
|
+
value: input3.cnvLossCutoff
|
|
2231
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
2232
|
+
path: _path2 + ".cnvGainCutoff",
|
|
2233
|
+
expected: "(number | undefined)",
|
|
2234
|
+
value: input3.cnvGainCutoff
|
|
2235
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
2236
|
+
path: _path2 + ".cnvMaxLength",
|
|
2237
|
+
expected: "(number | undefined)",
|
|
2238
|
+
value: input3.cnvMaxLength
|
|
2239
|
+
}), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
|
|
2240
|
+
path: _path2 + ".cnvWT",
|
|
2241
|
+
expected: "(boolean | undefined)",
|
|
2242
|
+
value: input3.cnvWT
|
|
2243
|
+
}), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
|
|
2244
|
+
path: _path2 + ".fractionOverlap",
|
|
2245
|
+
expected: "(number | undefined)",
|
|
2246
|
+
value: input3.fractionOverlap
|
|
2072
2247
|
})].every((flag) => flag);
|
|
2073
|
-
const $
|
|
2248
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2074
2249
|
path: _path2 + ".id",
|
|
2075
2250
|
expected: "string",
|
|
2076
2251
|
value: input3.id
|
|
@@ -2090,7 +2265,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2090
2265
|
path: _path2 + ".parentTerm",
|
|
2091
2266
|
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)',
|
|
2092
2267
|
value: input3.parentTerm
|
|
2093
|
-
})) && $
|
|
2268
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2094
2269
|
path: _path2 + ".parentTerm",
|
|
2095
2270
|
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)',
|
|
2096
2271
|
value: input3.parentTerm
|
|
@@ -2119,7 +2294,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2119
2294
|
expected: "TermValues",
|
|
2120
2295
|
value: input3.values
|
|
2121
2296
|
})].every((flag) => flag);
|
|
2122
|
-
const $
|
|
2297
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2123
2298
|
path: _path2 + ".id",
|
|
2124
2299
|
expected: "string",
|
|
2125
2300
|
value: input3.id
|
|
@@ -2135,8 +2310,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2135
2310
|
path: _path2 + ".child_types",
|
|
2136
2311
|
expected: "(Array<string> | undefined)",
|
|
2137
2312
|
value: input3.child_types
|
|
2138
|
-
})) && input3.child_types.map((elem,
|
|
2139
|
-
path: _path2 + ".child_types[" +
|
|
2313
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2314
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
2140
2315
|
expected: "string",
|
|
2141
2316
|
value: elem
|
|
2142
2317
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2151,8 +2326,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2151
2326
|
path: _path2 + ".included_types",
|
|
2152
2327
|
expected: "(Array<string> | undefined)",
|
|
2153
2328
|
value: input3.included_types
|
|
2154
|
-
})) && input3.included_types.map((elem,
|
|
2155
|
-
path: _path2 + ".included_types[" +
|
|
2329
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2330
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
2156
2331
|
expected: "string",
|
|
2157
2332
|
value: elem
|
|
2158
2333
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2207,12 +2382,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2207
2382
|
path: _path2 + ".genes",
|
|
2208
2383
|
expected: "Array<GvGeneTerm>",
|
|
2209
2384
|
value: input3.genes
|
|
2210
|
-
})) && input3.genes.map((elem,
|
|
2211
|
-
path: _path2 + ".genes[" +
|
|
2385
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2386
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
2212
2387
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2213
2388
|
value: elem
|
|
2214
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2215
|
-
path: _path2 + ".genes[" +
|
|
2389
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2390
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
2216
2391
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2217
2392
|
value: elem
|
|
2218
2393
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2231,12 +2406,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2231
2406
|
path: _path2 + ".childTerms",
|
|
2232
2407
|
expected: "(Array<DtTerm> | undefined)",
|
|
2233
2408
|
value: input3.childTerms
|
|
2234
|
-
})) && input3.childTerms.map((elem,
|
|
2235
|
-
path: _path2 + ".childTerms[" +
|
|
2409
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2410
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
2236
2411
|
expected: "DtTerm",
|
|
2237
2412
|
value: elem
|
|
2238
|
-
})) && $
|
|
2239
|
-
path: _path2 + ".childTerms[" +
|
|
2413
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2414
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
2240
2415
|
expected: "DtTerm",
|
|
2241
2416
|
value: elem
|
|
2242
2417
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2244,7 +2419,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2244
2419
|
expected: "(Array<DtTerm> | undefined)",
|
|
2245
2420
|
value: input3.childTerms
|
|
2246
2421
|
})].every((flag) => flag);
|
|
2247
|
-
const $
|
|
2422
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2248
2423
|
path: _path2 + ".id",
|
|
2249
2424
|
expected: "string",
|
|
2250
2425
|
value: input3.id
|
|
@@ -2260,8 +2435,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2260
2435
|
path: _path2 + ".child_types",
|
|
2261
2436
|
expected: "(Array<string> | undefined)",
|
|
2262
2437
|
value: input3.child_types
|
|
2263
|
-
})) && input3.child_types.map((elem,
|
|
2264
|
-
path: _path2 + ".child_types[" +
|
|
2438
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2439
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
2265
2440
|
expected: "string",
|
|
2266
2441
|
value: elem
|
|
2267
2442
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2276,8 +2451,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2276
2451
|
path: _path2 + ".included_types",
|
|
2277
2452
|
expected: "(Array<string> | undefined)",
|
|
2278
2453
|
value: input3.included_types
|
|
2279
|
-
})) && input3.included_types.map((elem,
|
|
2280
|
-
path: _path2 + ".included_types[" +
|
|
2454
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2455
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
2281
2456
|
expected: "string",
|
|
2282
2457
|
value: elem
|
|
2283
2458
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2329,7 +2504,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2329
2504
|
expected: "(number | undefined)",
|
|
2330
2505
|
value: input3.stop
|
|
2331
2506
|
})].every((flag) => flag);
|
|
2332
|
-
const $
|
|
2507
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2333
2508
|
path: _path2 + ".id",
|
|
2334
2509
|
expected: "string",
|
|
2335
2510
|
value: input3.id
|
|
@@ -2345,8 +2520,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2345
2520
|
path: _path2 + ".child_types",
|
|
2346
2521
|
expected: "(Array<string> | undefined)",
|
|
2347
2522
|
value: input3.child_types
|
|
2348
|
-
})) && input3.child_types.map((elem,
|
|
2349
|
-
path: _path2 + ".child_types[" +
|
|
2523
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2524
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
2350
2525
|
expected: "string",
|
|
2351
2526
|
value: elem
|
|
2352
2527
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2361,8 +2536,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2361
2536
|
path: _path2 + ".included_types",
|
|
2362
2537
|
expected: "(Array<string> | undefined)",
|
|
2363
2538
|
value: input3.included_types
|
|
2364
|
-
})) && input3.included_types.map((elem,
|
|
2365
|
-
path: _path2 + ".included_types[" +
|
|
2539
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2540
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
2366
2541
|
expected: "string",
|
|
2367
2542
|
value: elem
|
|
2368
2543
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2410,7 +2585,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2410
2585
|
expected: "number",
|
|
2411
2586
|
value: input3.stop
|
|
2412
2587
|
})].every((flag) => flag);
|
|
2413
|
-
const $
|
|
2588
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2414
2589
|
path: _path2 + ".id",
|
|
2415
2590
|
expected: "string",
|
|
2416
2591
|
value: input3.id
|
|
@@ -2426,8 +2601,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2426
2601
|
path: _path2 + ".child_types",
|
|
2427
2602
|
expected: "(Array<string> | undefined)",
|
|
2428
2603
|
value: input3.child_types
|
|
2429
|
-
})) && input3.child_types.map((elem,
|
|
2430
|
-
path: _path2 + ".child_types[" +
|
|
2604
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2605
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2431
2606
|
expected: "string",
|
|
2432
2607
|
value: elem
|
|
2433
2608
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2442,8 +2617,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2442
2617
|
path: _path2 + ".included_types",
|
|
2443
2618
|
expected: "(Array<string> | undefined)",
|
|
2444
2619
|
value: input3.included_types
|
|
2445
|
-
})) && input3.included_types.map((elem,
|
|
2446
|
-
path: _path2 + ".included_types[" +
|
|
2620
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2621
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2447
2622
|
expected: "string",
|
|
2448
2623
|
value: elem
|
|
2449
2624
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2494,12 +2669,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2494
2669
|
path: _path2 + ".genes",
|
|
2495
2670
|
expected: "Array<GvGeneTerm>",
|
|
2496
2671
|
value: input3.genes
|
|
2497
|
-
})) && input3.genes.map((elem,
|
|
2498
|
-
path: _path2 + ".genes[" +
|
|
2672
|
+
})) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2673
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2499
2674
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2500
2675
|
value: elem
|
|
2501
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2502
|
-
path: _path2 + ".genes[" +
|
|
2676
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2677
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2503
2678
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2504
2679
|
value: elem
|
|
2505
2680
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2518,12 +2693,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2518
2693
|
path: _path2 + ".childTerms",
|
|
2519
2694
|
expected: "(Array<DtTerm> | undefined)",
|
|
2520
2695
|
value: input3.childTerms
|
|
2521
|
-
})) && input3.childTerms.map((elem,
|
|
2522
|
-
path: _path2 + ".childTerms[" +
|
|
2696
|
+
})) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2697
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2523
2698
|
expected: "DtTerm",
|
|
2524
2699
|
value: elem
|
|
2525
|
-
})) && $
|
|
2526
|
-
path: _path2 + ".childTerms[" +
|
|
2700
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2701
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2527
2702
|
expected: "DtTerm",
|
|
2528
2703
|
value: elem
|
|
2529
2704
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2531,20 +2706,52 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2531
2706
|
expected: "(Array<DtTerm> | undefined)",
|
|
2532
2707
|
value: input3.childTerms
|
|
2533
2708
|
})].every((flag) => flag);
|
|
2534
|
-
const $
|
|
2709
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2535
2710
|
path: _path2 + ".key",
|
|
2536
|
-
expected: "string",
|
|
2711
|
+
expected: "(string | undefined)",
|
|
2537
2712
|
value: input3.key
|
|
2538
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2713
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
2539
2714
|
path: _path2 + ".label",
|
|
2540
|
-
expected: "string",
|
|
2715
|
+
expected: "(number | string | undefined)",
|
|
2541
2716
|
value: input3.label
|
|
2542
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2717
|
+
}), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2543
2718
|
path: _path2 + ".value",
|
|
2544
|
-
expected: "string",
|
|
2719
|
+
expected: "(string | undefined)",
|
|
2545
2720
|
value: input3.value
|
|
2721
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2722
|
+
path: _path2 + ".dt",
|
|
2723
|
+
expected: "(number | undefined)",
|
|
2724
|
+
value: input3.dt
|
|
2725
|
+
}), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
|
|
2726
|
+
path: _path2 + ".mclasslst",
|
|
2727
|
+
expected: "(Array<string> | undefined)",
|
|
2728
|
+
value: input3.mclasslst
|
|
2729
|
+
})) && input3.mclasslst.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2730
|
+
path: _path2 + ".mclasslst[" + _index49 + "]",
|
|
2731
|
+
expected: "string",
|
|
2732
|
+
value: elem
|
|
2733
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2734
|
+
path: _path2 + ".mclasslst",
|
|
2735
|
+
expected: "(Array<string> | undefined)",
|
|
2736
|
+
value: input3.mclasslst
|
|
2737
|
+
}), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2738
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2739
|
+
expected: "(Array<string> | undefined)",
|
|
2740
|
+
value: input3.mclassExcludeLst
|
|
2741
|
+
})) && input3.mclassExcludeLst.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2742
|
+
path: _path2 + ".mclassExcludeLst[" + _index50 + "]",
|
|
2743
|
+
expected: "string",
|
|
2744
|
+
value: elem
|
|
2745
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2746
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2747
|
+
expected: "(Array<string> | undefined)",
|
|
2748
|
+
value: input3.mclassExcludeLst
|
|
2749
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2750
|
+
path: _path2 + ".origin",
|
|
2751
|
+
expected: "(string | undefined)",
|
|
2752
|
+
value: input3.origin
|
|
2546
2753
|
})].every((flag) => flag);
|
|
2547
|
-
const $
|
|
2754
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2548
2755
|
path: _path2 + ".join",
|
|
2549
2756
|
expected: "(string | undefined)",
|
|
2550
2757
|
value: input3.join
|
|
@@ -2552,11 +2759,31 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2552
2759
|
path: _path2 + ".isnot",
|
|
2553
2760
|
expected: "(boolean | undefined)",
|
|
2554
2761
|
value: input3.isnot
|
|
2762
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2763
|
+
path: _path2 + ".bar_by_grade",
|
|
2764
|
+
expected: "(boolean | undefined)",
|
|
2765
|
+
value: input3.bar_by_grade
|
|
2766
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2767
|
+
path: _path2 + ".bar_by_children",
|
|
2768
|
+
expected: "(boolean | undefined)",
|
|
2769
|
+
value: input3.bar_by_children
|
|
2770
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2771
|
+
path: _path2 + ".value_by_max_grade",
|
|
2772
|
+
expected: "(boolean | undefined)",
|
|
2773
|
+
value: input3.value_by_max_grade
|
|
2774
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2775
|
+
path: _path2 + ".value_by_most_recent",
|
|
2776
|
+
expected: "(boolean | undefined)",
|
|
2777
|
+
value: input3.value_by_most_recent
|
|
2778
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2779
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2780
|
+
expected: "(boolean | undefined)",
|
|
2781
|
+
value: input3.value_by_computable_grade
|
|
2555
2782
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2556
2783
|
path: _path2 + ".term",
|
|
2557
2784
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2558
2785
|
value: input3.term
|
|
2559
|
-
})) && $
|
|
2786
|
+
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2560
2787
|
path: _path2 + ".term",
|
|
2561
2788
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2562
2789
|
value: input3.term
|
|
@@ -2565,7 +2792,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2565
2792
|
expected: "number",
|
|
2566
2793
|
value: input3.ratio
|
|
2567
2794
|
})].every((flag) => flag);
|
|
2568
|
-
const $
|
|
2795
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2569
2796
|
path: _path2 + ".id",
|
|
2570
2797
|
expected: "string",
|
|
2571
2798
|
value: input3.id
|
|
@@ -2581,8 +2808,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2581
2808
|
path: _path2 + ".child_types",
|
|
2582
2809
|
expected: "(Array<string> | undefined)",
|
|
2583
2810
|
value: input3.child_types
|
|
2584
|
-
})) && input3.child_types.map((elem,
|
|
2585
|
-
path: _path2 + ".child_types[" +
|
|
2811
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2812
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
2586
2813
|
expected: "string",
|
|
2587
2814
|
value: elem
|
|
2588
2815
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2597,8 +2824,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2597
2824
|
path: _path2 + ".included_types",
|
|
2598
2825
|
expected: "(Array<string> | undefined)",
|
|
2599
2826
|
value: input3.included_types
|
|
2600
|
-
})) && input3.included_types.map((elem,
|
|
2601
|
-
path: _path2 + ".included_types[" +
|
|
2827
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2828
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
2602
2829
|
expected: "string",
|
|
2603
2830
|
value: elem
|
|
2604
2831
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2629,16 +2856,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2629
2856
|
path: _path2 + ".valueConversion",
|
|
2630
2857
|
expected: "(__type.o1 | undefined)",
|
|
2631
2858
|
value: input3.valueConversion
|
|
2632
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2633
|
-
path: _path2 + ".collectionId",
|
|
2634
|
-
expected: "(string | undefined)",
|
|
2635
|
-
value: input3.collectionId
|
|
2636
2859
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2637
2860
|
path: _path2 + ".termIds",
|
|
2638
2861
|
expected: "(Array<string> | undefined)",
|
|
2639
2862
|
value: input3.termIds
|
|
2640
|
-
})) && input3.termIds.map((elem,
|
|
2641
|
-
path: _path2 + ".termIds[" +
|
|
2863
|
+
})) && input3.termIds.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2864
|
+
path: _path2 + ".termIds[" + _index53 + "]",
|
|
2642
2865
|
expected: "string",
|
|
2643
2866
|
value: elem
|
|
2644
2867
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2649,12 +2872,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2649
2872
|
path: _path2 + ".termlst",
|
|
2650
2873
|
expected: "Array<BaseTerm>",
|
|
2651
2874
|
value: input3.termlst
|
|
2652
|
-
})) && input3.termlst.map((elem,
|
|
2653
|
-
path: _path2 + ".termlst[" +
|
|
2875
|
+
})) && input3.termlst.map((elem, _index54) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2876
|
+
path: _path2 + ".termlst[" + _index54 + "]",
|
|
2654
2877
|
expected: "BaseTerm",
|
|
2655
2878
|
value: elem
|
|
2656
|
-
})) && $
|
|
2657
|
-
path: _path2 + ".termlst[" +
|
|
2879
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2880
|
+
path: _path2 + ".termlst[" + _index54 + "]",
|
|
2658
2881
|
expected: "BaseTerm",
|
|
2659
2882
|
value: elem
|
|
2660
2883
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2667,11 +2890,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2667
2890
|
value: input3.newTvs
|
|
2668
2891
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2669
2892
|
path: _path2 + ".propsByTermId",
|
|
2670
|
-
expected: "__type.
|
|
2893
|
+
expected: "__type.o7",
|
|
2671
2894
|
value: input3.propsByTermId
|
|
2672
|
-
})) && $
|
|
2895
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2673
2896
|
path: _path2 + ".propsByTermId",
|
|
2674
|
-
expected: "__type.
|
|
2897
|
+
expected: "__type.o7",
|
|
2675
2898
|
value: input3.propsByTermId
|
|
2676
2899
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2677
2900
|
path: _path2 + ".memberType",
|
|
@@ -2681,8 +2904,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2681
2904
|
path: _path2 + ".numerators",
|
|
2682
2905
|
expected: "(Array<string> | undefined)",
|
|
2683
2906
|
value: input3.numerators
|
|
2684
|
-
})) && input3.numerators.map((elem,
|
|
2685
|
-
path: _path2 + ".numerators[" +
|
|
2907
|
+
})) && input3.numerators.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2908
|
+
path: _path2 + ".numerators[" + _index55 + "]",
|
|
2686
2909
|
expected: "string",
|
|
2687
2910
|
value: elem
|
|
2688
2911
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2690,7 +2913,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2690
2913
|
expected: "(Array<string> | undefined)",
|
|
2691
2914
|
value: input3.numerators
|
|
2692
2915
|
})].every((flag) => flag);
|
|
2693
|
-
const $
|
|
2916
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2694
2917
|
path: _path2 + ".id",
|
|
2695
2918
|
expected: "string",
|
|
2696
2919
|
value: input3.id
|
|
@@ -2706,8 +2929,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2706
2929
|
path: _path2 + ".child_types",
|
|
2707
2930
|
expected: "(Array<string> | undefined)",
|
|
2708
2931
|
value: input3.child_types
|
|
2709
|
-
})) && input3.child_types.map((elem,
|
|
2710
|
-
path: _path2 + ".child_types[" +
|
|
2932
|
+
})) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2933
|
+
path: _path2 + ".child_types[" + _index56 + "]",
|
|
2711
2934
|
expected: "string",
|
|
2712
2935
|
value: elem
|
|
2713
2936
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2722,8 +2945,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2722
2945
|
path: _path2 + ".included_types",
|
|
2723
2946
|
expected: "(Array<string> | undefined)",
|
|
2724
2947
|
value: input3.included_types
|
|
2725
|
-
})) && input3.included_types.map((elem,
|
|
2726
|
-
path: _path2 + ".included_types[" +
|
|
2948
|
+
})) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2949
|
+
path: _path2 + ".included_types[" + _index57 + "]",
|
|
2727
2950
|
expected: "string",
|
|
2728
2951
|
value: elem
|
|
2729
2952
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2755,23 +2978,23 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2755
2978
|
expected: "(__type.o1 | undefined)",
|
|
2756
2979
|
value: input3.valueConversion
|
|
2757
2980
|
})].every((flag) => flag);
|
|
2758
|
-
const $
|
|
2981
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2759
2982
|
const value = input3[key];
|
|
2760
2983
|
if (void 0 === value)
|
|
2761
2984
|
return true;
|
|
2762
2985
|
if (RegExp(/(.*)/).test(key))
|
|
2763
2986
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
2764
2987
|
path: _path2 + $join(key),
|
|
2765
|
-
expected: "__type.
|
|
2988
|
+
expected: "__type.o8",
|
|
2766
2989
|
value
|
|
2767
|
-
})) && $
|
|
2990
|
+
})) && $vo49(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2768
2991
|
path: _path2 + $join(key),
|
|
2769
|
-
expected: "__type.
|
|
2992
|
+
expected: "__type.o8",
|
|
2770
2993
|
value
|
|
2771
2994
|
});
|
|
2772
2995
|
return true;
|
|
2773
2996
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2774
|
-
const $
|
|
2997
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2775
2998
|
const value = input3[key];
|
|
2776
2999
|
if (void 0 === value)
|
|
2777
3000
|
return true;
|
|
@@ -2779,7 +3002,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2779
3002
|
return true;
|
|
2780
3003
|
return true;
|
|
2781
3004
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2782
|
-
const $
|
|
3005
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2783
3006
|
path: _path2 + ".id",
|
|
2784
3007
|
expected: "string",
|
|
2785
3008
|
value: input3.id
|
|
@@ -2795,8 +3018,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2795
3018
|
path: _path2 + ".child_types",
|
|
2796
3019
|
expected: "(Array<string> | undefined)",
|
|
2797
3020
|
value: input3.child_types
|
|
2798
|
-
})) && input3.child_types.map((elem,
|
|
2799
|
-
path: _path2 + ".child_types[" +
|
|
3021
|
+
})) && input3.child_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3022
|
+
path: _path2 + ".child_types[" + _index58 + "]",
|
|
2800
3023
|
expected: "string",
|
|
2801
3024
|
value: elem
|
|
2802
3025
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2811,8 +3034,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2811
3034
|
path: _path2 + ".included_types",
|
|
2812
3035
|
expected: "(Array<string> | undefined)",
|
|
2813
3036
|
value: input3.included_types
|
|
2814
|
-
})) && input3.included_types.map((elem,
|
|
2815
|
-
path: _path2 + ".included_types[" +
|
|
3037
|
+
})) && input3.included_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3038
|
+
path: _path2 + ".included_types[" + _index59 + "]",
|
|
2816
3039
|
expected: "string",
|
|
2817
3040
|
value: elem
|
|
2818
3041
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2843,16 +3066,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2843
3066
|
path: _path2 + ".valueConversion",
|
|
2844
3067
|
expected: "(__type.o1 | undefined)",
|
|
2845
3068
|
value: input3.valueConversion
|
|
2846
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2847
|
-
path: _path2 + ".collectionId",
|
|
2848
|
-
expected: "(string | undefined)",
|
|
2849
|
-
value: input3.collectionId
|
|
2850
3069
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2851
3070
|
path: _path2 + ".termIds",
|
|
2852
3071
|
expected: "(Array<string> | undefined)",
|
|
2853
3072
|
value: input3.termIds
|
|
2854
|
-
})) && input3.termIds.map((elem,
|
|
2855
|
-
path: _path2 + ".termIds[" +
|
|
3073
|
+
})) && input3.termIds.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3074
|
+
path: _path2 + ".termIds[" + _index60 + "]",
|
|
2856
3075
|
expected: "string",
|
|
2857
3076
|
value: elem
|
|
2858
3077
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2863,12 +3082,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2863
3082
|
path: _path2 + ".termlst",
|
|
2864
3083
|
expected: "Array<BaseTerm>",
|
|
2865
3084
|
value: input3.termlst
|
|
2866
|
-
})) && input3.termlst.map((elem,
|
|
2867
|
-
path: _path2 + ".termlst[" +
|
|
3085
|
+
})) && input3.termlst.map((elem, _index61) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3086
|
+
path: _path2 + ".termlst[" + _index61 + "]",
|
|
2868
3087
|
expected: "BaseTerm",
|
|
2869
3088
|
value: elem
|
|
2870
|
-
})) && $
|
|
2871
|
-
path: _path2 + ".termlst[" +
|
|
3089
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index61 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3090
|
+
path: _path2 + ".termlst[" + _index61 + "]",
|
|
2872
3091
|
expected: "BaseTerm",
|
|
2873
3092
|
value: elem
|
|
2874
3093
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2881,11 +3100,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2881
3100
|
value: input3.newTvs
|
|
2882
3101
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2883
3102
|
path: _path2 + ".propsByTermId",
|
|
2884
|
-
expected: "__type.
|
|
3103
|
+
expected: "__type.o7",
|
|
2885
3104
|
value: input3.propsByTermId
|
|
2886
|
-
})) && $
|
|
3105
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2887
3106
|
path: _path2 + ".propsByTermId",
|
|
2888
|
-
expected: "__type.
|
|
3107
|
+
expected: "__type.o7",
|
|
2889
3108
|
value: input3.propsByTermId
|
|
2890
3109
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
2891
3110
|
path: _path2 + ".memberType",
|
|
@@ -2895,12 +3114,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2895
3114
|
path: _path2 + ".categoryKeys",
|
|
2896
3115
|
expected: "Array<CategoryKey>",
|
|
2897
3116
|
value: input3.categoryKeys
|
|
2898
|
-
})) && input3.categoryKeys.map((elem,
|
|
2899
|
-
path: _path2 + ".categoryKeys[" +
|
|
3117
|
+
})) && input3.categoryKeys.map((elem, _index62) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3118
|
+
path: _path2 + ".categoryKeys[" + _index62 + "]",
|
|
2900
3119
|
expected: "CategoryKey",
|
|
2901
3120
|
value: elem
|
|
2902
|
-
})) && $
|
|
2903
|
-
path: _path2 + ".categoryKeys[" +
|
|
3121
|
+
})) && $vo51(elem, _path2 + ".categoryKeys[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3122
|
+
path: _path2 + ".categoryKeys[" + _index62 + "]",
|
|
2904
3123
|
expected: "CategoryKey",
|
|
2905
3124
|
value: elem
|
|
2906
3125
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2908,7 +3127,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2908
3127
|
expected: "Array<CategoryKey>",
|
|
2909
3128
|
value: input3.categoryKeys
|
|
2910
3129
|
})].every((flag) => flag);
|
|
2911
|
-
const $
|
|
3130
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2912
3131
|
path: _path2 + ".key",
|
|
2913
3132
|
expected: "string",
|
|
2914
3133
|
value: input3.key
|
|
@@ -2944,13 +3163,15 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2944
3163
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2945
3164
|
if (true === input3.stopunbounded)
|
|
2946
3165
|
return $vo21(input3, _path2, _exceptionable2);
|
|
3166
|
+
if (void 0 !== input3.value)
|
|
3167
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
2947
3168
|
return $vo20(input3, _path2, _exceptionable2);
|
|
2948
3169
|
})();
|
|
2949
3170
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2950
3171
|
if ("gene" === input3.kind)
|
|
2951
|
-
return $
|
|
3172
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
2952
3173
|
if ("coord" === input3.kind)
|
|
2953
|
-
return $
|
|
3174
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
2954
3175
|
return $report(_exceptionable2, {
|
|
2955
3176
|
path: _path2,
|
|
2956
3177
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2958,13 +3179,20 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2958
3179
|
});
|
|
2959
3180
|
})();
|
|
2960
3181
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3182
|
+
if (true === input3.startunbounded)
|
|
3183
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3184
|
+
if (true === input3.stopunbounded)
|
|
3185
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3186
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3187
|
+
})();
|
|
3188
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2961
3189
|
if (void 0 !== input3.ranges)
|
|
2962
3190
|
return $vo13(input3, _path2, _exceptionable2);
|
|
2963
3191
|
if (void 0 !== input3.ratio)
|
|
2964
|
-
return $
|
|
2965
|
-
return $vo3(input3, _path2, false) || $
|
|
3192
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3193
|
+
return $vo3(input3, _path2, false) || $vo34(input3, _path2, false) || $vo38(input3, _path2, false);
|
|
2966
3194
|
})();
|
|
2967
|
-
const $
|
|
3195
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2968
3196
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2969
3197
|
return $vo14(input3, _path2, _exceptionable2);
|
|
2970
3198
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -2979,7 +3207,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2979
3207
|
return $vo29(input3, _path2, _exceptionable2);
|
|
2980
3208
|
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
2981
3209
|
})();
|
|
2982
|
-
const $
|
|
3210
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2983
3211
|
if ("regular-bin" === input3.type)
|
|
2984
3212
|
return $vo17(input3, _path2, _exceptionable2);
|
|
2985
3213
|
if ("custom-bin" === input3.type)
|
|
@@ -2990,7 +3218,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2990
3218
|
value: input3
|
|
2991
3219
|
});
|
|
2992
3220
|
})();
|
|
2993
|
-
const $
|
|
3221
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2994
3222
|
if (true === input3.startunbounded)
|
|
2995
3223
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2996
3224
|
if (void 0 !== input3.start)
|
|
@@ -3001,7 +3229,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
3001
3229
|
value: input3
|
|
3002
3230
|
});
|
|
3003
3231
|
})();
|
|
3004
|
-
const $
|
|
3232
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3005
3233
|
if (void 0 !== input3.stop)
|
|
3006
3234
|
return $vo20(input3, _path2, _exceptionable2);
|
|
3007
3235
|
if (true === input3.stopunbounded)
|
|
@@ -3012,22 +3240,22 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
3012
3240
|
value: input3
|
|
3013
3241
|
});
|
|
3014
3242
|
})();
|
|
3015
|
-
const $
|
|
3243
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3016
3244
|
if ("gene" === input3.kind)
|
|
3017
|
-
return $
|
|
3245
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
3018
3246
|
if ("coord" === input3.kind)
|
|
3019
|
-
return $
|
|
3247
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3020
3248
|
return $report(_exceptionable2, {
|
|
3021
3249
|
path: _path2,
|
|
3022
3250
|
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; })',
|
|
3023
3251
|
value: input3
|
|
3024
3252
|
});
|
|
3025
3253
|
})();
|
|
3026
|
-
const $
|
|
3254
|
+
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3027
3255
|
if ("numeric" === input3.memberType)
|
|
3028
|
-
return $
|
|
3256
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3029
3257
|
if ("categorical" === input3.memberType)
|
|
3030
|
-
return $
|
|
3258
|
+
return $vo50(input3, _path2, _exceptionable2);
|
|
3031
3259
|
return $report(_exceptionable2, {
|
|
3032
3260
|
path: _path2,
|
|
3033
3261
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|