@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
|
@@ -81,7 +81,7 @@ var validViolinRequest = (input) => {
|
|
|
81
81
|
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
82
82
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
83
83
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
84
|
-
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
84
|
+
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
85
85
|
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
86
86
|
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
87
87
|
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
@@ -101,31 +101,35 @@ var validViolinRequest = (input) => {
|
|
|
101
101
|
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
102
102
|
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
103
103
|
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
104
|
-
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
105
|
-
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
106
|
-
const $io28 = (input3) => "string" === typeof input3.
|
|
107
|
-
const $io29 = (input3) => (void 0 === input3.
|
|
108
|
-
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
109
|
-
const $io31 = (input3) => "
|
|
110
|
-
const $io32 = (input3) =>
|
|
111
|
-
const $io33 = (input3) =>
|
|
112
|
-
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
113
|
-
const $io35 = (input3) => "
|
|
114
|
-
const $io36 = (input3) =>
|
|
115
|
-
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
116
|
-
const $io38 = (input3) => "string" === typeof input3.
|
|
117
|
-
const $io39 = (input3) => (void 0 === input3.
|
|
118
|
-
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
119
|
-
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
120
|
-
const $io42 = (input3) =>
|
|
104
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "wholeProteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
105
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
106
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
107
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
108
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
109
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
110
|
+
const $io32 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
111
|
+
const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io34(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
112
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
|
|
113
|
+
const $io35 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
114
|
+
const $io36 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io37(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io42(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
115
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
116
|
+
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
|
|
117
|
+
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
118
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
119
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
|
|
120
|
+
const $io42 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
121
|
+
const $io43 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && "number" === typeof input3.ratio;
|
|
122
|
+
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io46(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
123
|
+
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
|
|
124
|
+
const $io46 = (input3) => Object.keys(input3).every((key) => {
|
|
121
125
|
const value = input3[key];
|
|
122
126
|
if (void 0 === value)
|
|
123
127
|
return true;
|
|
124
128
|
if (RegExp(/(.*)/).test(key))
|
|
125
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
129
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io47(value);
|
|
126
130
|
return true;
|
|
127
131
|
});
|
|
128
|
-
const $
|
|
132
|
+
const $io47 = (input3) => Object.keys(input3).every((key) => {
|
|
129
133
|
const value = input3[key];
|
|
130
134
|
if (void 0 === value)
|
|
131
135
|
return true;
|
|
@@ -133,6 +137,8 @@ var validViolinRequest = (input) => {
|
|
|
133
137
|
return true;
|
|
134
138
|
return true;
|
|
135
139
|
});
|
|
140
|
+
const $io48 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io46(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io49(elem)));
|
|
141
|
+
const $io49 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
136
142
|
const $iu0 = (input3) => (() => {
|
|
137
143
|
if ("tvslst" === input3.type)
|
|
138
144
|
return $io1(input3);
|
|
@@ -156,23 +162,23 @@ var validViolinRequest = (input) => {
|
|
|
156
162
|
})();
|
|
157
163
|
const $iu3 = (input3) => (() => {
|
|
158
164
|
if ("gene" === input3.kind)
|
|
159
|
-
return $
|
|
165
|
+
return $io39(input3);
|
|
160
166
|
if ("coord" === input3.kind)
|
|
161
|
-
return $
|
|
167
|
+
return $io40(input3);
|
|
162
168
|
return false;
|
|
163
169
|
})();
|
|
164
170
|
const $iu4 = (input3) => (() => {
|
|
165
171
|
if (void 0 !== input3.ranges)
|
|
166
172
|
return $io13(input3);
|
|
167
173
|
if (void 0 !== input3.ratio)
|
|
168
|
-
return $
|
|
174
|
+
return $io43(input3);
|
|
169
175
|
return (() => {
|
|
170
176
|
if ($io3(input3))
|
|
171
177
|
return $io3(input3);
|
|
172
|
-
if ($
|
|
173
|
-
return $
|
|
174
|
-
if ($
|
|
175
|
-
return $
|
|
178
|
+
if ($io33(input3))
|
|
179
|
+
return $io33(input3);
|
|
180
|
+
if ($io36(input3))
|
|
181
|
+
return $io36(input3);
|
|
176
182
|
return false;
|
|
177
183
|
})();
|
|
178
184
|
})();
|
|
@@ -181,15 +187,23 @@ var validViolinRequest = (input) => {
|
|
|
181
187
|
return $io14(input3);
|
|
182
188
|
if ("metaboliteIntensity" === input3.type)
|
|
183
189
|
return $io25(input3);
|
|
184
|
-
if ("
|
|
190
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
185
191
|
return $io26(input3);
|
|
186
|
-
if ("
|
|
192
|
+
if ("date" === input3.type)
|
|
187
193
|
return $io27(input3);
|
|
194
|
+
if ("ssGSEA" === input3.type)
|
|
195
|
+
return $io28(input3);
|
|
196
|
+
if ("dnaMethylation" === input3.type)
|
|
197
|
+
return $io29(input3);
|
|
188
198
|
return (() => {
|
|
189
199
|
if ($io24(input3))
|
|
190
200
|
return $io24(input3);
|
|
191
201
|
if ($io23(input3))
|
|
192
202
|
return $io23(input3);
|
|
203
|
+
if ($io31(input3))
|
|
204
|
+
return $io31(input3);
|
|
205
|
+
if ($io30(input3))
|
|
206
|
+
return $io30(input3);
|
|
193
207
|
return false;
|
|
194
208
|
})();
|
|
195
209
|
})();
|
|
@@ -216,9 +230,16 @@ var validViolinRequest = (input) => {
|
|
|
216
230
|
})();
|
|
217
231
|
const $iu9 = (input3) => (() => {
|
|
218
232
|
if ("gene" === input3.kind)
|
|
219
|
-
return $
|
|
233
|
+
return $io38(input3);
|
|
220
234
|
if ("coord" === input3.kind)
|
|
221
|
-
return $
|
|
235
|
+
return $io41(input3);
|
|
236
|
+
return false;
|
|
237
|
+
})();
|
|
238
|
+
const $iu10 = (input3) => (() => {
|
|
239
|
+
if ("numeric" === input3.memberType)
|
|
240
|
+
return $io44(input3);
|
|
241
|
+
if ("categorical" === input3.memberType)
|
|
242
|
+
return $io48(input3);
|
|
222
243
|
return false;
|
|
223
244
|
})();
|
|
224
245
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -651,11 +672,11 @@ var validViolinRequest = (input) => {
|
|
|
651
672
|
value: input3.isnot
|
|
652
673
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
653
674
|
path: _path2 + ".term",
|
|
654
|
-
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)',
|
|
675
|
+
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)',
|
|
655
676
|
value: input3.term
|
|
656
677
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
657
678
|
path: _path2 + ".term",
|
|
658
|
-
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
679
|
+
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)',
|
|
659
680
|
value: input3.term
|
|
660
681
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
661
682
|
path: _path2 + ".ranges",
|
|
@@ -681,7 +702,7 @@ var validViolinRequest = (input) => {
|
|
|
681
702
|
path: _path2 + ".values[" + _index10 + "]",
|
|
682
703
|
expected: "__type.o4",
|
|
683
704
|
value: elem
|
|
684
|
-
})) && $
|
|
705
|
+
})) && $vo32(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
685
706
|
path: _path2 + ".values[" + _index10 + "]",
|
|
686
707
|
expected: "__type.o4",
|
|
687
708
|
value: elem
|
|
@@ -1371,9 +1392,9 @@ var validViolinRequest = (input) => {
|
|
|
1371
1392
|
path: _path2 + ".name",
|
|
1372
1393
|
expected: "string",
|
|
1373
1394
|
value: input3.name
|
|
1374
|
-
}), "
|
|
1395
|
+
}), "wholeProteomeAbundance" === input3.type || $report(_exceptionable2, {
|
|
1375
1396
|
path: _path2 + ".type",
|
|
1376
|
-
expected: '"
|
|
1397
|
+
expected: '"wholeProteomeAbundance"',
|
|
1377
1398
|
value: input3.type
|
|
1378
1399
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1379
1400
|
path: _path2 + ".child_types",
|
|
@@ -1439,6 +1460,10 @@ var validViolinRequest = (input) => {
|
|
|
1439
1460
|
path: _path2 + ".unit",
|
|
1440
1461
|
expected: "(string | undefined)",
|
|
1441
1462
|
value: input3.unit
|
|
1463
|
+
}), "string" === typeof input3.protein || $report(_exceptionable2, {
|
|
1464
|
+
path: _path2 + ".protein",
|
|
1465
|
+
expected: "string",
|
|
1466
|
+
value: input3.protein
|
|
1442
1467
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1443
1468
|
path: _path2 + ".bins",
|
|
1444
1469
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1456,9 +1481,9 @@ var validViolinRequest = (input) => {
|
|
|
1456
1481
|
path: _path2 + ".name",
|
|
1457
1482
|
expected: "string",
|
|
1458
1483
|
value: input3.name
|
|
1459
|
-
}), "
|
|
1484
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1460
1485
|
path: _path2 + ".type",
|
|
1461
|
-
expected: '"
|
|
1486
|
+
expected: '"date"',
|
|
1462
1487
|
value: input3.type
|
|
1463
1488
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1464
1489
|
path: _path2 + ".child_types",
|
|
@@ -1524,18 +1549,6 @@ var validViolinRequest = (input) => {
|
|
|
1524
1549
|
path: _path2 + ".unit",
|
|
1525
1550
|
expected: "(string | undefined)",
|
|
1526
1551
|
value: input3.unit
|
|
1527
|
-
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1528
|
-
path: _path2 + ".genes",
|
|
1529
|
-
expected: "(Array<string> | undefined)",
|
|
1530
|
-
value: input3.genes
|
|
1531
|
-
})) && input3.genes.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1532
|
-
path: _path2 + ".genes[" + _index24 + "]",
|
|
1533
|
-
expected: "string",
|
|
1534
|
-
value: elem
|
|
1535
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1536
|
-
path: _path2 + ".genes",
|
|
1537
|
-
expected: "(Array<string> | undefined)",
|
|
1538
|
-
value: input3.genes
|
|
1539
1552
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1540
1553
|
path: _path2 + ".bins",
|
|
1541
1554
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1545,69 +1558,7 @@ var validViolinRequest = (input) => {
|
|
|
1545
1558
|
expected: "(PresetNumericBins | undefined)",
|
|
1546
1559
|
value: input3.bins
|
|
1547
1560
|
})].every((flag) => flag);
|
|
1548
|
-
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
1549
|
-
path: _path2 + ".key",
|
|
1550
|
-
expected: "string",
|
|
1551
|
-
value: input3.key
|
|
1552
|
-
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1553
|
-
path: _path2 + ".value",
|
|
1554
|
-
expected: "number",
|
|
1555
|
-
value: input3.value
|
|
1556
|
-
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1557
|
-
path: _path2 + ".uncomputable",
|
|
1558
|
-
expected: "true",
|
|
1559
|
-
value: input3.uncomputable
|
|
1560
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1561
|
-
path: _path2 + ".label",
|
|
1562
|
-
expected: "(string | undefined)",
|
|
1563
|
-
value: input3.label
|
|
1564
|
-
})].every((flag) => flag);
|
|
1565
|
-
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1566
|
-
path: _path2 + ".join",
|
|
1567
|
-
expected: "(string | undefined)",
|
|
1568
|
-
value: input3.join
|
|
1569
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1570
|
-
path: _path2 + ".isnot",
|
|
1571
|
-
expected: "(boolean | undefined)",
|
|
1572
|
-
value: input3.isnot
|
|
1573
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1574
|
-
path: _path2 + ".term",
|
|
1575
|
-
expected: "ConditionTerm",
|
|
1576
|
-
value: input3.term
|
|
1577
|
-
})) && $vo30(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1578
|
-
path: _path2 + ".term",
|
|
1579
|
-
expected: "ConditionTerm",
|
|
1580
|
-
value: input3.term
|
|
1581
|
-
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1582
|
-
path: _path2 + ".value_by_max_grade",
|
|
1583
|
-
expected: "(boolean | undefined)",
|
|
1584
|
-
value: input3.value_by_max_grade
|
|
1585
|
-
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1586
|
-
path: _path2 + ".value_by_most_recent",
|
|
1587
|
-
expected: "(boolean | undefined)",
|
|
1588
|
-
value: input3.value_by_most_recent
|
|
1589
|
-
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1590
|
-
path: _path2 + ".value_by_computable_grade",
|
|
1591
|
-
expected: "(boolean | undefined)",
|
|
1592
|
-
value: input3.value_by_computable_grade
|
|
1593
|
-
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1594
|
-
path: _path2 + ".grade_and_child",
|
|
1595
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1596
|
-
value: input3.grade_and_child
|
|
1597
|
-
})) && input3.grade_and_child.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1598
|
-
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1599
|
-
expected: "GradeAndChildEntry",
|
|
1600
|
-
value: elem
|
|
1601
|
-
})) && $vo31(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1602
|
-
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1603
|
-
expected: "GradeAndChildEntry",
|
|
1604
|
-
value: elem
|
|
1605
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1606
|
-
path: _path2 + ".grade_and_child",
|
|
1607
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1608
|
-
value: input3.grade_and_child
|
|
1609
|
-
})].every((flag) => flag);
|
|
1610
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1561
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1611
1562
|
path: _path2 + ".id",
|
|
1612
1563
|
expected: "string",
|
|
1613
1564
|
value: input3.id
|
|
@@ -1615,16 +1566,16 @@ var validViolinRequest = (input) => {
|
|
|
1615
1566
|
path: _path2 + ".name",
|
|
1616
1567
|
expected: "string",
|
|
1617
1568
|
value: input3.name
|
|
1618
|
-
}), "
|
|
1569
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1619
1570
|
path: _path2 + ".type",
|
|
1620
|
-
expected: '"
|
|
1571
|
+
expected: '"ssGSEA"',
|
|
1621
1572
|
value: input3.type
|
|
1622
1573
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1623
1574
|
path: _path2 + ".child_types",
|
|
1624
1575
|
expected: "(Array<string> | undefined)",
|
|
1625
1576
|
value: input3.child_types
|
|
1626
|
-
})) && input3.child_types.map((elem,
|
|
1627
|
-
path: _path2 + ".child_types[" +
|
|
1577
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1578
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1628
1579
|
expected: "string",
|
|
1629
1580
|
value: elem
|
|
1630
1581
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1639,8 +1590,8 @@ var validViolinRequest = (input) => {
|
|
|
1639
1590
|
path: _path2 + ".included_types",
|
|
1640
1591
|
expected: "(Array<string> | undefined)",
|
|
1641
1592
|
value: input3.included_types
|
|
1642
|
-
})) && input3.included_types.map((elem,
|
|
1643
|
-
path: _path2 + ".included_types[" +
|
|
1593
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1594
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1644
1595
|
expected: "string",
|
|
1645
1596
|
value: elem
|
|
1646
1597
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1671,115 +1622,40 @@ var validViolinRequest = (input) => {
|
|
|
1671
1622
|
path: _path2 + ".valueConversion",
|
|
1672
1623
|
expected: "(__type.o1 | undefined)",
|
|
1673
1624
|
value: input3.valueConversion
|
|
1674
|
-
})
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
path: _path2 + ".child_id",
|
|
1625
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1626
|
+
path: _path2 + ".continuousColorScale",
|
|
1627
|
+
expected: "(__type.o3 | undefined)",
|
|
1628
|
+
value: input3.continuousColorScale
|
|
1629
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1630
|
+
path: _path2 + ".continuousColorScale",
|
|
1631
|
+
expected: "(__type.o3 | undefined)",
|
|
1632
|
+
value: input3.continuousColorScale
|
|
1633
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1634
|
+
path: _path2 + ".unit",
|
|
1685
1635
|
expected: "(string | undefined)",
|
|
1686
|
-
value: input3.
|
|
1687
|
-
}),
|
|
1688
|
-
path: _path2 + ".
|
|
1636
|
+
value: input3.unit
|
|
1637
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1638
|
+
path: _path2 + ".genes",
|
|
1639
|
+
expected: "(Array<string> | undefined)",
|
|
1640
|
+
value: input3.genes
|
|
1641
|
+
})) && input3.genes.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1642
|
+
path: _path2 + ".genes[" + _index26 + "]",
|
|
1689
1643
|
expected: "string",
|
|
1690
|
-
value: input3.child_label
|
|
1691
|
-
})].every((flag) => flag);
|
|
1692
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1693
|
-
path: _path2 + ".join",
|
|
1694
|
-
expected: "(string | undefined)",
|
|
1695
|
-
value: input3.join
|
|
1696
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1697
|
-
path: _path2 + ".isnot",
|
|
1698
|
-
expected: "(boolean | undefined)",
|
|
1699
|
-
value: input3.isnot
|
|
1700
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1701
|
-
path: _path2 + ".term",
|
|
1702
|
-
expected: "DtTerm",
|
|
1703
|
-
value: input3.term
|
|
1704
|
-
})) && $vo33(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1705
|
-
path: _path2 + ".term",
|
|
1706
|
-
expected: "DtTerm",
|
|
1707
|
-
value: input3.term
|
|
1708
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1709
|
-
path: _path2 + ".values",
|
|
1710
|
-
expected: "Array<__type>.o2",
|
|
1711
|
-
value: input3.values
|
|
1712
|
-
})) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1713
|
-
path: _path2 + ".values[" + _index28 + "]",
|
|
1714
|
-
expected: "__type.o5",
|
|
1715
|
-
value: elem
|
|
1716
|
-
})) && $vo38(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1717
|
-
path: _path2 + ".values[" + _index28 + "]",
|
|
1718
|
-
expected: "__type.o5",
|
|
1719
1644
|
value: elem
|
|
1720
1645
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1721
|
-
path: _path2 + ".
|
|
1722
|
-
expected: "Array<
|
|
1723
|
-
value: input3.
|
|
1724
|
-
}), void 0 === input3.
|
|
1725
|
-
path: _path2 + ".
|
|
1726
|
-
expected: "(
|
|
1727
|
-
value: input3.
|
|
1728
|
-
})
|
|
1729
|
-
path: _path2 + ".
|
|
1730
|
-
expected: "(
|
|
1731
|
-
value: input3.
|
|
1732
|
-
})].every((flag) => flag);
|
|
1733
|
-
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1734
|
-
path: _path2 + ".id",
|
|
1735
|
-
expected: "string",
|
|
1736
|
-
value: input3.id
|
|
1737
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1738
|
-
path: _path2 + ".query",
|
|
1739
|
-
expected: "string",
|
|
1740
|
-
value: input3.query
|
|
1741
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1742
|
-
path: _path2 + ".name",
|
|
1743
|
-
expected: "string",
|
|
1744
|
-
value: input3.name
|
|
1745
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1746
|
-
path: _path2 + ".name_noOrigin",
|
|
1747
|
-
expected: "string",
|
|
1748
|
-
value: input3.name_noOrigin
|
|
1749
|
-
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1750
|
-
path: _path2 + ".parentTerm",
|
|
1751
|
-
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)',
|
|
1752
|
-
value: input3.parentTerm
|
|
1753
|
-
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1754
|
-
path: _path2 + ".parentTerm",
|
|
1755
|
-
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)',
|
|
1756
|
-
value: input3.parentTerm
|
|
1757
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1758
|
-
path: _path2 + ".isleaf",
|
|
1759
|
-
expected: "boolean",
|
|
1760
|
-
value: input3.isleaf
|
|
1761
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1762
|
-
path: _path2 + ".type",
|
|
1763
|
-
expected: "string",
|
|
1764
|
-
value: input3.type
|
|
1765
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1766
|
-
path: _path2 + ".dt",
|
|
1767
|
-
expected: "number",
|
|
1768
|
-
value: input3.dt
|
|
1769
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1770
|
-
path: _path2 + ".origin",
|
|
1771
|
-
expected: "(string | undefined)",
|
|
1772
|
-
value: input3.origin
|
|
1773
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1774
|
-
path: _path2 + ".values",
|
|
1775
|
-
expected: "TermValues",
|
|
1776
|
-
value: input3.values
|
|
1777
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1778
|
-
path: _path2 + ".values",
|
|
1779
|
-
expected: "TermValues",
|
|
1780
|
-
value: input3.values
|
|
1646
|
+
path: _path2 + ".genes",
|
|
1647
|
+
expected: "(Array<string> | undefined)",
|
|
1648
|
+
value: input3.genes
|
|
1649
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1650
|
+
path: _path2 + ".bins",
|
|
1651
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1652
|
+
value: input3.bins
|
|
1653
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1654
|
+
path: _path2 + ".bins",
|
|
1655
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1656
|
+
value: input3.bins
|
|
1781
1657
|
})].every((flag) => flag);
|
|
1782
|
-
const $
|
|
1658
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1783
1659
|
path: _path2 + ".id",
|
|
1784
1660
|
expected: "string",
|
|
1785
1661
|
value: input3.id
|
|
@@ -1787,16 +1663,16 @@ var validViolinRequest = (input) => {
|
|
|
1787
1663
|
path: _path2 + ".name",
|
|
1788
1664
|
expected: "string",
|
|
1789
1665
|
value: input3.name
|
|
1790
|
-
}), "
|
|
1666
|
+
}), "dnaMethylation" === input3.type || $report(_exceptionable2, {
|
|
1791
1667
|
path: _path2 + ".type",
|
|
1792
|
-
expected: '"
|
|
1668
|
+
expected: '"dnaMethylation"',
|
|
1793
1669
|
value: input3.type
|
|
1794
1670
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1795
1671
|
path: _path2 + ".child_types",
|
|
1796
1672
|
expected: "(Array<string> | undefined)",
|
|
1797
1673
|
value: input3.child_types
|
|
1798
|
-
})) && input3.child_types.map((elem,
|
|
1799
|
-
path: _path2 + ".child_types[" +
|
|
1674
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1675
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1800
1676
|
expected: "string",
|
|
1801
1677
|
value: elem
|
|
1802
1678
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1811,8 +1687,8 @@ var validViolinRequest = (input) => {
|
|
|
1811
1687
|
path: _path2 + ".included_types",
|
|
1812
1688
|
expected: "(Array<string> | undefined)",
|
|
1813
1689
|
value: input3.included_types
|
|
1814
|
-
})) && input3.included_types.map((elem,
|
|
1815
|
-
path: _path2 + ".included_types[" +
|
|
1690
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1691
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1816
1692
|
expected: "string",
|
|
1817
1693
|
value: elem
|
|
1818
1694
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1843,41 +1719,590 @@ var validViolinRequest = (input) => {
|
|
|
1843
1719
|
path: _path2 + ".valueConversion",
|
|
1844
1720
|
expected: "(__type.o1 | undefined)",
|
|
1845
1721
|
value: input3.valueConversion
|
|
1846
|
-
}), "
|
|
1847
|
-
path: _path2 + ".
|
|
1848
|
-
expected:
|
|
1849
|
-
value: input3.
|
|
1850
|
-
}), "
|
|
1851
|
-
path: _path2 + ".
|
|
1852
|
-
expected: "
|
|
1853
|
-
value: input3.
|
|
1854
|
-
}), void 0 === input3.
|
|
1855
|
-
path: _path2 + ".
|
|
1722
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1723
|
+
path: _path2 + ".continuousColorScale",
|
|
1724
|
+
expected: "(__type.o3 | undefined)",
|
|
1725
|
+
value: input3.continuousColorScale
|
|
1726
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1727
|
+
path: _path2 + ".continuousColorScale",
|
|
1728
|
+
expected: "(__type.o3 | undefined)",
|
|
1729
|
+
value: input3.continuousColorScale
|
|
1730
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1731
|
+
path: _path2 + ".unit",
|
|
1856
1732
|
expected: "(string | undefined)",
|
|
1733
|
+
value: input3.unit
|
|
1734
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1735
|
+
path: _path2 + ".chr",
|
|
1736
|
+
expected: "string",
|
|
1857
1737
|
value: input3.chr
|
|
1858
|
-
}),
|
|
1738
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1859
1739
|
path: _path2 + ".start",
|
|
1860
|
-
expected: "
|
|
1740
|
+
expected: "number",
|
|
1861
1741
|
value: input3.start
|
|
1862
|
-
}),
|
|
1742
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1863
1743
|
path: _path2 + ".stop",
|
|
1864
|
-
expected: "
|
|
1744
|
+
expected: "number",
|
|
1865
1745
|
value: input3.stop
|
|
1866
|
-
}),
|
|
1867
|
-
path: _path2 + ".
|
|
1868
|
-
expected: "
|
|
1869
|
-
value: input3.
|
|
1870
|
-
})) && input3.
|
|
1871
|
-
path: _path2 + ".
|
|
1872
|
-
expected: "(
|
|
1873
|
-
value:
|
|
1874
|
-
}))
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1746
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1747
|
+
path: _path2 + ".bins",
|
|
1748
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1749
|
+
value: input3.bins
|
|
1750
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1751
|
+
path: _path2 + ".bins",
|
|
1752
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1753
|
+
value: input3.bins
|
|
1754
|
+
})].every((flag) => flag);
|
|
1755
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1756
|
+
path: _path2 + ".id",
|
|
1757
|
+
expected: "string",
|
|
1758
|
+
value: input3.id
|
|
1759
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1760
|
+
path: _path2 + ".name",
|
|
1761
|
+
expected: "string",
|
|
1762
|
+
value: input3.name
|
|
1763
|
+
}), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
|
|
1764
|
+
path: _path2 + ".type",
|
|
1765
|
+
expected: '"singleCellGeneExpression"',
|
|
1766
|
+
value: input3.type
|
|
1767
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1768
|
+
path: _path2 + ".child_types",
|
|
1769
|
+
expected: "(Array<string> | undefined)",
|
|
1770
|
+
value: input3.child_types
|
|
1771
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1772
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
1773
|
+
expected: "string",
|
|
1774
|
+
value: elem
|
|
1775
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1776
|
+
path: _path2 + ".child_types",
|
|
1777
|
+
expected: "(Array<string> | undefined)",
|
|
1778
|
+
value: input3.child_types
|
|
1779
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1780
|
+
path: _path2 + ".hashtmldetail",
|
|
1781
|
+
expected: "(boolean | undefined)",
|
|
1782
|
+
value: input3.hashtmldetail
|
|
1783
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1784
|
+
path: _path2 + ".included_types",
|
|
1785
|
+
expected: "(Array<string> | undefined)",
|
|
1786
|
+
value: input3.included_types
|
|
1787
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1788
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
1789
|
+
expected: "string",
|
|
1790
|
+
value: elem
|
|
1791
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1792
|
+
path: _path2 + ".included_types",
|
|
1793
|
+
expected: "(Array<string> | undefined)",
|
|
1794
|
+
value: input3.included_types
|
|
1795
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1796
|
+
path: _path2 + ".isleaf",
|
|
1797
|
+
expected: "(boolean | undefined)",
|
|
1798
|
+
value: input3.isleaf
|
|
1799
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1800
|
+
path: _path2 + ".values",
|
|
1801
|
+
expected: "(TermValues | undefined)",
|
|
1802
|
+
value: input3.values
|
|
1803
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1804
|
+
path: _path2 + ".values",
|
|
1805
|
+
expected: "(TermValues | undefined)",
|
|
1806
|
+
value: input3.values
|
|
1807
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1808
|
+
path: _path2 + ".skipValuesBuild",
|
|
1809
|
+
expected: "(boolean | undefined)",
|
|
1810
|
+
value: input3.skipValuesBuild
|
|
1811
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1812
|
+
path: _path2 + ".valueConversion",
|
|
1813
|
+
expected: "(__type.o1 | undefined)",
|
|
1814
|
+
value: input3.valueConversion
|
|
1815
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1816
|
+
path: _path2 + ".valueConversion",
|
|
1817
|
+
expected: "(__type.o1 | undefined)",
|
|
1818
|
+
value: input3.valueConversion
|
|
1819
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1820
|
+
path: _path2 + ".continuousColorScale",
|
|
1821
|
+
expected: "(__type.o3 | undefined)",
|
|
1822
|
+
value: input3.continuousColorScale
|
|
1823
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1824
|
+
path: _path2 + ".continuousColorScale",
|
|
1825
|
+
expected: "(__type.o3 | undefined)",
|
|
1826
|
+
value: input3.continuousColorScale
|
|
1827
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1828
|
+
path: _path2 + ".unit",
|
|
1829
|
+
expected: "(string | undefined)",
|
|
1830
|
+
value: input3.unit
|
|
1831
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1832
|
+
path: _path2 + ".gene",
|
|
1833
|
+
expected: "string",
|
|
1834
|
+
value: input3.gene
|
|
1835
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
1836
|
+
path: _path2 + ".sample",
|
|
1837
|
+
expected: "string",
|
|
1838
|
+
value: input3.sample
|
|
1839
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1840
|
+
path: _path2 + ".bins",
|
|
1841
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1842
|
+
value: input3.bins
|
|
1843
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1844
|
+
path: _path2 + ".bins",
|
|
1845
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1846
|
+
value: input3.bins
|
|
1847
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
1848
|
+
path: _path2 + ".kind",
|
|
1849
|
+
expected: '("gene" | undefined)',
|
|
1850
|
+
value: input3.kind
|
|
1851
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1852
|
+
path: _path2 + ".chr",
|
|
1853
|
+
expected: "(string | undefined)",
|
|
1854
|
+
value: input3.chr
|
|
1855
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1856
|
+
path: _path2 + ".start",
|
|
1857
|
+
expected: "(number | undefined)",
|
|
1858
|
+
value: input3.start
|
|
1859
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1860
|
+
path: _path2 + ".stop",
|
|
1861
|
+
expected: "(number | undefined)",
|
|
1862
|
+
value: input3.stop
|
|
1863
|
+
})].every((flag) => flag);
|
|
1864
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1865
|
+
path: _path2 + ".id",
|
|
1866
|
+
expected: "string",
|
|
1867
|
+
value: input3.id
|
|
1868
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1869
|
+
path: _path2 + ".name",
|
|
1870
|
+
expected: "string",
|
|
1871
|
+
value: input3.name
|
|
1872
|
+
}), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
|
|
1873
|
+
path: _path2 + ".type",
|
|
1874
|
+
expected: '"singleCellGeneExpression"',
|
|
1875
|
+
value: input3.type
|
|
1876
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1877
|
+
path: _path2 + ".child_types",
|
|
1878
|
+
expected: "(Array<string> | undefined)",
|
|
1879
|
+
value: input3.child_types
|
|
1880
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1881
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
1882
|
+
expected: "string",
|
|
1883
|
+
value: elem
|
|
1884
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1885
|
+
path: _path2 + ".child_types",
|
|
1886
|
+
expected: "(Array<string> | undefined)",
|
|
1887
|
+
value: input3.child_types
|
|
1888
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1889
|
+
path: _path2 + ".hashtmldetail",
|
|
1890
|
+
expected: "(boolean | undefined)",
|
|
1891
|
+
value: input3.hashtmldetail
|
|
1892
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1893
|
+
path: _path2 + ".included_types",
|
|
1894
|
+
expected: "(Array<string> | undefined)",
|
|
1895
|
+
value: input3.included_types
|
|
1896
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1897
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
1898
|
+
expected: "string",
|
|
1899
|
+
value: elem
|
|
1900
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1901
|
+
path: _path2 + ".included_types",
|
|
1902
|
+
expected: "(Array<string> | undefined)",
|
|
1903
|
+
value: input3.included_types
|
|
1904
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1905
|
+
path: _path2 + ".isleaf",
|
|
1906
|
+
expected: "(boolean | undefined)",
|
|
1907
|
+
value: input3.isleaf
|
|
1908
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1909
|
+
path: _path2 + ".values",
|
|
1910
|
+
expected: "(TermValues | undefined)",
|
|
1911
|
+
value: input3.values
|
|
1912
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1913
|
+
path: _path2 + ".values",
|
|
1914
|
+
expected: "(TermValues | undefined)",
|
|
1915
|
+
value: input3.values
|
|
1916
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1917
|
+
path: _path2 + ".skipValuesBuild",
|
|
1918
|
+
expected: "(boolean | undefined)",
|
|
1919
|
+
value: input3.skipValuesBuild
|
|
1920
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1921
|
+
path: _path2 + ".valueConversion",
|
|
1922
|
+
expected: "(__type.o1 | undefined)",
|
|
1923
|
+
value: input3.valueConversion
|
|
1924
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1925
|
+
path: _path2 + ".valueConversion",
|
|
1926
|
+
expected: "(__type.o1 | undefined)",
|
|
1927
|
+
value: input3.valueConversion
|
|
1928
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1929
|
+
path: _path2 + ".continuousColorScale",
|
|
1930
|
+
expected: "(__type.o3 | undefined)",
|
|
1931
|
+
value: input3.continuousColorScale
|
|
1932
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1933
|
+
path: _path2 + ".continuousColorScale",
|
|
1934
|
+
expected: "(__type.o3 | undefined)",
|
|
1935
|
+
value: input3.continuousColorScale
|
|
1936
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1937
|
+
path: _path2 + ".unit",
|
|
1938
|
+
expected: "(string | undefined)",
|
|
1939
|
+
value: input3.unit
|
|
1940
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1941
|
+
path: _path2 + ".gene",
|
|
1942
|
+
expected: "string",
|
|
1943
|
+
value: input3.gene
|
|
1944
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
1945
|
+
path: _path2 + ".sample",
|
|
1946
|
+
expected: "string",
|
|
1947
|
+
value: input3.sample
|
|
1948
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1949
|
+
path: _path2 + ".bins",
|
|
1950
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1951
|
+
value: input3.bins
|
|
1952
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1953
|
+
path: _path2 + ".bins",
|
|
1954
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1955
|
+
value: input3.bins
|
|
1956
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1957
|
+
path: _path2 + ".kind",
|
|
1958
|
+
expected: '("coord" | undefined)',
|
|
1959
|
+
value: input3.kind
|
|
1960
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1961
|
+
path: _path2 + ".chr",
|
|
1962
|
+
expected: "string",
|
|
1963
|
+
value: input3.chr
|
|
1964
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1965
|
+
path: _path2 + ".start",
|
|
1966
|
+
expected: "number",
|
|
1967
|
+
value: input3.start
|
|
1968
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1969
|
+
path: _path2 + ".stop",
|
|
1970
|
+
expected: "number",
|
|
1971
|
+
value: input3.stop
|
|
1972
|
+
})].every((flag) => flag);
|
|
1973
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1974
|
+
path: _path2 + ".key",
|
|
1975
|
+
expected: "string",
|
|
1976
|
+
value: input3.key
|
|
1977
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1978
|
+
path: _path2 + ".value",
|
|
1979
|
+
expected: "number",
|
|
1980
|
+
value: input3.value
|
|
1981
|
+
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1982
|
+
path: _path2 + ".uncomputable",
|
|
1983
|
+
expected: "true",
|
|
1984
|
+
value: input3.uncomputable
|
|
1985
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1986
|
+
path: _path2 + ".label",
|
|
1987
|
+
expected: "(string | undefined)",
|
|
1988
|
+
value: input3.label
|
|
1989
|
+
})].every((flag) => flag);
|
|
1990
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1991
|
+
path: _path2 + ".join",
|
|
1992
|
+
expected: "(string | undefined)",
|
|
1993
|
+
value: input3.join
|
|
1994
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1995
|
+
path: _path2 + ".isnot",
|
|
1996
|
+
expected: "(boolean | undefined)",
|
|
1997
|
+
value: input3.isnot
|
|
1998
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1999
|
+
path: _path2 + ".term",
|
|
2000
|
+
expected: "ConditionTerm",
|
|
2001
|
+
value: input3.term
|
|
2002
|
+
})) && $vo34(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2003
|
+
path: _path2 + ".term",
|
|
2004
|
+
expected: "ConditionTerm",
|
|
2005
|
+
value: input3.term
|
|
2006
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2007
|
+
path: _path2 + ".value_by_max_grade",
|
|
2008
|
+
expected: "(boolean | undefined)",
|
|
2009
|
+
value: input3.value_by_max_grade
|
|
2010
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2011
|
+
path: _path2 + ".value_by_most_recent",
|
|
2012
|
+
expected: "(boolean | undefined)",
|
|
2013
|
+
value: input3.value_by_most_recent
|
|
2014
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2015
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2016
|
+
expected: "(boolean | undefined)",
|
|
2017
|
+
value: input3.value_by_computable_grade
|
|
2018
|
+
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
2019
|
+
path: _path2 + ".grade_and_child",
|
|
2020
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2021
|
+
value: input3.grade_and_child
|
|
2022
|
+
})) && input3.grade_and_child.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2023
|
+
path: _path2 + ".grade_and_child[" + _index33 + "]",
|
|
2024
|
+
expected: "GradeAndChildEntry",
|
|
2025
|
+
value: elem
|
|
2026
|
+
})) && $vo35(elem, _path2 + ".grade_and_child[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2027
|
+
path: _path2 + ".grade_and_child[" + _index33 + "]",
|
|
2028
|
+
expected: "GradeAndChildEntry",
|
|
2029
|
+
value: elem
|
|
2030
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2031
|
+
path: _path2 + ".grade_and_child",
|
|
2032
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2033
|
+
value: input3.grade_and_child
|
|
2034
|
+
})].every((flag) => flag);
|
|
2035
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2036
|
+
path: _path2 + ".id",
|
|
2037
|
+
expected: "string",
|
|
2038
|
+
value: input3.id
|
|
2039
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2040
|
+
path: _path2 + ".name",
|
|
2041
|
+
expected: "string",
|
|
2042
|
+
value: input3.name
|
|
2043
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
2044
|
+
path: _path2 + ".type",
|
|
2045
|
+
expected: '"condition"',
|
|
2046
|
+
value: input3.type
|
|
2047
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2048
|
+
path: _path2 + ".child_types",
|
|
2049
|
+
expected: "(Array<string> | undefined)",
|
|
2050
|
+
value: input3.child_types
|
|
2051
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2052
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
2053
|
+
expected: "string",
|
|
2054
|
+
value: elem
|
|
2055
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2056
|
+
path: _path2 + ".child_types",
|
|
2057
|
+
expected: "(Array<string> | undefined)",
|
|
2058
|
+
value: input3.child_types
|
|
2059
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2060
|
+
path: _path2 + ".hashtmldetail",
|
|
2061
|
+
expected: "(boolean | undefined)",
|
|
2062
|
+
value: input3.hashtmldetail
|
|
2063
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2064
|
+
path: _path2 + ".included_types",
|
|
2065
|
+
expected: "(Array<string> | undefined)",
|
|
2066
|
+
value: input3.included_types
|
|
2067
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2068
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
2069
|
+
expected: "string",
|
|
2070
|
+
value: elem
|
|
2071
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2072
|
+
path: _path2 + ".included_types",
|
|
2073
|
+
expected: "(Array<string> | undefined)",
|
|
2074
|
+
value: input3.included_types
|
|
2075
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2076
|
+
path: _path2 + ".isleaf",
|
|
2077
|
+
expected: "(boolean | undefined)",
|
|
2078
|
+
value: input3.isleaf
|
|
2079
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2080
|
+
path: _path2 + ".values",
|
|
2081
|
+
expected: "(TermValues | undefined)",
|
|
2082
|
+
value: input3.values
|
|
2083
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2084
|
+
path: _path2 + ".values",
|
|
2085
|
+
expected: "(TermValues | undefined)",
|
|
2086
|
+
value: input3.values
|
|
2087
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2088
|
+
path: _path2 + ".skipValuesBuild",
|
|
2089
|
+
expected: "(boolean | undefined)",
|
|
2090
|
+
value: input3.skipValuesBuild
|
|
2091
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2092
|
+
path: _path2 + ".valueConversion",
|
|
2093
|
+
expected: "(__type.o1 | undefined)",
|
|
2094
|
+
value: input3.valueConversion
|
|
2095
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2096
|
+
path: _path2 + ".valueConversion",
|
|
2097
|
+
expected: "(__type.o1 | undefined)",
|
|
2098
|
+
value: input3.valueConversion
|
|
2099
|
+
})].every((flag) => flag);
|
|
2100
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2101
|
+
path: _path2 + ".grade",
|
|
2102
|
+
expected: "number",
|
|
2103
|
+
value: input3.grade
|
|
2104
|
+
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
2105
|
+
path: _path2 + ".grade_label",
|
|
2106
|
+
expected: "string",
|
|
2107
|
+
value: input3.grade_label
|
|
2108
|
+
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
2109
|
+
path: _path2 + ".child_id",
|
|
2110
|
+
expected: "(string | undefined)",
|
|
2111
|
+
value: input3.child_id
|
|
2112
|
+
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
2113
|
+
path: _path2 + ".child_label",
|
|
2114
|
+
expected: "string",
|
|
2115
|
+
value: input3.child_label
|
|
2116
|
+
})].every((flag) => flag);
|
|
2117
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2118
|
+
path: _path2 + ".join",
|
|
2119
|
+
expected: "(string | undefined)",
|
|
2120
|
+
value: input3.join
|
|
2121
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
2122
|
+
path: _path2 + ".isnot",
|
|
2123
|
+
expected: "(boolean | undefined)",
|
|
2124
|
+
value: input3.isnot
|
|
2125
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2126
|
+
path: _path2 + ".term",
|
|
2127
|
+
expected: "DtTerm",
|
|
2128
|
+
value: input3.term
|
|
2129
|
+
})) && $vo37(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2130
|
+
path: _path2 + ".term",
|
|
2131
|
+
expected: "DtTerm",
|
|
2132
|
+
value: input3.term
|
|
2133
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2134
|
+
path: _path2 + ".values",
|
|
2135
|
+
expected: "Array<__type>.o2",
|
|
2136
|
+
value: input3.values
|
|
2137
|
+
})) && input3.values.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2138
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2139
|
+
expected: "__type.o5",
|
|
2140
|
+
value: elem
|
|
2141
|
+
})) && $vo42(elem, _path2 + ".values[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2142
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2143
|
+
expected: "__type.o5",
|
|
2144
|
+
value: elem
|
|
2145
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2146
|
+
path: _path2 + ".values",
|
|
2147
|
+
expected: "Array<__type>.o2",
|
|
2148
|
+
value: input3.values
|
|
2149
|
+
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2150
|
+
path: _path2 + ".includeNotTested",
|
|
2151
|
+
expected: "(boolean | undefined)",
|
|
2152
|
+
value: input3.includeNotTested
|
|
2153
|
+
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
2154
|
+
path: _path2 + ".excludeGeneName",
|
|
2155
|
+
expected: "(boolean | undefined)",
|
|
2156
|
+
value: input3.excludeGeneName
|
|
2157
|
+
})].every((flag) => flag);
|
|
2158
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2159
|
+
path: _path2 + ".id",
|
|
2160
|
+
expected: "string",
|
|
2161
|
+
value: input3.id
|
|
2162
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
2163
|
+
path: _path2 + ".query",
|
|
2164
|
+
expected: "string",
|
|
2165
|
+
value: input3.query
|
|
2166
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2167
|
+
path: _path2 + ".name",
|
|
2168
|
+
expected: "string",
|
|
2169
|
+
value: input3.name
|
|
2170
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
2171
|
+
path: _path2 + ".name_noOrigin",
|
|
2172
|
+
expected: "string",
|
|
2173
|
+
value: input3.name_noOrigin
|
|
2174
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
2175
|
+
path: _path2 + ".parentTerm",
|
|
2176
|
+
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)',
|
|
2177
|
+
value: input3.parentTerm
|
|
2178
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2179
|
+
path: _path2 + ".parentTerm",
|
|
2180
|
+
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)',
|
|
2181
|
+
value: input3.parentTerm
|
|
2182
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2183
|
+
path: _path2 + ".isleaf",
|
|
2184
|
+
expected: "boolean",
|
|
2185
|
+
value: input3.isleaf
|
|
2186
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2187
|
+
path: _path2 + ".type",
|
|
2188
|
+
expected: "string",
|
|
2189
|
+
value: input3.type
|
|
2190
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2191
|
+
path: _path2 + ".dt",
|
|
2192
|
+
expected: "number",
|
|
2193
|
+
value: input3.dt
|
|
2194
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2195
|
+
path: _path2 + ".origin",
|
|
2196
|
+
expected: "(string | undefined)",
|
|
2197
|
+
value: input3.origin
|
|
2198
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2199
|
+
path: _path2 + ".values",
|
|
2200
|
+
expected: "TermValues",
|
|
2201
|
+
value: input3.values
|
|
2202
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2203
|
+
path: _path2 + ".values",
|
|
2204
|
+
expected: "TermValues",
|
|
2205
|
+
value: input3.values
|
|
2206
|
+
})].every((flag) => flag);
|
|
2207
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2208
|
+
path: _path2 + ".id",
|
|
2209
|
+
expected: "string",
|
|
2210
|
+
value: input3.id
|
|
2211
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2212
|
+
path: _path2 + ".name",
|
|
2213
|
+
expected: "string",
|
|
2214
|
+
value: input3.name
|
|
2215
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2216
|
+
path: _path2 + ".type",
|
|
2217
|
+
expected: '"geneVariant"',
|
|
2218
|
+
value: input3.type
|
|
2219
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2220
|
+
path: _path2 + ".child_types",
|
|
2221
|
+
expected: "(Array<string> | undefined)",
|
|
2222
|
+
value: input3.child_types
|
|
2223
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2224
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
2225
|
+
expected: "string",
|
|
2226
|
+
value: elem
|
|
2227
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2228
|
+
path: _path2 + ".child_types",
|
|
2229
|
+
expected: "(Array<string> | undefined)",
|
|
2230
|
+
value: input3.child_types
|
|
2231
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2232
|
+
path: _path2 + ".hashtmldetail",
|
|
2233
|
+
expected: "(boolean | undefined)",
|
|
2234
|
+
value: input3.hashtmldetail
|
|
2235
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2236
|
+
path: _path2 + ".included_types",
|
|
2237
|
+
expected: "(Array<string> | undefined)",
|
|
2238
|
+
value: input3.included_types
|
|
2239
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2240
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
2241
|
+
expected: "string",
|
|
2242
|
+
value: elem
|
|
2243
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2244
|
+
path: _path2 + ".included_types",
|
|
2245
|
+
expected: "(Array<string> | undefined)",
|
|
2246
|
+
value: input3.included_types
|
|
2247
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2248
|
+
path: _path2 + ".isleaf",
|
|
2249
|
+
expected: "(boolean | undefined)",
|
|
2250
|
+
value: input3.isleaf
|
|
2251
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2252
|
+
path: _path2 + ".values",
|
|
2253
|
+
expected: "(TermValues | undefined)",
|
|
2254
|
+
value: input3.values
|
|
2255
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2256
|
+
path: _path2 + ".values",
|
|
2257
|
+
expected: "(TermValues | undefined)",
|
|
2258
|
+
value: input3.values
|
|
2259
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2260
|
+
path: _path2 + ".skipValuesBuild",
|
|
2261
|
+
expected: "(boolean | undefined)",
|
|
2262
|
+
value: input3.skipValuesBuild
|
|
2263
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2264
|
+
path: _path2 + ".valueConversion",
|
|
2265
|
+
expected: "(__type.o1 | undefined)",
|
|
2266
|
+
value: input3.valueConversion
|
|
2267
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2268
|
+
path: _path2 + ".valueConversion",
|
|
2269
|
+
expected: "(__type.o1 | undefined)",
|
|
2270
|
+
value: input3.valueConversion
|
|
2271
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2272
|
+
path: _path2 + ".kind",
|
|
2273
|
+
expected: '"gene"',
|
|
2274
|
+
value: input3.kind
|
|
2275
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2276
|
+
path: _path2 + ".gene",
|
|
2277
|
+
expected: "string",
|
|
2278
|
+
value: input3.gene
|
|
2279
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2280
|
+
path: _path2 + ".chr",
|
|
2281
|
+
expected: "(string | undefined)",
|
|
2282
|
+
value: input3.chr
|
|
2283
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2284
|
+
path: _path2 + ".start",
|
|
2285
|
+
expected: "(number | undefined)",
|
|
2286
|
+
value: input3.start
|
|
2287
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2288
|
+
path: _path2 + ".stop",
|
|
2289
|
+
expected: "(number | undefined)",
|
|
2290
|
+
value: input3.stop
|
|
2291
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
2292
|
+
path: _path2 + ".genes",
|
|
2293
|
+
expected: "Array<GvGeneTerm>",
|
|
2294
|
+
value: input3.genes
|
|
2295
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2296
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
2297
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2298
|
+
value: elem
|
|
2299
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2300
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
2301
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2302
|
+
value: elem
|
|
2303
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2304
|
+
path: _path2 + ".genes",
|
|
2305
|
+
expected: "Array<GvGeneTerm>",
|
|
1881
2306
|
value: input3.genes
|
|
1882
2307
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1883
2308
|
path: _path2 + ".groupsetting",
|
|
@@ -1891,12 +2316,12 @@ var validViolinRequest = (input) => {
|
|
|
1891
2316
|
path: _path2 + ".childTerms",
|
|
1892
2317
|
expected: "(Array<DtTerm> | undefined)",
|
|
1893
2318
|
value: input3.childTerms
|
|
1894
|
-
})) && input3.childTerms.map((elem,
|
|
1895
|
-
path: _path2 + ".childTerms[" +
|
|
2319
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2320
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
1896
2321
|
expected: "DtTerm",
|
|
1897
2322
|
value: elem
|
|
1898
|
-
})) && $
|
|
1899
|
-
path: _path2 + ".childTerms[" +
|
|
2323
|
+
})) && $vo37(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2324
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
1900
2325
|
expected: "DtTerm",
|
|
1901
2326
|
value: elem
|
|
1902
2327
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1904,7 +2329,7 @@ var validViolinRequest = (input) => {
|
|
|
1904
2329
|
expected: "(Array<DtTerm> | undefined)",
|
|
1905
2330
|
value: input3.childTerms
|
|
1906
2331
|
})].every((flag) => flag);
|
|
1907
|
-
const $
|
|
2332
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1908
2333
|
path: _path2 + ".id",
|
|
1909
2334
|
expected: "string",
|
|
1910
2335
|
value: input3.id
|
|
@@ -1920,8 +2345,8 @@ var validViolinRequest = (input) => {
|
|
|
1920
2345
|
path: _path2 + ".child_types",
|
|
1921
2346
|
expected: "(Array<string> | undefined)",
|
|
1922
2347
|
value: input3.child_types
|
|
1923
|
-
})) && input3.child_types.map((elem,
|
|
1924
|
-
path: _path2 + ".child_types[" +
|
|
2348
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2349
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
1925
2350
|
expected: "string",
|
|
1926
2351
|
value: elem
|
|
1927
2352
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1936,8 +2361,8 @@ var validViolinRequest = (input) => {
|
|
|
1936
2361
|
path: _path2 + ".included_types",
|
|
1937
2362
|
expected: "(Array<string> | undefined)",
|
|
1938
2363
|
value: input3.included_types
|
|
1939
|
-
})) && input3.included_types.map((elem,
|
|
1940
|
-
path: _path2 + ".included_types[" +
|
|
2364
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2365
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
1941
2366
|
expected: "string",
|
|
1942
2367
|
value: elem
|
|
1943
2368
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1989,7 +2414,7 @@ var validViolinRequest = (input) => {
|
|
|
1989
2414
|
expected: "(number | undefined)",
|
|
1990
2415
|
value: input3.stop
|
|
1991
2416
|
})].every((flag) => flag);
|
|
1992
|
-
const $
|
|
2417
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1993
2418
|
path: _path2 + ".id",
|
|
1994
2419
|
expected: "string",
|
|
1995
2420
|
value: input3.id
|
|
@@ -2005,8 +2430,8 @@ var validViolinRequest = (input) => {
|
|
|
2005
2430
|
path: _path2 + ".child_types",
|
|
2006
2431
|
expected: "(Array<string> | undefined)",
|
|
2007
2432
|
value: input3.child_types
|
|
2008
|
-
})) && input3.child_types.map((elem,
|
|
2009
|
-
path: _path2 + ".child_types[" +
|
|
2433
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2434
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
2010
2435
|
expected: "string",
|
|
2011
2436
|
value: elem
|
|
2012
2437
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2021,8 +2446,8 @@ var validViolinRequest = (input) => {
|
|
|
2021
2446
|
path: _path2 + ".included_types",
|
|
2022
2447
|
expected: "(Array<string> | undefined)",
|
|
2023
2448
|
value: input3.included_types
|
|
2024
|
-
})) && input3.included_types.map((elem,
|
|
2025
|
-
path: _path2 + ".included_types[" +
|
|
2449
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2450
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
2026
2451
|
expected: "string",
|
|
2027
2452
|
value: elem
|
|
2028
2453
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2070,7 +2495,7 @@ var validViolinRequest = (input) => {
|
|
|
2070
2495
|
expected: "number",
|
|
2071
2496
|
value: input3.stop
|
|
2072
2497
|
})].every((flag) => flag);
|
|
2073
|
-
const $
|
|
2498
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2074
2499
|
path: _path2 + ".id",
|
|
2075
2500
|
expected: "string",
|
|
2076
2501
|
value: input3.id
|
|
@@ -2086,8 +2511,8 @@ var validViolinRequest = (input) => {
|
|
|
2086
2511
|
path: _path2 + ".child_types",
|
|
2087
2512
|
expected: "(Array<string> | undefined)",
|
|
2088
2513
|
value: input3.child_types
|
|
2089
|
-
})) && input3.child_types.map((elem,
|
|
2090
|
-
path: _path2 + ".child_types[" +
|
|
2514
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2515
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2091
2516
|
expected: "string",
|
|
2092
2517
|
value: elem
|
|
2093
2518
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2102,8 +2527,8 @@ var validViolinRequest = (input) => {
|
|
|
2102
2527
|
path: _path2 + ".included_types",
|
|
2103
2528
|
expected: "(Array<string> | undefined)",
|
|
2104
2529
|
value: input3.included_types
|
|
2105
|
-
})) && input3.included_types.map((elem,
|
|
2106
|
-
path: _path2 + ".included_types[" +
|
|
2530
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2531
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2107
2532
|
expected: "string",
|
|
2108
2533
|
value: elem
|
|
2109
2534
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2154,12 +2579,12 @@ var validViolinRequest = (input) => {
|
|
|
2154
2579
|
path: _path2 + ".genes",
|
|
2155
2580
|
expected: "Array<GvGeneTerm>",
|
|
2156
2581
|
value: input3.genes
|
|
2157
|
-
})) && input3.genes.map((elem,
|
|
2158
|
-
path: _path2 + ".genes[" +
|
|
2582
|
+
})) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2583
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2159
2584
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2160
2585
|
value: elem
|
|
2161
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2162
|
-
path: _path2 + ".genes[" +
|
|
2586
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2587
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2163
2588
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2164
2589
|
value: elem
|
|
2165
2590
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2178,12 +2603,12 @@ var validViolinRequest = (input) => {
|
|
|
2178
2603
|
path: _path2 + ".childTerms",
|
|
2179
2604
|
expected: "(Array<DtTerm> | undefined)",
|
|
2180
2605
|
value: input3.childTerms
|
|
2181
|
-
})) && input3.childTerms.map((elem,
|
|
2182
|
-
path: _path2 + ".childTerms[" +
|
|
2606
|
+
})) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2607
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2183
2608
|
expected: "DtTerm",
|
|
2184
2609
|
value: elem
|
|
2185
|
-
})) && $
|
|
2186
|
-
path: _path2 + ".childTerms[" +
|
|
2610
|
+
})) && $vo37(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2611
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2187
2612
|
expected: "DtTerm",
|
|
2188
2613
|
value: elem
|
|
2189
2614
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2191,7 +2616,7 @@ var validViolinRequest = (input) => {
|
|
|
2191
2616
|
expected: "(Array<DtTerm> | undefined)",
|
|
2192
2617
|
value: input3.childTerms
|
|
2193
2618
|
})].every((flag) => flag);
|
|
2194
|
-
const $
|
|
2619
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2195
2620
|
path: _path2 + ".key",
|
|
2196
2621
|
expected: "string",
|
|
2197
2622
|
value: input3.key
|
|
@@ -2204,7 +2629,7 @@ var validViolinRequest = (input) => {
|
|
|
2204
2629
|
expected: "string",
|
|
2205
2630
|
value: input3.value
|
|
2206
2631
|
})].every((flag) => flag);
|
|
2207
|
-
const $
|
|
2632
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2208
2633
|
path: _path2 + ".join",
|
|
2209
2634
|
expected: "(string | undefined)",
|
|
2210
2635
|
value: input3.join
|
|
@@ -2214,18 +2639,18 @@ var validViolinRequest = (input) => {
|
|
|
2214
2639
|
value: input3.isnot
|
|
2215
2640
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2216
2641
|
path: _path2 + ".term",
|
|
2217
|
-
expected: "
|
|
2642
|
+
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2218
2643
|
value: input3.term
|
|
2219
|
-
})) && $
|
|
2644
|
+
})) && $vu10(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2220
2645
|
path: _path2 + ".term",
|
|
2221
|
-
expected: "
|
|
2646
|
+
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2222
2647
|
value: input3.term
|
|
2223
2648
|
}), "number" === typeof input3.ratio || $report(_exceptionable2, {
|
|
2224
2649
|
path: _path2 + ".ratio",
|
|
2225
2650
|
expected: "number",
|
|
2226
2651
|
value: input3.ratio
|
|
2227
2652
|
})].every((flag) => flag);
|
|
2228
|
-
const $
|
|
2653
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2229
2654
|
path: _path2 + ".id",
|
|
2230
2655
|
expected: "string",
|
|
2231
2656
|
value: input3.id
|
|
@@ -2241,8 +2666,8 @@ var validViolinRequest = (input) => {
|
|
|
2241
2666
|
path: _path2 + ".child_types",
|
|
2242
2667
|
expected: "(Array<string> | undefined)",
|
|
2243
2668
|
value: input3.child_types
|
|
2244
|
-
})) && input3.child_types.map((elem,
|
|
2245
|
-
path: _path2 + ".child_types[" +
|
|
2669
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2670
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
2246
2671
|
expected: "string",
|
|
2247
2672
|
value: elem
|
|
2248
2673
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2257,8 +2682,8 @@ var validViolinRequest = (input) => {
|
|
|
2257
2682
|
path: _path2 + ".included_types",
|
|
2258
2683
|
expected: "(Array<string> | undefined)",
|
|
2259
2684
|
value: input3.included_types
|
|
2260
|
-
})) && input3.included_types.map((elem,
|
|
2261
|
-
path: _path2 + ".included_types[" +
|
|
2685
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2686
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
2262
2687
|
expected: "string",
|
|
2263
2688
|
value: elem
|
|
2264
2689
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2293,34 +2718,34 @@ var validViolinRequest = (input) => {
|
|
|
2293
2718
|
path: _path2 + ".collectionId",
|
|
2294
2719
|
expected: "(string | undefined)",
|
|
2295
2720
|
value: input3.collectionId
|
|
2721
|
+
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2722
|
+
path: _path2 + ".termIds",
|
|
2723
|
+
expected: "(Array<string> | undefined)",
|
|
2724
|
+
value: input3.termIds
|
|
2725
|
+
})) && input3.termIds.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2726
|
+
path: _path2 + ".termIds[" + _index51 + "]",
|
|
2727
|
+
expected: "string",
|
|
2728
|
+
value: elem
|
|
2729
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2730
|
+
path: _path2 + ".termIds",
|
|
2731
|
+
expected: "(Array<string> | undefined)",
|
|
2732
|
+
value: input3.termIds
|
|
2296
2733
|
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2297
2734
|
path: _path2 + ".termlst",
|
|
2298
2735
|
expected: "Array<BaseTerm>",
|
|
2299
2736
|
value: input3.termlst
|
|
2300
|
-
})) && input3.termlst.map((elem,
|
|
2301
|
-
path: _path2 + ".termlst[" +
|
|
2737
|
+
})) && input3.termlst.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2738
|
+
path: _path2 + ".termlst[" + _index52 + "]",
|
|
2302
2739
|
expected: "BaseTerm",
|
|
2303
2740
|
value: elem
|
|
2304
|
-
})) && $
|
|
2305
|
-
path: _path2 + ".termlst[" +
|
|
2741
|
+
})) && $vo45(elem, _path2 + ".termlst[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2742
|
+
path: _path2 + ".termlst[" + _index52 + "]",
|
|
2306
2743
|
expected: "BaseTerm",
|
|
2307
2744
|
value: elem
|
|
2308
2745
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2309
2746
|
path: _path2 + ".termlst",
|
|
2310
2747
|
expected: "Array<BaseTerm>",
|
|
2311
2748
|
value: input3.termlst
|
|
2312
|
-
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2313
|
-
path: _path2 + ".numerators",
|
|
2314
|
-
expected: "(Array<string> | undefined)",
|
|
2315
|
-
value: input3.numerators
|
|
2316
|
-
})) && input3.numerators.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2317
|
-
path: _path2 + ".numerators[" + _index44 + "]",
|
|
2318
|
-
expected: "string",
|
|
2319
|
-
value: elem
|
|
2320
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2321
|
-
path: _path2 + ".numerators",
|
|
2322
|
-
expected: "(Array<string> | undefined)",
|
|
2323
|
-
value: input3.numerators
|
|
2324
2749
|
}), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
|
|
2325
2750
|
path: _path2 + ".newTvs",
|
|
2326
2751
|
expected: "(boolean | undefined)",
|
|
@@ -2329,12 +2754,28 @@ var validViolinRequest = (input) => {
|
|
|
2329
2754
|
path: _path2 + ".propsByTermId",
|
|
2330
2755
|
expected: "__type.o6",
|
|
2331
2756
|
value: input3.propsByTermId
|
|
2332
|
-
})) && $
|
|
2757
|
+
})) && $vo46(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2333
2758
|
path: _path2 + ".propsByTermId",
|
|
2334
2759
|
expected: "__type.o6",
|
|
2335
2760
|
value: input3.propsByTermId
|
|
2761
|
+
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2762
|
+
path: _path2 + ".memberType",
|
|
2763
|
+
expected: '"numeric"',
|
|
2764
|
+
value: input3.memberType
|
|
2765
|
+
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2766
|
+
path: _path2 + ".numerators",
|
|
2767
|
+
expected: "(Array<string> | undefined)",
|
|
2768
|
+
value: input3.numerators
|
|
2769
|
+
})) && input3.numerators.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2770
|
+
path: _path2 + ".numerators[" + _index53 + "]",
|
|
2771
|
+
expected: "string",
|
|
2772
|
+
value: elem
|
|
2773
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2774
|
+
path: _path2 + ".numerators",
|
|
2775
|
+
expected: "(Array<string> | undefined)",
|
|
2776
|
+
value: input3.numerators
|
|
2336
2777
|
})].every((flag) => flag);
|
|
2337
|
-
const $
|
|
2778
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2338
2779
|
path: _path2 + ".id",
|
|
2339
2780
|
expected: "string",
|
|
2340
2781
|
value: input3.id
|
|
@@ -2350,8 +2791,8 @@ var validViolinRequest = (input) => {
|
|
|
2350
2791
|
path: _path2 + ".child_types",
|
|
2351
2792
|
expected: "(Array<string> | undefined)",
|
|
2352
2793
|
value: input3.child_types
|
|
2353
|
-
})) && input3.child_types.map((elem,
|
|
2354
|
-
path: _path2 + ".child_types[" +
|
|
2794
|
+
})) && input3.child_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2795
|
+
path: _path2 + ".child_types[" + _index54 + "]",
|
|
2355
2796
|
expected: "string",
|
|
2356
2797
|
value: elem
|
|
2357
2798
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2366,8 +2807,8 @@ var validViolinRequest = (input) => {
|
|
|
2366
2807
|
path: _path2 + ".included_types",
|
|
2367
2808
|
expected: "(Array<string> | undefined)",
|
|
2368
2809
|
value: input3.included_types
|
|
2369
|
-
})) && input3.included_types.map((elem,
|
|
2370
|
-
path: _path2 + ".included_types[" +
|
|
2810
|
+
})) && input3.included_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2811
|
+
path: _path2 + ".included_types[" + _index55 + "]",
|
|
2371
2812
|
expected: "string",
|
|
2372
2813
|
value: elem
|
|
2373
2814
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2399,7 +2840,7 @@ var validViolinRequest = (input) => {
|
|
|
2399
2840
|
expected: "(__type.o1 | undefined)",
|
|
2400
2841
|
value: input3.valueConversion
|
|
2401
2842
|
})].every((flag) => flag);
|
|
2402
|
-
const $
|
|
2843
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2403
2844
|
const value = input3[key];
|
|
2404
2845
|
if (void 0 === value)
|
|
2405
2846
|
return true;
|
|
@@ -2408,14 +2849,14 @@ var validViolinRequest = (input) => {
|
|
|
2408
2849
|
path: _path2 + $join(key),
|
|
2409
2850
|
expected: "__type.o7",
|
|
2410
2851
|
value
|
|
2411
|
-
})) && $
|
|
2852
|
+
})) && $vo47(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2412
2853
|
path: _path2 + $join(key),
|
|
2413
2854
|
expected: "__type.o7",
|
|
2414
2855
|
value
|
|
2415
2856
|
});
|
|
2416
2857
|
return true;
|
|
2417
2858
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2418
|
-
const $
|
|
2859
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2419
2860
|
const value = input3[key];
|
|
2420
2861
|
if (void 0 === value)
|
|
2421
2862
|
return true;
|
|
@@ -2423,6 +2864,144 @@ var validViolinRequest = (input) => {
|
|
|
2423
2864
|
return true;
|
|
2424
2865
|
return true;
|
|
2425
2866
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2867
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2868
|
+
path: _path2 + ".id",
|
|
2869
|
+
expected: "string",
|
|
2870
|
+
value: input3.id
|
|
2871
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2872
|
+
path: _path2 + ".name",
|
|
2873
|
+
expected: "string",
|
|
2874
|
+
value: input3.name
|
|
2875
|
+
}), "termCollection" === input3.type || $report(_exceptionable2, {
|
|
2876
|
+
path: _path2 + ".type",
|
|
2877
|
+
expected: '"termCollection"',
|
|
2878
|
+
value: input3.type
|
|
2879
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2880
|
+
path: _path2 + ".child_types",
|
|
2881
|
+
expected: "(Array<string> | undefined)",
|
|
2882
|
+
value: input3.child_types
|
|
2883
|
+
})) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2884
|
+
path: _path2 + ".child_types[" + _index56 + "]",
|
|
2885
|
+
expected: "string",
|
|
2886
|
+
value: elem
|
|
2887
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2888
|
+
path: _path2 + ".child_types",
|
|
2889
|
+
expected: "(Array<string> | undefined)",
|
|
2890
|
+
value: input3.child_types
|
|
2891
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2892
|
+
path: _path2 + ".hashtmldetail",
|
|
2893
|
+
expected: "(boolean | undefined)",
|
|
2894
|
+
value: input3.hashtmldetail
|
|
2895
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2896
|
+
path: _path2 + ".included_types",
|
|
2897
|
+
expected: "(Array<string> | undefined)",
|
|
2898
|
+
value: input3.included_types
|
|
2899
|
+
})) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2900
|
+
path: _path2 + ".included_types[" + _index57 + "]",
|
|
2901
|
+
expected: "string",
|
|
2902
|
+
value: elem
|
|
2903
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2904
|
+
path: _path2 + ".included_types",
|
|
2905
|
+
expected: "(Array<string> | undefined)",
|
|
2906
|
+
value: input3.included_types
|
|
2907
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2908
|
+
path: _path2 + ".isleaf",
|
|
2909
|
+
expected: "(boolean | undefined)",
|
|
2910
|
+
value: input3.isleaf
|
|
2911
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2912
|
+
path: _path2 + ".values",
|
|
2913
|
+
expected: "(TermValues | undefined)",
|
|
2914
|
+
value: input3.values
|
|
2915
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2916
|
+
path: _path2 + ".values",
|
|
2917
|
+
expected: "(TermValues | undefined)",
|
|
2918
|
+
value: input3.values
|
|
2919
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2920
|
+
path: _path2 + ".skipValuesBuild",
|
|
2921
|
+
expected: "(boolean | undefined)",
|
|
2922
|
+
value: input3.skipValuesBuild
|
|
2923
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2924
|
+
path: _path2 + ".valueConversion",
|
|
2925
|
+
expected: "(__type.o1 | undefined)",
|
|
2926
|
+
value: input3.valueConversion
|
|
2927
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2928
|
+
path: _path2 + ".valueConversion",
|
|
2929
|
+
expected: "(__type.o1 | undefined)",
|
|
2930
|
+
value: input3.valueConversion
|
|
2931
|
+
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2932
|
+
path: _path2 + ".collectionId",
|
|
2933
|
+
expected: "(string | undefined)",
|
|
2934
|
+
value: input3.collectionId
|
|
2935
|
+
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2936
|
+
path: _path2 + ".termIds",
|
|
2937
|
+
expected: "(Array<string> | undefined)",
|
|
2938
|
+
value: input3.termIds
|
|
2939
|
+
})) && input3.termIds.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2940
|
+
path: _path2 + ".termIds[" + _index58 + "]",
|
|
2941
|
+
expected: "string",
|
|
2942
|
+
value: elem
|
|
2943
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2944
|
+
path: _path2 + ".termIds",
|
|
2945
|
+
expected: "(Array<string> | undefined)",
|
|
2946
|
+
value: input3.termIds
|
|
2947
|
+
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2948
|
+
path: _path2 + ".termlst",
|
|
2949
|
+
expected: "Array<BaseTerm>",
|
|
2950
|
+
value: input3.termlst
|
|
2951
|
+
})) && input3.termlst.map((elem, _index59) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2952
|
+
path: _path2 + ".termlst[" + _index59 + "]",
|
|
2953
|
+
expected: "BaseTerm",
|
|
2954
|
+
value: elem
|
|
2955
|
+
})) && $vo45(elem, _path2 + ".termlst[" + _index59 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2956
|
+
path: _path2 + ".termlst[" + _index59 + "]",
|
|
2957
|
+
expected: "BaseTerm",
|
|
2958
|
+
value: elem
|
|
2959
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2960
|
+
path: _path2 + ".termlst",
|
|
2961
|
+
expected: "Array<BaseTerm>",
|
|
2962
|
+
value: input3.termlst
|
|
2963
|
+
}), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
|
|
2964
|
+
path: _path2 + ".newTvs",
|
|
2965
|
+
expected: "(boolean | undefined)",
|
|
2966
|
+
value: input3.newTvs
|
|
2967
|
+
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2968
|
+
path: _path2 + ".propsByTermId",
|
|
2969
|
+
expected: "__type.o6",
|
|
2970
|
+
value: input3.propsByTermId
|
|
2971
|
+
})) && $vo46(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2972
|
+
path: _path2 + ".propsByTermId",
|
|
2973
|
+
expected: "__type.o6",
|
|
2974
|
+
value: input3.propsByTermId
|
|
2975
|
+
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
2976
|
+
path: _path2 + ".memberType",
|
|
2977
|
+
expected: '"categorical"',
|
|
2978
|
+
value: input3.memberType
|
|
2979
|
+
}), (Array.isArray(input3.categoryKeys) || $report(_exceptionable2, {
|
|
2980
|
+
path: _path2 + ".categoryKeys",
|
|
2981
|
+
expected: "Array<CategoryKey>",
|
|
2982
|
+
value: input3.categoryKeys
|
|
2983
|
+
})) && input3.categoryKeys.map((elem, _index60) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2984
|
+
path: _path2 + ".categoryKeys[" + _index60 + "]",
|
|
2985
|
+
expected: "CategoryKey",
|
|
2986
|
+
value: elem
|
|
2987
|
+
})) && $vo49(elem, _path2 + ".categoryKeys[" + _index60 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2988
|
+
path: _path2 + ".categoryKeys[" + _index60 + "]",
|
|
2989
|
+
expected: "CategoryKey",
|
|
2990
|
+
value: elem
|
|
2991
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2992
|
+
path: _path2 + ".categoryKeys",
|
|
2993
|
+
expected: "Array<CategoryKey>",
|
|
2994
|
+
value: input3.categoryKeys
|
|
2995
|
+
})].every((flag) => flag);
|
|
2996
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2997
|
+
path: _path2 + ".key",
|
|
2998
|
+
expected: "string",
|
|
2999
|
+
value: input3.key
|
|
3000
|
+
}), "boolean" === typeof input3.shown || $report(_exceptionable2, {
|
|
3001
|
+
path: _path2 + ".shown",
|
|
3002
|
+
expected: "boolean",
|
|
3003
|
+
value: input3.shown
|
|
3004
|
+
})].every((flag) => flag);
|
|
2426
3005
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2427
3006
|
if ("tvslst" === input3.type)
|
|
2428
3007
|
return $vo1(input3, _path2, _exceptionable2);
|
|
@@ -2454,9 +3033,9 @@ var validViolinRequest = (input) => {
|
|
|
2454
3033
|
})();
|
|
2455
3034
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2456
3035
|
if ("gene" === input3.kind)
|
|
2457
|
-
return $
|
|
3036
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
2458
3037
|
if ("coord" === input3.kind)
|
|
2459
|
-
return $
|
|
3038
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
2460
3039
|
return $report(_exceptionable2, {
|
|
2461
3040
|
path: _path2,
|
|
2462
3041
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2467,19 +3046,23 @@ var validViolinRequest = (input) => {
|
|
|
2467
3046
|
if (void 0 !== input3.ranges)
|
|
2468
3047
|
return $vo13(input3, _path2, _exceptionable2);
|
|
2469
3048
|
if (void 0 !== input3.ratio)
|
|
2470
|
-
return $
|
|
2471
|
-
return $vo3(input3, _path2, false) || $
|
|
3049
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3050
|
+
return $vo3(input3, _path2, false) || $vo33(input3, _path2, false) || $vo36(input3, _path2, false);
|
|
2472
3051
|
})();
|
|
2473
3052
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2474
3053
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2475
3054
|
return $vo14(input3, _path2, _exceptionable2);
|
|
2476
3055
|
if ("metaboliteIntensity" === input3.type)
|
|
2477
3056
|
return $vo25(input3, _path2, _exceptionable2);
|
|
2478
|
-
if ("
|
|
3057
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
2479
3058
|
return $vo26(input3, _path2, _exceptionable2);
|
|
2480
|
-
if ("
|
|
3059
|
+
if ("date" === input3.type)
|
|
2481
3060
|
return $vo27(input3, _path2, _exceptionable2);
|
|
2482
|
-
|
|
3061
|
+
if ("ssGSEA" === input3.type)
|
|
3062
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3063
|
+
if ("dnaMethylation" === input3.type)
|
|
3064
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
3065
|
+
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
2483
3066
|
})();
|
|
2484
3067
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2485
3068
|
if ("regular-bin" === input3.type)
|
|
@@ -2516,15 +3099,26 @@ var validViolinRequest = (input) => {
|
|
|
2516
3099
|
})();
|
|
2517
3100
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2518
3101
|
if ("gene" === input3.kind)
|
|
2519
|
-
return $
|
|
3102
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
2520
3103
|
if ("coord" === input3.kind)
|
|
2521
|
-
return $
|
|
3104
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
2522
3105
|
return $report(_exceptionable2, {
|
|
2523
3106
|
path: _path2,
|
|
2524
3107
|
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; })',
|
|
2525
3108
|
value: input3
|
|
2526
3109
|
});
|
|
2527
3110
|
})();
|
|
3111
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3112
|
+
if ("numeric" === input3.memberType)
|
|
3113
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
3114
|
+
if ("categorical" === input3.memberType)
|
|
3115
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
3116
|
+
return $report(_exceptionable2, {
|
|
3117
|
+
path: _path2,
|
|
3118
|
+
expected: "(NumericTermCollection | CategoricalTermCollection)",
|
|
3119
|
+
value: input3
|
|
3120
|
+
});
|
|
3121
|
+
})();
|
|
2528
3122
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
2529
3123
|
path: _path + "",
|
|
2530
3124
|
expected: "ViolinRequest",
|