@sjcrh/proteinpaint-types 2.177.0 → 2.178.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-LHJGTOZJ.js → chunk-26UKKPK2.js} +1301 -594
- package/dist/{chunk-4SOVPEYQ.js → chunk-2XQJCZEO.js} +842 -243
- package/dist/{chunk-UQEAM7BH.js → chunk-2Y7WE3JU.js} +1301 -594
- package/dist/chunk-4DCPDZW4.js +143 -0
- package/dist/{chunk-5KF6Z3GL.js → chunk-CX2Y673E.js} +923 -329
- package/dist/chunk-CYQDO4FX.js +3191 -0
- package/dist/{chunk-W7UCAYSF.js → chunk-FQYNRDHB.js} +923 -329
- package/dist/chunk-FRXRNCDV.js +14 -0
- package/dist/{chunk-F4YCPOQV.js → chunk-GAYJUXNZ.js} +947 -353
- package/dist/{chunk-7WEVNKAM.js → chunk-HZEV7D5E.js} +1301 -594
- package/dist/{chunk-4ZMQ5CTL.js → chunk-NIEACU6R.js} +7 -31
- package/dist/{chunk-Q6MWNJ2V.js → chunk-NRV6MPRM.js} +3421 -1378
- package/dist/{chunk-44LN7YTE.js → chunk-PHRILOVX.js} +923 -329
- package/dist/{chunk-URHI6FFP.js → chunk-UFYKXOY2.js} +2233 -690
- package/dist/{chunk-63OD34W2.js → chunk-UWAVSKMD.js} +1301 -594
- package/dist/chunk-VBNF7BRI.js +3492 -0
- package/dist/{chunk-2DJFVQUQ.js → chunk-WXCXZRKP.js} +1305 -598
- package/dist/{chunk-7NKZVHIZ.js → chunk-YHKFJCXG.js} +1445 -496
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +79 -61
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +3122 -5
- package/dist/termdb.chat2.js +13 -0
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.diffMeth.js +11 -0
- package/dist/termdb.dmr.js +11 -0
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.singlecellData.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 +55 -8
- package/src/index.ts +5 -1
- package/src/routes/grin2.ts +5 -11
- package/src/routes/{termdb.chat.ts → termdb.chat2.ts} +42 -15
- package/src/routes/termdb.cluster.ts +11 -0
- package/src/routes/termdb.diffMeth.ts +49 -0
- package/src/routes/termdb.dmr.ts +47 -0
- package/src/routes/termdb.singlecellData.ts +3 -1
- package/src/terms/dnaMethylation.ts +19 -0
- package/src/terms/numeric.ts +13 -2
- package/src/terms/singleCellCellType.ts +1 -1
- package/src/terms/singleCellGeneExpression.ts +25 -19
- package/src/terms/term.ts +1 -1
- package/src/terms/termCollection.ts +93 -21
- package/src/terms/wholeProteomeAbundance.ts +30 -0
- package/dist/chunk-WWE2SDCU.js +0 -494
|
@@ -44,7 +44,7 @@ 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 && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
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 && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(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
50
|
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(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);
|
|
@@ -64,31 +64,35 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
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));
|
|
67
|
-
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
68
|
-
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
69
|
-
const $io28 = (input3) => "string" === typeof input3.
|
|
70
|
-
const $io29 = (input3) => (void 0 === input3.
|
|
71
|
-
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
72
|
-
const $io31 = (input3) => "
|
|
73
|
-
const $io32 = (input3) =>
|
|
74
|
-
const $io33 = (input3) =>
|
|
75
|
-
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
76
|
-
const $io35 = (input3) => "
|
|
77
|
-
const $io36 = (input3) =>
|
|
78
|
-
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
79
|
-
const $io38 = (input3) => "string" === typeof input3.
|
|
80
|
-
const $io39 = (input3) => (void 0 === input3.
|
|
81
|
-
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
82
|
-
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
83
|
-
const $io42 = (input3) =>
|
|
67
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "wholeProteomeAbundance" === 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.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
68
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
|
|
69
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
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
|
+
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
|
+
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) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
74
|
+
const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io34(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
75
|
+
const $io34 = (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));
|
|
76
|
+
const $io35 = (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;
|
|
77
|
+
const $io36 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io37(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io42(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
78
|
+
const $io37 = (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 && $iu9(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));
|
|
79
|
+
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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 && $io37(elem)));
|
|
80
|
+
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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);
|
|
81
|
+
const $io40 = (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;
|
|
82
|
+
const $io41 = (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 && $io37(elem)));
|
|
83
|
+
const $io42 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
84
|
+
const $io43 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && "number" === typeof input3.ratio;
|
|
85
|
+
const $io44 = (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.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io46(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
86
|
+
const $io45 = (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));
|
|
87
|
+
const $io46 = (input3) => Object.keys(input3).every((key) => {
|
|
84
88
|
const value = input3[key];
|
|
85
89
|
if (void 0 === value)
|
|
86
90
|
return true;
|
|
87
91
|
if (RegExp(/(.*)/).test(key))
|
|
88
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
92
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io47(value);
|
|
89
93
|
return true;
|
|
90
94
|
});
|
|
91
|
-
const $
|
|
95
|
+
const $io47 = (input3) => Object.keys(input3).every((key) => {
|
|
92
96
|
const value = input3[key];
|
|
93
97
|
if (void 0 === value)
|
|
94
98
|
return true;
|
|
@@ -96,6 +100,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
96
100
|
return true;
|
|
97
101
|
return true;
|
|
98
102
|
});
|
|
103
|
+
const $io48 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io46(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io49(elem)));
|
|
104
|
+
const $io49 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
99
105
|
const $iu0 = (input3) => (() => {
|
|
100
106
|
if ("tvslst" === input3.type)
|
|
101
107
|
return $io1(input3);
|
|
@@ -119,23 +125,23 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
119
125
|
})();
|
|
120
126
|
const $iu3 = (input3) => (() => {
|
|
121
127
|
if ("gene" === input3.kind)
|
|
122
|
-
return $
|
|
128
|
+
return $io39(input3);
|
|
123
129
|
if ("coord" === input3.kind)
|
|
124
|
-
return $
|
|
130
|
+
return $io40(input3);
|
|
125
131
|
return false;
|
|
126
132
|
})();
|
|
127
133
|
const $iu4 = (input3) => (() => {
|
|
128
134
|
if (void 0 !== input3.ranges)
|
|
129
135
|
return $io13(input3);
|
|
130
136
|
if (void 0 !== input3.ratio)
|
|
131
|
-
return $
|
|
137
|
+
return $io43(input3);
|
|
132
138
|
return (() => {
|
|
133
139
|
if ($io3(input3))
|
|
134
140
|
return $io3(input3);
|
|
135
|
-
if ($
|
|
136
|
-
return $
|
|
137
|
-
if ($
|
|
138
|
-
return $
|
|
141
|
+
if ($io33(input3))
|
|
142
|
+
return $io33(input3);
|
|
143
|
+
if ($io36(input3))
|
|
144
|
+
return $io36(input3);
|
|
139
145
|
return false;
|
|
140
146
|
})();
|
|
141
147
|
})();
|
|
@@ -144,15 +150,23 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
144
150
|
return $io14(input3);
|
|
145
151
|
if ("metaboliteIntensity" === input3.type)
|
|
146
152
|
return $io25(input3);
|
|
147
|
-
if ("
|
|
153
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
148
154
|
return $io26(input3);
|
|
149
|
-
if ("
|
|
155
|
+
if ("date" === input3.type)
|
|
150
156
|
return $io27(input3);
|
|
157
|
+
if ("ssGSEA" === input3.type)
|
|
158
|
+
return $io28(input3);
|
|
159
|
+
if ("dnaMethylation" === input3.type)
|
|
160
|
+
return $io29(input3);
|
|
151
161
|
return (() => {
|
|
152
162
|
if ($io24(input3))
|
|
153
163
|
return $io24(input3);
|
|
154
164
|
if ($io23(input3))
|
|
155
165
|
return $io23(input3);
|
|
166
|
+
if ($io31(input3))
|
|
167
|
+
return $io31(input3);
|
|
168
|
+
if ($io30(input3))
|
|
169
|
+
return $io30(input3);
|
|
156
170
|
return false;
|
|
157
171
|
})();
|
|
158
172
|
})();
|
|
@@ -179,9 +193,16 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
179
193
|
})();
|
|
180
194
|
const $iu9 = (input3) => (() => {
|
|
181
195
|
if ("gene" === input3.kind)
|
|
182
|
-
return $
|
|
196
|
+
return $io38(input3);
|
|
183
197
|
if ("coord" === input3.kind)
|
|
184
|
-
return $
|
|
198
|
+
return $io41(input3);
|
|
199
|
+
return false;
|
|
200
|
+
})();
|
|
201
|
+
const $iu10 = (input3) => (() => {
|
|
202
|
+
if ("numeric" === input3.memberType)
|
|
203
|
+
return $io44(input3);
|
|
204
|
+
if ("categorical" === input3.memberType)
|
|
205
|
+
return $io48(input3);
|
|
185
206
|
return false;
|
|
186
207
|
})();
|
|
187
208
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -566,11 +587,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
566
587
|
value: input3.isnot
|
|
567
588
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
568
589
|
path: _path2 + ".term",
|
|
569
|
-
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
590
|
+
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)',
|
|
570
591
|
value: input3.term
|
|
571
592
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
572
593
|
path: _path2 + ".term",
|
|
573
|
-
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
594
|
+
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)',
|
|
574
595
|
value: input3.term
|
|
575
596
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
576
597
|
path: _path2 + ".ranges",
|
|
@@ -596,7 +617,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
596
617
|
path: _path2 + ".values[" + _index9 + "]",
|
|
597
618
|
expected: "__type.o4",
|
|
598
619
|
value: elem
|
|
599
|
-
})) && $
|
|
620
|
+
})) && $vo32(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
600
621
|
path: _path2 + ".values[" + _index9 + "]",
|
|
601
622
|
expected: "__type.o4",
|
|
602
623
|
value: elem
|
|
@@ -1286,9 +1307,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1286
1307
|
path: _path2 + ".name",
|
|
1287
1308
|
expected: "string",
|
|
1288
1309
|
value: input3.name
|
|
1289
|
-
}), "
|
|
1310
|
+
}), "wholeProteomeAbundance" === input3.type || $report(_exceptionable2, {
|
|
1290
1311
|
path: _path2 + ".type",
|
|
1291
|
-
expected: '"
|
|
1312
|
+
expected: '"wholeProteomeAbundance"',
|
|
1292
1313
|
value: input3.type
|
|
1293
1314
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1294
1315
|
path: _path2 + ".child_types",
|
|
@@ -1354,6 +1375,10 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1354
1375
|
path: _path2 + ".unit",
|
|
1355
1376
|
expected: "(string | undefined)",
|
|
1356
1377
|
value: input3.unit
|
|
1378
|
+
}), "string" === typeof input3.protein || $report(_exceptionable2, {
|
|
1379
|
+
path: _path2 + ".protein",
|
|
1380
|
+
expected: "string",
|
|
1381
|
+
value: input3.protein
|
|
1357
1382
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1358
1383
|
path: _path2 + ".bins",
|
|
1359
1384
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1371,9 +1396,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1371
1396
|
path: _path2 + ".name",
|
|
1372
1397
|
expected: "string",
|
|
1373
1398
|
value: input3.name
|
|
1374
|
-
}), "
|
|
1399
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1375
1400
|
path: _path2 + ".type",
|
|
1376
|
-
expected: '"
|
|
1401
|
+
expected: '"date"',
|
|
1377
1402
|
value: input3.type
|
|
1378
1403
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1379
1404
|
path: _path2 + ".child_types",
|
|
@@ -1439,18 +1464,6 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1439
1464
|
path: _path2 + ".unit",
|
|
1440
1465
|
expected: "(string | undefined)",
|
|
1441
1466
|
value: input3.unit
|
|
1442
|
-
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1443
|
-
path: _path2 + ".genes",
|
|
1444
|
-
expected: "(Array<string> | undefined)",
|
|
1445
|
-
value: input3.genes
|
|
1446
|
-
})) && input3.genes.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1447
|
-
path: _path2 + ".genes[" + _index23 + "]",
|
|
1448
|
-
expected: "string",
|
|
1449
|
-
value: elem
|
|
1450
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1451
|
-
path: _path2 + ".genes",
|
|
1452
|
-
expected: "(Array<string> | undefined)",
|
|
1453
|
-
value: input3.genes
|
|
1454
1467
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1455
1468
|
path: _path2 + ".bins",
|
|
1456
1469
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1460,69 +1473,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1460
1473
|
expected: "(PresetNumericBins | undefined)",
|
|
1461
1474
|
value: input3.bins
|
|
1462
1475
|
})].every((flag) => flag);
|
|
1463
|
-
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
1464
|
-
path: _path2 + ".key",
|
|
1465
|
-
expected: "string",
|
|
1466
|
-
value: input3.key
|
|
1467
|
-
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1468
|
-
path: _path2 + ".value",
|
|
1469
|
-
expected: "number",
|
|
1470
|
-
value: input3.value
|
|
1471
|
-
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1472
|
-
path: _path2 + ".uncomputable",
|
|
1473
|
-
expected: "true",
|
|
1474
|
-
value: input3.uncomputable
|
|
1475
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1476
|
-
path: _path2 + ".label",
|
|
1477
|
-
expected: "(string | undefined)",
|
|
1478
|
-
value: input3.label
|
|
1479
|
-
})].every((flag) => flag);
|
|
1480
|
-
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1481
|
-
path: _path2 + ".join",
|
|
1482
|
-
expected: "(string | undefined)",
|
|
1483
|
-
value: input3.join
|
|
1484
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1485
|
-
path: _path2 + ".isnot",
|
|
1486
|
-
expected: "(boolean | undefined)",
|
|
1487
|
-
value: input3.isnot
|
|
1488
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1489
|
-
path: _path2 + ".term",
|
|
1490
|
-
expected: "ConditionTerm",
|
|
1491
|
-
value: input3.term
|
|
1492
|
-
})) && $vo30(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1493
|
-
path: _path2 + ".term",
|
|
1494
|
-
expected: "ConditionTerm",
|
|
1495
|
-
value: input3.term
|
|
1496
|
-
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1497
|
-
path: _path2 + ".value_by_max_grade",
|
|
1498
|
-
expected: "(boolean | undefined)",
|
|
1499
|
-
value: input3.value_by_max_grade
|
|
1500
|
-
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1501
|
-
path: _path2 + ".value_by_most_recent",
|
|
1502
|
-
expected: "(boolean | undefined)",
|
|
1503
|
-
value: input3.value_by_most_recent
|
|
1504
|
-
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1505
|
-
path: _path2 + ".value_by_computable_grade",
|
|
1506
|
-
expected: "(boolean | undefined)",
|
|
1507
|
-
value: input3.value_by_computable_grade
|
|
1508
|
-
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1509
|
-
path: _path2 + ".grade_and_child",
|
|
1510
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1511
|
-
value: input3.grade_and_child
|
|
1512
|
-
})) && input3.grade_and_child.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1513
|
-
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1514
|
-
expected: "GradeAndChildEntry",
|
|
1515
|
-
value: elem
|
|
1516
|
-
})) && $vo31(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1517
|
-
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1518
|
-
expected: "GradeAndChildEntry",
|
|
1519
|
-
value: elem
|
|
1520
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1521
|
-
path: _path2 + ".grade_and_child",
|
|
1522
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1523
|
-
value: input3.grade_and_child
|
|
1524
|
-
})].every((flag) => flag);
|
|
1525
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1476
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1526
1477
|
path: _path2 + ".id",
|
|
1527
1478
|
expected: "string",
|
|
1528
1479
|
value: input3.id
|
|
@@ -1530,16 +1481,16 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1530
1481
|
path: _path2 + ".name",
|
|
1531
1482
|
expected: "string",
|
|
1532
1483
|
value: input3.name
|
|
1533
|
-
}), "
|
|
1484
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1534
1485
|
path: _path2 + ".type",
|
|
1535
|
-
expected: '"
|
|
1486
|
+
expected: '"ssGSEA"',
|
|
1536
1487
|
value: input3.type
|
|
1537
1488
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1538
1489
|
path: _path2 + ".child_types",
|
|
1539
1490
|
expected: "(Array<string> | undefined)",
|
|
1540
1491
|
value: input3.child_types
|
|
1541
|
-
})) && input3.child_types.map((elem,
|
|
1542
|
-
path: _path2 + ".child_types[" +
|
|
1492
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
1543
1494
|
expected: "string",
|
|
1544
1495
|
value: elem
|
|
1545
1496
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1554,8 +1505,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1554
1505
|
path: _path2 + ".included_types",
|
|
1555
1506
|
expected: "(Array<string> | undefined)",
|
|
1556
1507
|
value: input3.included_types
|
|
1557
|
-
})) && input3.included_types.map((elem,
|
|
1558
|
-
path: _path2 + ".included_types[" +
|
|
1508
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1509
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
1559
1510
|
expected: "string",
|
|
1560
1511
|
value: elem
|
|
1561
1512
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1586,115 +1537,40 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1586
1537
|
path: _path2 + ".valueConversion",
|
|
1587
1538
|
expected: "(__type.o1 | undefined)",
|
|
1588
1539
|
value: input3.valueConversion
|
|
1589
|
-
})
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
path: _path2 + ".child_id",
|
|
1540
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1541
|
+
path: _path2 + ".continuousColorScale",
|
|
1542
|
+
expected: "(__type.o3 | undefined)",
|
|
1543
|
+
value: input3.continuousColorScale
|
|
1544
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".continuousColorScale",
|
|
1546
|
+
expected: "(__type.o3 | undefined)",
|
|
1547
|
+
value: input3.continuousColorScale
|
|
1548
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1549
|
+
path: _path2 + ".unit",
|
|
1600
1550
|
expected: "(string | undefined)",
|
|
1601
|
-
value: input3.
|
|
1602
|
-
}),
|
|
1603
|
-
path: _path2 + ".
|
|
1551
|
+
value: input3.unit
|
|
1552
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".genes",
|
|
1554
|
+
expected: "(Array<string> | undefined)",
|
|
1555
|
+
value: input3.genes
|
|
1556
|
+
})) && input3.genes.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1557
|
+
path: _path2 + ".genes[" + _index25 + "]",
|
|
1604
1558
|
expected: "string",
|
|
1605
|
-
value: input3.child_label
|
|
1606
|
-
})].every((flag) => flag);
|
|
1607
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1608
|
-
path: _path2 + ".join",
|
|
1609
|
-
expected: "(string | undefined)",
|
|
1610
|
-
value: input3.join
|
|
1611
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1612
|
-
path: _path2 + ".isnot",
|
|
1613
|
-
expected: "(boolean | undefined)",
|
|
1614
|
-
value: input3.isnot
|
|
1615
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1616
|
-
path: _path2 + ".term",
|
|
1617
|
-
expected: "DtTerm",
|
|
1618
|
-
value: input3.term
|
|
1619
|
-
})) && $vo33(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1620
|
-
path: _path2 + ".term",
|
|
1621
|
-
expected: "DtTerm",
|
|
1622
|
-
value: input3.term
|
|
1623
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1624
|
-
path: _path2 + ".values",
|
|
1625
|
-
expected: "Array<__type>.o2",
|
|
1626
|
-
value: input3.values
|
|
1627
|
-
})) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1628
|
-
path: _path2 + ".values[" + _index27 + "]",
|
|
1629
|
-
expected: "__type.o5",
|
|
1630
|
-
value: elem
|
|
1631
|
-
})) && $vo38(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1632
|
-
path: _path2 + ".values[" + _index27 + "]",
|
|
1633
|
-
expected: "__type.o5",
|
|
1634
1559
|
value: elem
|
|
1635
1560
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1636
|
-
path: _path2 + ".
|
|
1637
|
-
expected: "Array<
|
|
1638
|
-
value: input3.
|
|
1639
|
-
}), void 0 === input3.
|
|
1640
|
-
path: _path2 + ".
|
|
1641
|
-
expected: "(
|
|
1642
|
-
value: input3.
|
|
1643
|
-
})
|
|
1644
|
-
path: _path2 + ".
|
|
1645
|
-
expected: "(
|
|
1646
|
-
value: input3.
|
|
1647
|
-
})].every((flag) => flag);
|
|
1648
|
-
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1649
|
-
path: _path2 + ".id",
|
|
1650
|
-
expected: "string",
|
|
1651
|
-
value: input3.id
|
|
1652
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1653
|
-
path: _path2 + ".query",
|
|
1654
|
-
expected: "string",
|
|
1655
|
-
value: input3.query
|
|
1656
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1657
|
-
path: _path2 + ".name",
|
|
1658
|
-
expected: "string",
|
|
1659
|
-
value: input3.name
|
|
1660
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1661
|
-
path: _path2 + ".name_noOrigin",
|
|
1662
|
-
expected: "string",
|
|
1663
|
-
value: input3.name_noOrigin
|
|
1664
|
-
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1665
|
-
path: _path2 + ".parentTerm",
|
|
1666
|
-
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)',
|
|
1667
|
-
value: input3.parentTerm
|
|
1668
|
-
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1669
|
-
path: _path2 + ".parentTerm",
|
|
1670
|
-
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)',
|
|
1671
|
-
value: input3.parentTerm
|
|
1672
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1673
|
-
path: _path2 + ".isleaf",
|
|
1674
|
-
expected: "boolean",
|
|
1675
|
-
value: input3.isleaf
|
|
1676
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1677
|
-
path: _path2 + ".type",
|
|
1678
|
-
expected: "string",
|
|
1679
|
-
value: input3.type
|
|
1680
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1681
|
-
path: _path2 + ".dt",
|
|
1682
|
-
expected: "number",
|
|
1683
|
-
value: input3.dt
|
|
1684
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1685
|
-
path: _path2 + ".origin",
|
|
1686
|
-
expected: "(string | undefined)",
|
|
1687
|
-
value: input3.origin
|
|
1688
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1689
|
-
path: _path2 + ".values",
|
|
1690
|
-
expected: "TermValues",
|
|
1691
|
-
value: input3.values
|
|
1692
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1693
|
-
path: _path2 + ".values",
|
|
1694
|
-
expected: "TermValues",
|
|
1695
|
-
value: input3.values
|
|
1561
|
+
path: _path2 + ".genes",
|
|
1562
|
+
expected: "(Array<string> | undefined)",
|
|
1563
|
+
value: input3.genes
|
|
1564
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1565
|
+
path: _path2 + ".bins",
|
|
1566
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1567
|
+
value: input3.bins
|
|
1568
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1569
|
+
path: _path2 + ".bins",
|
|
1570
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1571
|
+
value: input3.bins
|
|
1696
1572
|
})].every((flag) => flag);
|
|
1697
|
-
const $
|
|
1573
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1698
1574
|
path: _path2 + ".id",
|
|
1699
1575
|
expected: "string",
|
|
1700
1576
|
value: input3.id
|
|
@@ -1702,16 +1578,16 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1702
1578
|
path: _path2 + ".name",
|
|
1703
1579
|
expected: "string",
|
|
1704
1580
|
value: input3.name
|
|
1705
|
-
}), "
|
|
1581
|
+
}), "dnaMethylation" === input3.type || $report(_exceptionable2, {
|
|
1706
1582
|
path: _path2 + ".type",
|
|
1707
|
-
expected: '"
|
|
1583
|
+
expected: '"dnaMethylation"',
|
|
1708
1584
|
value: input3.type
|
|
1709
1585
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1710
1586
|
path: _path2 + ".child_types",
|
|
1711
1587
|
expected: "(Array<string> | undefined)",
|
|
1712
1588
|
value: input3.child_types
|
|
1713
|
-
})) && input3.child_types.map((elem,
|
|
1714
|
-
path: _path2 + ".child_types[" +
|
|
1589
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1590
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1715
1591
|
expected: "string",
|
|
1716
1592
|
value: elem
|
|
1717
1593
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1726,8 +1602,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1726
1602
|
path: _path2 + ".included_types",
|
|
1727
1603
|
expected: "(Array<string> | undefined)",
|
|
1728
1604
|
value: input3.included_types
|
|
1729
|
-
})) && input3.included_types.map((elem,
|
|
1730
|
-
path: _path2 + ".included_types[" +
|
|
1605
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1606
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1731
1607
|
expected: "string",
|
|
1732
1608
|
value: elem
|
|
1733
1609
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1758,41 +1634,590 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1758
1634
|
path: _path2 + ".valueConversion",
|
|
1759
1635
|
expected: "(__type.o1 | undefined)",
|
|
1760
1636
|
value: input3.valueConversion
|
|
1761
|
-
}), "
|
|
1762
|
-
path: _path2 + ".
|
|
1763
|
-
expected:
|
|
1764
|
-
value: input3.
|
|
1765
|
-
}), "
|
|
1766
|
-
path: _path2 + ".
|
|
1767
|
-
expected: "
|
|
1768
|
-
value: input3.
|
|
1769
|
-
}), void 0 === input3.
|
|
1770
|
-
path: _path2 + ".
|
|
1637
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1638
|
+
path: _path2 + ".continuousColorScale",
|
|
1639
|
+
expected: "(__type.o3 | undefined)",
|
|
1640
|
+
value: input3.continuousColorScale
|
|
1641
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1642
|
+
path: _path2 + ".continuousColorScale",
|
|
1643
|
+
expected: "(__type.o3 | undefined)",
|
|
1644
|
+
value: input3.continuousColorScale
|
|
1645
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1646
|
+
path: _path2 + ".unit",
|
|
1771
1647
|
expected: "(string | undefined)",
|
|
1648
|
+
value: input3.unit
|
|
1649
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1650
|
+
path: _path2 + ".chr",
|
|
1651
|
+
expected: "string",
|
|
1772
1652
|
value: input3.chr
|
|
1773
|
-
}),
|
|
1653
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1774
1654
|
path: _path2 + ".start",
|
|
1775
|
-
expected: "
|
|
1655
|
+
expected: "number",
|
|
1776
1656
|
value: input3.start
|
|
1777
|
-
}),
|
|
1657
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1778
1658
|
path: _path2 + ".stop",
|
|
1779
|
-
expected: "
|
|
1659
|
+
expected: "number",
|
|
1780
1660
|
value: input3.stop
|
|
1781
|
-
}),
|
|
1782
|
-
path: _path2 + ".
|
|
1783
|
-
expected: "
|
|
1784
|
-
value: input3.
|
|
1785
|
-
})) && input3.
|
|
1786
|
-
path: _path2 + ".
|
|
1787
|
-
expected: "(
|
|
1788
|
-
value:
|
|
1789
|
-
}))
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1661
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1662
|
+
path: _path2 + ".bins",
|
|
1663
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1664
|
+
value: input3.bins
|
|
1665
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1666
|
+
path: _path2 + ".bins",
|
|
1667
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1668
|
+
value: input3.bins
|
|
1669
|
+
})].every((flag) => flag);
|
|
1670
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1671
|
+
path: _path2 + ".id",
|
|
1672
|
+
expected: "string",
|
|
1673
|
+
value: input3.id
|
|
1674
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1675
|
+
path: _path2 + ".name",
|
|
1676
|
+
expected: "string",
|
|
1677
|
+
value: input3.name
|
|
1678
|
+
}), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
|
|
1679
|
+
path: _path2 + ".type",
|
|
1680
|
+
expected: '"singleCellGeneExpression"',
|
|
1681
|
+
value: input3.type
|
|
1682
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1683
|
+
path: _path2 + ".child_types",
|
|
1684
|
+
expected: "(Array<string> | undefined)",
|
|
1685
|
+
value: input3.child_types
|
|
1686
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1687
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1688
|
+
expected: "string",
|
|
1689
|
+
value: elem
|
|
1690
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1691
|
+
path: _path2 + ".child_types",
|
|
1692
|
+
expected: "(Array<string> | undefined)",
|
|
1693
|
+
value: input3.child_types
|
|
1694
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1695
|
+
path: _path2 + ".hashtmldetail",
|
|
1696
|
+
expected: "(boolean | undefined)",
|
|
1697
|
+
value: input3.hashtmldetail
|
|
1698
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1699
|
+
path: _path2 + ".included_types",
|
|
1700
|
+
expected: "(Array<string> | undefined)",
|
|
1701
|
+
value: input3.included_types
|
|
1702
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1703
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1704
|
+
expected: "string",
|
|
1705
|
+
value: elem
|
|
1706
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1707
|
+
path: _path2 + ".included_types",
|
|
1708
|
+
expected: "(Array<string> | undefined)",
|
|
1709
|
+
value: input3.included_types
|
|
1710
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1711
|
+
path: _path2 + ".isleaf",
|
|
1712
|
+
expected: "(boolean | undefined)",
|
|
1713
|
+
value: input3.isleaf
|
|
1714
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1715
|
+
path: _path2 + ".values",
|
|
1716
|
+
expected: "(TermValues | undefined)",
|
|
1717
|
+
value: input3.values
|
|
1718
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1719
|
+
path: _path2 + ".values",
|
|
1720
|
+
expected: "(TermValues | undefined)",
|
|
1721
|
+
value: input3.values
|
|
1722
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1723
|
+
path: _path2 + ".skipValuesBuild",
|
|
1724
|
+
expected: "(boolean | undefined)",
|
|
1725
|
+
value: input3.skipValuesBuild
|
|
1726
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1727
|
+
path: _path2 + ".valueConversion",
|
|
1728
|
+
expected: "(__type.o1 | undefined)",
|
|
1729
|
+
value: input3.valueConversion
|
|
1730
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1731
|
+
path: _path2 + ".valueConversion",
|
|
1732
|
+
expected: "(__type.o1 | undefined)",
|
|
1733
|
+
value: input3.valueConversion
|
|
1734
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1735
|
+
path: _path2 + ".continuousColorScale",
|
|
1736
|
+
expected: "(__type.o3 | undefined)",
|
|
1737
|
+
value: input3.continuousColorScale
|
|
1738
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1739
|
+
path: _path2 + ".continuousColorScale",
|
|
1740
|
+
expected: "(__type.o3 | undefined)",
|
|
1741
|
+
value: input3.continuousColorScale
|
|
1742
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1743
|
+
path: _path2 + ".unit",
|
|
1744
|
+
expected: "(string | undefined)",
|
|
1745
|
+
value: input3.unit
|
|
1746
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1747
|
+
path: _path2 + ".gene",
|
|
1748
|
+
expected: "string",
|
|
1749
|
+
value: input3.gene
|
|
1750
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
1751
|
+
path: _path2 + ".sample",
|
|
1752
|
+
expected: "string",
|
|
1753
|
+
value: input3.sample
|
|
1754
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1755
|
+
path: _path2 + ".bins",
|
|
1756
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1757
|
+
value: input3.bins
|
|
1758
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1759
|
+
path: _path2 + ".bins",
|
|
1760
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1761
|
+
value: input3.bins
|
|
1762
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
1763
|
+
path: _path2 + ".kind",
|
|
1764
|
+
expected: '("gene" | undefined)',
|
|
1765
|
+
value: input3.kind
|
|
1766
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1767
|
+
path: _path2 + ".chr",
|
|
1768
|
+
expected: "(string | undefined)",
|
|
1769
|
+
value: input3.chr
|
|
1770
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1771
|
+
path: _path2 + ".start",
|
|
1772
|
+
expected: "(number | undefined)",
|
|
1773
|
+
value: input3.start
|
|
1774
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1775
|
+
path: _path2 + ".stop",
|
|
1776
|
+
expected: "(number | undefined)",
|
|
1777
|
+
value: input3.stop
|
|
1778
|
+
})].every((flag) => flag);
|
|
1779
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1780
|
+
path: _path2 + ".id",
|
|
1781
|
+
expected: "string",
|
|
1782
|
+
value: input3.id
|
|
1783
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1784
|
+
path: _path2 + ".name",
|
|
1785
|
+
expected: "string",
|
|
1786
|
+
value: input3.name
|
|
1787
|
+
}), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
|
|
1788
|
+
path: _path2 + ".type",
|
|
1789
|
+
expected: '"singleCellGeneExpression"',
|
|
1790
|
+
value: input3.type
|
|
1791
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1792
|
+
path: _path2 + ".child_types",
|
|
1793
|
+
expected: "(Array<string> | undefined)",
|
|
1794
|
+
value: input3.child_types
|
|
1795
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1796
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
1797
|
+
expected: "string",
|
|
1798
|
+
value: elem
|
|
1799
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1800
|
+
path: _path2 + ".child_types",
|
|
1801
|
+
expected: "(Array<string> | undefined)",
|
|
1802
|
+
value: input3.child_types
|
|
1803
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1804
|
+
path: _path2 + ".hashtmldetail",
|
|
1805
|
+
expected: "(boolean | undefined)",
|
|
1806
|
+
value: input3.hashtmldetail
|
|
1807
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1808
|
+
path: _path2 + ".included_types",
|
|
1809
|
+
expected: "(Array<string> | undefined)",
|
|
1810
|
+
value: input3.included_types
|
|
1811
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1812
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
1813
|
+
expected: "string",
|
|
1814
|
+
value: elem
|
|
1815
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1816
|
+
path: _path2 + ".included_types",
|
|
1817
|
+
expected: "(Array<string> | undefined)",
|
|
1818
|
+
value: input3.included_types
|
|
1819
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1820
|
+
path: _path2 + ".isleaf",
|
|
1821
|
+
expected: "(boolean | undefined)",
|
|
1822
|
+
value: input3.isleaf
|
|
1823
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1824
|
+
path: _path2 + ".values",
|
|
1825
|
+
expected: "(TermValues | undefined)",
|
|
1826
|
+
value: input3.values
|
|
1827
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1828
|
+
path: _path2 + ".values",
|
|
1829
|
+
expected: "(TermValues | undefined)",
|
|
1830
|
+
value: input3.values
|
|
1831
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1832
|
+
path: _path2 + ".skipValuesBuild",
|
|
1833
|
+
expected: "(boolean | undefined)",
|
|
1834
|
+
value: input3.skipValuesBuild
|
|
1835
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1836
|
+
path: _path2 + ".valueConversion",
|
|
1837
|
+
expected: "(__type.o1 | undefined)",
|
|
1838
|
+
value: input3.valueConversion
|
|
1839
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1840
|
+
path: _path2 + ".valueConversion",
|
|
1841
|
+
expected: "(__type.o1 | undefined)",
|
|
1842
|
+
value: input3.valueConversion
|
|
1843
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1844
|
+
path: _path2 + ".continuousColorScale",
|
|
1845
|
+
expected: "(__type.o3 | undefined)",
|
|
1846
|
+
value: input3.continuousColorScale
|
|
1847
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1848
|
+
path: _path2 + ".continuousColorScale",
|
|
1849
|
+
expected: "(__type.o3 | undefined)",
|
|
1850
|
+
value: input3.continuousColorScale
|
|
1851
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1852
|
+
path: _path2 + ".unit",
|
|
1853
|
+
expected: "(string | undefined)",
|
|
1854
|
+
value: input3.unit
|
|
1855
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1856
|
+
path: _path2 + ".gene",
|
|
1857
|
+
expected: "string",
|
|
1858
|
+
value: input3.gene
|
|
1859
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
1860
|
+
path: _path2 + ".sample",
|
|
1861
|
+
expected: "string",
|
|
1862
|
+
value: input3.sample
|
|
1863
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1864
|
+
path: _path2 + ".bins",
|
|
1865
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1866
|
+
value: input3.bins
|
|
1867
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1868
|
+
path: _path2 + ".bins",
|
|
1869
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1870
|
+
value: input3.bins
|
|
1871
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1872
|
+
path: _path2 + ".kind",
|
|
1873
|
+
expected: '("coord" | undefined)',
|
|
1874
|
+
value: input3.kind
|
|
1875
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1876
|
+
path: _path2 + ".chr",
|
|
1877
|
+
expected: "string",
|
|
1878
|
+
value: input3.chr
|
|
1879
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1880
|
+
path: _path2 + ".start",
|
|
1881
|
+
expected: "number",
|
|
1882
|
+
value: input3.start
|
|
1883
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1884
|
+
path: _path2 + ".stop",
|
|
1885
|
+
expected: "number",
|
|
1886
|
+
value: input3.stop
|
|
1887
|
+
})].every((flag) => flag);
|
|
1888
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1889
|
+
path: _path2 + ".key",
|
|
1890
|
+
expected: "string",
|
|
1891
|
+
value: input3.key
|
|
1892
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1893
|
+
path: _path2 + ".value",
|
|
1894
|
+
expected: "number",
|
|
1895
|
+
value: input3.value
|
|
1896
|
+
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1897
|
+
path: _path2 + ".uncomputable",
|
|
1898
|
+
expected: "true",
|
|
1899
|
+
value: input3.uncomputable
|
|
1900
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1901
|
+
path: _path2 + ".label",
|
|
1902
|
+
expected: "(string | undefined)",
|
|
1903
|
+
value: input3.label
|
|
1904
|
+
})].every((flag) => flag);
|
|
1905
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1906
|
+
path: _path2 + ".join",
|
|
1907
|
+
expected: "(string | undefined)",
|
|
1908
|
+
value: input3.join
|
|
1909
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1910
|
+
path: _path2 + ".isnot",
|
|
1911
|
+
expected: "(boolean | undefined)",
|
|
1912
|
+
value: input3.isnot
|
|
1913
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1914
|
+
path: _path2 + ".term",
|
|
1915
|
+
expected: "ConditionTerm",
|
|
1916
|
+
value: input3.term
|
|
1917
|
+
})) && $vo34(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1918
|
+
path: _path2 + ".term",
|
|
1919
|
+
expected: "ConditionTerm",
|
|
1920
|
+
value: input3.term
|
|
1921
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1922
|
+
path: _path2 + ".value_by_max_grade",
|
|
1923
|
+
expected: "(boolean | undefined)",
|
|
1924
|
+
value: input3.value_by_max_grade
|
|
1925
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1926
|
+
path: _path2 + ".value_by_most_recent",
|
|
1927
|
+
expected: "(boolean | undefined)",
|
|
1928
|
+
value: input3.value_by_most_recent
|
|
1929
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1930
|
+
path: _path2 + ".value_by_computable_grade",
|
|
1931
|
+
expected: "(boolean | undefined)",
|
|
1932
|
+
value: input3.value_by_computable_grade
|
|
1933
|
+
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1934
|
+
path: _path2 + ".grade_and_child",
|
|
1935
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1936
|
+
value: input3.grade_and_child
|
|
1937
|
+
})) && input3.grade_and_child.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1938
|
+
path: _path2 + ".grade_and_child[" + _index32 + "]",
|
|
1939
|
+
expected: "GradeAndChildEntry",
|
|
1940
|
+
value: elem
|
|
1941
|
+
})) && $vo35(elem, _path2 + ".grade_and_child[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1942
|
+
path: _path2 + ".grade_and_child[" + _index32 + "]",
|
|
1943
|
+
expected: "GradeAndChildEntry",
|
|
1944
|
+
value: elem
|
|
1945
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1946
|
+
path: _path2 + ".grade_and_child",
|
|
1947
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1948
|
+
value: input3.grade_and_child
|
|
1949
|
+
})].every((flag) => flag);
|
|
1950
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1951
|
+
path: _path2 + ".id",
|
|
1952
|
+
expected: "string",
|
|
1953
|
+
value: input3.id
|
|
1954
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1955
|
+
path: _path2 + ".name",
|
|
1956
|
+
expected: "string",
|
|
1957
|
+
value: input3.name
|
|
1958
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
1959
|
+
path: _path2 + ".type",
|
|
1960
|
+
expected: '"condition"',
|
|
1961
|
+
value: input3.type
|
|
1962
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1963
|
+
path: _path2 + ".child_types",
|
|
1964
|
+
expected: "(Array<string> | undefined)",
|
|
1965
|
+
value: input3.child_types
|
|
1966
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1967
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
1968
|
+
expected: "string",
|
|
1969
|
+
value: elem
|
|
1970
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1971
|
+
path: _path2 + ".child_types",
|
|
1972
|
+
expected: "(Array<string> | undefined)",
|
|
1973
|
+
value: input3.child_types
|
|
1974
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1975
|
+
path: _path2 + ".hashtmldetail",
|
|
1976
|
+
expected: "(boolean | undefined)",
|
|
1977
|
+
value: input3.hashtmldetail
|
|
1978
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1979
|
+
path: _path2 + ".included_types",
|
|
1980
|
+
expected: "(Array<string> | undefined)",
|
|
1981
|
+
value: input3.included_types
|
|
1982
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1983
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
1984
|
+
expected: "string",
|
|
1985
|
+
value: elem
|
|
1986
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1987
|
+
path: _path2 + ".included_types",
|
|
1988
|
+
expected: "(Array<string> | undefined)",
|
|
1989
|
+
value: input3.included_types
|
|
1990
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1991
|
+
path: _path2 + ".isleaf",
|
|
1992
|
+
expected: "(boolean | undefined)",
|
|
1993
|
+
value: input3.isleaf
|
|
1994
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1995
|
+
path: _path2 + ".values",
|
|
1996
|
+
expected: "(TermValues | undefined)",
|
|
1997
|
+
value: input3.values
|
|
1998
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1999
|
+
path: _path2 + ".values",
|
|
2000
|
+
expected: "(TermValues | undefined)",
|
|
2001
|
+
value: input3.values
|
|
2002
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2003
|
+
path: _path2 + ".skipValuesBuild",
|
|
2004
|
+
expected: "(boolean | undefined)",
|
|
2005
|
+
value: input3.skipValuesBuild
|
|
2006
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2007
|
+
path: _path2 + ".valueConversion",
|
|
2008
|
+
expected: "(__type.o1 | undefined)",
|
|
2009
|
+
value: input3.valueConversion
|
|
2010
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2011
|
+
path: _path2 + ".valueConversion",
|
|
2012
|
+
expected: "(__type.o1 | undefined)",
|
|
2013
|
+
value: input3.valueConversion
|
|
2014
|
+
})].every((flag) => flag);
|
|
2015
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2016
|
+
path: _path2 + ".grade",
|
|
2017
|
+
expected: "number",
|
|
2018
|
+
value: input3.grade
|
|
2019
|
+
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
2020
|
+
path: _path2 + ".grade_label",
|
|
2021
|
+
expected: "string",
|
|
2022
|
+
value: input3.grade_label
|
|
2023
|
+
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
2024
|
+
path: _path2 + ".child_id",
|
|
2025
|
+
expected: "(string | undefined)",
|
|
2026
|
+
value: input3.child_id
|
|
2027
|
+
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
2028
|
+
path: _path2 + ".child_label",
|
|
2029
|
+
expected: "string",
|
|
2030
|
+
value: input3.child_label
|
|
2031
|
+
})].every((flag) => flag);
|
|
2032
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2033
|
+
path: _path2 + ".join",
|
|
2034
|
+
expected: "(string | undefined)",
|
|
2035
|
+
value: input3.join
|
|
2036
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
2037
|
+
path: _path2 + ".isnot",
|
|
2038
|
+
expected: "(boolean | undefined)",
|
|
2039
|
+
value: input3.isnot
|
|
2040
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2041
|
+
path: _path2 + ".term",
|
|
2042
|
+
expected: "DtTerm",
|
|
2043
|
+
value: input3.term
|
|
2044
|
+
})) && $vo37(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2045
|
+
path: _path2 + ".term",
|
|
2046
|
+
expected: "DtTerm",
|
|
2047
|
+
value: input3.term
|
|
2048
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2049
|
+
path: _path2 + ".values",
|
|
2050
|
+
expected: "Array<__type>.o2",
|
|
2051
|
+
value: input3.values
|
|
2052
|
+
})) && input3.values.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2053
|
+
path: _path2 + ".values[" + _index35 + "]",
|
|
2054
|
+
expected: "__type.o5",
|
|
2055
|
+
value: elem
|
|
2056
|
+
})) && $vo42(elem, _path2 + ".values[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2057
|
+
path: _path2 + ".values[" + _index35 + "]",
|
|
2058
|
+
expected: "__type.o5",
|
|
2059
|
+
value: elem
|
|
2060
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2061
|
+
path: _path2 + ".values",
|
|
2062
|
+
expected: "Array<__type>.o2",
|
|
2063
|
+
value: input3.values
|
|
2064
|
+
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2065
|
+
path: _path2 + ".includeNotTested",
|
|
2066
|
+
expected: "(boolean | undefined)",
|
|
2067
|
+
value: input3.includeNotTested
|
|
2068
|
+
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
2069
|
+
path: _path2 + ".excludeGeneName",
|
|
2070
|
+
expected: "(boolean | undefined)",
|
|
2071
|
+
value: input3.excludeGeneName
|
|
2072
|
+
})].every((flag) => flag);
|
|
2073
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2074
|
+
path: _path2 + ".id",
|
|
2075
|
+
expected: "string",
|
|
2076
|
+
value: input3.id
|
|
2077
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
2078
|
+
path: _path2 + ".query",
|
|
2079
|
+
expected: "string",
|
|
2080
|
+
value: input3.query
|
|
2081
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2082
|
+
path: _path2 + ".name",
|
|
2083
|
+
expected: "string",
|
|
2084
|
+
value: input3.name
|
|
2085
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
2086
|
+
path: _path2 + ".name_noOrigin",
|
|
2087
|
+
expected: "string",
|
|
2088
|
+
value: input3.name_noOrigin
|
|
2089
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
2090
|
+
path: _path2 + ".parentTerm",
|
|
2091
|
+
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
|
+
value: input3.parentTerm
|
|
2093
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2094
|
+
path: _path2 + ".parentTerm",
|
|
2095
|
+
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
|
+
value: input3.parentTerm
|
|
2097
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2098
|
+
path: _path2 + ".isleaf",
|
|
2099
|
+
expected: "boolean",
|
|
2100
|
+
value: input3.isleaf
|
|
2101
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2102
|
+
path: _path2 + ".type",
|
|
2103
|
+
expected: "string",
|
|
2104
|
+
value: input3.type
|
|
2105
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2106
|
+
path: _path2 + ".dt",
|
|
2107
|
+
expected: "number",
|
|
2108
|
+
value: input3.dt
|
|
2109
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2110
|
+
path: _path2 + ".origin",
|
|
2111
|
+
expected: "(string | undefined)",
|
|
2112
|
+
value: input3.origin
|
|
2113
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2114
|
+
path: _path2 + ".values",
|
|
2115
|
+
expected: "TermValues",
|
|
2116
|
+
value: input3.values
|
|
2117
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2118
|
+
path: _path2 + ".values",
|
|
2119
|
+
expected: "TermValues",
|
|
2120
|
+
value: input3.values
|
|
2121
|
+
})].every((flag) => flag);
|
|
2122
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2123
|
+
path: _path2 + ".id",
|
|
2124
|
+
expected: "string",
|
|
2125
|
+
value: input3.id
|
|
2126
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2127
|
+
path: _path2 + ".name",
|
|
2128
|
+
expected: "string",
|
|
2129
|
+
value: input3.name
|
|
2130
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2131
|
+
path: _path2 + ".type",
|
|
2132
|
+
expected: '"geneVariant"',
|
|
2133
|
+
value: input3.type
|
|
2134
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2135
|
+
path: _path2 + ".child_types",
|
|
2136
|
+
expected: "(Array<string> | undefined)",
|
|
2137
|
+
value: input3.child_types
|
|
2138
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2139
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
2140
|
+
expected: "string",
|
|
2141
|
+
value: elem
|
|
2142
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2143
|
+
path: _path2 + ".child_types",
|
|
2144
|
+
expected: "(Array<string> | undefined)",
|
|
2145
|
+
value: input3.child_types
|
|
2146
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2147
|
+
path: _path2 + ".hashtmldetail",
|
|
2148
|
+
expected: "(boolean | undefined)",
|
|
2149
|
+
value: input3.hashtmldetail
|
|
2150
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2151
|
+
path: _path2 + ".included_types",
|
|
2152
|
+
expected: "(Array<string> | undefined)",
|
|
2153
|
+
value: input3.included_types
|
|
2154
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2155
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
2156
|
+
expected: "string",
|
|
2157
|
+
value: elem
|
|
2158
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2159
|
+
path: _path2 + ".included_types",
|
|
2160
|
+
expected: "(Array<string> | undefined)",
|
|
2161
|
+
value: input3.included_types
|
|
2162
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2163
|
+
path: _path2 + ".isleaf",
|
|
2164
|
+
expected: "(boolean | undefined)",
|
|
2165
|
+
value: input3.isleaf
|
|
2166
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2167
|
+
path: _path2 + ".values",
|
|
2168
|
+
expected: "(TermValues | undefined)",
|
|
2169
|
+
value: input3.values
|
|
2170
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2171
|
+
path: _path2 + ".values",
|
|
2172
|
+
expected: "(TermValues | undefined)",
|
|
2173
|
+
value: input3.values
|
|
2174
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2175
|
+
path: _path2 + ".skipValuesBuild",
|
|
2176
|
+
expected: "(boolean | undefined)",
|
|
2177
|
+
value: input3.skipValuesBuild
|
|
2178
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2179
|
+
path: _path2 + ".valueConversion",
|
|
2180
|
+
expected: "(__type.o1 | undefined)",
|
|
2181
|
+
value: input3.valueConversion
|
|
2182
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2183
|
+
path: _path2 + ".valueConversion",
|
|
2184
|
+
expected: "(__type.o1 | undefined)",
|
|
2185
|
+
value: input3.valueConversion
|
|
2186
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2187
|
+
path: _path2 + ".kind",
|
|
2188
|
+
expected: '"gene"',
|
|
2189
|
+
value: input3.kind
|
|
2190
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2191
|
+
path: _path2 + ".gene",
|
|
2192
|
+
expected: "string",
|
|
2193
|
+
value: input3.gene
|
|
2194
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2195
|
+
path: _path2 + ".chr",
|
|
2196
|
+
expected: "(string | undefined)",
|
|
2197
|
+
value: input3.chr
|
|
2198
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2199
|
+
path: _path2 + ".start",
|
|
2200
|
+
expected: "(number | undefined)",
|
|
2201
|
+
value: input3.start
|
|
2202
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2203
|
+
path: _path2 + ".stop",
|
|
2204
|
+
expected: "(number | undefined)",
|
|
2205
|
+
value: input3.stop
|
|
2206
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
2207
|
+
path: _path2 + ".genes",
|
|
2208
|
+
expected: "Array<GvGeneTerm>",
|
|
2209
|
+
value: input3.genes
|
|
2210
|
+
})) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2211
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
2212
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2213
|
+
value: elem
|
|
2214
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2215
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
2216
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2217
|
+
value: elem
|
|
2218
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2219
|
+
path: _path2 + ".genes",
|
|
2220
|
+
expected: "Array<GvGeneTerm>",
|
|
1796
2221
|
value: input3.genes
|
|
1797
2222
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1798
2223
|
path: _path2 + ".groupsetting",
|
|
@@ -1806,12 +2231,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1806
2231
|
path: _path2 + ".childTerms",
|
|
1807
2232
|
expected: "(Array<DtTerm> | undefined)",
|
|
1808
2233
|
value: input3.childTerms
|
|
1809
|
-
})) && input3.childTerms.map((elem,
|
|
1810
|
-
path: _path2 + ".childTerms[" +
|
|
2234
|
+
})) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2235
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1811
2236
|
expected: "DtTerm",
|
|
1812
2237
|
value: elem
|
|
1813
|
-
})) && $
|
|
1814
|
-
path: _path2 + ".childTerms[" +
|
|
2238
|
+
})) && $vo37(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2239
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1815
2240
|
expected: "DtTerm",
|
|
1816
2241
|
value: elem
|
|
1817
2242
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1819,7 +2244,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1819
2244
|
expected: "(Array<DtTerm> | undefined)",
|
|
1820
2245
|
value: input3.childTerms
|
|
1821
2246
|
})].every((flag) => flag);
|
|
1822
|
-
const $
|
|
2247
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1823
2248
|
path: _path2 + ".id",
|
|
1824
2249
|
expected: "string",
|
|
1825
2250
|
value: input3.id
|
|
@@ -1835,8 +2260,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1835
2260
|
path: _path2 + ".child_types",
|
|
1836
2261
|
expected: "(Array<string> | undefined)",
|
|
1837
2262
|
value: input3.child_types
|
|
1838
|
-
})) && input3.child_types.map((elem,
|
|
1839
|
-
path: _path2 + ".child_types[" +
|
|
2263
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2264
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
1840
2265
|
expected: "string",
|
|
1841
2266
|
value: elem
|
|
1842
2267
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1851,8 +2276,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1851
2276
|
path: _path2 + ".included_types",
|
|
1852
2277
|
expected: "(Array<string> | undefined)",
|
|
1853
2278
|
value: input3.included_types
|
|
1854
|
-
})) && input3.included_types.map((elem,
|
|
1855
|
-
path: _path2 + ".included_types[" +
|
|
2279
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2280
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
1856
2281
|
expected: "string",
|
|
1857
2282
|
value: elem
|
|
1858
2283
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1904,7 +2329,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1904
2329
|
expected: "(number | undefined)",
|
|
1905
2330
|
value: input3.stop
|
|
1906
2331
|
})].every((flag) => flag);
|
|
1907
|
-
const $
|
|
2332
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1908
2333
|
path: _path2 + ".id",
|
|
1909
2334
|
expected: "string",
|
|
1910
2335
|
value: input3.id
|
|
@@ -1920,8 +2345,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1920
2345
|
path: _path2 + ".child_types",
|
|
1921
2346
|
expected: "(Array<string> | undefined)",
|
|
1922
2347
|
value: input3.child_types
|
|
1923
|
-
})) && input3.child_types.map((elem,
|
|
1924
|
-
path: _path2 + ".child_types[" +
|
|
2348
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2349
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
1925
2350
|
expected: "string",
|
|
1926
2351
|
value: elem
|
|
1927
2352
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1936,8 +2361,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1936
2361
|
path: _path2 + ".included_types",
|
|
1937
2362
|
expected: "(Array<string> | undefined)",
|
|
1938
2363
|
value: input3.included_types
|
|
1939
|
-
})) && input3.included_types.map((elem,
|
|
1940
|
-
path: _path2 + ".included_types[" +
|
|
2364
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2365
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
1941
2366
|
expected: "string",
|
|
1942
2367
|
value: elem
|
|
1943
2368
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1985,7 +2410,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1985
2410
|
expected: "number",
|
|
1986
2411
|
value: input3.stop
|
|
1987
2412
|
})].every((flag) => flag);
|
|
1988
|
-
const $
|
|
2413
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1989
2414
|
path: _path2 + ".id",
|
|
1990
2415
|
expected: "string",
|
|
1991
2416
|
value: input3.id
|
|
@@ -2001,8 +2426,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2001
2426
|
path: _path2 + ".child_types",
|
|
2002
2427
|
expected: "(Array<string> | undefined)",
|
|
2003
2428
|
value: input3.child_types
|
|
2004
|
-
})) && input3.child_types.map((elem,
|
|
2005
|
-
path: _path2 + ".child_types[" +
|
|
2429
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2430
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
2006
2431
|
expected: "string",
|
|
2007
2432
|
value: elem
|
|
2008
2433
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2017,8 +2442,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2017
2442
|
path: _path2 + ".included_types",
|
|
2018
2443
|
expected: "(Array<string> | undefined)",
|
|
2019
2444
|
value: input3.included_types
|
|
2020
|
-
})) && input3.included_types.map((elem,
|
|
2021
|
-
path: _path2 + ".included_types[" +
|
|
2445
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2446
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
2022
2447
|
expected: "string",
|
|
2023
2448
|
value: elem
|
|
2024
2449
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2069,12 +2494,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2069
2494
|
path: _path2 + ".genes",
|
|
2070
2495
|
expected: "Array<GvGeneTerm>",
|
|
2071
2496
|
value: input3.genes
|
|
2072
|
-
})) && input3.genes.map((elem,
|
|
2073
|
-
path: _path2 + ".genes[" +
|
|
2497
|
+
})) && input3.genes.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2498
|
+
path: _path2 + ".genes[" + _index46 + "]",
|
|
2074
2499
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2075
2500
|
value: elem
|
|
2076
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2077
|
-
path: _path2 + ".genes[" +
|
|
2501
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2502
|
+
path: _path2 + ".genes[" + _index46 + "]",
|
|
2078
2503
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2079
2504
|
value: elem
|
|
2080
2505
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2093,12 +2518,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2093
2518
|
path: _path2 + ".childTerms",
|
|
2094
2519
|
expected: "(Array<DtTerm> | undefined)",
|
|
2095
2520
|
value: input3.childTerms
|
|
2096
|
-
})) && input3.childTerms.map((elem,
|
|
2097
|
-
path: _path2 + ".childTerms[" +
|
|
2521
|
+
})) && input3.childTerms.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2522
|
+
path: _path2 + ".childTerms[" + _index47 + "]",
|
|
2098
2523
|
expected: "DtTerm",
|
|
2099
2524
|
value: elem
|
|
2100
|
-
})) && $
|
|
2101
|
-
path: _path2 + ".childTerms[" +
|
|
2525
|
+
})) && $vo37(elem, _path2 + ".childTerms[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2526
|
+
path: _path2 + ".childTerms[" + _index47 + "]",
|
|
2102
2527
|
expected: "DtTerm",
|
|
2103
2528
|
value: elem
|
|
2104
2529
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2106,7 +2531,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2106
2531
|
expected: "(Array<DtTerm> | undefined)",
|
|
2107
2532
|
value: input3.childTerms
|
|
2108
2533
|
})].every((flag) => flag);
|
|
2109
|
-
const $
|
|
2534
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2110
2535
|
path: _path2 + ".key",
|
|
2111
2536
|
expected: "string",
|
|
2112
2537
|
value: input3.key
|
|
@@ -2119,7 +2544,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2119
2544
|
expected: "string",
|
|
2120
2545
|
value: input3.value
|
|
2121
2546
|
})].every((flag) => flag);
|
|
2122
|
-
const $
|
|
2547
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2123
2548
|
path: _path2 + ".join",
|
|
2124
2549
|
expected: "(string | undefined)",
|
|
2125
2550
|
value: input3.join
|
|
@@ -2129,18 +2554,18 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2129
2554
|
value: input3.isnot
|
|
2130
2555
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2131
2556
|
path: _path2 + ".term",
|
|
2132
|
-
expected: "
|
|
2557
|
+
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2133
2558
|
value: input3.term
|
|
2134
|
-
})) && $
|
|
2559
|
+
})) && $vu10(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2135
2560
|
path: _path2 + ".term",
|
|
2136
|
-
expected: "
|
|
2561
|
+
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2137
2562
|
value: input3.term
|
|
2138
2563
|
}), "number" === typeof input3.ratio || $report(_exceptionable2, {
|
|
2139
2564
|
path: _path2 + ".ratio",
|
|
2140
2565
|
expected: "number",
|
|
2141
2566
|
value: input3.ratio
|
|
2142
2567
|
})].every((flag) => flag);
|
|
2143
|
-
const $
|
|
2568
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2144
2569
|
path: _path2 + ".id",
|
|
2145
2570
|
expected: "string",
|
|
2146
2571
|
value: input3.id
|
|
@@ -2156,8 +2581,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2156
2581
|
path: _path2 + ".child_types",
|
|
2157
2582
|
expected: "(Array<string> | undefined)",
|
|
2158
2583
|
value: input3.child_types
|
|
2159
|
-
})) && input3.child_types.map((elem,
|
|
2160
|
-
path: _path2 + ".child_types[" +
|
|
2584
|
+
})) && input3.child_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2585
|
+
path: _path2 + ".child_types[" + _index48 + "]",
|
|
2161
2586
|
expected: "string",
|
|
2162
2587
|
value: elem
|
|
2163
2588
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2172,8 +2597,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2172
2597
|
path: _path2 + ".included_types",
|
|
2173
2598
|
expected: "(Array<string> | undefined)",
|
|
2174
2599
|
value: input3.included_types
|
|
2175
|
-
})) && input3.included_types.map((elem,
|
|
2176
|
-
path: _path2 + ".included_types[" +
|
|
2600
|
+
})) && input3.included_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2601
|
+
path: _path2 + ".included_types[" + _index49 + "]",
|
|
2177
2602
|
expected: "string",
|
|
2178
2603
|
value: elem
|
|
2179
2604
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2208,34 +2633,34 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2208
2633
|
path: _path2 + ".collectionId",
|
|
2209
2634
|
expected: "(string | undefined)",
|
|
2210
2635
|
value: input3.collectionId
|
|
2636
|
+
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2637
|
+
path: _path2 + ".termIds",
|
|
2638
|
+
expected: "(Array<string> | undefined)",
|
|
2639
|
+
value: input3.termIds
|
|
2640
|
+
})) && input3.termIds.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2641
|
+
path: _path2 + ".termIds[" + _index50 + "]",
|
|
2642
|
+
expected: "string",
|
|
2643
|
+
value: elem
|
|
2644
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2645
|
+
path: _path2 + ".termIds",
|
|
2646
|
+
expected: "(Array<string> | undefined)",
|
|
2647
|
+
value: input3.termIds
|
|
2211
2648
|
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2212
2649
|
path: _path2 + ".termlst",
|
|
2213
2650
|
expected: "Array<BaseTerm>",
|
|
2214
2651
|
value: input3.termlst
|
|
2215
|
-
})) && input3.termlst.map((elem,
|
|
2216
|
-
path: _path2 + ".termlst[" +
|
|
2652
|
+
})) && input3.termlst.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2653
|
+
path: _path2 + ".termlst[" + _index51 + "]",
|
|
2217
2654
|
expected: "BaseTerm",
|
|
2218
2655
|
value: elem
|
|
2219
|
-
})) && $
|
|
2220
|
-
path: _path2 + ".termlst[" +
|
|
2656
|
+
})) && $vo45(elem, _path2 + ".termlst[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2657
|
+
path: _path2 + ".termlst[" + _index51 + "]",
|
|
2221
2658
|
expected: "BaseTerm",
|
|
2222
2659
|
value: elem
|
|
2223
2660
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2224
2661
|
path: _path2 + ".termlst",
|
|
2225
2662
|
expected: "Array<BaseTerm>",
|
|
2226
2663
|
value: input3.termlst
|
|
2227
|
-
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2228
|
-
path: _path2 + ".numerators",
|
|
2229
|
-
expected: "(Array<string> | undefined)",
|
|
2230
|
-
value: input3.numerators
|
|
2231
|
-
})) && input3.numerators.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2232
|
-
path: _path2 + ".numerators[" + _index43 + "]",
|
|
2233
|
-
expected: "string",
|
|
2234
|
-
value: elem
|
|
2235
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2236
|
-
path: _path2 + ".numerators",
|
|
2237
|
-
expected: "(Array<string> | undefined)",
|
|
2238
|
-
value: input3.numerators
|
|
2239
2664
|
}), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
|
|
2240
2665
|
path: _path2 + ".newTvs",
|
|
2241
2666
|
expected: "(boolean | undefined)",
|
|
@@ -2244,12 +2669,28 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2244
2669
|
path: _path2 + ".propsByTermId",
|
|
2245
2670
|
expected: "__type.o6",
|
|
2246
2671
|
value: input3.propsByTermId
|
|
2247
|
-
})) && $
|
|
2672
|
+
})) && $vo46(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2248
2673
|
path: _path2 + ".propsByTermId",
|
|
2249
2674
|
expected: "__type.o6",
|
|
2250
2675
|
value: input3.propsByTermId
|
|
2676
|
+
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2677
|
+
path: _path2 + ".memberType",
|
|
2678
|
+
expected: '"numeric"',
|
|
2679
|
+
value: input3.memberType
|
|
2680
|
+
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2681
|
+
path: _path2 + ".numerators",
|
|
2682
|
+
expected: "(Array<string> | undefined)",
|
|
2683
|
+
value: input3.numerators
|
|
2684
|
+
})) && input3.numerators.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2685
|
+
path: _path2 + ".numerators[" + _index52 + "]",
|
|
2686
|
+
expected: "string",
|
|
2687
|
+
value: elem
|
|
2688
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2689
|
+
path: _path2 + ".numerators",
|
|
2690
|
+
expected: "(Array<string> | undefined)",
|
|
2691
|
+
value: input3.numerators
|
|
2251
2692
|
})].every((flag) => flag);
|
|
2252
|
-
const $
|
|
2693
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2253
2694
|
path: _path2 + ".id",
|
|
2254
2695
|
expected: "string",
|
|
2255
2696
|
value: input3.id
|
|
@@ -2265,8 +2706,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2265
2706
|
path: _path2 + ".child_types",
|
|
2266
2707
|
expected: "(Array<string> | undefined)",
|
|
2267
2708
|
value: input3.child_types
|
|
2268
|
-
})) && input3.child_types.map((elem,
|
|
2269
|
-
path: _path2 + ".child_types[" +
|
|
2709
|
+
})) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2710
|
+
path: _path2 + ".child_types[" + _index53 + "]",
|
|
2270
2711
|
expected: "string",
|
|
2271
2712
|
value: elem
|
|
2272
2713
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2281,8 +2722,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2281
2722
|
path: _path2 + ".included_types",
|
|
2282
2723
|
expected: "(Array<string> | undefined)",
|
|
2283
2724
|
value: input3.included_types
|
|
2284
|
-
})) && input3.included_types.map((elem,
|
|
2285
|
-
path: _path2 + ".included_types[" +
|
|
2725
|
+
})) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2726
|
+
path: _path2 + ".included_types[" + _index54 + "]",
|
|
2286
2727
|
expected: "string",
|
|
2287
2728
|
value: elem
|
|
2288
2729
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2314,7 +2755,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2314
2755
|
expected: "(__type.o1 | undefined)",
|
|
2315
2756
|
value: input3.valueConversion
|
|
2316
2757
|
})].every((flag) => flag);
|
|
2317
|
-
const $
|
|
2758
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2318
2759
|
const value = input3[key];
|
|
2319
2760
|
if (void 0 === value)
|
|
2320
2761
|
return true;
|
|
@@ -2323,14 +2764,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2323
2764
|
path: _path2 + $join(key),
|
|
2324
2765
|
expected: "__type.o7",
|
|
2325
2766
|
value
|
|
2326
|
-
})) && $
|
|
2767
|
+
})) && $vo47(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2327
2768
|
path: _path2 + $join(key),
|
|
2328
2769
|
expected: "__type.o7",
|
|
2329
2770
|
value
|
|
2330
2771
|
});
|
|
2331
2772
|
return true;
|
|
2332
2773
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2333
|
-
const $
|
|
2774
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2334
2775
|
const value = input3[key];
|
|
2335
2776
|
if (void 0 === value)
|
|
2336
2777
|
return true;
|
|
@@ -2338,6 +2779,144 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2338
2779
|
return true;
|
|
2339
2780
|
return true;
|
|
2340
2781
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2782
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2783
|
+
path: _path2 + ".id",
|
|
2784
|
+
expected: "string",
|
|
2785
|
+
value: input3.id
|
|
2786
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2787
|
+
path: _path2 + ".name",
|
|
2788
|
+
expected: "string",
|
|
2789
|
+
value: input3.name
|
|
2790
|
+
}), "termCollection" === input3.type || $report(_exceptionable2, {
|
|
2791
|
+
path: _path2 + ".type",
|
|
2792
|
+
expected: '"termCollection"',
|
|
2793
|
+
value: input3.type
|
|
2794
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2795
|
+
path: _path2 + ".child_types",
|
|
2796
|
+
expected: "(Array<string> | undefined)",
|
|
2797
|
+
value: input3.child_types
|
|
2798
|
+
})) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2799
|
+
path: _path2 + ".child_types[" + _index55 + "]",
|
|
2800
|
+
expected: "string",
|
|
2801
|
+
value: elem
|
|
2802
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2803
|
+
path: _path2 + ".child_types",
|
|
2804
|
+
expected: "(Array<string> | undefined)",
|
|
2805
|
+
value: input3.child_types
|
|
2806
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2807
|
+
path: _path2 + ".hashtmldetail",
|
|
2808
|
+
expected: "(boolean | undefined)",
|
|
2809
|
+
value: input3.hashtmldetail
|
|
2810
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2811
|
+
path: _path2 + ".included_types",
|
|
2812
|
+
expected: "(Array<string> | undefined)",
|
|
2813
|
+
value: input3.included_types
|
|
2814
|
+
})) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2815
|
+
path: _path2 + ".included_types[" + _index56 + "]",
|
|
2816
|
+
expected: "string",
|
|
2817
|
+
value: elem
|
|
2818
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2819
|
+
path: _path2 + ".included_types",
|
|
2820
|
+
expected: "(Array<string> | undefined)",
|
|
2821
|
+
value: input3.included_types
|
|
2822
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2823
|
+
path: _path2 + ".isleaf",
|
|
2824
|
+
expected: "(boolean | undefined)",
|
|
2825
|
+
value: input3.isleaf
|
|
2826
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2827
|
+
path: _path2 + ".values",
|
|
2828
|
+
expected: "(TermValues | undefined)",
|
|
2829
|
+
value: input3.values
|
|
2830
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2831
|
+
path: _path2 + ".values",
|
|
2832
|
+
expected: "(TermValues | undefined)",
|
|
2833
|
+
value: input3.values
|
|
2834
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2835
|
+
path: _path2 + ".skipValuesBuild",
|
|
2836
|
+
expected: "(boolean | undefined)",
|
|
2837
|
+
value: input3.skipValuesBuild
|
|
2838
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2839
|
+
path: _path2 + ".valueConversion",
|
|
2840
|
+
expected: "(__type.o1 | undefined)",
|
|
2841
|
+
value: input3.valueConversion
|
|
2842
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2843
|
+
path: _path2 + ".valueConversion",
|
|
2844
|
+
expected: "(__type.o1 | undefined)",
|
|
2845
|
+
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
|
+
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2851
|
+
path: _path2 + ".termIds",
|
|
2852
|
+
expected: "(Array<string> | undefined)",
|
|
2853
|
+
value: input3.termIds
|
|
2854
|
+
})) && input3.termIds.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2855
|
+
path: _path2 + ".termIds[" + _index57 + "]",
|
|
2856
|
+
expected: "string",
|
|
2857
|
+
value: elem
|
|
2858
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2859
|
+
path: _path2 + ".termIds",
|
|
2860
|
+
expected: "(Array<string> | undefined)",
|
|
2861
|
+
value: input3.termIds
|
|
2862
|
+
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2863
|
+
path: _path2 + ".termlst",
|
|
2864
|
+
expected: "Array<BaseTerm>",
|
|
2865
|
+
value: input3.termlst
|
|
2866
|
+
})) && input3.termlst.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2867
|
+
path: _path2 + ".termlst[" + _index58 + "]",
|
|
2868
|
+
expected: "BaseTerm",
|
|
2869
|
+
value: elem
|
|
2870
|
+
})) && $vo45(elem, _path2 + ".termlst[" + _index58 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2871
|
+
path: _path2 + ".termlst[" + _index58 + "]",
|
|
2872
|
+
expected: "BaseTerm",
|
|
2873
|
+
value: elem
|
|
2874
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2875
|
+
path: _path2 + ".termlst",
|
|
2876
|
+
expected: "Array<BaseTerm>",
|
|
2877
|
+
value: input3.termlst
|
|
2878
|
+
}), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
|
|
2879
|
+
path: _path2 + ".newTvs",
|
|
2880
|
+
expected: "(boolean | undefined)",
|
|
2881
|
+
value: input3.newTvs
|
|
2882
|
+
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2883
|
+
path: _path2 + ".propsByTermId",
|
|
2884
|
+
expected: "__type.o6",
|
|
2885
|
+
value: input3.propsByTermId
|
|
2886
|
+
})) && $vo46(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2887
|
+
path: _path2 + ".propsByTermId",
|
|
2888
|
+
expected: "__type.o6",
|
|
2889
|
+
value: input3.propsByTermId
|
|
2890
|
+
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
2891
|
+
path: _path2 + ".memberType",
|
|
2892
|
+
expected: '"categorical"',
|
|
2893
|
+
value: input3.memberType
|
|
2894
|
+
}), (Array.isArray(input3.categoryKeys) || $report(_exceptionable2, {
|
|
2895
|
+
path: _path2 + ".categoryKeys",
|
|
2896
|
+
expected: "Array<CategoryKey>",
|
|
2897
|
+
value: input3.categoryKeys
|
|
2898
|
+
})) && input3.categoryKeys.map((elem, _index59) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2899
|
+
path: _path2 + ".categoryKeys[" + _index59 + "]",
|
|
2900
|
+
expected: "CategoryKey",
|
|
2901
|
+
value: elem
|
|
2902
|
+
})) && $vo49(elem, _path2 + ".categoryKeys[" + _index59 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2903
|
+
path: _path2 + ".categoryKeys[" + _index59 + "]",
|
|
2904
|
+
expected: "CategoryKey",
|
|
2905
|
+
value: elem
|
|
2906
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2907
|
+
path: _path2 + ".categoryKeys",
|
|
2908
|
+
expected: "Array<CategoryKey>",
|
|
2909
|
+
value: input3.categoryKeys
|
|
2910
|
+
})].every((flag) => flag);
|
|
2911
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2912
|
+
path: _path2 + ".key",
|
|
2913
|
+
expected: "string",
|
|
2914
|
+
value: input3.key
|
|
2915
|
+
}), "boolean" === typeof input3.shown || $report(_exceptionable2, {
|
|
2916
|
+
path: _path2 + ".shown",
|
|
2917
|
+
expected: "boolean",
|
|
2918
|
+
value: input3.shown
|
|
2919
|
+
})].every((flag) => flag);
|
|
2341
2920
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2342
2921
|
if ("tvslst" === input3.type)
|
|
2343
2922
|
return $vo1(input3, _path2, _exceptionable2);
|
|
@@ -2369,9 +2948,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2369
2948
|
})();
|
|
2370
2949
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2371
2950
|
if ("gene" === input3.kind)
|
|
2372
|
-
return $
|
|
2951
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
2373
2952
|
if ("coord" === input3.kind)
|
|
2374
|
-
return $
|
|
2953
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
2375
2954
|
return $report(_exceptionable2, {
|
|
2376
2955
|
path: _path2,
|
|
2377
2956
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2382,19 +2961,23 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2382
2961
|
if (void 0 !== input3.ranges)
|
|
2383
2962
|
return $vo13(input3, _path2, _exceptionable2);
|
|
2384
2963
|
if (void 0 !== input3.ratio)
|
|
2385
|
-
return $
|
|
2386
|
-
return $vo3(input3, _path2, false) || $
|
|
2964
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
2965
|
+
return $vo3(input3, _path2, false) || $vo33(input3, _path2, false) || $vo36(input3, _path2, false);
|
|
2387
2966
|
})();
|
|
2388
2967
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2389
2968
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2390
2969
|
return $vo14(input3, _path2, _exceptionable2);
|
|
2391
2970
|
if ("metaboliteIntensity" === input3.type)
|
|
2392
2971
|
return $vo25(input3, _path2, _exceptionable2);
|
|
2393
|
-
if ("
|
|
2972
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
2394
2973
|
return $vo26(input3, _path2, _exceptionable2);
|
|
2395
|
-
if ("
|
|
2974
|
+
if ("date" === input3.type)
|
|
2396
2975
|
return $vo27(input3, _path2, _exceptionable2);
|
|
2397
|
-
|
|
2976
|
+
if ("ssGSEA" === input3.type)
|
|
2977
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
2978
|
+
if ("dnaMethylation" === input3.type)
|
|
2979
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
2980
|
+
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
2398
2981
|
})();
|
|
2399
2982
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2400
2983
|
if ("regular-bin" === input3.type)
|
|
@@ -2431,15 +3014,26 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2431
3014
|
})();
|
|
2432
3015
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2433
3016
|
if ("gene" === input3.kind)
|
|
2434
|
-
return $
|
|
3017
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
2435
3018
|
if ("coord" === input3.kind)
|
|
2436
|
-
return $
|
|
3019
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
2437
3020
|
return $report(_exceptionable2, {
|
|
2438
3021
|
path: _path2,
|
|
2439
3022
|
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; })',
|
|
2440
3023
|
value: input3
|
|
2441
3024
|
});
|
|
2442
3025
|
})();
|
|
3026
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3027
|
+
if ("numeric" === input3.memberType)
|
|
3028
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
3029
|
+
if ("categorical" === input3.memberType)
|
|
3030
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
3031
|
+
return $report(_exceptionable2, {
|
|
3032
|
+
path: _path2,
|
|
3033
|
+
expected: "(NumericTermCollection | CategoricalTermCollection)",
|
|
3034
|
+
value: input3
|
|
3035
|
+
});
|
|
3036
|
+
})();
|
|
2443
3037
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
2444
3038
|
path: _path + "",
|
|
2445
3039
|
expected: "NumericCategoriesRequest",
|