@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
|
@@ -46,7 +46,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
46
46
|
const $io12 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io13(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
47
47
|
const $io13 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
48
48
|
const $io14 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && "string" === typeof input3.color;
|
|
49
|
-
const $io15 = (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 && $
|
|
49
|
+
const $io15 = (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 && $io34(elem)));
|
|
50
50
|
const $io16 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
51
51
|
const $io17 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
52
52
|
const $io18 = (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);
|
|
@@ -66,31 +66,35 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
66
66
|
const $io25 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
67
67
|
const $io26 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
68
68
|
const $io27 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(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 && $io18(input3.bins));
|
|
69
|
-
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
70
|
-
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
71
|
-
const $io30 = (input3) => "string" === typeof input3.
|
|
72
|
-
const $io31 = (input3) => (void 0 === input3.
|
|
73
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
74
|
-
const $io33 = (input3) => "
|
|
75
|
-
const $io34 = (input3) =>
|
|
76
|
-
const $io35 = (input3) =>
|
|
77
|
-
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
78
|
-
const $io37 = (input3) => "
|
|
79
|
-
const $io38 = (input3) =>
|
|
80
|
-
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
81
|
-
const $io40 = (input3) => "string" === typeof input3.
|
|
82
|
-
const $io41 = (input3) => (void 0 === input3.
|
|
83
|
-
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
84
|
-
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
85
|
-
const $io44 = (input3) =>
|
|
69
|
+
const $io28 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(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 && $io18(input3.bins));
|
|
70
|
+
const $io29 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
71
|
+
const $io30 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(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 && $io18(input3.bins));
|
|
72
|
+
const $io31 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(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 && $io18(input3.bins));
|
|
73
|
+
const $io32 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(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 && $io18(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);
|
|
74
|
+
const $io33 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(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 && $io18(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
76
|
+
const $io35 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io36(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 && $io37(elem)));
|
|
77
|
+
const $io36 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion));
|
|
78
|
+
const $io37 = (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;
|
|
79
|
+
const $io38 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io39(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io44(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
80
|
+
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $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) && $io7(input3.values));
|
|
81
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(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 && $io10(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
82
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(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);
|
|
83
|
+
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
84
|
+
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(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 && $io10(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
85
|
+
const $io44 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
86
|
+
const $io45 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && "number" === typeof input3.ratio;
|
|
87
|
+
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
88
|
+
const $io47 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion));
|
|
89
|
+
const $io48 = (input3) => Object.keys(input3).every((key) => {
|
|
86
90
|
const value = input3[key];
|
|
87
91
|
if (void 0 === value)
|
|
88
92
|
return true;
|
|
89
93
|
if (RegExp(/(.*)/).test(key))
|
|
90
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
94
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io49(value);
|
|
91
95
|
return true;
|
|
92
96
|
});
|
|
93
|
-
const $
|
|
97
|
+
const $io49 = (input3) => Object.keys(input3).every((key) => {
|
|
94
98
|
const value = input3[key];
|
|
95
99
|
if (void 0 === value)
|
|
96
100
|
return true;
|
|
@@ -98,6 +102,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
98
102
|
return true;
|
|
99
103
|
return true;
|
|
100
104
|
});
|
|
105
|
+
const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io51(elem)));
|
|
106
|
+
const $io51 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
101
107
|
const $iu0 = (input3) => (() => {
|
|
102
108
|
if ("tvslst" === input3.type)
|
|
103
109
|
return $io3(input3);
|
|
@@ -121,23 +127,23 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
121
127
|
})();
|
|
122
128
|
const $iu3 = (input3) => (() => {
|
|
123
129
|
if ("gene" === input3.kind)
|
|
124
|
-
return $
|
|
130
|
+
return $io41(input3);
|
|
125
131
|
if ("coord" === input3.kind)
|
|
126
|
-
return $
|
|
132
|
+
return $io42(input3);
|
|
127
133
|
return false;
|
|
128
134
|
})();
|
|
129
135
|
const $iu4 = (input3) => (() => {
|
|
130
136
|
if (void 0 !== input3.ranges)
|
|
131
137
|
return $io15(input3);
|
|
132
138
|
if (void 0 !== input3.ratio)
|
|
133
|
-
return $
|
|
139
|
+
return $io45(input3);
|
|
134
140
|
return (() => {
|
|
135
141
|
if ($io5(input3))
|
|
136
142
|
return $io5(input3);
|
|
137
|
-
if ($
|
|
138
|
-
return $
|
|
139
|
-
if ($
|
|
140
|
-
return $
|
|
143
|
+
if ($io35(input3))
|
|
144
|
+
return $io35(input3);
|
|
145
|
+
if ($io38(input3))
|
|
146
|
+
return $io38(input3);
|
|
141
147
|
return false;
|
|
142
148
|
})();
|
|
143
149
|
})();
|
|
@@ -146,15 +152,23 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
146
152
|
return $io16(input3);
|
|
147
153
|
if ("metaboliteIntensity" === input3.type)
|
|
148
154
|
return $io27(input3);
|
|
149
|
-
if ("
|
|
155
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
150
156
|
return $io28(input3);
|
|
151
|
-
if ("
|
|
157
|
+
if ("date" === input3.type)
|
|
152
158
|
return $io29(input3);
|
|
159
|
+
if ("ssGSEA" === input3.type)
|
|
160
|
+
return $io30(input3);
|
|
161
|
+
if ("dnaMethylation" === input3.type)
|
|
162
|
+
return $io31(input3);
|
|
153
163
|
return (() => {
|
|
154
164
|
if ($io26(input3))
|
|
155
165
|
return $io26(input3);
|
|
156
166
|
if ($io25(input3))
|
|
157
167
|
return $io25(input3);
|
|
168
|
+
if ($io33(input3))
|
|
169
|
+
return $io33(input3);
|
|
170
|
+
if ($io32(input3))
|
|
171
|
+
return $io32(input3);
|
|
158
172
|
return false;
|
|
159
173
|
})();
|
|
160
174
|
})();
|
|
@@ -181,9 +195,16 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
181
195
|
})();
|
|
182
196
|
const $iu9 = (input3) => (() => {
|
|
183
197
|
if ("gene" === input3.kind)
|
|
184
|
-
return $
|
|
198
|
+
return $io40(input3);
|
|
185
199
|
if ("coord" === input3.kind)
|
|
186
|
-
return $
|
|
200
|
+
return $io43(input3);
|
|
201
|
+
return false;
|
|
202
|
+
})();
|
|
203
|
+
const $iu10 = (input3) => (() => {
|
|
204
|
+
if ("numeric" === input3.memberType)
|
|
205
|
+
return $io46(input3);
|
|
206
|
+
if ("categorical" === input3.memberType)
|
|
207
|
+
return $io50(input3);
|
|
187
208
|
return false;
|
|
188
209
|
})();
|
|
189
210
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -618,11 +639,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
618
639
|
value: input3.isnot
|
|
619
640
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
620
641
|
path: _path2 + ".term",
|
|
621
|
-
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)',
|
|
642
|
+
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)',
|
|
622
643
|
value: input3.term
|
|
623
644
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
624
645
|
path: _path2 + ".term",
|
|
625
|
-
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)',
|
|
646
|
+
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)',
|
|
626
647
|
value: input3.term
|
|
627
648
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
628
649
|
path: _path2 + ".ranges",
|
|
@@ -648,7 +669,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
648
669
|
path: _path2 + ".values[" + _index10 + "]",
|
|
649
670
|
expected: "__type.o6",
|
|
650
671
|
value: elem
|
|
651
|
-
})) && $
|
|
672
|
+
})) && $vo34(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
652
673
|
path: _path2 + ".values[" + _index10 + "]",
|
|
653
674
|
expected: "__type.o6",
|
|
654
675
|
value: elem
|
|
@@ -1338,9 +1359,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1338
1359
|
path: _path2 + ".name",
|
|
1339
1360
|
expected: "string",
|
|
1340
1361
|
value: input3.name
|
|
1341
|
-
}), "
|
|
1362
|
+
}), "wholeProteomeAbundance" === input3.type || $report(_exceptionable2, {
|
|
1342
1363
|
path: _path2 + ".type",
|
|
1343
|
-
expected: '"
|
|
1364
|
+
expected: '"wholeProteomeAbundance"',
|
|
1344
1365
|
value: input3.type
|
|
1345
1366
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1346
1367
|
path: _path2 + ".child_types",
|
|
@@ -1406,6 +1427,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1406
1427
|
path: _path2 + ".unit",
|
|
1407
1428
|
expected: "(string | undefined)",
|
|
1408
1429
|
value: input3.unit
|
|
1430
|
+
}), "string" === typeof input3.protein || $report(_exceptionable2, {
|
|
1431
|
+
path: _path2 + ".protein",
|
|
1432
|
+
expected: "string",
|
|
1433
|
+
value: input3.protein
|
|
1409
1434
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1410
1435
|
path: _path2 + ".bins",
|
|
1411
1436
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1423,9 +1448,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1423
1448
|
path: _path2 + ".name",
|
|
1424
1449
|
expected: "string",
|
|
1425
1450
|
value: input3.name
|
|
1426
|
-
}), "
|
|
1451
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1427
1452
|
path: _path2 + ".type",
|
|
1428
|
-
expected: '"
|
|
1453
|
+
expected: '"date"',
|
|
1429
1454
|
value: input3.type
|
|
1430
1455
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1431
1456
|
path: _path2 + ".child_types",
|
|
@@ -1491,18 +1516,6 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1491
1516
|
path: _path2 + ".unit",
|
|
1492
1517
|
expected: "(string | undefined)",
|
|
1493
1518
|
value: input3.unit
|
|
1494
|
-
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1495
|
-
path: _path2 + ".genes",
|
|
1496
|
-
expected: "(Array<string> | undefined)",
|
|
1497
|
-
value: input3.genes
|
|
1498
|
-
})) && input3.genes.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1499
|
-
path: _path2 + ".genes[" + _index24 + "]",
|
|
1500
|
-
expected: "string",
|
|
1501
|
-
value: elem
|
|
1502
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1503
|
-
path: _path2 + ".genes",
|
|
1504
|
-
expected: "(Array<string> | undefined)",
|
|
1505
|
-
value: input3.genes
|
|
1506
1519
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1507
1520
|
path: _path2 + ".bins",
|
|
1508
1521
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1512,69 +1525,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1512
1525
|
expected: "(PresetNumericBins | undefined)",
|
|
1513
1526
|
value: input3.bins
|
|
1514
1527
|
})].every((flag) => flag);
|
|
1515
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
1516
|
-
path: _path2 + ".key",
|
|
1517
|
-
expected: "string",
|
|
1518
|
-
value: input3.key
|
|
1519
|
-
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1520
|
-
path: _path2 + ".value",
|
|
1521
|
-
expected: "number",
|
|
1522
|
-
value: input3.value
|
|
1523
|
-
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1524
|
-
path: _path2 + ".uncomputable",
|
|
1525
|
-
expected: "true",
|
|
1526
|
-
value: input3.uncomputable
|
|
1527
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1528
|
-
path: _path2 + ".label",
|
|
1529
|
-
expected: "(string | undefined)",
|
|
1530
|
-
value: input3.label
|
|
1531
|
-
})].every((flag) => flag);
|
|
1532
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1533
|
-
path: _path2 + ".join",
|
|
1534
|
-
expected: "(string | undefined)",
|
|
1535
|
-
value: input3.join
|
|
1536
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1537
|
-
path: _path2 + ".isnot",
|
|
1538
|
-
expected: "(boolean | undefined)",
|
|
1539
|
-
value: input3.isnot
|
|
1540
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1541
|
-
path: _path2 + ".term",
|
|
1542
|
-
expected: "ConditionTerm",
|
|
1543
|
-
value: input3.term
|
|
1544
|
-
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1545
|
-
path: _path2 + ".term",
|
|
1546
|
-
expected: "ConditionTerm",
|
|
1547
|
-
value: input3.term
|
|
1548
|
-
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1549
|
-
path: _path2 + ".value_by_max_grade",
|
|
1550
|
-
expected: "(boolean | undefined)",
|
|
1551
|
-
value: input3.value_by_max_grade
|
|
1552
|
-
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1553
|
-
path: _path2 + ".value_by_most_recent",
|
|
1554
|
-
expected: "(boolean | undefined)",
|
|
1555
|
-
value: input3.value_by_most_recent
|
|
1556
|
-
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1557
|
-
path: _path2 + ".value_by_computable_grade",
|
|
1558
|
-
expected: "(boolean | undefined)",
|
|
1559
|
-
value: input3.value_by_computable_grade
|
|
1560
|
-
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1561
|
-
path: _path2 + ".grade_and_child",
|
|
1562
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1563
|
-
value: input3.grade_and_child
|
|
1564
|
-
})) && input3.grade_and_child.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1565
|
-
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1566
|
-
expected: "GradeAndChildEntry",
|
|
1567
|
-
value: elem
|
|
1568
|
-
})) && $vo33(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1569
|
-
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1570
|
-
expected: "GradeAndChildEntry",
|
|
1571
|
-
value: elem
|
|
1572
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1573
|
-
path: _path2 + ".grade_and_child",
|
|
1574
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1575
|
-
value: input3.grade_and_child
|
|
1576
|
-
})].every((flag) => flag);
|
|
1577
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1528
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1578
1529
|
path: _path2 + ".id",
|
|
1579
1530
|
expected: "string",
|
|
1580
1531
|
value: input3.id
|
|
@@ -1582,16 +1533,16 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1582
1533
|
path: _path2 + ".name",
|
|
1583
1534
|
expected: "string",
|
|
1584
1535
|
value: input3.name
|
|
1585
|
-
}), "
|
|
1536
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1586
1537
|
path: _path2 + ".type",
|
|
1587
|
-
expected: '"
|
|
1538
|
+
expected: '"ssGSEA"',
|
|
1588
1539
|
value: input3.type
|
|
1589
1540
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1590
1541
|
path: _path2 + ".child_types",
|
|
1591
1542
|
expected: "(Array<string> | undefined)",
|
|
1592
1543
|
value: input3.child_types
|
|
1593
|
-
})) && input3.child_types.map((elem,
|
|
1594
|
-
path: _path2 + ".child_types[" +
|
|
1544
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1595
1546
|
expected: "string",
|
|
1596
1547
|
value: elem
|
|
1597
1548
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1606,8 +1557,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1606
1557
|
path: _path2 + ".included_types",
|
|
1607
1558
|
expected: "(Array<string> | undefined)",
|
|
1608
1559
|
value: input3.included_types
|
|
1609
|
-
})) && input3.included_types.map((elem,
|
|
1610
|
-
path: _path2 + ".included_types[" +
|
|
1560
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1561
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1611
1562
|
expected: "string",
|
|
1612
1563
|
value: elem
|
|
1613
1564
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1638,115 +1589,40 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1638
1589
|
path: _path2 + ".valueConversion",
|
|
1639
1590
|
expected: "(__type.o3 | undefined)",
|
|
1640
1591
|
value: input3.valueConversion
|
|
1641
|
-
})
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
path: _path2 + ".child_id",
|
|
1592
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1593
|
+
path: _path2 + ".continuousColorScale",
|
|
1594
|
+
expected: "(__type.o5 | undefined)",
|
|
1595
|
+
value: input3.continuousColorScale
|
|
1596
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1597
|
+
path: _path2 + ".continuousColorScale",
|
|
1598
|
+
expected: "(__type.o5 | undefined)",
|
|
1599
|
+
value: input3.continuousColorScale
|
|
1600
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1601
|
+
path: _path2 + ".unit",
|
|
1652
1602
|
expected: "(string | undefined)",
|
|
1653
|
-
value: input3.
|
|
1654
|
-
}),
|
|
1655
|
-
path: _path2 + ".
|
|
1603
|
+
value: input3.unit
|
|
1604
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1605
|
+
path: _path2 + ".genes",
|
|
1606
|
+
expected: "(Array<string> | undefined)",
|
|
1607
|
+
value: input3.genes
|
|
1608
|
+
})) && input3.genes.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1609
|
+
path: _path2 + ".genes[" + _index26 + "]",
|
|
1656
1610
|
expected: "string",
|
|
1657
|
-
value: input3.child_label
|
|
1658
|
-
})].every((flag) => flag);
|
|
1659
|
-
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1660
|
-
path: _path2 + ".join",
|
|
1661
|
-
expected: "(string | undefined)",
|
|
1662
|
-
value: input3.join
|
|
1663
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1664
|
-
path: _path2 + ".isnot",
|
|
1665
|
-
expected: "(boolean | undefined)",
|
|
1666
|
-
value: input3.isnot
|
|
1667
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1668
|
-
path: _path2 + ".term",
|
|
1669
|
-
expected: "DtTerm",
|
|
1670
|
-
value: input3.term
|
|
1671
|
-
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1672
|
-
path: _path2 + ".term",
|
|
1673
|
-
expected: "DtTerm",
|
|
1674
|
-
value: input3.term
|
|
1675
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1676
|
-
path: _path2 + ".values",
|
|
1677
|
-
expected: "Array<__type>.o2",
|
|
1678
|
-
value: input3.values
|
|
1679
|
-
})) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1680
|
-
path: _path2 + ".values[" + _index28 + "]",
|
|
1681
|
-
expected: "__type.o7",
|
|
1682
|
-
value: elem
|
|
1683
|
-
})) && $vo40(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1684
|
-
path: _path2 + ".values[" + _index28 + "]",
|
|
1685
|
-
expected: "__type.o7",
|
|
1686
1611
|
value: elem
|
|
1687
1612
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1688
|
-
path: _path2 + ".
|
|
1689
|
-
expected: "Array<
|
|
1690
|
-
value: input3.
|
|
1691
|
-
}), void 0 === input3.
|
|
1692
|
-
path: _path2 + ".
|
|
1693
|
-
expected: "(
|
|
1694
|
-
value: input3.
|
|
1695
|
-
})
|
|
1696
|
-
path: _path2 + ".
|
|
1697
|
-
expected: "(
|
|
1698
|
-
value: input3.
|
|
1699
|
-
})].every((flag) => flag);
|
|
1700
|
-
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1701
|
-
path: _path2 + ".id",
|
|
1702
|
-
expected: "string",
|
|
1703
|
-
value: input3.id
|
|
1704
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1705
|
-
path: _path2 + ".query",
|
|
1706
|
-
expected: "string",
|
|
1707
|
-
value: input3.query
|
|
1708
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1709
|
-
path: _path2 + ".name",
|
|
1710
|
-
expected: "string",
|
|
1711
|
-
value: input3.name
|
|
1712
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1713
|
-
path: _path2 + ".name_noOrigin",
|
|
1714
|
-
expected: "string",
|
|
1715
|
-
value: input3.name_noOrigin
|
|
1716
|
-
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1717
|
-
path: _path2 + ".parentTerm",
|
|
1718
|
-
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)',
|
|
1719
|
-
value: input3.parentTerm
|
|
1720
|
-
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1721
|
-
path: _path2 + ".parentTerm",
|
|
1722
|
-
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)',
|
|
1723
|
-
value: input3.parentTerm
|
|
1724
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1725
|
-
path: _path2 + ".isleaf",
|
|
1726
|
-
expected: "boolean",
|
|
1727
|
-
value: input3.isleaf
|
|
1728
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1729
|
-
path: _path2 + ".type",
|
|
1730
|
-
expected: "string",
|
|
1731
|
-
value: input3.type
|
|
1732
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1733
|
-
path: _path2 + ".dt",
|
|
1734
|
-
expected: "number",
|
|
1735
|
-
value: input3.dt
|
|
1736
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1737
|
-
path: _path2 + ".origin",
|
|
1738
|
-
expected: "(string | undefined)",
|
|
1739
|
-
value: input3.origin
|
|
1740
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1741
|
-
path: _path2 + ".values",
|
|
1742
|
-
expected: "TermValues",
|
|
1743
|
-
value: input3.values
|
|
1744
|
-
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1745
|
-
path: _path2 + ".values",
|
|
1746
|
-
expected: "TermValues",
|
|
1747
|
-
value: input3.values
|
|
1613
|
+
path: _path2 + ".genes",
|
|
1614
|
+
expected: "(Array<string> | undefined)",
|
|
1615
|
+
value: input3.genes
|
|
1616
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1617
|
+
path: _path2 + ".bins",
|
|
1618
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1619
|
+
value: input3.bins
|
|
1620
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1621
|
+
path: _path2 + ".bins",
|
|
1622
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1623
|
+
value: input3.bins
|
|
1748
1624
|
})].every((flag) => flag);
|
|
1749
|
-
const $
|
|
1625
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1750
1626
|
path: _path2 + ".id",
|
|
1751
1627
|
expected: "string",
|
|
1752
1628
|
value: input3.id
|
|
@@ -1754,16 +1630,16 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1754
1630
|
path: _path2 + ".name",
|
|
1755
1631
|
expected: "string",
|
|
1756
1632
|
value: input3.name
|
|
1757
|
-
}), "
|
|
1633
|
+
}), "dnaMethylation" === input3.type || $report(_exceptionable2, {
|
|
1758
1634
|
path: _path2 + ".type",
|
|
1759
|
-
expected: '"
|
|
1635
|
+
expected: '"dnaMethylation"',
|
|
1760
1636
|
value: input3.type
|
|
1761
1637
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1762
1638
|
path: _path2 + ".child_types",
|
|
1763
1639
|
expected: "(Array<string> | undefined)",
|
|
1764
1640
|
value: input3.child_types
|
|
1765
|
-
})) && input3.child_types.map((elem,
|
|
1766
|
-
path: _path2 + ".child_types[" +
|
|
1641
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1642
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1767
1643
|
expected: "string",
|
|
1768
1644
|
value: elem
|
|
1769
1645
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1778,8 +1654,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1778
1654
|
path: _path2 + ".included_types",
|
|
1779
1655
|
expected: "(Array<string> | undefined)",
|
|
1780
1656
|
value: input3.included_types
|
|
1781
|
-
})) && input3.included_types.map((elem,
|
|
1782
|
-
path: _path2 + ".included_types[" +
|
|
1657
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1658
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1783
1659
|
expected: "string",
|
|
1784
1660
|
value: elem
|
|
1785
1661
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1810,41 +1686,590 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1810
1686
|
path: _path2 + ".valueConversion",
|
|
1811
1687
|
expected: "(__type.o3 | undefined)",
|
|
1812
1688
|
value: input3.valueConversion
|
|
1813
|
-
}), "
|
|
1814
|
-
path: _path2 + ".
|
|
1815
|
-
expected:
|
|
1816
|
-
value: input3.
|
|
1817
|
-
}), "
|
|
1818
|
-
path: _path2 + ".
|
|
1819
|
-
expected: "
|
|
1820
|
-
value: input3.
|
|
1821
|
-
}), void 0 === input3.
|
|
1822
|
-
path: _path2 + ".
|
|
1689
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1690
|
+
path: _path2 + ".continuousColorScale",
|
|
1691
|
+
expected: "(__type.o5 | undefined)",
|
|
1692
|
+
value: input3.continuousColorScale
|
|
1693
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1694
|
+
path: _path2 + ".continuousColorScale",
|
|
1695
|
+
expected: "(__type.o5 | undefined)",
|
|
1696
|
+
value: input3.continuousColorScale
|
|
1697
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1698
|
+
path: _path2 + ".unit",
|
|
1823
1699
|
expected: "(string | undefined)",
|
|
1700
|
+
value: input3.unit
|
|
1701
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1702
|
+
path: _path2 + ".chr",
|
|
1703
|
+
expected: "string",
|
|
1824
1704
|
value: input3.chr
|
|
1825
|
-
}),
|
|
1705
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1826
1706
|
path: _path2 + ".start",
|
|
1827
|
-
expected: "
|
|
1707
|
+
expected: "number",
|
|
1828
1708
|
value: input3.start
|
|
1829
|
-
}),
|
|
1709
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1830
1710
|
path: _path2 + ".stop",
|
|
1831
|
-
expected: "
|
|
1711
|
+
expected: "number",
|
|
1832
1712
|
value: input3.stop
|
|
1833
|
-
}),
|
|
1834
|
-
path: _path2 + ".
|
|
1835
|
-
expected: "
|
|
1836
|
-
value: input3.
|
|
1837
|
-
})) && input3.
|
|
1838
|
-
path: _path2 + ".
|
|
1839
|
-
expected: "(
|
|
1840
|
-
value:
|
|
1841
|
-
}))
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1713
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1714
|
+
path: _path2 + ".bins",
|
|
1715
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1716
|
+
value: input3.bins
|
|
1717
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1718
|
+
path: _path2 + ".bins",
|
|
1719
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1720
|
+
value: input3.bins
|
|
1721
|
+
})].every((flag) => flag);
|
|
1722
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1723
|
+
path: _path2 + ".id",
|
|
1724
|
+
expected: "string",
|
|
1725
|
+
value: input3.id
|
|
1726
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1727
|
+
path: _path2 + ".name",
|
|
1728
|
+
expected: "string",
|
|
1729
|
+
value: input3.name
|
|
1730
|
+
}), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
|
|
1731
|
+
path: _path2 + ".type",
|
|
1732
|
+
expected: '"singleCellGeneExpression"',
|
|
1733
|
+
value: input3.type
|
|
1734
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1735
|
+
path: _path2 + ".child_types",
|
|
1736
|
+
expected: "(Array<string> | undefined)",
|
|
1737
|
+
value: input3.child_types
|
|
1738
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1739
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
1740
|
+
expected: "string",
|
|
1741
|
+
value: elem
|
|
1742
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1743
|
+
path: _path2 + ".child_types",
|
|
1744
|
+
expected: "(Array<string> | undefined)",
|
|
1745
|
+
value: input3.child_types
|
|
1746
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1747
|
+
path: _path2 + ".hashtmldetail",
|
|
1748
|
+
expected: "(boolean | undefined)",
|
|
1749
|
+
value: input3.hashtmldetail
|
|
1750
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1751
|
+
path: _path2 + ".included_types",
|
|
1752
|
+
expected: "(Array<string> | undefined)",
|
|
1753
|
+
value: input3.included_types
|
|
1754
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1755
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
1756
|
+
expected: "string",
|
|
1757
|
+
value: elem
|
|
1758
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1759
|
+
path: _path2 + ".included_types",
|
|
1760
|
+
expected: "(Array<string> | undefined)",
|
|
1761
|
+
value: input3.included_types
|
|
1762
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1763
|
+
path: _path2 + ".isleaf",
|
|
1764
|
+
expected: "(boolean | undefined)",
|
|
1765
|
+
value: input3.isleaf
|
|
1766
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1767
|
+
path: _path2 + ".values",
|
|
1768
|
+
expected: "(TermValues | undefined)",
|
|
1769
|
+
value: input3.values
|
|
1770
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1771
|
+
path: _path2 + ".values",
|
|
1772
|
+
expected: "(TermValues | undefined)",
|
|
1773
|
+
value: input3.values
|
|
1774
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1775
|
+
path: _path2 + ".skipValuesBuild",
|
|
1776
|
+
expected: "(boolean | undefined)",
|
|
1777
|
+
value: input3.skipValuesBuild
|
|
1778
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1779
|
+
path: _path2 + ".valueConversion",
|
|
1780
|
+
expected: "(__type.o3 | undefined)",
|
|
1781
|
+
value: input3.valueConversion
|
|
1782
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1783
|
+
path: _path2 + ".valueConversion",
|
|
1784
|
+
expected: "(__type.o3 | undefined)",
|
|
1785
|
+
value: input3.valueConversion
|
|
1786
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1787
|
+
path: _path2 + ".continuousColorScale",
|
|
1788
|
+
expected: "(__type.o5 | undefined)",
|
|
1789
|
+
value: input3.continuousColorScale
|
|
1790
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1791
|
+
path: _path2 + ".continuousColorScale",
|
|
1792
|
+
expected: "(__type.o5 | undefined)",
|
|
1793
|
+
value: input3.continuousColorScale
|
|
1794
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1795
|
+
path: _path2 + ".unit",
|
|
1796
|
+
expected: "(string | undefined)",
|
|
1797
|
+
value: input3.unit
|
|
1798
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1799
|
+
path: _path2 + ".gene",
|
|
1800
|
+
expected: "string",
|
|
1801
|
+
value: input3.gene
|
|
1802
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
1803
|
+
path: _path2 + ".sample",
|
|
1804
|
+
expected: "string",
|
|
1805
|
+
value: input3.sample
|
|
1806
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1807
|
+
path: _path2 + ".bins",
|
|
1808
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1809
|
+
value: input3.bins
|
|
1810
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1811
|
+
path: _path2 + ".bins",
|
|
1812
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1813
|
+
value: input3.bins
|
|
1814
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
1815
|
+
path: _path2 + ".kind",
|
|
1816
|
+
expected: '("gene" | undefined)',
|
|
1817
|
+
value: input3.kind
|
|
1818
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1819
|
+
path: _path2 + ".chr",
|
|
1820
|
+
expected: "(string | undefined)",
|
|
1821
|
+
value: input3.chr
|
|
1822
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1823
|
+
path: _path2 + ".start",
|
|
1824
|
+
expected: "(number | undefined)",
|
|
1825
|
+
value: input3.start
|
|
1826
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1827
|
+
path: _path2 + ".stop",
|
|
1828
|
+
expected: "(number | undefined)",
|
|
1829
|
+
value: input3.stop
|
|
1830
|
+
})].every((flag) => flag);
|
|
1831
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1832
|
+
path: _path2 + ".id",
|
|
1833
|
+
expected: "string",
|
|
1834
|
+
value: input3.id
|
|
1835
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1836
|
+
path: _path2 + ".name",
|
|
1837
|
+
expected: "string",
|
|
1838
|
+
value: input3.name
|
|
1839
|
+
}), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
|
|
1840
|
+
path: _path2 + ".type",
|
|
1841
|
+
expected: '"singleCellGeneExpression"',
|
|
1842
|
+
value: input3.type
|
|
1843
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1844
|
+
path: _path2 + ".child_types",
|
|
1845
|
+
expected: "(Array<string> | undefined)",
|
|
1846
|
+
value: input3.child_types
|
|
1847
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1848
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
1849
|
+
expected: "string",
|
|
1850
|
+
value: elem
|
|
1851
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1852
|
+
path: _path2 + ".child_types",
|
|
1853
|
+
expected: "(Array<string> | undefined)",
|
|
1854
|
+
value: input3.child_types
|
|
1855
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1856
|
+
path: _path2 + ".hashtmldetail",
|
|
1857
|
+
expected: "(boolean | undefined)",
|
|
1858
|
+
value: input3.hashtmldetail
|
|
1859
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1860
|
+
path: _path2 + ".included_types",
|
|
1861
|
+
expected: "(Array<string> | undefined)",
|
|
1862
|
+
value: input3.included_types
|
|
1863
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1864
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
1865
|
+
expected: "string",
|
|
1866
|
+
value: elem
|
|
1867
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1868
|
+
path: _path2 + ".included_types",
|
|
1869
|
+
expected: "(Array<string> | undefined)",
|
|
1870
|
+
value: input3.included_types
|
|
1871
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1872
|
+
path: _path2 + ".isleaf",
|
|
1873
|
+
expected: "(boolean | undefined)",
|
|
1874
|
+
value: input3.isleaf
|
|
1875
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1876
|
+
path: _path2 + ".values",
|
|
1877
|
+
expected: "(TermValues | undefined)",
|
|
1878
|
+
value: input3.values
|
|
1879
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1880
|
+
path: _path2 + ".values",
|
|
1881
|
+
expected: "(TermValues | undefined)",
|
|
1882
|
+
value: input3.values
|
|
1883
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1884
|
+
path: _path2 + ".skipValuesBuild",
|
|
1885
|
+
expected: "(boolean | undefined)",
|
|
1886
|
+
value: input3.skipValuesBuild
|
|
1887
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1888
|
+
path: _path2 + ".valueConversion",
|
|
1889
|
+
expected: "(__type.o3 | undefined)",
|
|
1890
|
+
value: input3.valueConversion
|
|
1891
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1892
|
+
path: _path2 + ".valueConversion",
|
|
1893
|
+
expected: "(__type.o3 | undefined)",
|
|
1894
|
+
value: input3.valueConversion
|
|
1895
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1896
|
+
path: _path2 + ".continuousColorScale",
|
|
1897
|
+
expected: "(__type.o5 | undefined)",
|
|
1898
|
+
value: input3.continuousColorScale
|
|
1899
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1900
|
+
path: _path2 + ".continuousColorScale",
|
|
1901
|
+
expected: "(__type.o5 | undefined)",
|
|
1902
|
+
value: input3.continuousColorScale
|
|
1903
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1904
|
+
path: _path2 + ".unit",
|
|
1905
|
+
expected: "(string | undefined)",
|
|
1906
|
+
value: input3.unit
|
|
1907
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1908
|
+
path: _path2 + ".gene",
|
|
1909
|
+
expected: "string",
|
|
1910
|
+
value: input3.gene
|
|
1911
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
1912
|
+
path: _path2 + ".sample",
|
|
1913
|
+
expected: "string",
|
|
1914
|
+
value: input3.sample
|
|
1915
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1916
|
+
path: _path2 + ".bins",
|
|
1917
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1918
|
+
value: input3.bins
|
|
1919
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1920
|
+
path: _path2 + ".bins",
|
|
1921
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1922
|
+
value: input3.bins
|
|
1923
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1924
|
+
path: _path2 + ".kind",
|
|
1925
|
+
expected: '("coord" | undefined)',
|
|
1926
|
+
value: input3.kind
|
|
1927
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1928
|
+
path: _path2 + ".chr",
|
|
1929
|
+
expected: "string",
|
|
1930
|
+
value: input3.chr
|
|
1931
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1932
|
+
path: _path2 + ".start",
|
|
1933
|
+
expected: "number",
|
|
1934
|
+
value: input3.start
|
|
1935
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1936
|
+
path: _path2 + ".stop",
|
|
1937
|
+
expected: "number",
|
|
1938
|
+
value: input3.stop
|
|
1939
|
+
})].every((flag) => flag);
|
|
1940
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1941
|
+
path: _path2 + ".key",
|
|
1942
|
+
expected: "string",
|
|
1943
|
+
value: input3.key
|
|
1944
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1945
|
+
path: _path2 + ".value",
|
|
1946
|
+
expected: "number",
|
|
1947
|
+
value: input3.value
|
|
1948
|
+
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1949
|
+
path: _path2 + ".uncomputable",
|
|
1950
|
+
expected: "true",
|
|
1951
|
+
value: input3.uncomputable
|
|
1952
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1953
|
+
path: _path2 + ".label",
|
|
1954
|
+
expected: "(string | undefined)",
|
|
1955
|
+
value: input3.label
|
|
1956
|
+
})].every((flag) => flag);
|
|
1957
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1958
|
+
path: _path2 + ".join",
|
|
1959
|
+
expected: "(string | undefined)",
|
|
1960
|
+
value: input3.join
|
|
1961
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1962
|
+
path: _path2 + ".isnot",
|
|
1963
|
+
expected: "(boolean | undefined)",
|
|
1964
|
+
value: input3.isnot
|
|
1965
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1966
|
+
path: _path2 + ".term",
|
|
1967
|
+
expected: "ConditionTerm",
|
|
1968
|
+
value: input3.term
|
|
1969
|
+
})) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1970
|
+
path: _path2 + ".term",
|
|
1971
|
+
expected: "ConditionTerm",
|
|
1972
|
+
value: input3.term
|
|
1973
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1974
|
+
path: _path2 + ".value_by_max_grade",
|
|
1975
|
+
expected: "(boolean | undefined)",
|
|
1976
|
+
value: input3.value_by_max_grade
|
|
1977
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1978
|
+
path: _path2 + ".value_by_most_recent",
|
|
1979
|
+
expected: "(boolean | undefined)",
|
|
1980
|
+
value: input3.value_by_most_recent
|
|
1981
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1982
|
+
path: _path2 + ".value_by_computable_grade",
|
|
1983
|
+
expected: "(boolean | undefined)",
|
|
1984
|
+
value: input3.value_by_computable_grade
|
|
1985
|
+
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1986
|
+
path: _path2 + ".grade_and_child",
|
|
1987
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1988
|
+
value: input3.grade_and_child
|
|
1989
|
+
})) && input3.grade_and_child.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1990
|
+
path: _path2 + ".grade_and_child[" + _index33 + "]",
|
|
1991
|
+
expected: "GradeAndChildEntry",
|
|
1992
|
+
value: elem
|
|
1993
|
+
})) && $vo37(elem, _path2 + ".grade_and_child[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1994
|
+
path: _path2 + ".grade_and_child[" + _index33 + "]",
|
|
1995
|
+
expected: "GradeAndChildEntry",
|
|
1996
|
+
value: elem
|
|
1997
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1998
|
+
path: _path2 + ".grade_and_child",
|
|
1999
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2000
|
+
value: input3.grade_and_child
|
|
2001
|
+
})].every((flag) => flag);
|
|
2002
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2003
|
+
path: _path2 + ".id",
|
|
2004
|
+
expected: "string",
|
|
2005
|
+
value: input3.id
|
|
2006
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2007
|
+
path: _path2 + ".name",
|
|
2008
|
+
expected: "string",
|
|
2009
|
+
value: input3.name
|
|
2010
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
2011
|
+
path: _path2 + ".type",
|
|
2012
|
+
expected: '"condition"',
|
|
2013
|
+
value: input3.type
|
|
2014
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2015
|
+
path: _path2 + ".child_types",
|
|
2016
|
+
expected: "(Array<string> | undefined)",
|
|
2017
|
+
value: input3.child_types
|
|
2018
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2019
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
2020
|
+
expected: "string",
|
|
2021
|
+
value: elem
|
|
2022
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2023
|
+
path: _path2 + ".child_types",
|
|
2024
|
+
expected: "(Array<string> | undefined)",
|
|
2025
|
+
value: input3.child_types
|
|
2026
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2027
|
+
path: _path2 + ".hashtmldetail",
|
|
2028
|
+
expected: "(boolean | undefined)",
|
|
2029
|
+
value: input3.hashtmldetail
|
|
2030
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2031
|
+
path: _path2 + ".included_types",
|
|
2032
|
+
expected: "(Array<string> | undefined)",
|
|
2033
|
+
value: input3.included_types
|
|
2034
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2035
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
2036
|
+
expected: "string",
|
|
2037
|
+
value: elem
|
|
2038
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2039
|
+
path: _path2 + ".included_types",
|
|
2040
|
+
expected: "(Array<string> | undefined)",
|
|
2041
|
+
value: input3.included_types
|
|
2042
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2043
|
+
path: _path2 + ".isleaf",
|
|
2044
|
+
expected: "(boolean | undefined)",
|
|
2045
|
+
value: input3.isleaf
|
|
2046
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2047
|
+
path: _path2 + ".values",
|
|
2048
|
+
expected: "(TermValues | undefined)",
|
|
2049
|
+
value: input3.values
|
|
2050
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2051
|
+
path: _path2 + ".values",
|
|
2052
|
+
expected: "(TermValues | undefined)",
|
|
2053
|
+
value: input3.values
|
|
2054
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2055
|
+
path: _path2 + ".skipValuesBuild",
|
|
2056
|
+
expected: "(boolean | undefined)",
|
|
2057
|
+
value: input3.skipValuesBuild
|
|
2058
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2059
|
+
path: _path2 + ".valueConversion",
|
|
2060
|
+
expected: "(__type.o3 | undefined)",
|
|
2061
|
+
value: input3.valueConversion
|
|
2062
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2063
|
+
path: _path2 + ".valueConversion",
|
|
2064
|
+
expected: "(__type.o3 | undefined)",
|
|
2065
|
+
value: input3.valueConversion
|
|
2066
|
+
})].every((flag) => flag);
|
|
2067
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2068
|
+
path: _path2 + ".grade",
|
|
2069
|
+
expected: "number",
|
|
2070
|
+
value: input3.grade
|
|
2071
|
+
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
2072
|
+
path: _path2 + ".grade_label",
|
|
2073
|
+
expected: "string",
|
|
2074
|
+
value: input3.grade_label
|
|
2075
|
+
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
2076
|
+
path: _path2 + ".child_id",
|
|
2077
|
+
expected: "(string | undefined)",
|
|
2078
|
+
value: input3.child_id
|
|
2079
|
+
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
2080
|
+
path: _path2 + ".child_label",
|
|
2081
|
+
expected: "string",
|
|
2082
|
+
value: input3.child_label
|
|
2083
|
+
})].every((flag) => flag);
|
|
2084
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2085
|
+
path: _path2 + ".join",
|
|
2086
|
+
expected: "(string | undefined)",
|
|
2087
|
+
value: input3.join
|
|
2088
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
2089
|
+
path: _path2 + ".isnot",
|
|
2090
|
+
expected: "(boolean | undefined)",
|
|
2091
|
+
value: input3.isnot
|
|
2092
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2093
|
+
path: _path2 + ".term",
|
|
2094
|
+
expected: "DtTerm",
|
|
2095
|
+
value: input3.term
|
|
2096
|
+
})) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2097
|
+
path: _path2 + ".term",
|
|
2098
|
+
expected: "DtTerm",
|
|
2099
|
+
value: input3.term
|
|
2100
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2101
|
+
path: _path2 + ".values",
|
|
2102
|
+
expected: "Array<__type>.o2",
|
|
2103
|
+
value: input3.values
|
|
2104
|
+
})) && input3.values.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2105
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2106
|
+
expected: "__type.o7",
|
|
2107
|
+
value: elem
|
|
2108
|
+
})) && $vo44(elem, _path2 + ".values[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2109
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2110
|
+
expected: "__type.o7",
|
|
2111
|
+
value: elem
|
|
2112
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2113
|
+
path: _path2 + ".values",
|
|
2114
|
+
expected: "Array<__type>.o2",
|
|
2115
|
+
value: input3.values
|
|
2116
|
+
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2117
|
+
path: _path2 + ".includeNotTested",
|
|
2118
|
+
expected: "(boolean | undefined)",
|
|
2119
|
+
value: input3.includeNotTested
|
|
2120
|
+
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
2121
|
+
path: _path2 + ".excludeGeneName",
|
|
2122
|
+
expected: "(boolean | undefined)",
|
|
2123
|
+
value: input3.excludeGeneName
|
|
2124
|
+
})].every((flag) => flag);
|
|
2125
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2126
|
+
path: _path2 + ".id",
|
|
2127
|
+
expected: "string",
|
|
2128
|
+
value: input3.id
|
|
2129
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
2130
|
+
path: _path2 + ".query",
|
|
2131
|
+
expected: "string",
|
|
2132
|
+
value: input3.query
|
|
2133
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2134
|
+
path: _path2 + ".name",
|
|
2135
|
+
expected: "string",
|
|
2136
|
+
value: input3.name
|
|
2137
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
2138
|
+
path: _path2 + ".name_noOrigin",
|
|
2139
|
+
expected: "string",
|
|
2140
|
+
value: input3.name_noOrigin
|
|
2141
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
2142
|
+
path: _path2 + ".parentTerm",
|
|
2143
|
+
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)',
|
|
2144
|
+
value: input3.parentTerm
|
|
2145
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2146
|
+
path: _path2 + ".parentTerm",
|
|
2147
|
+
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)',
|
|
2148
|
+
value: input3.parentTerm
|
|
2149
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2150
|
+
path: _path2 + ".isleaf",
|
|
2151
|
+
expected: "boolean",
|
|
2152
|
+
value: input3.isleaf
|
|
2153
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2154
|
+
path: _path2 + ".type",
|
|
2155
|
+
expected: "string",
|
|
2156
|
+
value: input3.type
|
|
2157
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2158
|
+
path: _path2 + ".dt",
|
|
2159
|
+
expected: "number",
|
|
2160
|
+
value: input3.dt
|
|
2161
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2162
|
+
path: _path2 + ".origin",
|
|
2163
|
+
expected: "(string | undefined)",
|
|
2164
|
+
value: input3.origin
|
|
2165
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2166
|
+
path: _path2 + ".values",
|
|
2167
|
+
expected: "TermValues",
|
|
2168
|
+
value: input3.values
|
|
2169
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2170
|
+
path: _path2 + ".values",
|
|
2171
|
+
expected: "TermValues",
|
|
2172
|
+
value: input3.values
|
|
2173
|
+
})].every((flag) => flag);
|
|
2174
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2175
|
+
path: _path2 + ".id",
|
|
2176
|
+
expected: "string",
|
|
2177
|
+
value: input3.id
|
|
2178
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2179
|
+
path: _path2 + ".name",
|
|
2180
|
+
expected: "string",
|
|
2181
|
+
value: input3.name
|
|
2182
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2183
|
+
path: _path2 + ".type",
|
|
2184
|
+
expected: '"geneVariant"',
|
|
2185
|
+
value: input3.type
|
|
2186
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2187
|
+
path: _path2 + ".child_types",
|
|
2188
|
+
expected: "(Array<string> | undefined)",
|
|
2189
|
+
value: input3.child_types
|
|
2190
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2191
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
2192
|
+
expected: "string",
|
|
2193
|
+
value: elem
|
|
2194
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2195
|
+
path: _path2 + ".child_types",
|
|
2196
|
+
expected: "(Array<string> | undefined)",
|
|
2197
|
+
value: input3.child_types
|
|
2198
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2199
|
+
path: _path2 + ".hashtmldetail",
|
|
2200
|
+
expected: "(boolean | undefined)",
|
|
2201
|
+
value: input3.hashtmldetail
|
|
2202
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2203
|
+
path: _path2 + ".included_types",
|
|
2204
|
+
expected: "(Array<string> | undefined)",
|
|
2205
|
+
value: input3.included_types
|
|
2206
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2207
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
2208
|
+
expected: "string",
|
|
2209
|
+
value: elem
|
|
2210
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2211
|
+
path: _path2 + ".included_types",
|
|
2212
|
+
expected: "(Array<string> | undefined)",
|
|
2213
|
+
value: input3.included_types
|
|
2214
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2215
|
+
path: _path2 + ".isleaf",
|
|
2216
|
+
expected: "(boolean | undefined)",
|
|
2217
|
+
value: input3.isleaf
|
|
2218
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2219
|
+
path: _path2 + ".values",
|
|
2220
|
+
expected: "(TermValues | undefined)",
|
|
2221
|
+
value: input3.values
|
|
2222
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2223
|
+
path: _path2 + ".values",
|
|
2224
|
+
expected: "(TermValues | undefined)",
|
|
2225
|
+
value: input3.values
|
|
2226
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2227
|
+
path: _path2 + ".skipValuesBuild",
|
|
2228
|
+
expected: "(boolean | undefined)",
|
|
2229
|
+
value: input3.skipValuesBuild
|
|
2230
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2231
|
+
path: _path2 + ".valueConversion",
|
|
2232
|
+
expected: "(__type.o3 | undefined)",
|
|
2233
|
+
value: input3.valueConversion
|
|
2234
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2235
|
+
path: _path2 + ".valueConversion",
|
|
2236
|
+
expected: "(__type.o3 | undefined)",
|
|
2237
|
+
value: input3.valueConversion
|
|
2238
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2239
|
+
path: _path2 + ".kind",
|
|
2240
|
+
expected: '"gene"',
|
|
2241
|
+
value: input3.kind
|
|
2242
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2243
|
+
path: _path2 + ".gene",
|
|
2244
|
+
expected: "string",
|
|
2245
|
+
value: input3.gene
|
|
2246
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2247
|
+
path: _path2 + ".chr",
|
|
2248
|
+
expected: "(string | undefined)",
|
|
2249
|
+
value: input3.chr
|
|
2250
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2251
|
+
path: _path2 + ".start",
|
|
2252
|
+
expected: "(number | undefined)",
|
|
2253
|
+
value: input3.start
|
|
2254
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2255
|
+
path: _path2 + ".stop",
|
|
2256
|
+
expected: "(number | undefined)",
|
|
2257
|
+
value: input3.stop
|
|
2258
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
2259
|
+
path: _path2 + ".genes",
|
|
2260
|
+
expected: "Array<GvGeneTerm>",
|
|
2261
|
+
value: input3.genes
|
|
2262
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2263
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
2264
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2265
|
+
value: elem
|
|
2266
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2267
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
2268
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2269
|
+
value: elem
|
|
2270
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2271
|
+
path: _path2 + ".genes",
|
|
2272
|
+
expected: "Array<GvGeneTerm>",
|
|
1848
2273
|
value: input3.genes
|
|
1849
2274
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1850
2275
|
path: _path2 + ".groupsetting",
|
|
@@ -1858,12 +2283,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1858
2283
|
path: _path2 + ".childTerms",
|
|
1859
2284
|
expected: "(Array<DtTerm> | undefined)",
|
|
1860
2285
|
value: input3.childTerms
|
|
1861
|
-
})) && input3.childTerms.map((elem,
|
|
1862
|
-
path: _path2 + ".childTerms[" +
|
|
2286
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2287
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
1863
2288
|
expected: "DtTerm",
|
|
1864
2289
|
value: elem
|
|
1865
|
-
})) && $
|
|
1866
|
-
path: _path2 + ".childTerms[" +
|
|
2290
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2291
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
1867
2292
|
expected: "DtTerm",
|
|
1868
2293
|
value: elem
|
|
1869
2294
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1871,7 +2296,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1871
2296
|
expected: "(Array<DtTerm> | undefined)",
|
|
1872
2297
|
value: input3.childTerms
|
|
1873
2298
|
})].every((flag) => flag);
|
|
1874
|
-
const $
|
|
2299
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1875
2300
|
path: _path2 + ".id",
|
|
1876
2301
|
expected: "string",
|
|
1877
2302
|
value: input3.id
|
|
@@ -1887,8 +2312,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1887
2312
|
path: _path2 + ".child_types",
|
|
1888
2313
|
expected: "(Array<string> | undefined)",
|
|
1889
2314
|
value: input3.child_types
|
|
1890
|
-
})) && input3.child_types.map((elem,
|
|
1891
|
-
path: _path2 + ".child_types[" +
|
|
2315
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2316
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
1892
2317
|
expected: "string",
|
|
1893
2318
|
value: elem
|
|
1894
2319
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1903,8 +2328,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1903
2328
|
path: _path2 + ".included_types",
|
|
1904
2329
|
expected: "(Array<string> | undefined)",
|
|
1905
2330
|
value: input3.included_types
|
|
1906
|
-
})) && input3.included_types.map((elem,
|
|
1907
|
-
path: _path2 + ".included_types[" +
|
|
2331
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2332
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
1908
2333
|
expected: "string",
|
|
1909
2334
|
value: elem
|
|
1910
2335
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1956,7 +2381,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1956
2381
|
expected: "(number | undefined)",
|
|
1957
2382
|
value: input3.stop
|
|
1958
2383
|
})].every((flag) => flag);
|
|
1959
|
-
const $
|
|
2384
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1960
2385
|
path: _path2 + ".id",
|
|
1961
2386
|
expected: "string",
|
|
1962
2387
|
value: input3.id
|
|
@@ -1972,8 +2397,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1972
2397
|
path: _path2 + ".child_types",
|
|
1973
2398
|
expected: "(Array<string> | undefined)",
|
|
1974
2399
|
value: input3.child_types
|
|
1975
|
-
})) && input3.child_types.map((elem,
|
|
1976
|
-
path: _path2 + ".child_types[" +
|
|
2400
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2401
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
1977
2402
|
expected: "string",
|
|
1978
2403
|
value: elem
|
|
1979
2404
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1988,8 +2413,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1988
2413
|
path: _path2 + ".included_types",
|
|
1989
2414
|
expected: "(Array<string> | undefined)",
|
|
1990
2415
|
value: input3.included_types
|
|
1991
|
-
})) && input3.included_types.map((elem,
|
|
1992
|
-
path: _path2 + ".included_types[" +
|
|
2416
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2417
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
1993
2418
|
expected: "string",
|
|
1994
2419
|
value: elem
|
|
1995
2420
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2037,7 +2462,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2037
2462
|
expected: "number",
|
|
2038
2463
|
value: input3.stop
|
|
2039
2464
|
})].every((flag) => flag);
|
|
2040
|
-
const $
|
|
2465
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2041
2466
|
path: _path2 + ".id",
|
|
2042
2467
|
expected: "string",
|
|
2043
2468
|
value: input3.id
|
|
@@ -2053,8 +2478,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2053
2478
|
path: _path2 + ".child_types",
|
|
2054
2479
|
expected: "(Array<string> | undefined)",
|
|
2055
2480
|
value: input3.child_types
|
|
2056
|
-
})) && input3.child_types.map((elem,
|
|
2057
|
-
path: _path2 + ".child_types[" +
|
|
2481
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2482
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2058
2483
|
expected: "string",
|
|
2059
2484
|
value: elem
|
|
2060
2485
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2069,8 +2494,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2069
2494
|
path: _path2 + ".included_types",
|
|
2070
2495
|
expected: "(Array<string> | undefined)",
|
|
2071
2496
|
value: input3.included_types
|
|
2072
|
-
})) && input3.included_types.map((elem,
|
|
2073
|
-
path: _path2 + ".included_types[" +
|
|
2497
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2498
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2074
2499
|
expected: "string",
|
|
2075
2500
|
value: elem
|
|
2076
2501
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2121,12 +2546,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2121
2546
|
path: _path2 + ".genes",
|
|
2122
2547
|
expected: "Array<GvGeneTerm>",
|
|
2123
2548
|
value: input3.genes
|
|
2124
|
-
})) && input3.genes.map((elem,
|
|
2125
|
-
path: _path2 + ".genes[" +
|
|
2549
|
+
})) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2550
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2126
2551
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2127
2552
|
value: elem
|
|
2128
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2129
|
-
path: _path2 + ".genes[" +
|
|
2553
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2554
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2130
2555
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2131
2556
|
value: elem
|
|
2132
2557
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2145,12 +2570,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2145
2570
|
path: _path2 + ".childTerms",
|
|
2146
2571
|
expected: "(Array<DtTerm> | undefined)",
|
|
2147
2572
|
value: input3.childTerms
|
|
2148
|
-
})) && input3.childTerms.map((elem,
|
|
2149
|
-
path: _path2 + ".childTerms[" +
|
|
2573
|
+
})) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2574
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2150
2575
|
expected: "DtTerm",
|
|
2151
2576
|
value: elem
|
|
2152
|
-
})) && $
|
|
2153
|
-
path: _path2 + ".childTerms[" +
|
|
2577
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2578
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2154
2579
|
expected: "DtTerm",
|
|
2155
2580
|
value: elem
|
|
2156
2581
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2158,7 +2583,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2158
2583
|
expected: "(Array<DtTerm> | undefined)",
|
|
2159
2584
|
value: input3.childTerms
|
|
2160
2585
|
})].every((flag) => flag);
|
|
2161
|
-
const $
|
|
2586
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2162
2587
|
path: _path2 + ".key",
|
|
2163
2588
|
expected: "string",
|
|
2164
2589
|
value: input3.key
|
|
@@ -2171,7 +2596,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2171
2596
|
expected: "string",
|
|
2172
2597
|
value: input3.value
|
|
2173
2598
|
})].every((flag) => flag);
|
|
2174
|
-
const $
|
|
2599
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2175
2600
|
path: _path2 + ".join",
|
|
2176
2601
|
expected: "(string | undefined)",
|
|
2177
2602
|
value: input3.join
|
|
@@ -2181,18 +2606,18 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2181
2606
|
value: input3.isnot
|
|
2182
2607
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2183
2608
|
path: _path2 + ".term",
|
|
2184
|
-
expected: "
|
|
2609
|
+
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2185
2610
|
value: input3.term
|
|
2186
|
-
})) && $
|
|
2611
|
+
})) && $vu10(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2187
2612
|
path: _path2 + ".term",
|
|
2188
|
-
expected: "
|
|
2613
|
+
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2189
2614
|
value: input3.term
|
|
2190
2615
|
}), "number" === typeof input3.ratio || $report(_exceptionable2, {
|
|
2191
2616
|
path: _path2 + ".ratio",
|
|
2192
2617
|
expected: "number",
|
|
2193
2618
|
value: input3.ratio
|
|
2194
2619
|
})].every((flag) => flag);
|
|
2195
|
-
const $
|
|
2620
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2196
2621
|
path: _path2 + ".id",
|
|
2197
2622
|
expected: "string",
|
|
2198
2623
|
value: input3.id
|
|
@@ -2208,8 +2633,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2208
2633
|
path: _path2 + ".child_types",
|
|
2209
2634
|
expected: "(Array<string> | undefined)",
|
|
2210
2635
|
value: input3.child_types
|
|
2211
|
-
})) && input3.child_types.map((elem,
|
|
2212
|
-
path: _path2 + ".child_types[" +
|
|
2636
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2637
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
2213
2638
|
expected: "string",
|
|
2214
2639
|
value: elem
|
|
2215
2640
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2224,8 +2649,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2224
2649
|
path: _path2 + ".included_types",
|
|
2225
2650
|
expected: "(Array<string> | undefined)",
|
|
2226
2651
|
value: input3.included_types
|
|
2227
|
-
})) && input3.included_types.map((elem,
|
|
2228
|
-
path: _path2 + ".included_types[" +
|
|
2652
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2653
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
2229
2654
|
expected: "string",
|
|
2230
2655
|
value: elem
|
|
2231
2656
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2260,34 +2685,34 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2260
2685
|
path: _path2 + ".collectionId",
|
|
2261
2686
|
expected: "(string | undefined)",
|
|
2262
2687
|
value: input3.collectionId
|
|
2688
|
+
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2689
|
+
path: _path2 + ".termIds",
|
|
2690
|
+
expected: "(Array<string> | undefined)",
|
|
2691
|
+
value: input3.termIds
|
|
2692
|
+
})) && input3.termIds.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2693
|
+
path: _path2 + ".termIds[" + _index51 + "]",
|
|
2694
|
+
expected: "string",
|
|
2695
|
+
value: elem
|
|
2696
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2697
|
+
path: _path2 + ".termIds",
|
|
2698
|
+
expected: "(Array<string> | undefined)",
|
|
2699
|
+
value: input3.termIds
|
|
2263
2700
|
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2264
2701
|
path: _path2 + ".termlst",
|
|
2265
2702
|
expected: "Array<BaseTerm>",
|
|
2266
2703
|
value: input3.termlst
|
|
2267
|
-
})) && input3.termlst.map((elem,
|
|
2268
|
-
path: _path2 + ".termlst[" +
|
|
2704
|
+
})) && input3.termlst.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2705
|
+
path: _path2 + ".termlst[" + _index52 + "]",
|
|
2269
2706
|
expected: "BaseTerm",
|
|
2270
2707
|
value: elem
|
|
2271
|
-
})) && $
|
|
2272
|
-
path: _path2 + ".termlst[" +
|
|
2708
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2709
|
+
path: _path2 + ".termlst[" + _index52 + "]",
|
|
2273
2710
|
expected: "BaseTerm",
|
|
2274
2711
|
value: elem
|
|
2275
2712
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2276
2713
|
path: _path2 + ".termlst",
|
|
2277
2714
|
expected: "Array<BaseTerm>",
|
|
2278
2715
|
value: input3.termlst
|
|
2279
|
-
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2280
|
-
path: _path2 + ".numerators",
|
|
2281
|
-
expected: "(Array<string> | undefined)",
|
|
2282
|
-
value: input3.numerators
|
|
2283
|
-
})) && input3.numerators.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2284
|
-
path: _path2 + ".numerators[" + _index44 + "]",
|
|
2285
|
-
expected: "string",
|
|
2286
|
-
value: elem
|
|
2287
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2288
|
-
path: _path2 + ".numerators",
|
|
2289
|
-
expected: "(Array<string> | undefined)",
|
|
2290
|
-
value: input3.numerators
|
|
2291
2716
|
}), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
|
|
2292
2717
|
path: _path2 + ".newTvs",
|
|
2293
2718
|
expected: "(boolean | undefined)",
|
|
@@ -2296,12 +2721,28 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2296
2721
|
path: _path2 + ".propsByTermId",
|
|
2297
2722
|
expected: "__type.o8",
|
|
2298
2723
|
value: input3.propsByTermId
|
|
2299
|
-
})) && $
|
|
2724
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2300
2725
|
path: _path2 + ".propsByTermId",
|
|
2301
2726
|
expected: "__type.o8",
|
|
2302
2727
|
value: input3.propsByTermId
|
|
2728
|
+
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2729
|
+
path: _path2 + ".memberType",
|
|
2730
|
+
expected: '"numeric"',
|
|
2731
|
+
value: input3.memberType
|
|
2732
|
+
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2733
|
+
path: _path2 + ".numerators",
|
|
2734
|
+
expected: "(Array<string> | undefined)",
|
|
2735
|
+
value: input3.numerators
|
|
2736
|
+
})) && input3.numerators.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2737
|
+
path: _path2 + ".numerators[" + _index53 + "]",
|
|
2738
|
+
expected: "string",
|
|
2739
|
+
value: elem
|
|
2740
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2741
|
+
path: _path2 + ".numerators",
|
|
2742
|
+
expected: "(Array<string> | undefined)",
|
|
2743
|
+
value: input3.numerators
|
|
2303
2744
|
})].every((flag) => flag);
|
|
2304
|
-
const $
|
|
2745
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2305
2746
|
path: _path2 + ".id",
|
|
2306
2747
|
expected: "string",
|
|
2307
2748
|
value: input3.id
|
|
@@ -2317,8 +2758,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2317
2758
|
path: _path2 + ".child_types",
|
|
2318
2759
|
expected: "(Array<string> | undefined)",
|
|
2319
2760
|
value: input3.child_types
|
|
2320
|
-
})) && input3.child_types.map((elem,
|
|
2321
|
-
path: _path2 + ".child_types[" +
|
|
2761
|
+
})) && input3.child_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2762
|
+
path: _path2 + ".child_types[" + _index54 + "]",
|
|
2322
2763
|
expected: "string",
|
|
2323
2764
|
value: elem
|
|
2324
2765
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2333,8 +2774,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2333
2774
|
path: _path2 + ".included_types",
|
|
2334
2775
|
expected: "(Array<string> | undefined)",
|
|
2335
2776
|
value: input3.included_types
|
|
2336
|
-
})) && input3.included_types.map((elem,
|
|
2337
|
-
path: _path2 + ".included_types[" +
|
|
2777
|
+
})) && input3.included_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2778
|
+
path: _path2 + ".included_types[" + _index55 + "]",
|
|
2338
2779
|
expected: "string",
|
|
2339
2780
|
value: elem
|
|
2340
2781
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2366,7 +2807,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2366
2807
|
expected: "(__type.o3 | undefined)",
|
|
2367
2808
|
value: input3.valueConversion
|
|
2368
2809
|
})].every((flag) => flag);
|
|
2369
|
-
const $
|
|
2810
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2370
2811
|
const value = input3[key];
|
|
2371
2812
|
if (void 0 === value)
|
|
2372
2813
|
return true;
|
|
@@ -2375,14 +2816,14 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2375
2816
|
path: _path2 + $join(key),
|
|
2376
2817
|
expected: "__type.o9",
|
|
2377
2818
|
value
|
|
2378
|
-
})) && $
|
|
2819
|
+
})) && $vo49(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2379
2820
|
path: _path2 + $join(key),
|
|
2380
2821
|
expected: "__type.o9",
|
|
2381
2822
|
value
|
|
2382
2823
|
});
|
|
2383
2824
|
return true;
|
|
2384
2825
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2385
|
-
const $
|
|
2826
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2386
2827
|
const value = input3[key];
|
|
2387
2828
|
if (void 0 === value)
|
|
2388
2829
|
return true;
|
|
@@ -2390,6 +2831,144 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2390
2831
|
return true;
|
|
2391
2832
|
return true;
|
|
2392
2833
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2834
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2835
|
+
path: _path2 + ".id",
|
|
2836
|
+
expected: "string",
|
|
2837
|
+
value: input3.id
|
|
2838
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2839
|
+
path: _path2 + ".name",
|
|
2840
|
+
expected: "string",
|
|
2841
|
+
value: input3.name
|
|
2842
|
+
}), "termCollection" === input3.type || $report(_exceptionable2, {
|
|
2843
|
+
path: _path2 + ".type",
|
|
2844
|
+
expected: '"termCollection"',
|
|
2845
|
+
value: input3.type
|
|
2846
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2847
|
+
path: _path2 + ".child_types",
|
|
2848
|
+
expected: "(Array<string> | undefined)",
|
|
2849
|
+
value: input3.child_types
|
|
2850
|
+
})) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2851
|
+
path: _path2 + ".child_types[" + _index56 + "]",
|
|
2852
|
+
expected: "string",
|
|
2853
|
+
value: elem
|
|
2854
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2855
|
+
path: _path2 + ".child_types",
|
|
2856
|
+
expected: "(Array<string> | undefined)",
|
|
2857
|
+
value: input3.child_types
|
|
2858
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2859
|
+
path: _path2 + ".hashtmldetail",
|
|
2860
|
+
expected: "(boolean | undefined)",
|
|
2861
|
+
value: input3.hashtmldetail
|
|
2862
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2863
|
+
path: _path2 + ".included_types",
|
|
2864
|
+
expected: "(Array<string> | undefined)",
|
|
2865
|
+
value: input3.included_types
|
|
2866
|
+
})) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2867
|
+
path: _path2 + ".included_types[" + _index57 + "]",
|
|
2868
|
+
expected: "string",
|
|
2869
|
+
value: elem
|
|
2870
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2871
|
+
path: _path2 + ".included_types",
|
|
2872
|
+
expected: "(Array<string> | undefined)",
|
|
2873
|
+
value: input3.included_types
|
|
2874
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2875
|
+
path: _path2 + ".isleaf",
|
|
2876
|
+
expected: "(boolean | undefined)",
|
|
2877
|
+
value: input3.isleaf
|
|
2878
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2879
|
+
path: _path2 + ".values",
|
|
2880
|
+
expected: "(TermValues | undefined)",
|
|
2881
|
+
value: input3.values
|
|
2882
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2883
|
+
path: _path2 + ".values",
|
|
2884
|
+
expected: "(TermValues | undefined)",
|
|
2885
|
+
value: input3.values
|
|
2886
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2887
|
+
path: _path2 + ".skipValuesBuild",
|
|
2888
|
+
expected: "(boolean | undefined)",
|
|
2889
|
+
value: input3.skipValuesBuild
|
|
2890
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2891
|
+
path: _path2 + ".valueConversion",
|
|
2892
|
+
expected: "(__type.o3 | undefined)",
|
|
2893
|
+
value: input3.valueConversion
|
|
2894
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2895
|
+
path: _path2 + ".valueConversion",
|
|
2896
|
+
expected: "(__type.o3 | undefined)",
|
|
2897
|
+
value: input3.valueConversion
|
|
2898
|
+
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2899
|
+
path: _path2 + ".collectionId",
|
|
2900
|
+
expected: "(string | undefined)",
|
|
2901
|
+
value: input3.collectionId
|
|
2902
|
+
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2903
|
+
path: _path2 + ".termIds",
|
|
2904
|
+
expected: "(Array<string> | undefined)",
|
|
2905
|
+
value: input3.termIds
|
|
2906
|
+
})) && input3.termIds.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2907
|
+
path: _path2 + ".termIds[" + _index58 + "]",
|
|
2908
|
+
expected: "string",
|
|
2909
|
+
value: elem
|
|
2910
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2911
|
+
path: _path2 + ".termIds",
|
|
2912
|
+
expected: "(Array<string> | undefined)",
|
|
2913
|
+
value: input3.termIds
|
|
2914
|
+
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2915
|
+
path: _path2 + ".termlst",
|
|
2916
|
+
expected: "Array<BaseTerm>",
|
|
2917
|
+
value: input3.termlst
|
|
2918
|
+
})) && input3.termlst.map((elem, _index59) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2919
|
+
path: _path2 + ".termlst[" + _index59 + "]",
|
|
2920
|
+
expected: "BaseTerm",
|
|
2921
|
+
value: elem
|
|
2922
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index59 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2923
|
+
path: _path2 + ".termlst[" + _index59 + "]",
|
|
2924
|
+
expected: "BaseTerm",
|
|
2925
|
+
value: elem
|
|
2926
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2927
|
+
path: _path2 + ".termlst",
|
|
2928
|
+
expected: "Array<BaseTerm>",
|
|
2929
|
+
value: input3.termlst
|
|
2930
|
+
}), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
|
|
2931
|
+
path: _path2 + ".newTvs",
|
|
2932
|
+
expected: "(boolean | undefined)",
|
|
2933
|
+
value: input3.newTvs
|
|
2934
|
+
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2935
|
+
path: _path2 + ".propsByTermId",
|
|
2936
|
+
expected: "__type.o8",
|
|
2937
|
+
value: input3.propsByTermId
|
|
2938
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2939
|
+
path: _path2 + ".propsByTermId",
|
|
2940
|
+
expected: "__type.o8",
|
|
2941
|
+
value: input3.propsByTermId
|
|
2942
|
+
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
2943
|
+
path: _path2 + ".memberType",
|
|
2944
|
+
expected: '"categorical"',
|
|
2945
|
+
value: input3.memberType
|
|
2946
|
+
}), (Array.isArray(input3.categoryKeys) || $report(_exceptionable2, {
|
|
2947
|
+
path: _path2 + ".categoryKeys",
|
|
2948
|
+
expected: "Array<CategoryKey>",
|
|
2949
|
+
value: input3.categoryKeys
|
|
2950
|
+
})) && input3.categoryKeys.map((elem, _index60) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2951
|
+
path: _path2 + ".categoryKeys[" + _index60 + "]",
|
|
2952
|
+
expected: "CategoryKey",
|
|
2953
|
+
value: elem
|
|
2954
|
+
})) && $vo51(elem, _path2 + ".categoryKeys[" + _index60 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2955
|
+
path: _path2 + ".categoryKeys[" + _index60 + "]",
|
|
2956
|
+
expected: "CategoryKey",
|
|
2957
|
+
value: elem
|
|
2958
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2959
|
+
path: _path2 + ".categoryKeys",
|
|
2960
|
+
expected: "Array<CategoryKey>",
|
|
2961
|
+
value: input3.categoryKeys
|
|
2962
|
+
})].every((flag) => flag);
|
|
2963
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2964
|
+
path: _path2 + ".key",
|
|
2965
|
+
expected: "string",
|
|
2966
|
+
value: input3.key
|
|
2967
|
+
}), "boolean" === typeof input3.shown || $report(_exceptionable2, {
|
|
2968
|
+
path: _path2 + ".shown",
|
|
2969
|
+
expected: "boolean",
|
|
2970
|
+
value: input3.shown
|
|
2971
|
+
})].every((flag) => flag);
|
|
2393
2972
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2394
2973
|
if ("tvslst" === input3.type)
|
|
2395
2974
|
return $vo3(input3, _path2, _exceptionable2);
|
|
@@ -2421,9 +3000,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2421
3000
|
})();
|
|
2422
3001
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2423
3002
|
if ("gene" === input3.kind)
|
|
2424
|
-
return $
|
|
3003
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
2425
3004
|
if ("coord" === input3.kind)
|
|
2426
|
-
return $
|
|
3005
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
2427
3006
|
return $report(_exceptionable2, {
|
|
2428
3007
|
path: _path2,
|
|
2429
3008
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2434,19 +3013,23 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2434
3013
|
if (void 0 !== input3.ranges)
|
|
2435
3014
|
return $vo15(input3, _path2, _exceptionable2);
|
|
2436
3015
|
if (void 0 !== input3.ratio)
|
|
2437
|
-
return $
|
|
2438
|
-
return $vo5(input3, _path2, false) || $
|
|
3016
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3017
|
+
return $vo5(input3, _path2, false) || $vo35(input3, _path2, false) || $vo38(input3, _path2, false);
|
|
2439
3018
|
})();
|
|
2440
3019
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2441
3020
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2442
3021
|
return $vo16(input3, _path2, _exceptionable2);
|
|
2443
3022
|
if ("metaboliteIntensity" === input3.type)
|
|
2444
3023
|
return $vo27(input3, _path2, _exceptionable2);
|
|
2445
|
-
if ("
|
|
3024
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
2446
3025
|
return $vo28(input3, _path2, _exceptionable2);
|
|
2447
|
-
if ("
|
|
3026
|
+
if ("date" === input3.type)
|
|
2448
3027
|
return $vo29(input3, _path2, _exceptionable2);
|
|
2449
|
-
|
|
3028
|
+
if ("ssGSEA" === input3.type)
|
|
3029
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
3030
|
+
if ("dnaMethylation" === input3.type)
|
|
3031
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
3032
|
+
return $vo26(input3, _path2, false) || $vo25(input3, _path2, false) || $vo33(input3, _path2, false) || $vo32(input3, _path2, false);
|
|
2450
3033
|
})();
|
|
2451
3034
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2452
3035
|
if ("regular-bin" === input3.type)
|
|
@@ -2483,15 +3066,26 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
2483
3066
|
})();
|
|
2484
3067
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2485
3068
|
if ("gene" === input3.kind)
|
|
2486
|
-
return $
|
|
3069
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
2487
3070
|
if ("coord" === input3.kind)
|
|
2488
|
-
return $
|
|
3071
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
2489
3072
|
return $report(_exceptionable2, {
|
|
2490
3073
|
path: _path2,
|
|
2491
3074
|
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; })',
|
|
2492
3075
|
value: input3
|
|
2493
3076
|
});
|
|
2494
3077
|
})();
|
|
3078
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3079
|
+
if ("numeric" === input3.memberType)
|
|
3080
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3081
|
+
if ("categorical" === input3.memberType)
|
|
3082
|
+
return $vo50(input3, _path2, _exceptionable2);
|
|
3083
|
+
return $report(_exceptionable2, {
|
|
3084
|
+
path: _path2,
|
|
3085
|
+
expected: "(NumericTermCollection | CategoricalTermCollection)",
|
|
3086
|
+
value: input3
|
|
3087
|
+
});
|
|
3088
|
+
})();
|
|
2495
3089
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
2496
3090
|
path: _path + "",
|
|
2497
3091
|
expected: "TermdbTopVariablyExpressedGenesRequest",
|