@sjcrh/proteinpaint-types 2.180.1 → 2.182.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-XCSFBW4V.js → chunk-2QTCQFYE.js} +1101 -649
- package/dist/{chunk-DIKDKRFN.js → chunk-3DA4MJ2U.js} +691 -467
- package/dist/{chunk-Y6F7ZVSV.js → chunk-45VA4Y6L.js} +691 -467
- package/dist/chunk-7OA6G77M.js +113 -0
- package/dist/{chunk-XAGXFLSH.js → chunk-C5ECCXOT.js} +1402 -756
- package/dist/{chunk-PZUKZRSI.js → chunk-DDMUMMOL.js} +438 -214
- package/dist/{chunk-4DCPDZW4.js → chunk-G6ZTAMGK.js} +13 -1
- package/dist/{chunk-DPWX7ORN.js → chunk-J55IQXT7.js} +515 -291
- package/dist/{chunk-P75GBHFO.js → chunk-K6W2WEPW.js} +857 -395
- package/dist/{chunk-LLBTODL6.js → chunk-KNDCWQJD.js} +691 -467
- package/dist/{chunk-NOT62STS.js → chunk-UBAJYDGK.js} +453 -229
- package/dist/{chunk-WSKMTIOO.js → chunk-URYAC364.js} +677 -453
- package/dist/{chunk-6PTYP7X4.js → chunk-UYKWZWCU.js} +2180 -1062
- package/dist/{chunk-OT6W3FNI.js → chunk-VUNM6QTX.js} +438 -214
- package/dist/{chunk-ICACMXK2.js → chunk-ZKO7LMCC.js} +438 -214
- package/dist/{chunk-KFNXZOED.js → chunk-ZRTB7SRA.js} +653 -425
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +34 -34
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +438 -214
- package/dist/termdb.chat2.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.diffMeth.js +1 -1
- package/dist/termdb.dmr.js +1 -1
- package/dist/termdb.isoformAvailability.js +11 -0
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violinBox.js +11 -0
- package/package.json +1 -1
- package/src/dataset.ts +92 -58
- package/src/index.ts +3 -2
- package/src/routes/termdb.cluster.ts +11 -0
- package/src/routes/termdb.diffMeth.ts +6 -0
- package/src/routes/termdb.dmr.ts +73 -14
- package/src/routes/termdb.isoformAvailability.ts +22 -0
- package/src/routes/termdb.violinBox.ts +230 -0
- package/src/terms/isoformExpression.ts +36 -0
- package/src/terms/numeric.ts +2 -0
- package/src/vocab.ts +0 -1
- package/dist/chunk-R7BNDCKV.js +0 -3722
- package/dist/termdb.boxplot.js +0 -11
- package/dist/termdb.violin.js +0 -11
- package/src/routes/termdb.boxplot.ts +0 -164
- package/src/routes/termdb.violin.ts +0 -163
package/dist/termdb.chat.js
CHANGED
|
@@ -34,7 +34,7 @@ var validChatRequest = (input) => {
|
|
|
34
34
|
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);
|
|
35
35
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
36
36
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
37
|
-
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.values || Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
37
|
+
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.values || Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io36(elem)));
|
|
38
38
|
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));
|
|
39
39
|
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
40
40
|
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
@@ -53,19 +53,21 @@ var validChatRequest = (input) => {
|
|
|
53
53
|
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu4(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
|
|
54
54
|
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);
|
|
55
55
|
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;
|
|
56
|
-
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
57
|
-
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
58
|
-
const $
|
|
59
|
-
const $
|
|
60
|
-
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
61
|
-
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
62
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
63
|
-
const $io33 = (input3) => "
|
|
64
|
-
const $io34 = (input3) => "string" === typeof input3.
|
|
65
|
-
const $io35 = (input3) =>
|
|
66
|
-
const $io36 = (input3) => "string" === typeof input3.
|
|
67
|
-
const $io37 = (input3) => "
|
|
68
|
-
const $io38 = (input3) =>
|
|
56
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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 || "isoform" === input3.kind) && "string" === typeof input3.isoform && (void 0 === input3.gene || "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);
|
|
57
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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.isoform || "string" === typeof input3.isoform) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
58
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
|
|
59
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
60
|
+
const $io30 = (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));
|
|
61
|
+
const $io31 = (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));
|
|
62
|
+
const $io32 = (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));
|
|
63
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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);
|
|
64
|
+
const $io34 = (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;
|
|
65
|
+
const $io35 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
66
|
+
const $io36 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
67
|
+
const $io37 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $io38(input3.term)) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io39(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io40(elem)));
|
|
68
|
+
const $io38 = (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));
|
|
69
|
+
const $io39 = (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;
|
|
70
|
+
const $io40 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
69
71
|
if (["key", "label"].some((prop) => key === prop))
|
|
70
72
|
return true;
|
|
71
73
|
const value = input3[key];
|
|
@@ -75,25 +77,25 @@ var validChatRequest = (input) => {
|
|
|
75
77
|
return true;
|
|
76
78
|
return true;
|
|
77
79
|
});
|
|
78
|
-
const $
|
|
79
|
-
const $
|
|
80
|
-
const $
|
|
81
|
-
const $
|
|
82
|
-
const $
|
|
83
|
-
const $
|
|
84
|
-
const $
|
|
85
|
-
const $
|
|
86
|
-
const $
|
|
87
|
-
const $
|
|
88
|
-
const $
|
|
80
|
+
const $io41 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $io42(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io47(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName) && (void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype) && (void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount) && (void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT) && (void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap);
|
|
81
|
+
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu10(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
82
|
+
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "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 && $io42(elem)));
|
|
83
|
+
const $io44 = (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);
|
|
84
|
+
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)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
85
|
+
const $io46 = (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 && $io42(elem)));
|
|
86
|
+
const $io47 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
|
|
87
|
+
const $io48 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && "number" === typeof input3.ratio;
|
|
88
|
+
const $io49 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io53(input3.valueTransform));
|
|
89
|
+
const $io50 = (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));
|
|
90
|
+
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
89
91
|
const value = input3[key];
|
|
90
92
|
if (void 0 === value)
|
|
91
93
|
return true;
|
|
92
94
|
if (RegExp(/(.*)/).test(key))
|
|
93
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
95
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io52(value);
|
|
94
96
|
return true;
|
|
95
97
|
});
|
|
96
|
-
const $
|
|
98
|
+
const $io52 = (input3) => Object.keys(input3).every((key) => {
|
|
97
99
|
const value = input3[key];
|
|
98
100
|
if (void 0 === value)
|
|
99
101
|
return true;
|
|
@@ -101,9 +103,9 @@ var validChatRequest = (input) => {
|
|
|
101
103
|
return true;
|
|
102
104
|
return true;
|
|
103
105
|
});
|
|
104
|
-
const $
|
|
105
|
-
const $
|
|
106
|
-
const $
|
|
106
|
+
const $io53 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
|
|
107
|
+
const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io55(elem)));
|
|
108
|
+
const $io55 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
107
109
|
const $iu0 = (input3) => (() => {
|
|
108
110
|
if ("tvslst" === input3.type)
|
|
109
111
|
return $io1(input3);
|
|
@@ -124,14 +126,14 @@ var validChatRequest = (input) => {
|
|
|
124
126
|
if (true === input3.stopunbounded)
|
|
125
127
|
return $io21(input3);
|
|
126
128
|
if (void 0 !== input3.value)
|
|
127
|
-
return $
|
|
129
|
+
return $io35(input3);
|
|
128
130
|
return $io20(input3);
|
|
129
131
|
})();
|
|
130
132
|
const $iu3 = (input3) => (() => {
|
|
131
133
|
if ("gene" === input3.kind)
|
|
132
|
-
return $
|
|
134
|
+
return $io44(input3);
|
|
133
135
|
if ("coord" === input3.kind)
|
|
134
|
-
return $
|
|
136
|
+
return $io45(input3);
|
|
135
137
|
return false;
|
|
136
138
|
})();
|
|
137
139
|
const $iu4 = (input3) => (() => {
|
|
@@ -145,14 +147,14 @@ var validChatRequest = (input) => {
|
|
|
145
147
|
if (void 0 !== input3.ranges)
|
|
146
148
|
return $io13(input3);
|
|
147
149
|
if (void 0 !== input3.ratio)
|
|
148
|
-
return $
|
|
150
|
+
return $io48(input3);
|
|
149
151
|
return (() => {
|
|
150
152
|
if ($io3(input3))
|
|
151
153
|
return $io3(input3);
|
|
152
|
-
if ($
|
|
153
|
-
return $
|
|
154
|
-
if ($
|
|
155
|
-
return $
|
|
154
|
+
if ($io37(input3))
|
|
155
|
+
return $io37(input3);
|
|
156
|
+
if ($io41(input3))
|
|
157
|
+
return $io41(input3);
|
|
156
158
|
return false;
|
|
157
159
|
})();
|
|
158
160
|
})();
|
|
@@ -160,24 +162,28 @@ var validChatRequest = (input) => {
|
|
|
160
162
|
if ("integer" === input3.type || "float" === input3.type)
|
|
161
163
|
return $io14(input3);
|
|
162
164
|
if ("metaboliteIntensity" === input3.type)
|
|
163
|
-
return $
|
|
165
|
+
return $io27(input3);
|
|
164
166
|
if ("proteomeAbundance" === input3.type)
|
|
165
|
-
return $io26(input3);
|
|
166
|
-
if ("date" === input3.type)
|
|
167
167
|
return $io28(input3);
|
|
168
|
+
if ("date" === input3.type)
|
|
169
|
+
return $io30(input3);
|
|
168
170
|
if ("ssGSEA" === input3.type)
|
|
169
|
-
return $
|
|
171
|
+
return $io31(input3);
|
|
170
172
|
if ("dnaMethylation" === input3.type)
|
|
171
|
-
return $
|
|
173
|
+
return $io32(input3);
|
|
172
174
|
return (() => {
|
|
173
175
|
if ($io24(input3))
|
|
174
176
|
return $io24(input3);
|
|
175
177
|
if ($io23(input3))
|
|
176
178
|
return $io23(input3);
|
|
177
|
-
if ($
|
|
178
|
-
return $
|
|
179
|
-
if ($
|
|
180
|
-
return $
|
|
179
|
+
if ($io26(input3))
|
|
180
|
+
return $io26(input3);
|
|
181
|
+
if ($io25(input3))
|
|
182
|
+
return $io25(input3);
|
|
183
|
+
if ($io34(input3))
|
|
184
|
+
return $io34(input3);
|
|
185
|
+
if ($io33(input3))
|
|
186
|
+
return $io33(input3);
|
|
181
187
|
return false;
|
|
182
188
|
})();
|
|
183
189
|
})();
|
|
@@ -204,16 +210,16 @@ var validChatRequest = (input) => {
|
|
|
204
210
|
})();
|
|
205
211
|
const $iu10 = (input3) => (() => {
|
|
206
212
|
if ("gene" === input3.kind)
|
|
207
|
-
return $
|
|
213
|
+
return $io43(input3);
|
|
208
214
|
if ("coord" === input3.kind)
|
|
209
|
-
return $
|
|
215
|
+
return $io46(input3);
|
|
210
216
|
return false;
|
|
211
217
|
})();
|
|
212
218
|
const $iu11 = (input3) => (() => {
|
|
213
219
|
if ("numeric" === input3.memberType)
|
|
214
|
-
return $
|
|
220
|
+
return $io49(input3);
|
|
215
221
|
if ("categorical" === input3.memberType)
|
|
216
|
-
return $
|
|
222
|
+
return $io54(input3);
|
|
217
223
|
return false;
|
|
218
224
|
})();
|
|
219
225
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -642,11 +648,11 @@ var validChatRequest = (input) => {
|
|
|
642
648
|
value: input3.value_by_computable_grade
|
|
643
649
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
644
650
|
path: _path2 + ".term",
|
|
645
|
-
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 | ProteomeAbundanceTerm | SsGSEATerm)',
|
|
651
|
+
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: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Isoform | 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 | ProteomeAbundanceTerm | SsGSEATerm)',
|
|
646
652
|
value: input3.term
|
|
647
653
|
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
648
654
|
path: _path2 + ".term",
|
|
649
|
-
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 | ProteomeAbundanceTerm | SsGSEATerm)',
|
|
655
|
+
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: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Isoform | 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 | ProteomeAbundanceTerm | SsGSEATerm)',
|
|
650
656
|
value: input3.term
|
|
651
657
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
652
658
|
path: _path2 + ".ranges",
|
|
@@ -672,7 +678,7 @@ var validChatRequest = (input) => {
|
|
|
672
678
|
path: _path2 + ".values[" + _index9 + "]",
|
|
673
679
|
expected: "__type.o5",
|
|
674
680
|
value: elem
|
|
675
|
-
})) && $
|
|
681
|
+
})) && $vo36(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
676
682
|
path: _path2 + ".values[" + _index9 + "]",
|
|
677
683
|
expected: "__type.o5",
|
|
678
684
|
value: elem
|
|
@@ -1273,9 +1279,9 @@ var validChatRequest = (input) => {
|
|
|
1273
1279
|
path: _path2 + ".name",
|
|
1274
1280
|
expected: "string",
|
|
1275
1281
|
value: input3.name
|
|
1276
|
-
}), "
|
|
1282
|
+
}), "isoformExpression" === input3.type || $report(_exceptionable2, {
|
|
1277
1283
|
path: _path2 + ".type",
|
|
1278
|
-
expected: '"
|
|
1284
|
+
expected: '"isoformExpression"',
|
|
1279
1285
|
value: input3.type
|
|
1280
1286
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1281
1287
|
path: _path2 + ".child_types",
|
|
@@ -1341,6 +1347,224 @@ var validChatRequest = (input) => {
|
|
|
1341
1347
|
path: _path2 + ".unit",
|
|
1342
1348
|
expected: "(string | undefined)",
|
|
1343
1349
|
value: input3.unit
|
|
1350
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1351
|
+
path: _path2 + ".bins",
|
|
1352
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1353
|
+
value: input3.bins
|
|
1354
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1355
|
+
path: _path2 + ".bins",
|
|
1356
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1357
|
+
value: input3.bins
|
|
1358
|
+
}), void 0 === input3.kind || "isoform" === input3.kind || $report(_exceptionable2, {
|
|
1359
|
+
path: _path2 + ".kind",
|
|
1360
|
+
expected: '("isoform" | undefined)',
|
|
1361
|
+
value: input3.kind
|
|
1362
|
+
}), "string" === typeof input3.isoform || $report(_exceptionable2, {
|
|
1363
|
+
path: _path2 + ".isoform",
|
|
1364
|
+
expected: "string",
|
|
1365
|
+
value: input3.isoform
|
|
1366
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1367
|
+
path: _path2 + ".gene",
|
|
1368
|
+
expected: "(string | undefined)",
|
|
1369
|
+
value: input3.gene
|
|
1370
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1371
|
+
path: _path2 + ".chr",
|
|
1372
|
+
expected: "(string | undefined)",
|
|
1373
|
+
value: input3.chr
|
|
1374
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1375
|
+
path: _path2 + ".start",
|
|
1376
|
+
expected: "(number | undefined)",
|
|
1377
|
+
value: input3.start
|
|
1378
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1379
|
+
path: _path2 + ".stop",
|
|
1380
|
+
expected: "(number | undefined)",
|
|
1381
|
+
value: input3.stop
|
|
1382
|
+
})].every((flag) => flag);
|
|
1383
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1384
|
+
path: _path2 + ".id",
|
|
1385
|
+
expected: "string",
|
|
1386
|
+
value: input3.id
|
|
1387
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1388
|
+
path: _path2 + ".name",
|
|
1389
|
+
expected: "string",
|
|
1390
|
+
value: input3.name
|
|
1391
|
+
}), "isoformExpression" === input3.type || $report(_exceptionable2, {
|
|
1392
|
+
path: _path2 + ".type",
|
|
1393
|
+
expected: '"isoformExpression"',
|
|
1394
|
+
value: input3.type
|
|
1395
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1396
|
+
path: _path2 + ".child_types",
|
|
1397
|
+
expected: "(Array<string> | undefined)",
|
|
1398
|
+
value: input3.child_types
|
|
1399
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1400
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1401
|
+
expected: "string",
|
|
1402
|
+
value: elem
|
|
1403
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1404
|
+
path: _path2 + ".child_types",
|
|
1405
|
+
expected: "(Array<string> | undefined)",
|
|
1406
|
+
value: input3.child_types
|
|
1407
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1408
|
+
path: _path2 + ".hashtmldetail",
|
|
1409
|
+
expected: "(boolean | undefined)",
|
|
1410
|
+
value: input3.hashtmldetail
|
|
1411
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1412
|
+
path: _path2 + ".included_types",
|
|
1413
|
+
expected: "(Array<string> | undefined)",
|
|
1414
|
+
value: input3.included_types
|
|
1415
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1416
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1417
|
+
expected: "string",
|
|
1418
|
+
value: elem
|
|
1419
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1420
|
+
path: _path2 + ".included_types",
|
|
1421
|
+
expected: "(Array<string> | undefined)",
|
|
1422
|
+
value: input3.included_types
|
|
1423
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1424
|
+
path: _path2 + ".isleaf",
|
|
1425
|
+
expected: "(boolean | undefined)",
|
|
1426
|
+
value: input3.isleaf
|
|
1427
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1428
|
+
path: _path2 + ".values",
|
|
1429
|
+
expected: "(TermValues | undefined)",
|
|
1430
|
+
value: input3.values
|
|
1431
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1432
|
+
path: _path2 + ".values",
|
|
1433
|
+
expected: "(TermValues | undefined)",
|
|
1434
|
+
value: input3.values
|
|
1435
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1436
|
+
path: _path2 + ".skipValuesBuild",
|
|
1437
|
+
expected: "(boolean | undefined)",
|
|
1438
|
+
value: input3.skipValuesBuild
|
|
1439
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1440
|
+
path: _path2 + ".valueConversion",
|
|
1441
|
+
expected: "(__type.o1 | undefined)",
|
|
1442
|
+
value: input3.valueConversion
|
|
1443
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1444
|
+
path: _path2 + ".valueConversion",
|
|
1445
|
+
expected: "(__type.o1 | undefined)",
|
|
1446
|
+
value: input3.valueConversion
|
|
1447
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1448
|
+
path: _path2 + ".continuousColorScale",
|
|
1449
|
+
expected: "(__type.o3 | undefined)",
|
|
1450
|
+
value: input3.continuousColorScale
|
|
1451
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1452
|
+
path: _path2 + ".continuousColorScale",
|
|
1453
|
+
expected: "(__type.o3 | undefined)",
|
|
1454
|
+
value: input3.continuousColorScale
|
|
1455
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1456
|
+
path: _path2 + ".unit",
|
|
1457
|
+
expected: "(string | undefined)",
|
|
1458
|
+
value: input3.unit
|
|
1459
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1460
|
+
path: _path2 + ".bins",
|
|
1461
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1462
|
+
value: input3.bins
|
|
1463
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1464
|
+
path: _path2 + ".bins",
|
|
1465
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1466
|
+
value: input3.bins
|
|
1467
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1468
|
+
path: _path2 + ".kind",
|
|
1469
|
+
expected: '("coord" | undefined)',
|
|
1470
|
+
value: input3.kind
|
|
1471
|
+
}), void 0 === input3.isoform || "string" === typeof input3.isoform || $report(_exceptionable2, {
|
|
1472
|
+
path: _path2 + ".isoform",
|
|
1473
|
+
expected: "(string | undefined)",
|
|
1474
|
+
value: input3.isoform
|
|
1475
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1476
|
+
path: _path2 + ".gene",
|
|
1477
|
+
expected: "(string | undefined)",
|
|
1478
|
+
value: input3.gene
|
|
1479
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1480
|
+
path: _path2 + ".chr",
|
|
1481
|
+
expected: "string",
|
|
1482
|
+
value: input3.chr
|
|
1483
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1484
|
+
path: _path2 + ".start",
|
|
1485
|
+
expected: "number",
|
|
1486
|
+
value: input3.start
|
|
1487
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1488
|
+
path: _path2 + ".stop",
|
|
1489
|
+
expected: "number",
|
|
1490
|
+
value: input3.stop
|
|
1491
|
+
})].every((flag) => flag);
|
|
1492
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".id",
|
|
1494
|
+
expected: "string",
|
|
1495
|
+
value: input3.id
|
|
1496
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1497
|
+
path: _path2 + ".name",
|
|
1498
|
+
expected: "string",
|
|
1499
|
+
value: input3.name
|
|
1500
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1501
|
+
path: _path2 + ".type",
|
|
1502
|
+
expected: '"metaboliteIntensity"',
|
|
1503
|
+
value: input3.type
|
|
1504
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1505
|
+
path: _path2 + ".child_types",
|
|
1506
|
+
expected: "(Array<string> | undefined)",
|
|
1507
|
+
value: input3.child_types
|
|
1508
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1509
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1510
|
+
expected: "string",
|
|
1511
|
+
value: elem
|
|
1512
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1513
|
+
path: _path2 + ".child_types",
|
|
1514
|
+
expected: "(Array<string> | undefined)",
|
|
1515
|
+
value: input3.child_types
|
|
1516
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1517
|
+
path: _path2 + ".hashtmldetail",
|
|
1518
|
+
expected: "(boolean | undefined)",
|
|
1519
|
+
value: input3.hashtmldetail
|
|
1520
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1521
|
+
path: _path2 + ".included_types",
|
|
1522
|
+
expected: "(Array<string> | undefined)",
|
|
1523
|
+
value: input3.included_types
|
|
1524
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1525
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1526
|
+
expected: "string",
|
|
1527
|
+
value: elem
|
|
1528
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1529
|
+
path: _path2 + ".included_types",
|
|
1530
|
+
expected: "(Array<string> | undefined)",
|
|
1531
|
+
value: input3.included_types
|
|
1532
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1533
|
+
path: _path2 + ".isleaf",
|
|
1534
|
+
expected: "(boolean | undefined)",
|
|
1535
|
+
value: input3.isleaf
|
|
1536
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1537
|
+
path: _path2 + ".values",
|
|
1538
|
+
expected: "(TermValues | undefined)",
|
|
1539
|
+
value: input3.values
|
|
1540
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1541
|
+
path: _path2 + ".values",
|
|
1542
|
+
expected: "(TermValues | undefined)",
|
|
1543
|
+
value: input3.values
|
|
1544
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".skipValuesBuild",
|
|
1546
|
+
expected: "(boolean | undefined)",
|
|
1547
|
+
value: input3.skipValuesBuild
|
|
1548
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1549
|
+
path: _path2 + ".valueConversion",
|
|
1550
|
+
expected: "(__type.o1 | undefined)",
|
|
1551
|
+
value: input3.valueConversion
|
|
1552
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".valueConversion",
|
|
1554
|
+
expected: "(__type.o1 | undefined)",
|
|
1555
|
+
value: input3.valueConversion
|
|
1556
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1557
|
+
path: _path2 + ".continuousColorScale",
|
|
1558
|
+
expected: "(__type.o3 | undefined)",
|
|
1559
|
+
value: input3.continuousColorScale
|
|
1560
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1561
|
+
path: _path2 + ".continuousColorScale",
|
|
1562
|
+
expected: "(__type.o3 | undefined)",
|
|
1563
|
+
value: input3.continuousColorScale
|
|
1564
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1565
|
+
path: _path2 + ".unit",
|
|
1566
|
+
expected: "(string | undefined)",
|
|
1567
|
+
value: input3.unit
|
|
1344
1568
|
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1345
1569
|
path: _path2 + ".metabolite",
|
|
1346
1570
|
expected: "string",
|
|
@@ -1354,7 +1578,7 @@ var validChatRequest = (input) => {
|
|
|
1354
1578
|
expected: "(PresetNumericBins | undefined)",
|
|
1355
1579
|
value: input3.bins
|
|
1356
1580
|
})].every((flag) => flag);
|
|
1357
|
-
const $
|
|
1581
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1358
1582
|
path: _path2 + ".id",
|
|
1359
1583
|
expected: "string",
|
|
1360
1584
|
value: input3.id
|
|
@@ -1370,8 +1594,8 @@ var validChatRequest = (input) => {
|
|
|
1370
1594
|
path: _path2 + ".child_types",
|
|
1371
1595
|
expected: "(Array<string> | undefined)",
|
|
1372
1596
|
value: input3.child_types
|
|
1373
|
-
})) && input3.child_types.map((elem,
|
|
1374
|
-
path: _path2 + ".child_types[" +
|
|
1597
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1598
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
1375
1599
|
expected: "string",
|
|
1376
1600
|
value: elem
|
|
1377
1601
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1386,8 +1610,8 @@ var validChatRequest = (input) => {
|
|
|
1386
1610
|
path: _path2 + ".included_types",
|
|
1387
1611
|
expected: "(Array<string> | undefined)",
|
|
1388
1612
|
value: input3.included_types
|
|
1389
|
-
})) && input3.included_types.map((elem,
|
|
1390
|
-
path: _path2 + ".included_types[" +
|
|
1613
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1614
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
1391
1615
|
expected: "string",
|
|
1392
1616
|
value: elem
|
|
1393
1617
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1446,12 +1670,12 @@ var validChatRequest = (input) => {
|
|
|
1446
1670
|
path: _path2 + ".proteomeDetails",
|
|
1447
1671
|
expected: "ProteomeDetails",
|
|
1448
1672
|
value: input3.proteomeDetails
|
|
1449
|
-
})) && $
|
|
1673
|
+
})) && $vo29(input3.proteomeDetails, _path2 + ".proteomeDetails", _exceptionable2) || $report(_exceptionable2, {
|
|
1450
1674
|
path: _path2 + ".proteomeDetails",
|
|
1451
1675
|
expected: "ProteomeDetails",
|
|
1452
1676
|
value: input3.proteomeDetails
|
|
1453
1677
|
})].every((flag) => flag);
|
|
1454
|
-
const $
|
|
1678
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.assay || $report(_exceptionable2, {
|
|
1455
1679
|
path: _path2 + ".assay",
|
|
1456
1680
|
expected: "string",
|
|
1457
1681
|
value: input3.assay
|
|
@@ -1460,7 +1684,7 @@ var validChatRequest = (input) => {
|
|
|
1460
1684
|
expected: "string",
|
|
1461
1685
|
value: input3.cohort
|
|
1462
1686
|
})].every((flag) => flag);
|
|
1463
|
-
const $
|
|
1687
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1464
1688
|
path: _path2 + ".id",
|
|
1465
1689
|
expected: "string",
|
|
1466
1690
|
value: input3.id
|
|
@@ -1476,8 +1700,8 @@ var validChatRequest = (input) => {
|
|
|
1476
1700
|
path: _path2 + ".child_types",
|
|
1477
1701
|
expected: "(Array<string> | undefined)",
|
|
1478
1702
|
value: input3.child_types
|
|
1479
|
-
})) && input3.child_types.map((elem,
|
|
1480
|
-
path: _path2 + ".child_types[" +
|
|
1703
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1704
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1481
1705
|
expected: "string",
|
|
1482
1706
|
value: elem
|
|
1483
1707
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1492,8 +1716,8 @@ var validChatRequest = (input) => {
|
|
|
1492
1716
|
path: _path2 + ".included_types",
|
|
1493
1717
|
expected: "(Array<string> | undefined)",
|
|
1494
1718
|
value: input3.included_types
|
|
1495
|
-
})) && input3.included_types.map((elem,
|
|
1496
|
-
path: _path2 + ".included_types[" +
|
|
1719
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1720
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1497
1721
|
expected: "string",
|
|
1498
1722
|
value: elem
|
|
1499
1723
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1545,7 +1769,7 @@ var validChatRequest = (input) => {
|
|
|
1545
1769
|
expected: "(PresetNumericBins | undefined)",
|
|
1546
1770
|
value: input3.bins
|
|
1547
1771
|
})].every((flag) => flag);
|
|
1548
|
-
const $
|
|
1772
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1549
1773
|
path: _path2 + ".id",
|
|
1550
1774
|
expected: "string",
|
|
1551
1775
|
value: input3.id
|
|
@@ -1561,8 +1785,8 @@ var validChatRequest = (input) => {
|
|
|
1561
1785
|
path: _path2 + ".child_types",
|
|
1562
1786
|
expected: "(Array<string> | undefined)",
|
|
1563
1787
|
value: input3.child_types
|
|
1564
|
-
})) && input3.child_types.map((elem,
|
|
1565
|
-
path: _path2 + ".child_types[" +
|
|
1788
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1789
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1566
1790
|
expected: "string",
|
|
1567
1791
|
value: elem
|
|
1568
1792
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1577,8 +1801,8 @@ var validChatRequest = (input) => {
|
|
|
1577
1801
|
path: _path2 + ".included_types",
|
|
1578
1802
|
expected: "(Array<string> | undefined)",
|
|
1579
1803
|
value: input3.included_types
|
|
1580
|
-
})) && input3.included_types.map((elem,
|
|
1581
|
-
path: _path2 + ".included_types[" +
|
|
1804
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1805
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1582
1806
|
expected: "string",
|
|
1583
1807
|
value: elem
|
|
1584
1808
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1625,8 +1849,8 @@ var validChatRequest = (input) => {
|
|
|
1625
1849
|
path: _path2 + ".genes",
|
|
1626
1850
|
expected: "(Array<string> | undefined)",
|
|
1627
1851
|
value: input3.genes
|
|
1628
|
-
})) && input3.genes.map((elem,
|
|
1629
|
-
path: _path2 + ".genes[" +
|
|
1852
|
+
})) && input3.genes.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1853
|
+
path: _path2 + ".genes[" + _index29 + "]",
|
|
1630
1854
|
expected: "string",
|
|
1631
1855
|
value: elem
|
|
1632
1856
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1642,7 +1866,7 @@ var validChatRequest = (input) => {
|
|
|
1642
1866
|
expected: "(PresetNumericBins | undefined)",
|
|
1643
1867
|
value: input3.bins
|
|
1644
1868
|
})].every((flag) => flag);
|
|
1645
|
-
const $
|
|
1869
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1646
1870
|
path: _path2 + ".id",
|
|
1647
1871
|
expected: "string",
|
|
1648
1872
|
value: input3.id
|
|
@@ -1658,8 +1882,8 @@ var validChatRequest = (input) => {
|
|
|
1658
1882
|
path: _path2 + ".child_types",
|
|
1659
1883
|
expected: "(Array<string> | undefined)",
|
|
1660
1884
|
value: input3.child_types
|
|
1661
|
-
})) && input3.child_types.map((elem,
|
|
1662
|
-
path: _path2 + ".child_types[" +
|
|
1885
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1886
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
1663
1887
|
expected: "string",
|
|
1664
1888
|
value: elem
|
|
1665
1889
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1674,8 +1898,8 @@ var validChatRequest = (input) => {
|
|
|
1674
1898
|
path: _path2 + ".included_types",
|
|
1675
1899
|
expected: "(Array<string> | undefined)",
|
|
1676
1900
|
value: input3.included_types
|
|
1677
|
-
})) && input3.included_types.map((elem,
|
|
1678
|
-
path: _path2 + ".included_types[" +
|
|
1901
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1902
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
1679
1903
|
expected: "string",
|
|
1680
1904
|
value: elem
|
|
1681
1905
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1739,7 +1963,7 @@ var validChatRequest = (input) => {
|
|
|
1739
1963
|
expected: "(PresetNumericBins | undefined)",
|
|
1740
1964
|
value: input3.bins
|
|
1741
1965
|
})].every((flag) => flag);
|
|
1742
|
-
const $
|
|
1966
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1743
1967
|
path: _path2 + ".id",
|
|
1744
1968
|
expected: "string",
|
|
1745
1969
|
value: input3.id
|
|
@@ -1755,8 +1979,8 @@ var validChatRequest = (input) => {
|
|
|
1755
1979
|
path: _path2 + ".child_types",
|
|
1756
1980
|
expected: "(Array<string> | undefined)",
|
|
1757
1981
|
value: input3.child_types
|
|
1758
|
-
})) && input3.child_types.map((elem,
|
|
1759
|
-
path: _path2 + ".child_types[" +
|
|
1982
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1983
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1760
1984
|
expected: "string",
|
|
1761
1985
|
value: elem
|
|
1762
1986
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1771,8 +1995,8 @@ var validChatRequest = (input) => {
|
|
|
1771
1995
|
path: _path2 + ".included_types",
|
|
1772
1996
|
expected: "(Array<string> | undefined)",
|
|
1773
1997
|
value: input3.included_types
|
|
1774
|
-
})) && input3.included_types.map((elem,
|
|
1775
|
-
path: _path2 + ".included_types[" +
|
|
1998
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1999
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1776
2000
|
expected: "string",
|
|
1777
2001
|
value: elem
|
|
1778
2002
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1848,7 +2072,7 @@ var validChatRequest = (input) => {
|
|
|
1848
2072
|
expected: "(number | undefined)",
|
|
1849
2073
|
value: input3.stop
|
|
1850
2074
|
})].every((flag) => flag);
|
|
1851
|
-
const $
|
|
2075
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1852
2076
|
path: _path2 + ".id",
|
|
1853
2077
|
expected: "string",
|
|
1854
2078
|
value: input3.id
|
|
@@ -1864,8 +2088,8 @@ var validChatRequest = (input) => {
|
|
|
1864
2088
|
path: _path2 + ".child_types",
|
|
1865
2089
|
expected: "(Array<string> | undefined)",
|
|
1866
2090
|
value: input3.child_types
|
|
1867
|
-
})) && input3.child_types.map((elem,
|
|
1868
|
-
path: _path2 + ".child_types[" +
|
|
2091
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2092
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1869
2093
|
expected: "string",
|
|
1870
2094
|
value: elem
|
|
1871
2095
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1880,8 +2104,8 @@ var validChatRequest = (input) => {
|
|
|
1880
2104
|
path: _path2 + ".included_types",
|
|
1881
2105
|
expected: "(Array<string> | undefined)",
|
|
1882
2106
|
value: input3.included_types
|
|
1883
|
-
})) && input3.included_types.map((elem,
|
|
1884
|
-
path: _path2 + ".included_types[" +
|
|
2107
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2108
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1885
2109
|
expected: "string",
|
|
1886
2110
|
value: elem
|
|
1887
2111
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1957,7 +2181,7 @@ var validChatRequest = (input) => {
|
|
|
1957
2181
|
expected: "number",
|
|
1958
2182
|
value: input3.stop
|
|
1959
2183
|
})].every((flag) => flag);
|
|
1960
|
-
const $
|
|
2184
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
1961
2185
|
path: _path2 + ".value",
|
|
1962
2186
|
expected: "number",
|
|
1963
2187
|
value: input3.value
|
|
@@ -1970,7 +2194,7 @@ var validChatRequest = (input) => {
|
|
|
1970
2194
|
expected: "(string | undefined)",
|
|
1971
2195
|
value: input3.name
|
|
1972
2196
|
})].every((flag) => flag);
|
|
1973
|
-
const $
|
|
2197
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1974
2198
|
path: _path2 + ".key",
|
|
1975
2199
|
expected: "string",
|
|
1976
2200
|
value: input3.key
|
|
@@ -1987,7 +2211,7 @@ var validChatRequest = (input) => {
|
|
|
1987
2211
|
expected: "(string | undefined)",
|
|
1988
2212
|
value: input3.label
|
|
1989
2213
|
})].every((flag) => flag);
|
|
1990
|
-
const $
|
|
2214
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1991
2215
|
path: _path2 + ".join",
|
|
1992
2216
|
expected: "(string | undefined)",
|
|
1993
2217
|
value: input3.join
|
|
@@ -2019,7 +2243,7 @@ var validChatRequest = (input) => {
|
|
|
2019
2243
|
path: _path2 + ".term",
|
|
2020
2244
|
expected: "ConditionTerm",
|
|
2021
2245
|
value: input3.term
|
|
2022
|
-
})) && $
|
|
2246
|
+
})) && $vo38(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2023
2247
|
path: _path2 + ".term",
|
|
2024
2248
|
expected: "ConditionTerm",
|
|
2025
2249
|
value: input3.term
|
|
@@ -2027,12 +2251,12 @@ var validChatRequest = (input) => {
|
|
|
2027
2251
|
path: _path2 + ".grade_and_child",
|
|
2028
2252
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2029
2253
|
value: input3.grade_and_child
|
|
2030
|
-
})) && input3.grade_and_child.map((elem,
|
|
2031
|
-
path: _path2 + ".grade_and_child[" +
|
|
2254
|
+
})) && input3.grade_and_child.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2255
|
+
path: _path2 + ".grade_and_child[" + _index36 + "]",
|
|
2032
2256
|
expected: "GradeAndChildEntry",
|
|
2033
2257
|
value: elem
|
|
2034
|
-
})) && $
|
|
2035
|
-
path: _path2 + ".grade_and_child[" +
|
|
2258
|
+
})) && $vo39(elem, _path2 + ".grade_and_child[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2259
|
+
path: _path2 + ".grade_and_child[" + _index36 + "]",
|
|
2036
2260
|
expected: "GradeAndChildEntry",
|
|
2037
2261
|
value: elem
|
|
2038
2262
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2043,12 +2267,12 @@ var validChatRequest = (input) => {
|
|
|
2043
2267
|
path: _path2 + ".values",
|
|
2044
2268
|
expected: "Array<__type>.o2",
|
|
2045
2269
|
value: input3.values
|
|
2046
|
-
})) && input3.values.map((elem,
|
|
2047
|
-
path: _path2 + ".values[" +
|
|
2270
|
+
})) && input3.values.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2271
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
2048
2272
|
expected: "__type.o6",
|
|
2049
2273
|
value: elem
|
|
2050
|
-
})) && $
|
|
2051
|
-
path: _path2 + ".values[" +
|
|
2274
|
+
})) && $vo40(elem, _path2 + ".values[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2275
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
2052
2276
|
expected: "__type.o6",
|
|
2053
2277
|
value: elem
|
|
2054
2278
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2056,7 +2280,7 @@ var validChatRequest = (input) => {
|
|
|
2056
2280
|
expected: "Array<__type>.o2",
|
|
2057
2281
|
value: input3.values
|
|
2058
2282
|
})].every((flag) => flag);
|
|
2059
|
-
const $
|
|
2283
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2060
2284
|
path: _path2 + ".id",
|
|
2061
2285
|
expected: "string",
|
|
2062
2286
|
value: input3.id
|
|
@@ -2072,8 +2296,8 @@ var validChatRequest = (input) => {
|
|
|
2072
2296
|
path: _path2 + ".child_types",
|
|
2073
2297
|
expected: "(Array<string> | undefined)",
|
|
2074
2298
|
value: input3.child_types
|
|
2075
|
-
})) && input3.child_types.map((elem,
|
|
2076
|
-
path: _path2 + ".child_types[" +
|
|
2299
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2300
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
2077
2301
|
expected: "string",
|
|
2078
2302
|
value: elem
|
|
2079
2303
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2088,8 +2312,8 @@ var validChatRequest = (input) => {
|
|
|
2088
2312
|
path: _path2 + ".included_types",
|
|
2089
2313
|
expected: "(Array<string> | undefined)",
|
|
2090
2314
|
value: input3.included_types
|
|
2091
|
-
})) && input3.included_types.map((elem,
|
|
2092
|
-
path: _path2 + ".included_types[" +
|
|
2315
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2316
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
2093
2317
|
expected: "string",
|
|
2094
2318
|
value: elem
|
|
2095
2319
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2121,7 +2345,7 @@ var validChatRequest = (input) => {
|
|
|
2121
2345
|
expected: "(__type.o1 | undefined)",
|
|
2122
2346
|
value: input3.valueConversion
|
|
2123
2347
|
})].every((flag) => flag);
|
|
2124
|
-
const $
|
|
2348
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2125
2349
|
path: _path2 + ".grade",
|
|
2126
2350
|
expected: "number",
|
|
2127
2351
|
value: input3.grade
|
|
@@ -2138,7 +2362,7 @@ var validChatRequest = (input) => {
|
|
|
2138
2362
|
expected: "string",
|
|
2139
2363
|
value: input3.child_label
|
|
2140
2364
|
})].every((flag) => flag);
|
|
2141
|
-
const $
|
|
2365
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2142
2366
|
path: _path2 + ".key",
|
|
2143
2367
|
expected: "(number | string)",
|
|
2144
2368
|
value: input3.key
|
|
@@ -2156,7 +2380,7 @@ var validChatRequest = (input) => {
|
|
|
2156
2380
|
return true;
|
|
2157
2381
|
return true;
|
|
2158
2382
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2159
|
-
const $
|
|
2383
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2160
2384
|
path: _path2 + ".join",
|
|
2161
2385
|
expected: "(string | undefined)",
|
|
2162
2386
|
value: input3.join
|
|
@@ -2188,7 +2412,7 @@ var validChatRequest = (input) => {
|
|
|
2188
2412
|
path: _path2 + ".term",
|
|
2189
2413
|
expected: "DtTerm",
|
|
2190
2414
|
value: input3.term
|
|
2191
|
-
})) && $
|
|
2415
|
+
})) && $vo42(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2192
2416
|
path: _path2 + ".term",
|
|
2193
2417
|
expected: "DtTerm",
|
|
2194
2418
|
value: input3.term
|
|
@@ -2196,12 +2420,12 @@ var validChatRequest = (input) => {
|
|
|
2196
2420
|
path: _path2 + ".values",
|
|
2197
2421
|
expected: "Array<GeneVariantValue>",
|
|
2198
2422
|
value: input3.values
|
|
2199
|
-
})) && input3.values.map((elem,
|
|
2200
|
-
path: _path2 + ".values[" +
|
|
2423
|
+
})) && input3.values.map((elem, _index40) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2424
|
+
path: _path2 + ".values[" + _index40 + "]",
|
|
2201
2425
|
expected: "GeneVariantValue",
|
|
2202
2426
|
value: elem
|
|
2203
|
-
})) && $
|
|
2204
|
-
path: _path2 + ".values[" +
|
|
2427
|
+
})) && $vo47(elem, _path2 + ".values[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2428
|
+
path: _path2 + ".values[" + _index40 + "]",
|
|
2205
2429
|
expected: "GeneVariantValue",
|
|
2206
2430
|
value: elem
|
|
2207
2431
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2249,7 +2473,7 @@ var validChatRequest = (input) => {
|
|
|
2249
2473
|
expected: "(number | undefined)",
|
|
2250
2474
|
value: input3.fractionOverlap
|
|
2251
2475
|
})].every((flag) => flag);
|
|
2252
|
-
const $
|
|
2476
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2253
2477
|
path: _path2 + ".id",
|
|
2254
2478
|
expected: "string",
|
|
2255
2479
|
value: input3.id
|
|
@@ -2298,7 +2522,7 @@ var validChatRequest = (input) => {
|
|
|
2298
2522
|
expected: "TermValues",
|
|
2299
2523
|
value: input3.values
|
|
2300
2524
|
})].every((flag) => flag);
|
|
2301
|
-
const $
|
|
2525
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2302
2526
|
path: _path2 + ".id",
|
|
2303
2527
|
expected: "string",
|
|
2304
2528
|
value: input3.id
|
|
@@ -2314,8 +2538,8 @@ var validChatRequest = (input) => {
|
|
|
2314
2538
|
path: _path2 + ".child_types",
|
|
2315
2539
|
expected: "(Array<string> | undefined)",
|
|
2316
2540
|
value: input3.child_types
|
|
2317
|
-
})) && input3.child_types.map((elem,
|
|
2318
|
-
path: _path2 + ".child_types[" +
|
|
2541
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2542
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
2319
2543
|
expected: "string",
|
|
2320
2544
|
value: elem
|
|
2321
2545
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2330,8 +2554,8 @@ var validChatRequest = (input) => {
|
|
|
2330
2554
|
path: _path2 + ".included_types",
|
|
2331
2555
|
expected: "(Array<string> | undefined)",
|
|
2332
2556
|
value: input3.included_types
|
|
2333
|
-
})) && input3.included_types.map((elem,
|
|
2334
|
-
path: _path2 + ".included_types[" +
|
|
2557
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2558
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
2335
2559
|
expected: "string",
|
|
2336
2560
|
value: elem
|
|
2337
2561
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2386,12 +2610,12 @@ var validChatRequest = (input) => {
|
|
|
2386
2610
|
path: _path2 + ".genes",
|
|
2387
2611
|
expected: "Array<GvGeneTerm>",
|
|
2388
2612
|
value: input3.genes
|
|
2389
|
-
})) && input3.genes.map((elem,
|
|
2390
|
-
path: _path2 + ".genes[" +
|
|
2613
|
+
})) && input3.genes.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2614
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
2391
2615
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2392
2616
|
value: elem
|
|
2393
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2394
|
-
path: _path2 + ".genes[" +
|
|
2617
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2618
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
2395
2619
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2396
2620
|
value: elem
|
|
2397
2621
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2410,12 +2634,12 @@ var validChatRequest = (input) => {
|
|
|
2410
2634
|
path: _path2 + ".childTerms",
|
|
2411
2635
|
expected: "(Array<DtTerm> | undefined)",
|
|
2412
2636
|
value: input3.childTerms
|
|
2413
|
-
})) && input3.childTerms.map((elem,
|
|
2414
|
-
path: _path2 + ".childTerms[" +
|
|
2637
|
+
})) && input3.childTerms.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2638
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
2415
2639
|
expected: "DtTerm",
|
|
2416
2640
|
value: elem
|
|
2417
|
-
})) && $
|
|
2418
|
-
path: _path2 + ".childTerms[" +
|
|
2641
|
+
})) && $vo42(elem, _path2 + ".childTerms[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2642
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
2419
2643
|
expected: "DtTerm",
|
|
2420
2644
|
value: elem
|
|
2421
2645
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2423,7 +2647,7 @@ var validChatRequest = (input) => {
|
|
|
2423
2647
|
expected: "(Array<DtTerm> | undefined)",
|
|
2424
2648
|
value: input3.childTerms
|
|
2425
2649
|
})].every((flag) => flag);
|
|
2426
|
-
const $
|
|
2650
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2427
2651
|
path: _path2 + ".id",
|
|
2428
2652
|
expected: "string",
|
|
2429
2653
|
value: input3.id
|
|
@@ -2439,8 +2663,8 @@ var validChatRequest = (input) => {
|
|
|
2439
2663
|
path: _path2 + ".child_types",
|
|
2440
2664
|
expected: "(Array<string> | undefined)",
|
|
2441
2665
|
value: input3.child_types
|
|
2442
|
-
})) && input3.child_types.map((elem,
|
|
2443
|
-
path: _path2 + ".child_types[" +
|
|
2666
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2667
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2444
2668
|
expected: "string",
|
|
2445
2669
|
value: elem
|
|
2446
2670
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2455,8 +2679,8 @@ var validChatRequest = (input) => {
|
|
|
2455
2679
|
path: _path2 + ".included_types",
|
|
2456
2680
|
expected: "(Array<string> | undefined)",
|
|
2457
2681
|
value: input3.included_types
|
|
2458
|
-
})) && input3.included_types.map((elem,
|
|
2459
|
-
path: _path2 + ".included_types[" +
|
|
2682
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2683
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2460
2684
|
expected: "string",
|
|
2461
2685
|
value: elem
|
|
2462
2686
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2508,7 +2732,7 @@ var validChatRequest = (input) => {
|
|
|
2508
2732
|
expected: "(number | undefined)",
|
|
2509
2733
|
value: input3.stop
|
|
2510
2734
|
})].every((flag) => flag);
|
|
2511
|
-
const $
|
|
2735
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2512
2736
|
path: _path2 + ".id",
|
|
2513
2737
|
expected: "string",
|
|
2514
2738
|
value: input3.id
|
|
@@ -2524,8 +2748,8 @@ var validChatRequest = (input) => {
|
|
|
2524
2748
|
path: _path2 + ".child_types",
|
|
2525
2749
|
expected: "(Array<string> | undefined)",
|
|
2526
2750
|
value: input3.child_types
|
|
2527
|
-
})) && input3.child_types.map((elem,
|
|
2528
|
-
path: _path2 + ".child_types[" +
|
|
2751
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2752
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
2529
2753
|
expected: "string",
|
|
2530
2754
|
value: elem
|
|
2531
2755
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2540,8 +2764,8 @@ var validChatRequest = (input) => {
|
|
|
2540
2764
|
path: _path2 + ".included_types",
|
|
2541
2765
|
expected: "(Array<string> | undefined)",
|
|
2542
2766
|
value: input3.included_types
|
|
2543
|
-
})) && input3.included_types.map((elem,
|
|
2544
|
-
path: _path2 + ".included_types[" +
|
|
2767
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2768
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
2545
2769
|
expected: "string",
|
|
2546
2770
|
value: elem
|
|
2547
2771
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2589,7 +2813,7 @@ var validChatRequest = (input) => {
|
|
|
2589
2813
|
expected: "number",
|
|
2590
2814
|
value: input3.stop
|
|
2591
2815
|
})].every((flag) => flag);
|
|
2592
|
-
const $
|
|
2816
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2593
2817
|
path: _path2 + ".id",
|
|
2594
2818
|
expected: "string",
|
|
2595
2819
|
value: input3.id
|
|
@@ -2605,8 +2829,8 @@ var validChatRequest = (input) => {
|
|
|
2605
2829
|
path: _path2 + ".child_types",
|
|
2606
2830
|
expected: "(Array<string> | undefined)",
|
|
2607
2831
|
value: input3.child_types
|
|
2608
|
-
})) && input3.child_types.map((elem,
|
|
2609
|
-
path: _path2 + ".child_types[" +
|
|
2832
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2833
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
2610
2834
|
expected: "string",
|
|
2611
2835
|
value: elem
|
|
2612
2836
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2621,8 +2845,8 @@ var validChatRequest = (input) => {
|
|
|
2621
2845
|
path: _path2 + ".included_types",
|
|
2622
2846
|
expected: "(Array<string> | undefined)",
|
|
2623
2847
|
value: input3.included_types
|
|
2624
|
-
})) && input3.included_types.map((elem,
|
|
2625
|
-
path: _path2 + ".included_types[" +
|
|
2848
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2849
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
2626
2850
|
expected: "string",
|
|
2627
2851
|
value: elem
|
|
2628
2852
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2673,12 +2897,12 @@ var validChatRequest = (input) => {
|
|
|
2673
2897
|
path: _path2 + ".genes",
|
|
2674
2898
|
expected: "Array<GvGeneTerm>",
|
|
2675
2899
|
value: input3.genes
|
|
2676
|
-
})) && input3.genes.map((elem,
|
|
2677
|
-
path: _path2 + ".genes[" +
|
|
2900
|
+
})) && input3.genes.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2901
|
+
path: _path2 + ".genes[" + _index51 + "]",
|
|
2678
2902
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2679
2903
|
value: elem
|
|
2680
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2681
|
-
path: _path2 + ".genes[" +
|
|
2904
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2905
|
+
path: _path2 + ".genes[" + _index51 + "]",
|
|
2682
2906
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2683
2907
|
value: elem
|
|
2684
2908
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2697,12 +2921,12 @@ var validChatRequest = (input) => {
|
|
|
2697
2921
|
path: _path2 + ".childTerms",
|
|
2698
2922
|
expected: "(Array<DtTerm> | undefined)",
|
|
2699
2923
|
value: input3.childTerms
|
|
2700
|
-
})) && input3.childTerms.map((elem,
|
|
2701
|
-
path: _path2 + ".childTerms[" +
|
|
2924
|
+
})) && input3.childTerms.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2925
|
+
path: _path2 + ".childTerms[" + _index52 + "]",
|
|
2702
2926
|
expected: "DtTerm",
|
|
2703
2927
|
value: elem
|
|
2704
|
-
})) && $
|
|
2705
|
-
path: _path2 + ".childTerms[" +
|
|
2928
|
+
})) && $vo42(elem, _path2 + ".childTerms[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2929
|
+
path: _path2 + ".childTerms[" + _index52 + "]",
|
|
2706
2930
|
expected: "DtTerm",
|
|
2707
2931
|
value: elem
|
|
2708
2932
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2710,7 +2934,7 @@ var validChatRequest = (input) => {
|
|
|
2710
2934
|
expected: "(Array<DtTerm> | undefined)",
|
|
2711
2935
|
value: input3.childTerms
|
|
2712
2936
|
})].every((flag) => flag);
|
|
2713
|
-
const $
|
|
2937
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2714
2938
|
path: _path2 + ".key",
|
|
2715
2939
|
expected: "(string | undefined)",
|
|
2716
2940
|
value: input3.key
|
|
@@ -2730,8 +2954,8 @@ var validChatRequest = (input) => {
|
|
|
2730
2954
|
path: _path2 + ".mclasslst",
|
|
2731
2955
|
expected: "(Array<string> | undefined)",
|
|
2732
2956
|
value: input3.mclasslst
|
|
2733
|
-
})) && input3.mclasslst.map((elem,
|
|
2734
|
-
path: _path2 + ".mclasslst[" +
|
|
2957
|
+
})) && input3.mclasslst.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2958
|
+
path: _path2 + ".mclasslst[" + _index53 + "]",
|
|
2735
2959
|
expected: "string",
|
|
2736
2960
|
value: elem
|
|
2737
2961
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2742,8 +2966,8 @@ var validChatRequest = (input) => {
|
|
|
2742
2966
|
path: _path2 + ".mclassExcludeLst",
|
|
2743
2967
|
expected: "(Array<string> | undefined)",
|
|
2744
2968
|
value: input3.mclassExcludeLst
|
|
2745
|
-
})) && input3.mclassExcludeLst.map((elem,
|
|
2746
|
-
path: _path2 + ".mclassExcludeLst[" +
|
|
2969
|
+
})) && input3.mclassExcludeLst.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2970
|
+
path: _path2 + ".mclassExcludeLst[" + _index54 + "]",
|
|
2747
2971
|
expected: "string",
|
|
2748
2972
|
value: elem
|
|
2749
2973
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2755,7 +2979,7 @@ var validChatRequest = (input) => {
|
|
|
2755
2979
|
expected: "(string | undefined)",
|
|
2756
2980
|
value: input3.origin
|
|
2757
2981
|
})].every((flag) => flag);
|
|
2758
|
-
const $
|
|
2982
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2759
2983
|
path: _path2 + ".join",
|
|
2760
2984
|
expected: "(string | undefined)",
|
|
2761
2985
|
value: input3.join
|
|
@@ -2796,7 +3020,7 @@ var validChatRequest = (input) => {
|
|
|
2796
3020
|
expected: "number",
|
|
2797
3021
|
value: input3.ratio
|
|
2798
3022
|
})].every((flag) => flag);
|
|
2799
|
-
const $
|
|
3023
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2800
3024
|
path: _path2 + ".id",
|
|
2801
3025
|
expected: "string",
|
|
2802
3026
|
value: input3.id
|
|
@@ -2812,8 +3036,8 @@ var validChatRequest = (input) => {
|
|
|
2812
3036
|
path: _path2 + ".child_types",
|
|
2813
3037
|
expected: "(Array<string> | undefined)",
|
|
2814
3038
|
value: input3.child_types
|
|
2815
|
-
})) && input3.child_types.map((elem,
|
|
2816
|
-
path: _path2 + ".child_types[" +
|
|
3039
|
+
})) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3040
|
+
path: _path2 + ".child_types[" + _index55 + "]",
|
|
2817
3041
|
expected: "string",
|
|
2818
3042
|
value: elem
|
|
2819
3043
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2828,8 +3052,8 @@ var validChatRequest = (input) => {
|
|
|
2828
3052
|
path: _path2 + ".included_types",
|
|
2829
3053
|
expected: "(Array<string> | undefined)",
|
|
2830
3054
|
value: input3.included_types
|
|
2831
|
-
})) && input3.included_types.map((elem,
|
|
2832
|
-
path: _path2 + ".included_types[" +
|
|
3055
|
+
})) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3056
|
+
path: _path2 + ".included_types[" + _index56 + "]",
|
|
2833
3057
|
expected: "string",
|
|
2834
3058
|
value: elem
|
|
2835
3059
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2864,8 +3088,8 @@ var validChatRequest = (input) => {
|
|
|
2864
3088
|
path: _path2 + ".termIds",
|
|
2865
3089
|
expected: "(Array<string> | undefined)",
|
|
2866
3090
|
value: input3.termIds
|
|
2867
|
-
})) && input3.termIds.map((elem,
|
|
2868
|
-
path: _path2 + ".termIds[" +
|
|
3091
|
+
})) && input3.termIds.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3092
|
+
path: _path2 + ".termIds[" + _index57 + "]",
|
|
2869
3093
|
expected: "string",
|
|
2870
3094
|
value: elem
|
|
2871
3095
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2876,12 +3100,12 @@ var validChatRequest = (input) => {
|
|
|
2876
3100
|
path: _path2 + ".termlst",
|
|
2877
3101
|
expected: "Array<BaseTerm>",
|
|
2878
3102
|
value: input3.termlst
|
|
2879
|
-
})) && input3.termlst.map((elem,
|
|
2880
|
-
path: _path2 + ".termlst[" +
|
|
3103
|
+
})) && input3.termlst.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3104
|
+
path: _path2 + ".termlst[" + _index58 + "]",
|
|
2881
3105
|
expected: "BaseTerm",
|
|
2882
3106
|
value: elem
|
|
2883
|
-
})) && $
|
|
2884
|
-
path: _path2 + ".termlst[" +
|
|
3107
|
+
})) && $vo50(elem, _path2 + ".termlst[" + _index58 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3108
|
+
path: _path2 + ".termlst[" + _index58 + "]",
|
|
2885
3109
|
expected: "BaseTerm",
|
|
2886
3110
|
value: elem
|
|
2887
3111
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2896,7 +3120,7 @@ var validChatRequest = (input) => {
|
|
|
2896
3120
|
path: _path2 + ".propsByTermId",
|
|
2897
3121
|
expected: "__type.o7",
|
|
2898
3122
|
value: input3.propsByTermId
|
|
2899
|
-
})) && $
|
|
3123
|
+
})) && $vo51(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2900
3124
|
path: _path2 + ".propsByTermId",
|
|
2901
3125
|
expected: "__type.o7",
|
|
2902
3126
|
value: input3.propsByTermId
|
|
@@ -2908,8 +3132,8 @@ var validChatRequest = (input) => {
|
|
|
2908
3132
|
path: _path2 + ".numerators",
|
|
2909
3133
|
expected: "(Array<string> | undefined)",
|
|
2910
3134
|
value: input3.numerators
|
|
2911
|
-
})) && input3.numerators.map((elem,
|
|
2912
|
-
path: _path2 + ".numerators[" +
|
|
3135
|
+
})) && input3.numerators.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3136
|
+
path: _path2 + ".numerators[" + _index59 + "]",
|
|
2913
3137
|
expected: "string",
|
|
2914
3138
|
value: elem
|
|
2915
3139
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2920,12 +3144,12 @@ var validChatRequest = (input) => {
|
|
|
2920
3144
|
path: _path2 + ".valueTransform",
|
|
2921
3145
|
expected: "(__type.o9 | undefined)",
|
|
2922
3146
|
value: input3.valueTransform
|
|
2923
|
-
})) && $
|
|
3147
|
+
})) && $vo53(input3.valueTransform, _path2 + ".valueTransform", _exceptionable2) || $report(_exceptionable2, {
|
|
2924
3148
|
path: _path2 + ".valueTransform",
|
|
2925
3149
|
expected: "(__type.o9 | undefined)",
|
|
2926
3150
|
value: input3.valueTransform
|
|
2927
3151
|
})].every((flag) => flag);
|
|
2928
|
-
const $
|
|
3152
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2929
3153
|
path: _path2 + ".id",
|
|
2930
3154
|
expected: "string",
|
|
2931
3155
|
value: input3.id
|
|
@@ -2941,8 +3165,8 @@ var validChatRequest = (input) => {
|
|
|
2941
3165
|
path: _path2 + ".child_types",
|
|
2942
3166
|
expected: "(Array<string> | undefined)",
|
|
2943
3167
|
value: input3.child_types
|
|
2944
|
-
})) && input3.child_types.map((elem,
|
|
2945
|
-
path: _path2 + ".child_types[" +
|
|
3168
|
+
})) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3169
|
+
path: _path2 + ".child_types[" + _index60 + "]",
|
|
2946
3170
|
expected: "string",
|
|
2947
3171
|
value: elem
|
|
2948
3172
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2957,8 +3181,8 @@ var validChatRequest = (input) => {
|
|
|
2957
3181
|
path: _path2 + ".included_types",
|
|
2958
3182
|
expected: "(Array<string> | undefined)",
|
|
2959
3183
|
value: input3.included_types
|
|
2960
|
-
})) && input3.included_types.map((elem,
|
|
2961
|
-
path: _path2 + ".included_types[" +
|
|
3184
|
+
})) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3185
|
+
path: _path2 + ".included_types[" + _index61 + "]",
|
|
2962
3186
|
expected: "string",
|
|
2963
3187
|
value: elem
|
|
2964
3188
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2990,7 +3214,7 @@ var validChatRequest = (input) => {
|
|
|
2990
3214
|
expected: "(__type.o1 | undefined)",
|
|
2991
3215
|
value: input3.valueConversion
|
|
2992
3216
|
})].every((flag) => flag);
|
|
2993
|
-
const $
|
|
3217
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2994
3218
|
const value = input3[key];
|
|
2995
3219
|
if (void 0 === value)
|
|
2996
3220
|
return true;
|
|
@@ -2999,14 +3223,14 @@ var validChatRequest = (input) => {
|
|
|
2999
3223
|
path: _path2 + $join(key),
|
|
3000
3224
|
expected: "__type.o8",
|
|
3001
3225
|
value
|
|
3002
|
-
})) && $
|
|
3226
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3003
3227
|
path: _path2 + $join(key),
|
|
3004
3228
|
expected: "__type.o8",
|
|
3005
3229
|
value
|
|
3006
3230
|
});
|
|
3007
3231
|
return true;
|
|
3008
3232
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3009
|
-
const $
|
|
3233
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3010
3234
|
const value = input3[key];
|
|
3011
3235
|
if (void 0 === value)
|
|
3012
3236
|
return true;
|
|
@@ -3014,12 +3238,12 @@ var validChatRequest = (input) => {
|
|
|
3014
3238
|
return true;
|
|
3015
3239
|
return true;
|
|
3016
3240
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3017
|
-
const $
|
|
3241
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.offset || "number" === typeof input3.offset || $report(_exceptionable2, {
|
|
3018
3242
|
path: _path2 + ".offset",
|
|
3019
3243
|
expected: "(number | undefined)",
|
|
3020
3244
|
value: input3.offset
|
|
3021
3245
|
})].every((flag) => flag);
|
|
3022
|
-
const $
|
|
3246
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3023
3247
|
path: _path2 + ".id",
|
|
3024
3248
|
expected: "string",
|
|
3025
3249
|
value: input3.id
|
|
@@ -3035,8 +3259,8 @@ var validChatRequest = (input) => {
|
|
|
3035
3259
|
path: _path2 + ".child_types",
|
|
3036
3260
|
expected: "(Array<string> | undefined)",
|
|
3037
3261
|
value: input3.child_types
|
|
3038
|
-
})) && input3.child_types.map((elem,
|
|
3039
|
-
path: _path2 + ".child_types[" +
|
|
3262
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3263
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
3040
3264
|
expected: "string",
|
|
3041
3265
|
value: elem
|
|
3042
3266
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3051,8 +3275,8 @@ var validChatRequest = (input) => {
|
|
|
3051
3275
|
path: _path2 + ".included_types",
|
|
3052
3276
|
expected: "(Array<string> | undefined)",
|
|
3053
3277
|
value: input3.included_types
|
|
3054
|
-
})) && input3.included_types.map((elem,
|
|
3055
|
-
path: _path2 + ".included_types[" +
|
|
3278
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3279
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
3056
3280
|
expected: "string",
|
|
3057
3281
|
value: elem
|
|
3058
3282
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3087,8 +3311,8 @@ var validChatRequest = (input) => {
|
|
|
3087
3311
|
path: _path2 + ".termIds",
|
|
3088
3312
|
expected: "(Array<string> | undefined)",
|
|
3089
3313
|
value: input3.termIds
|
|
3090
|
-
})) && input3.termIds.map((elem,
|
|
3091
|
-
path: _path2 + ".termIds[" +
|
|
3314
|
+
})) && input3.termIds.map((elem, _index64) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3315
|
+
path: _path2 + ".termIds[" + _index64 + "]",
|
|
3092
3316
|
expected: "string",
|
|
3093
3317
|
value: elem
|
|
3094
3318
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3099,12 +3323,12 @@ var validChatRequest = (input) => {
|
|
|
3099
3323
|
path: _path2 + ".termlst",
|
|
3100
3324
|
expected: "Array<BaseTerm>",
|
|
3101
3325
|
value: input3.termlst
|
|
3102
|
-
})) && input3.termlst.map((elem,
|
|
3103
|
-
path: _path2 + ".termlst[" +
|
|
3326
|
+
})) && input3.termlst.map((elem, _index65) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3327
|
+
path: _path2 + ".termlst[" + _index65 + "]",
|
|
3104
3328
|
expected: "BaseTerm",
|
|
3105
3329
|
value: elem
|
|
3106
|
-
})) && $
|
|
3107
|
-
path: _path2 + ".termlst[" +
|
|
3330
|
+
})) && $vo50(elem, _path2 + ".termlst[" + _index65 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3331
|
+
path: _path2 + ".termlst[" + _index65 + "]",
|
|
3108
3332
|
expected: "BaseTerm",
|
|
3109
3333
|
value: elem
|
|
3110
3334
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3119,7 +3343,7 @@ var validChatRequest = (input) => {
|
|
|
3119
3343
|
path: _path2 + ".propsByTermId",
|
|
3120
3344
|
expected: "__type.o7",
|
|
3121
3345
|
value: input3.propsByTermId
|
|
3122
|
-
})) && $
|
|
3346
|
+
})) && $vo51(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
3123
3347
|
path: _path2 + ".propsByTermId",
|
|
3124
3348
|
expected: "__type.o7",
|
|
3125
3349
|
value: input3.propsByTermId
|
|
@@ -3131,12 +3355,12 @@ var validChatRequest = (input) => {
|
|
|
3131
3355
|
path: _path2 + ".categoryKeys",
|
|
3132
3356
|
expected: "Array<CategoryKey>",
|
|
3133
3357
|
value: input3.categoryKeys
|
|
3134
|
-
})) && input3.categoryKeys.map((elem,
|
|
3135
|
-
path: _path2 + ".categoryKeys[" +
|
|
3358
|
+
})) && input3.categoryKeys.map((elem, _index66) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3359
|
+
path: _path2 + ".categoryKeys[" + _index66 + "]",
|
|
3136
3360
|
expected: "CategoryKey",
|
|
3137
3361
|
value: elem
|
|
3138
|
-
})) && $
|
|
3139
|
-
path: _path2 + ".categoryKeys[" +
|
|
3362
|
+
})) && $vo55(elem, _path2 + ".categoryKeys[" + _index66 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3363
|
+
path: _path2 + ".categoryKeys[" + _index66 + "]",
|
|
3140
3364
|
expected: "CategoryKey",
|
|
3141
3365
|
value: elem
|
|
3142
3366
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3144,7 +3368,7 @@ var validChatRequest = (input) => {
|
|
|
3144
3368
|
expected: "Array<CategoryKey>",
|
|
3145
3369
|
value: input3.categoryKeys
|
|
3146
3370
|
})].every((flag) => flag);
|
|
3147
|
-
const $
|
|
3371
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3148
3372
|
path: _path2 + ".key",
|
|
3149
3373
|
expected: "string",
|
|
3150
3374
|
value: input3.key
|
|
@@ -3181,14 +3405,14 @@ var validChatRequest = (input) => {
|
|
|
3181
3405
|
if (true === input3.stopunbounded)
|
|
3182
3406
|
return $vo21(input3, _path2, _exceptionable2);
|
|
3183
3407
|
if (void 0 !== input3.value)
|
|
3184
|
-
return $
|
|
3408
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
3185
3409
|
return $vo20(input3, _path2, _exceptionable2);
|
|
3186
3410
|
})();
|
|
3187
3411
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3188
3412
|
if ("gene" === input3.kind)
|
|
3189
|
-
return $
|
|
3413
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
3190
3414
|
if ("coord" === input3.kind)
|
|
3191
|
-
return $
|
|
3415
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3192
3416
|
return $report(_exceptionable2, {
|
|
3193
3417
|
path: _path2,
|
|
3194
3418
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3206,23 +3430,23 @@ var validChatRequest = (input) => {
|
|
|
3206
3430
|
if (void 0 !== input3.ranges)
|
|
3207
3431
|
return $vo13(input3, _path2, _exceptionable2);
|
|
3208
3432
|
if (void 0 !== input3.ratio)
|
|
3209
|
-
return $
|
|
3210
|
-
return $vo3(input3, _path2, false) || $
|
|
3433
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
3434
|
+
return $vo3(input3, _path2, false) || $vo37(input3, _path2, false) || $vo41(input3, _path2, false);
|
|
3211
3435
|
})();
|
|
3212
3436
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3213
3437
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3214
3438
|
return $vo14(input3, _path2, _exceptionable2);
|
|
3215
3439
|
if ("metaboliteIntensity" === input3.type)
|
|
3216
|
-
return $
|
|
3440
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3217
3441
|
if ("proteomeAbundance" === input3.type)
|
|
3218
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
3219
|
-
if ("date" === input3.type)
|
|
3220
3442
|
return $vo28(input3, _path2, _exceptionable2);
|
|
3443
|
+
if ("date" === input3.type)
|
|
3444
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
3221
3445
|
if ("ssGSEA" === input3.type)
|
|
3222
|
-
return $
|
|
3446
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
3223
3447
|
if ("dnaMethylation" === input3.type)
|
|
3224
|
-
return $
|
|
3225
|
-
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $
|
|
3448
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
3449
|
+
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false) || $vo25(input3, _path2, false) || $vo34(input3, _path2, false) || $vo33(input3, _path2, false);
|
|
3226
3450
|
})();
|
|
3227
3451
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3228
3452
|
if ("regular-bin" === input3.type)
|
|
@@ -3259,9 +3483,9 @@ var validChatRequest = (input) => {
|
|
|
3259
3483
|
})();
|
|
3260
3484
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3261
3485
|
if ("gene" === input3.kind)
|
|
3262
|
-
return $
|
|
3486
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3263
3487
|
if ("coord" === input3.kind)
|
|
3264
|
-
return $
|
|
3488
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3265
3489
|
return $report(_exceptionable2, {
|
|
3266
3490
|
path: _path2,
|
|
3267
3491
|
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; })',
|
|
@@ -3270,9 +3494,9 @@ var validChatRequest = (input) => {
|
|
|
3270
3494
|
})();
|
|
3271
3495
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3272
3496
|
if ("numeric" === input3.memberType)
|
|
3273
|
-
return $
|
|
3497
|
+
return $vo49(input3, _path2, _exceptionable2);
|
|
3274
3498
|
if ("categorical" === input3.memberType)
|
|
3275
|
-
return $
|
|
3499
|
+
return $vo54(input3, _path2, _exceptionable2);
|
|
3276
3500
|
return $report(_exceptionable2, {
|
|
3277
3501
|
path: _path2,
|
|
3278
3502
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|