@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
|
@@ -31,7 +31,7 @@ var validChatRequest = (input) => {
|
|
|
31
31
|
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);
|
|
32
32
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
33
33
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
34
|
-
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 && $
|
|
34
|
+
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)));
|
|
35
35
|
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));
|
|
36
36
|
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
37
37
|
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);
|
|
@@ -50,19 +50,21 @@ var validChatRequest = (input) => {
|
|
|
50
50
|
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);
|
|
51
51
|
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);
|
|
52
52
|
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;
|
|
53
|
-
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
54
|
-
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
55
|
-
const $
|
|
56
|
-
const $
|
|
57
|
-
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
58
|
-
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
59
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
60
|
-
const $io33 = (input3) => "
|
|
61
|
-
const $io34 = (input3) => "string" === typeof input3.
|
|
62
|
-
const $io35 = (input3) =>
|
|
63
|
-
const $io36 = (input3) => "string" === typeof input3.
|
|
64
|
-
const $io37 = (input3) => "
|
|
65
|
-
const $io38 = (input3) =>
|
|
53
|
+
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);
|
|
54
|
+
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;
|
|
55
|
+
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));
|
|
56
|
+
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));
|
|
57
|
+
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));
|
|
58
|
+
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));
|
|
59
|
+
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));
|
|
60
|
+
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);
|
|
61
|
+
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;
|
|
62
|
+
const $io35 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
63
|
+
const $io36 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
64
|
+
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)));
|
|
65
|
+
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));
|
|
66
|
+
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;
|
|
67
|
+
const $io40 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
66
68
|
if (["key", "label"].some((prop) => key === prop))
|
|
67
69
|
return true;
|
|
68
70
|
const value = input3[key];
|
|
@@ -72,25 +74,25 @@ var validChatRequest = (input) => {
|
|
|
72
74
|
return true;
|
|
73
75
|
return true;
|
|
74
76
|
});
|
|
75
|
-
const $
|
|
76
|
-
const $
|
|
77
|
-
const $
|
|
78
|
-
const $
|
|
79
|
-
const $
|
|
80
|
-
const $
|
|
81
|
-
const $
|
|
82
|
-
const $
|
|
83
|
-
const $
|
|
84
|
-
const $
|
|
85
|
-
const $
|
|
77
|
+
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);
|
|
78
|
+
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));
|
|
79
|
+
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)));
|
|
80
|
+
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);
|
|
81
|
+
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;
|
|
82
|
+
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)));
|
|
83
|
+
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);
|
|
84
|
+
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;
|
|
85
|
+
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));
|
|
86
|
+
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));
|
|
87
|
+
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
86
88
|
const value = input3[key];
|
|
87
89
|
if (void 0 === value)
|
|
88
90
|
return true;
|
|
89
91
|
if (RegExp(/(.*)/).test(key))
|
|
90
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
92
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io52(value);
|
|
91
93
|
return true;
|
|
92
94
|
});
|
|
93
|
-
const $
|
|
95
|
+
const $io52 = (input3) => Object.keys(input3).every((key) => {
|
|
94
96
|
const value = input3[key];
|
|
95
97
|
if (void 0 === value)
|
|
96
98
|
return true;
|
|
@@ -98,9 +100,9 @@ var validChatRequest = (input) => {
|
|
|
98
100
|
return true;
|
|
99
101
|
return true;
|
|
100
102
|
});
|
|
101
|
-
const $
|
|
102
|
-
const $
|
|
103
|
-
const $
|
|
103
|
+
const $io53 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
|
|
104
|
+
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)));
|
|
105
|
+
const $io55 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
104
106
|
const $iu0 = (input3) => (() => {
|
|
105
107
|
if ("tvslst" === input3.type)
|
|
106
108
|
return $io1(input3);
|
|
@@ -121,14 +123,14 @@ var validChatRequest = (input) => {
|
|
|
121
123
|
if (true === input3.stopunbounded)
|
|
122
124
|
return $io21(input3);
|
|
123
125
|
if (void 0 !== input3.value)
|
|
124
|
-
return $
|
|
126
|
+
return $io35(input3);
|
|
125
127
|
return $io20(input3);
|
|
126
128
|
})();
|
|
127
129
|
const $iu3 = (input3) => (() => {
|
|
128
130
|
if ("gene" === input3.kind)
|
|
129
|
-
return $
|
|
131
|
+
return $io44(input3);
|
|
130
132
|
if ("coord" === input3.kind)
|
|
131
|
-
return $
|
|
133
|
+
return $io45(input3);
|
|
132
134
|
return false;
|
|
133
135
|
})();
|
|
134
136
|
const $iu4 = (input3) => (() => {
|
|
@@ -142,14 +144,14 @@ var validChatRequest = (input) => {
|
|
|
142
144
|
if (void 0 !== input3.ranges)
|
|
143
145
|
return $io13(input3);
|
|
144
146
|
if (void 0 !== input3.ratio)
|
|
145
|
-
return $
|
|
147
|
+
return $io48(input3);
|
|
146
148
|
return (() => {
|
|
147
149
|
if ($io3(input3))
|
|
148
150
|
return $io3(input3);
|
|
149
|
-
if ($
|
|
150
|
-
return $
|
|
151
|
-
if ($
|
|
152
|
-
return $
|
|
151
|
+
if ($io37(input3))
|
|
152
|
+
return $io37(input3);
|
|
153
|
+
if ($io41(input3))
|
|
154
|
+
return $io41(input3);
|
|
153
155
|
return false;
|
|
154
156
|
})();
|
|
155
157
|
})();
|
|
@@ -157,24 +159,28 @@ var validChatRequest = (input) => {
|
|
|
157
159
|
if ("integer" === input3.type || "float" === input3.type)
|
|
158
160
|
return $io14(input3);
|
|
159
161
|
if ("metaboliteIntensity" === input3.type)
|
|
160
|
-
return $
|
|
162
|
+
return $io27(input3);
|
|
161
163
|
if ("proteomeAbundance" === input3.type)
|
|
162
|
-
return $io26(input3);
|
|
163
|
-
if ("date" === input3.type)
|
|
164
164
|
return $io28(input3);
|
|
165
|
+
if ("date" === input3.type)
|
|
166
|
+
return $io30(input3);
|
|
165
167
|
if ("ssGSEA" === input3.type)
|
|
166
|
-
return $
|
|
168
|
+
return $io31(input3);
|
|
167
169
|
if ("dnaMethylation" === input3.type)
|
|
168
|
-
return $
|
|
170
|
+
return $io32(input3);
|
|
169
171
|
return (() => {
|
|
170
172
|
if ($io24(input3))
|
|
171
173
|
return $io24(input3);
|
|
172
174
|
if ($io23(input3))
|
|
173
175
|
return $io23(input3);
|
|
174
|
-
if ($
|
|
175
|
-
return $
|
|
176
|
-
if ($
|
|
177
|
-
return $
|
|
176
|
+
if ($io26(input3))
|
|
177
|
+
return $io26(input3);
|
|
178
|
+
if ($io25(input3))
|
|
179
|
+
return $io25(input3);
|
|
180
|
+
if ($io34(input3))
|
|
181
|
+
return $io34(input3);
|
|
182
|
+
if ($io33(input3))
|
|
183
|
+
return $io33(input3);
|
|
178
184
|
return false;
|
|
179
185
|
})();
|
|
180
186
|
})();
|
|
@@ -201,16 +207,16 @@ var validChatRequest = (input) => {
|
|
|
201
207
|
})();
|
|
202
208
|
const $iu10 = (input3) => (() => {
|
|
203
209
|
if ("gene" === input3.kind)
|
|
204
|
-
return $
|
|
210
|
+
return $io43(input3);
|
|
205
211
|
if ("coord" === input3.kind)
|
|
206
|
-
return $
|
|
212
|
+
return $io46(input3);
|
|
207
213
|
return false;
|
|
208
214
|
})();
|
|
209
215
|
const $iu11 = (input3) => (() => {
|
|
210
216
|
if ("numeric" === input3.memberType)
|
|
211
|
-
return $
|
|
217
|
+
return $io49(input3);
|
|
212
218
|
if ("categorical" === input3.memberType)
|
|
213
|
-
return $
|
|
219
|
+
return $io54(input3);
|
|
214
220
|
return false;
|
|
215
221
|
})();
|
|
216
222
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -639,11 +645,11 @@ var validChatRequest = (input) => {
|
|
|
639
645
|
value: input3.value_by_computable_grade
|
|
640
646
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
641
647
|
path: _path2 + ".term",
|
|
642
|
-
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | ProteomeAbundanceTerm | SsGSEATerm)',
|
|
648
|
+
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)',
|
|
643
649
|
value: input3.term
|
|
644
650
|
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
645
651
|
path: _path2 + ".term",
|
|
646
|
-
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | ProteomeAbundanceTerm | SsGSEATerm)',
|
|
652
|
+
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)',
|
|
647
653
|
value: input3.term
|
|
648
654
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
649
655
|
path: _path2 + ".ranges",
|
|
@@ -669,7 +675,7 @@ var validChatRequest = (input) => {
|
|
|
669
675
|
path: _path2 + ".values[" + _index9 + "]",
|
|
670
676
|
expected: "__type.o5",
|
|
671
677
|
value: elem
|
|
672
|
-
})) && $
|
|
678
|
+
})) && $vo36(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
673
679
|
path: _path2 + ".values[" + _index9 + "]",
|
|
674
680
|
expected: "__type.o5",
|
|
675
681
|
value: elem
|
|
@@ -1270,9 +1276,9 @@ var validChatRequest = (input) => {
|
|
|
1270
1276
|
path: _path2 + ".name",
|
|
1271
1277
|
expected: "string",
|
|
1272
1278
|
value: input3.name
|
|
1273
|
-
}), "
|
|
1279
|
+
}), "isoformExpression" === input3.type || $report(_exceptionable2, {
|
|
1274
1280
|
path: _path2 + ".type",
|
|
1275
|
-
expected: '"
|
|
1281
|
+
expected: '"isoformExpression"',
|
|
1276
1282
|
value: input3.type
|
|
1277
1283
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1278
1284
|
path: _path2 + ".child_types",
|
|
@@ -1338,6 +1344,224 @@ var validChatRequest = (input) => {
|
|
|
1338
1344
|
path: _path2 + ".unit",
|
|
1339
1345
|
expected: "(string | undefined)",
|
|
1340
1346
|
value: input3.unit
|
|
1347
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1348
|
+
path: _path2 + ".bins",
|
|
1349
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1350
|
+
value: input3.bins
|
|
1351
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1352
|
+
path: _path2 + ".bins",
|
|
1353
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1354
|
+
value: input3.bins
|
|
1355
|
+
}), void 0 === input3.kind || "isoform" === input3.kind || $report(_exceptionable2, {
|
|
1356
|
+
path: _path2 + ".kind",
|
|
1357
|
+
expected: '("isoform" | undefined)',
|
|
1358
|
+
value: input3.kind
|
|
1359
|
+
}), "string" === typeof input3.isoform || $report(_exceptionable2, {
|
|
1360
|
+
path: _path2 + ".isoform",
|
|
1361
|
+
expected: "string",
|
|
1362
|
+
value: input3.isoform
|
|
1363
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1364
|
+
path: _path2 + ".gene",
|
|
1365
|
+
expected: "(string | undefined)",
|
|
1366
|
+
value: input3.gene
|
|
1367
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1368
|
+
path: _path2 + ".chr",
|
|
1369
|
+
expected: "(string | undefined)",
|
|
1370
|
+
value: input3.chr
|
|
1371
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1372
|
+
path: _path2 + ".start",
|
|
1373
|
+
expected: "(number | undefined)",
|
|
1374
|
+
value: input3.start
|
|
1375
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1376
|
+
path: _path2 + ".stop",
|
|
1377
|
+
expected: "(number | undefined)",
|
|
1378
|
+
value: input3.stop
|
|
1379
|
+
})].every((flag) => flag);
|
|
1380
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1381
|
+
path: _path2 + ".id",
|
|
1382
|
+
expected: "string",
|
|
1383
|
+
value: input3.id
|
|
1384
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1385
|
+
path: _path2 + ".name",
|
|
1386
|
+
expected: "string",
|
|
1387
|
+
value: input3.name
|
|
1388
|
+
}), "isoformExpression" === input3.type || $report(_exceptionable2, {
|
|
1389
|
+
path: _path2 + ".type",
|
|
1390
|
+
expected: '"isoformExpression"',
|
|
1391
|
+
value: input3.type
|
|
1392
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1393
|
+
path: _path2 + ".child_types",
|
|
1394
|
+
expected: "(Array<string> | undefined)",
|
|
1395
|
+
value: input3.child_types
|
|
1396
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1397
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1398
|
+
expected: "string",
|
|
1399
|
+
value: elem
|
|
1400
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1401
|
+
path: _path2 + ".child_types",
|
|
1402
|
+
expected: "(Array<string> | undefined)",
|
|
1403
|
+
value: input3.child_types
|
|
1404
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1405
|
+
path: _path2 + ".hashtmldetail",
|
|
1406
|
+
expected: "(boolean | undefined)",
|
|
1407
|
+
value: input3.hashtmldetail
|
|
1408
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1409
|
+
path: _path2 + ".included_types",
|
|
1410
|
+
expected: "(Array<string> | undefined)",
|
|
1411
|
+
value: input3.included_types
|
|
1412
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1413
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1414
|
+
expected: "string",
|
|
1415
|
+
value: elem
|
|
1416
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1417
|
+
path: _path2 + ".included_types",
|
|
1418
|
+
expected: "(Array<string> | undefined)",
|
|
1419
|
+
value: input3.included_types
|
|
1420
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1421
|
+
path: _path2 + ".isleaf",
|
|
1422
|
+
expected: "(boolean | undefined)",
|
|
1423
|
+
value: input3.isleaf
|
|
1424
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1425
|
+
path: _path2 + ".values",
|
|
1426
|
+
expected: "(TermValues | undefined)",
|
|
1427
|
+
value: input3.values
|
|
1428
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1429
|
+
path: _path2 + ".values",
|
|
1430
|
+
expected: "(TermValues | undefined)",
|
|
1431
|
+
value: input3.values
|
|
1432
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1433
|
+
path: _path2 + ".skipValuesBuild",
|
|
1434
|
+
expected: "(boolean | undefined)",
|
|
1435
|
+
value: input3.skipValuesBuild
|
|
1436
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1437
|
+
path: _path2 + ".valueConversion",
|
|
1438
|
+
expected: "(__type.o1 | undefined)",
|
|
1439
|
+
value: input3.valueConversion
|
|
1440
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1441
|
+
path: _path2 + ".valueConversion",
|
|
1442
|
+
expected: "(__type.o1 | undefined)",
|
|
1443
|
+
value: input3.valueConversion
|
|
1444
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1445
|
+
path: _path2 + ".continuousColorScale",
|
|
1446
|
+
expected: "(__type.o3 | undefined)",
|
|
1447
|
+
value: input3.continuousColorScale
|
|
1448
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1449
|
+
path: _path2 + ".continuousColorScale",
|
|
1450
|
+
expected: "(__type.o3 | undefined)",
|
|
1451
|
+
value: input3.continuousColorScale
|
|
1452
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1453
|
+
path: _path2 + ".unit",
|
|
1454
|
+
expected: "(string | undefined)",
|
|
1455
|
+
value: input3.unit
|
|
1456
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1457
|
+
path: _path2 + ".bins",
|
|
1458
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1459
|
+
value: input3.bins
|
|
1460
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1461
|
+
path: _path2 + ".bins",
|
|
1462
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1463
|
+
value: input3.bins
|
|
1464
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1465
|
+
path: _path2 + ".kind",
|
|
1466
|
+
expected: '("coord" | undefined)',
|
|
1467
|
+
value: input3.kind
|
|
1468
|
+
}), void 0 === input3.isoform || "string" === typeof input3.isoform || $report(_exceptionable2, {
|
|
1469
|
+
path: _path2 + ".isoform",
|
|
1470
|
+
expected: "(string | undefined)",
|
|
1471
|
+
value: input3.isoform
|
|
1472
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1473
|
+
path: _path2 + ".gene",
|
|
1474
|
+
expected: "(string | undefined)",
|
|
1475
|
+
value: input3.gene
|
|
1476
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1477
|
+
path: _path2 + ".chr",
|
|
1478
|
+
expected: "string",
|
|
1479
|
+
value: input3.chr
|
|
1480
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1481
|
+
path: _path2 + ".start",
|
|
1482
|
+
expected: "number",
|
|
1483
|
+
value: input3.start
|
|
1484
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1485
|
+
path: _path2 + ".stop",
|
|
1486
|
+
expected: "number",
|
|
1487
|
+
value: input3.stop
|
|
1488
|
+
})].every((flag) => flag);
|
|
1489
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1490
|
+
path: _path2 + ".id",
|
|
1491
|
+
expected: "string",
|
|
1492
|
+
value: input3.id
|
|
1493
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1494
|
+
path: _path2 + ".name",
|
|
1495
|
+
expected: "string",
|
|
1496
|
+
value: input3.name
|
|
1497
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1498
|
+
path: _path2 + ".type",
|
|
1499
|
+
expected: '"metaboliteIntensity"',
|
|
1500
|
+
value: input3.type
|
|
1501
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1502
|
+
path: _path2 + ".child_types",
|
|
1503
|
+
expected: "(Array<string> | undefined)",
|
|
1504
|
+
value: input3.child_types
|
|
1505
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1506
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1507
|
+
expected: "string",
|
|
1508
|
+
value: elem
|
|
1509
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1510
|
+
path: _path2 + ".child_types",
|
|
1511
|
+
expected: "(Array<string> | undefined)",
|
|
1512
|
+
value: input3.child_types
|
|
1513
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1514
|
+
path: _path2 + ".hashtmldetail",
|
|
1515
|
+
expected: "(boolean | undefined)",
|
|
1516
|
+
value: input3.hashtmldetail
|
|
1517
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1518
|
+
path: _path2 + ".included_types",
|
|
1519
|
+
expected: "(Array<string> | undefined)",
|
|
1520
|
+
value: input3.included_types
|
|
1521
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1522
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1523
|
+
expected: "string",
|
|
1524
|
+
value: elem
|
|
1525
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1526
|
+
path: _path2 + ".included_types",
|
|
1527
|
+
expected: "(Array<string> | undefined)",
|
|
1528
|
+
value: input3.included_types
|
|
1529
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1530
|
+
path: _path2 + ".isleaf",
|
|
1531
|
+
expected: "(boolean | undefined)",
|
|
1532
|
+
value: input3.isleaf
|
|
1533
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1534
|
+
path: _path2 + ".values",
|
|
1535
|
+
expected: "(TermValues | undefined)",
|
|
1536
|
+
value: input3.values
|
|
1537
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1538
|
+
path: _path2 + ".values",
|
|
1539
|
+
expected: "(TermValues | undefined)",
|
|
1540
|
+
value: input3.values
|
|
1541
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1542
|
+
path: _path2 + ".skipValuesBuild",
|
|
1543
|
+
expected: "(boolean | undefined)",
|
|
1544
|
+
value: input3.skipValuesBuild
|
|
1545
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1546
|
+
path: _path2 + ".valueConversion",
|
|
1547
|
+
expected: "(__type.o1 | undefined)",
|
|
1548
|
+
value: input3.valueConversion
|
|
1549
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1550
|
+
path: _path2 + ".valueConversion",
|
|
1551
|
+
expected: "(__type.o1 | undefined)",
|
|
1552
|
+
value: input3.valueConversion
|
|
1553
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1554
|
+
path: _path2 + ".continuousColorScale",
|
|
1555
|
+
expected: "(__type.o3 | undefined)",
|
|
1556
|
+
value: input3.continuousColorScale
|
|
1557
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1558
|
+
path: _path2 + ".continuousColorScale",
|
|
1559
|
+
expected: "(__type.o3 | undefined)",
|
|
1560
|
+
value: input3.continuousColorScale
|
|
1561
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1562
|
+
path: _path2 + ".unit",
|
|
1563
|
+
expected: "(string | undefined)",
|
|
1564
|
+
value: input3.unit
|
|
1341
1565
|
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1342
1566
|
path: _path2 + ".metabolite",
|
|
1343
1567
|
expected: "string",
|
|
@@ -1351,7 +1575,7 @@ var validChatRequest = (input) => {
|
|
|
1351
1575
|
expected: "(PresetNumericBins | undefined)",
|
|
1352
1576
|
value: input3.bins
|
|
1353
1577
|
})].every((flag) => flag);
|
|
1354
|
-
const $
|
|
1578
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1355
1579
|
path: _path2 + ".id",
|
|
1356
1580
|
expected: "string",
|
|
1357
1581
|
value: input3.id
|
|
@@ -1367,8 +1591,8 @@ var validChatRequest = (input) => {
|
|
|
1367
1591
|
path: _path2 + ".child_types",
|
|
1368
1592
|
expected: "(Array<string> | undefined)",
|
|
1369
1593
|
value: input3.child_types
|
|
1370
|
-
})) && input3.child_types.map((elem,
|
|
1371
|
-
path: _path2 + ".child_types[" +
|
|
1594
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1595
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
1372
1596
|
expected: "string",
|
|
1373
1597
|
value: elem
|
|
1374
1598
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1383,8 +1607,8 @@ var validChatRequest = (input) => {
|
|
|
1383
1607
|
path: _path2 + ".included_types",
|
|
1384
1608
|
expected: "(Array<string> | undefined)",
|
|
1385
1609
|
value: input3.included_types
|
|
1386
|
-
})) && input3.included_types.map((elem,
|
|
1387
|
-
path: _path2 + ".included_types[" +
|
|
1610
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1611
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
1388
1612
|
expected: "string",
|
|
1389
1613
|
value: elem
|
|
1390
1614
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1443,12 +1667,12 @@ var validChatRequest = (input) => {
|
|
|
1443
1667
|
path: _path2 + ".proteomeDetails",
|
|
1444
1668
|
expected: "ProteomeDetails",
|
|
1445
1669
|
value: input3.proteomeDetails
|
|
1446
|
-
})) && $
|
|
1670
|
+
})) && $vo29(input3.proteomeDetails, _path2 + ".proteomeDetails", _exceptionable2) || $report(_exceptionable2, {
|
|
1447
1671
|
path: _path2 + ".proteomeDetails",
|
|
1448
1672
|
expected: "ProteomeDetails",
|
|
1449
1673
|
value: input3.proteomeDetails
|
|
1450
1674
|
})].every((flag) => flag);
|
|
1451
|
-
const $
|
|
1675
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.assay || $report(_exceptionable2, {
|
|
1452
1676
|
path: _path2 + ".assay",
|
|
1453
1677
|
expected: "string",
|
|
1454
1678
|
value: input3.assay
|
|
@@ -1457,7 +1681,7 @@ var validChatRequest = (input) => {
|
|
|
1457
1681
|
expected: "string",
|
|
1458
1682
|
value: input3.cohort
|
|
1459
1683
|
})].every((flag) => flag);
|
|
1460
|
-
const $
|
|
1684
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1461
1685
|
path: _path2 + ".id",
|
|
1462
1686
|
expected: "string",
|
|
1463
1687
|
value: input3.id
|
|
@@ -1473,8 +1697,8 @@ var validChatRequest = (input) => {
|
|
|
1473
1697
|
path: _path2 + ".child_types",
|
|
1474
1698
|
expected: "(Array<string> | undefined)",
|
|
1475
1699
|
value: input3.child_types
|
|
1476
|
-
})) && input3.child_types.map((elem,
|
|
1477
|
-
path: _path2 + ".child_types[" +
|
|
1700
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1701
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1478
1702
|
expected: "string",
|
|
1479
1703
|
value: elem
|
|
1480
1704
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1489,8 +1713,8 @@ var validChatRequest = (input) => {
|
|
|
1489
1713
|
path: _path2 + ".included_types",
|
|
1490
1714
|
expected: "(Array<string> | undefined)",
|
|
1491
1715
|
value: input3.included_types
|
|
1492
|
-
})) && input3.included_types.map((elem,
|
|
1493
|
-
path: _path2 + ".included_types[" +
|
|
1716
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1717
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1494
1718
|
expected: "string",
|
|
1495
1719
|
value: elem
|
|
1496
1720
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1542,7 +1766,7 @@ var validChatRequest = (input) => {
|
|
|
1542
1766
|
expected: "(PresetNumericBins | undefined)",
|
|
1543
1767
|
value: input3.bins
|
|
1544
1768
|
})].every((flag) => flag);
|
|
1545
|
-
const $
|
|
1769
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1546
1770
|
path: _path2 + ".id",
|
|
1547
1771
|
expected: "string",
|
|
1548
1772
|
value: input3.id
|
|
@@ -1558,8 +1782,8 @@ var validChatRequest = (input) => {
|
|
|
1558
1782
|
path: _path2 + ".child_types",
|
|
1559
1783
|
expected: "(Array<string> | undefined)",
|
|
1560
1784
|
value: input3.child_types
|
|
1561
|
-
})) && input3.child_types.map((elem,
|
|
1562
|
-
path: _path2 + ".child_types[" +
|
|
1785
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1786
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1563
1787
|
expected: "string",
|
|
1564
1788
|
value: elem
|
|
1565
1789
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1574,8 +1798,8 @@ var validChatRequest = (input) => {
|
|
|
1574
1798
|
path: _path2 + ".included_types",
|
|
1575
1799
|
expected: "(Array<string> | undefined)",
|
|
1576
1800
|
value: input3.included_types
|
|
1577
|
-
})) && input3.included_types.map((elem,
|
|
1578
|
-
path: _path2 + ".included_types[" +
|
|
1801
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1802
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1579
1803
|
expected: "string",
|
|
1580
1804
|
value: elem
|
|
1581
1805
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1622,8 +1846,8 @@ var validChatRequest = (input) => {
|
|
|
1622
1846
|
path: _path2 + ".genes",
|
|
1623
1847
|
expected: "(Array<string> | undefined)",
|
|
1624
1848
|
value: input3.genes
|
|
1625
|
-
})) && input3.genes.map((elem,
|
|
1626
|
-
path: _path2 + ".genes[" +
|
|
1849
|
+
})) && input3.genes.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1850
|
+
path: _path2 + ".genes[" + _index29 + "]",
|
|
1627
1851
|
expected: "string",
|
|
1628
1852
|
value: elem
|
|
1629
1853
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1639,7 +1863,7 @@ var validChatRequest = (input) => {
|
|
|
1639
1863
|
expected: "(PresetNumericBins | undefined)",
|
|
1640
1864
|
value: input3.bins
|
|
1641
1865
|
})].every((flag) => flag);
|
|
1642
|
-
const $
|
|
1866
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1643
1867
|
path: _path2 + ".id",
|
|
1644
1868
|
expected: "string",
|
|
1645
1869
|
value: input3.id
|
|
@@ -1655,8 +1879,8 @@ var validChatRequest = (input) => {
|
|
|
1655
1879
|
path: _path2 + ".child_types",
|
|
1656
1880
|
expected: "(Array<string> | undefined)",
|
|
1657
1881
|
value: input3.child_types
|
|
1658
|
-
})) && input3.child_types.map((elem,
|
|
1659
|
-
path: _path2 + ".child_types[" +
|
|
1882
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1883
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
1660
1884
|
expected: "string",
|
|
1661
1885
|
value: elem
|
|
1662
1886
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1671,8 +1895,8 @@ var validChatRequest = (input) => {
|
|
|
1671
1895
|
path: _path2 + ".included_types",
|
|
1672
1896
|
expected: "(Array<string> | undefined)",
|
|
1673
1897
|
value: input3.included_types
|
|
1674
|
-
})) && input3.included_types.map((elem,
|
|
1675
|
-
path: _path2 + ".included_types[" +
|
|
1898
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1899
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
1676
1900
|
expected: "string",
|
|
1677
1901
|
value: elem
|
|
1678
1902
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1736,7 +1960,7 @@ var validChatRequest = (input) => {
|
|
|
1736
1960
|
expected: "(PresetNumericBins | undefined)",
|
|
1737
1961
|
value: input3.bins
|
|
1738
1962
|
})].every((flag) => flag);
|
|
1739
|
-
const $
|
|
1963
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1740
1964
|
path: _path2 + ".id",
|
|
1741
1965
|
expected: "string",
|
|
1742
1966
|
value: input3.id
|
|
@@ -1752,8 +1976,8 @@ var validChatRequest = (input) => {
|
|
|
1752
1976
|
path: _path2 + ".child_types",
|
|
1753
1977
|
expected: "(Array<string> | undefined)",
|
|
1754
1978
|
value: input3.child_types
|
|
1755
|
-
})) && input3.child_types.map((elem,
|
|
1756
|
-
path: _path2 + ".child_types[" +
|
|
1979
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1980
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1757
1981
|
expected: "string",
|
|
1758
1982
|
value: elem
|
|
1759
1983
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1768,8 +1992,8 @@ var validChatRequest = (input) => {
|
|
|
1768
1992
|
path: _path2 + ".included_types",
|
|
1769
1993
|
expected: "(Array<string> | undefined)",
|
|
1770
1994
|
value: input3.included_types
|
|
1771
|
-
})) && input3.included_types.map((elem,
|
|
1772
|
-
path: _path2 + ".included_types[" +
|
|
1995
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1996
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1773
1997
|
expected: "string",
|
|
1774
1998
|
value: elem
|
|
1775
1999
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1845,7 +2069,7 @@ var validChatRequest = (input) => {
|
|
|
1845
2069
|
expected: "(number | undefined)",
|
|
1846
2070
|
value: input3.stop
|
|
1847
2071
|
})].every((flag) => flag);
|
|
1848
|
-
const $
|
|
2072
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1849
2073
|
path: _path2 + ".id",
|
|
1850
2074
|
expected: "string",
|
|
1851
2075
|
value: input3.id
|
|
@@ -1861,8 +2085,8 @@ var validChatRequest = (input) => {
|
|
|
1861
2085
|
path: _path2 + ".child_types",
|
|
1862
2086
|
expected: "(Array<string> | undefined)",
|
|
1863
2087
|
value: input3.child_types
|
|
1864
|
-
})) && input3.child_types.map((elem,
|
|
1865
|
-
path: _path2 + ".child_types[" +
|
|
2088
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2089
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1866
2090
|
expected: "string",
|
|
1867
2091
|
value: elem
|
|
1868
2092
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1877,8 +2101,8 @@ var validChatRequest = (input) => {
|
|
|
1877
2101
|
path: _path2 + ".included_types",
|
|
1878
2102
|
expected: "(Array<string> | undefined)",
|
|
1879
2103
|
value: input3.included_types
|
|
1880
|
-
})) && input3.included_types.map((elem,
|
|
1881
|
-
path: _path2 + ".included_types[" +
|
|
2104
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2105
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1882
2106
|
expected: "string",
|
|
1883
2107
|
value: elem
|
|
1884
2108
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1954,7 +2178,7 @@ var validChatRequest = (input) => {
|
|
|
1954
2178
|
expected: "number",
|
|
1955
2179
|
value: input3.stop
|
|
1956
2180
|
})].every((flag) => flag);
|
|
1957
|
-
const $
|
|
2181
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
1958
2182
|
path: _path2 + ".value",
|
|
1959
2183
|
expected: "number",
|
|
1960
2184
|
value: input3.value
|
|
@@ -1967,7 +2191,7 @@ var validChatRequest = (input) => {
|
|
|
1967
2191
|
expected: "(string | undefined)",
|
|
1968
2192
|
value: input3.name
|
|
1969
2193
|
})].every((flag) => flag);
|
|
1970
|
-
const $
|
|
2194
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1971
2195
|
path: _path2 + ".key",
|
|
1972
2196
|
expected: "string",
|
|
1973
2197
|
value: input3.key
|
|
@@ -1984,7 +2208,7 @@ var validChatRequest = (input) => {
|
|
|
1984
2208
|
expected: "(string | undefined)",
|
|
1985
2209
|
value: input3.label
|
|
1986
2210
|
})].every((flag) => flag);
|
|
1987
|
-
const $
|
|
2211
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1988
2212
|
path: _path2 + ".join",
|
|
1989
2213
|
expected: "(string | undefined)",
|
|
1990
2214
|
value: input3.join
|
|
@@ -2016,7 +2240,7 @@ var validChatRequest = (input) => {
|
|
|
2016
2240
|
path: _path2 + ".term",
|
|
2017
2241
|
expected: "ConditionTerm",
|
|
2018
2242
|
value: input3.term
|
|
2019
|
-
})) && $
|
|
2243
|
+
})) && $vo38(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2020
2244
|
path: _path2 + ".term",
|
|
2021
2245
|
expected: "ConditionTerm",
|
|
2022
2246
|
value: input3.term
|
|
@@ -2024,12 +2248,12 @@ var validChatRequest = (input) => {
|
|
|
2024
2248
|
path: _path2 + ".grade_and_child",
|
|
2025
2249
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2026
2250
|
value: input3.grade_and_child
|
|
2027
|
-
})) && input3.grade_and_child.map((elem,
|
|
2028
|
-
path: _path2 + ".grade_and_child[" +
|
|
2251
|
+
})) && input3.grade_and_child.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2252
|
+
path: _path2 + ".grade_and_child[" + _index36 + "]",
|
|
2029
2253
|
expected: "GradeAndChildEntry",
|
|
2030
2254
|
value: elem
|
|
2031
|
-
})) && $
|
|
2032
|
-
path: _path2 + ".grade_and_child[" +
|
|
2255
|
+
})) && $vo39(elem, _path2 + ".grade_and_child[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2256
|
+
path: _path2 + ".grade_and_child[" + _index36 + "]",
|
|
2033
2257
|
expected: "GradeAndChildEntry",
|
|
2034
2258
|
value: elem
|
|
2035
2259
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2040,12 +2264,12 @@ var validChatRequest = (input) => {
|
|
|
2040
2264
|
path: _path2 + ".values",
|
|
2041
2265
|
expected: "Array<__type>.o2",
|
|
2042
2266
|
value: input3.values
|
|
2043
|
-
})) && input3.values.map((elem,
|
|
2044
|
-
path: _path2 + ".values[" +
|
|
2267
|
+
})) && input3.values.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2268
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
2045
2269
|
expected: "__type.o6",
|
|
2046
2270
|
value: elem
|
|
2047
|
-
})) && $
|
|
2048
|
-
path: _path2 + ".values[" +
|
|
2271
|
+
})) && $vo40(elem, _path2 + ".values[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2272
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
2049
2273
|
expected: "__type.o6",
|
|
2050
2274
|
value: elem
|
|
2051
2275
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2053,7 +2277,7 @@ var validChatRequest = (input) => {
|
|
|
2053
2277
|
expected: "Array<__type>.o2",
|
|
2054
2278
|
value: input3.values
|
|
2055
2279
|
})].every((flag) => flag);
|
|
2056
|
-
const $
|
|
2280
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2057
2281
|
path: _path2 + ".id",
|
|
2058
2282
|
expected: "string",
|
|
2059
2283
|
value: input3.id
|
|
@@ -2069,8 +2293,8 @@ var validChatRequest = (input) => {
|
|
|
2069
2293
|
path: _path2 + ".child_types",
|
|
2070
2294
|
expected: "(Array<string> | undefined)",
|
|
2071
2295
|
value: input3.child_types
|
|
2072
|
-
})) && input3.child_types.map((elem,
|
|
2073
|
-
path: _path2 + ".child_types[" +
|
|
2296
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2297
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
2074
2298
|
expected: "string",
|
|
2075
2299
|
value: elem
|
|
2076
2300
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2085,8 +2309,8 @@ var validChatRequest = (input) => {
|
|
|
2085
2309
|
path: _path2 + ".included_types",
|
|
2086
2310
|
expected: "(Array<string> | undefined)",
|
|
2087
2311
|
value: input3.included_types
|
|
2088
|
-
})) && input3.included_types.map((elem,
|
|
2089
|
-
path: _path2 + ".included_types[" +
|
|
2312
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2313
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
2090
2314
|
expected: "string",
|
|
2091
2315
|
value: elem
|
|
2092
2316
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2118,7 +2342,7 @@ var validChatRequest = (input) => {
|
|
|
2118
2342
|
expected: "(__type.o1 | undefined)",
|
|
2119
2343
|
value: input3.valueConversion
|
|
2120
2344
|
})].every((flag) => flag);
|
|
2121
|
-
const $
|
|
2345
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2122
2346
|
path: _path2 + ".grade",
|
|
2123
2347
|
expected: "number",
|
|
2124
2348
|
value: input3.grade
|
|
@@ -2135,7 +2359,7 @@ var validChatRequest = (input) => {
|
|
|
2135
2359
|
expected: "string",
|
|
2136
2360
|
value: input3.child_label
|
|
2137
2361
|
})].every((flag) => flag);
|
|
2138
|
-
const $
|
|
2362
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2139
2363
|
path: _path2 + ".key",
|
|
2140
2364
|
expected: "(number | string)",
|
|
2141
2365
|
value: input3.key
|
|
@@ -2153,7 +2377,7 @@ var validChatRequest = (input) => {
|
|
|
2153
2377
|
return true;
|
|
2154
2378
|
return true;
|
|
2155
2379
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2156
|
-
const $
|
|
2380
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2157
2381
|
path: _path2 + ".join",
|
|
2158
2382
|
expected: "(string | undefined)",
|
|
2159
2383
|
value: input3.join
|
|
@@ -2185,7 +2409,7 @@ var validChatRequest = (input) => {
|
|
|
2185
2409
|
path: _path2 + ".term",
|
|
2186
2410
|
expected: "DtTerm",
|
|
2187
2411
|
value: input3.term
|
|
2188
|
-
})) && $
|
|
2412
|
+
})) && $vo42(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2189
2413
|
path: _path2 + ".term",
|
|
2190
2414
|
expected: "DtTerm",
|
|
2191
2415
|
value: input3.term
|
|
@@ -2193,12 +2417,12 @@ var validChatRequest = (input) => {
|
|
|
2193
2417
|
path: _path2 + ".values",
|
|
2194
2418
|
expected: "Array<GeneVariantValue>",
|
|
2195
2419
|
value: input3.values
|
|
2196
|
-
})) && input3.values.map((elem,
|
|
2197
|
-
path: _path2 + ".values[" +
|
|
2420
|
+
})) && input3.values.map((elem, _index40) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2421
|
+
path: _path2 + ".values[" + _index40 + "]",
|
|
2198
2422
|
expected: "GeneVariantValue",
|
|
2199
2423
|
value: elem
|
|
2200
|
-
})) && $
|
|
2201
|
-
path: _path2 + ".values[" +
|
|
2424
|
+
})) && $vo47(elem, _path2 + ".values[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2425
|
+
path: _path2 + ".values[" + _index40 + "]",
|
|
2202
2426
|
expected: "GeneVariantValue",
|
|
2203
2427
|
value: elem
|
|
2204
2428
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2246,7 +2470,7 @@ var validChatRequest = (input) => {
|
|
|
2246
2470
|
expected: "(number | undefined)",
|
|
2247
2471
|
value: input3.fractionOverlap
|
|
2248
2472
|
})].every((flag) => flag);
|
|
2249
|
-
const $
|
|
2473
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2250
2474
|
path: _path2 + ".id",
|
|
2251
2475
|
expected: "string",
|
|
2252
2476
|
value: input3.id
|
|
@@ -2295,7 +2519,7 @@ var validChatRequest = (input) => {
|
|
|
2295
2519
|
expected: "TermValues",
|
|
2296
2520
|
value: input3.values
|
|
2297
2521
|
})].every((flag) => flag);
|
|
2298
|
-
const $
|
|
2522
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2299
2523
|
path: _path2 + ".id",
|
|
2300
2524
|
expected: "string",
|
|
2301
2525
|
value: input3.id
|
|
@@ -2311,8 +2535,8 @@ var validChatRequest = (input) => {
|
|
|
2311
2535
|
path: _path2 + ".child_types",
|
|
2312
2536
|
expected: "(Array<string> | undefined)",
|
|
2313
2537
|
value: input3.child_types
|
|
2314
|
-
})) && input3.child_types.map((elem,
|
|
2315
|
-
path: _path2 + ".child_types[" +
|
|
2538
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2539
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
2316
2540
|
expected: "string",
|
|
2317
2541
|
value: elem
|
|
2318
2542
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2327,8 +2551,8 @@ var validChatRequest = (input) => {
|
|
|
2327
2551
|
path: _path2 + ".included_types",
|
|
2328
2552
|
expected: "(Array<string> | undefined)",
|
|
2329
2553
|
value: input3.included_types
|
|
2330
|
-
})) && input3.included_types.map((elem,
|
|
2331
|
-
path: _path2 + ".included_types[" +
|
|
2554
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2555
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
2332
2556
|
expected: "string",
|
|
2333
2557
|
value: elem
|
|
2334
2558
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2383,12 +2607,12 @@ var validChatRequest = (input) => {
|
|
|
2383
2607
|
path: _path2 + ".genes",
|
|
2384
2608
|
expected: "Array<GvGeneTerm>",
|
|
2385
2609
|
value: input3.genes
|
|
2386
|
-
})) && input3.genes.map((elem,
|
|
2387
|
-
path: _path2 + ".genes[" +
|
|
2610
|
+
})) && input3.genes.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2611
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
2388
2612
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2389
2613
|
value: elem
|
|
2390
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2391
|
-
path: _path2 + ".genes[" +
|
|
2614
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2615
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
2392
2616
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2393
2617
|
value: elem
|
|
2394
2618
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2407,12 +2631,12 @@ var validChatRequest = (input) => {
|
|
|
2407
2631
|
path: _path2 + ".childTerms",
|
|
2408
2632
|
expected: "(Array<DtTerm> | undefined)",
|
|
2409
2633
|
value: input3.childTerms
|
|
2410
|
-
})) && input3.childTerms.map((elem,
|
|
2411
|
-
path: _path2 + ".childTerms[" +
|
|
2634
|
+
})) && input3.childTerms.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2635
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
2412
2636
|
expected: "DtTerm",
|
|
2413
2637
|
value: elem
|
|
2414
|
-
})) && $
|
|
2415
|
-
path: _path2 + ".childTerms[" +
|
|
2638
|
+
})) && $vo42(elem, _path2 + ".childTerms[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2639
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
2416
2640
|
expected: "DtTerm",
|
|
2417
2641
|
value: elem
|
|
2418
2642
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2420,7 +2644,7 @@ var validChatRequest = (input) => {
|
|
|
2420
2644
|
expected: "(Array<DtTerm> | undefined)",
|
|
2421
2645
|
value: input3.childTerms
|
|
2422
2646
|
})].every((flag) => flag);
|
|
2423
|
-
const $
|
|
2647
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2424
2648
|
path: _path2 + ".id",
|
|
2425
2649
|
expected: "string",
|
|
2426
2650
|
value: input3.id
|
|
@@ -2436,8 +2660,8 @@ var validChatRequest = (input) => {
|
|
|
2436
2660
|
path: _path2 + ".child_types",
|
|
2437
2661
|
expected: "(Array<string> | undefined)",
|
|
2438
2662
|
value: input3.child_types
|
|
2439
|
-
})) && input3.child_types.map((elem,
|
|
2440
|
-
path: _path2 + ".child_types[" +
|
|
2663
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2664
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2441
2665
|
expected: "string",
|
|
2442
2666
|
value: elem
|
|
2443
2667
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2452,8 +2676,8 @@ var validChatRequest = (input) => {
|
|
|
2452
2676
|
path: _path2 + ".included_types",
|
|
2453
2677
|
expected: "(Array<string> | undefined)",
|
|
2454
2678
|
value: input3.included_types
|
|
2455
|
-
})) && input3.included_types.map((elem,
|
|
2456
|
-
path: _path2 + ".included_types[" +
|
|
2679
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2680
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2457
2681
|
expected: "string",
|
|
2458
2682
|
value: elem
|
|
2459
2683
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2505,7 +2729,7 @@ var validChatRequest = (input) => {
|
|
|
2505
2729
|
expected: "(number | undefined)",
|
|
2506
2730
|
value: input3.stop
|
|
2507
2731
|
})].every((flag) => flag);
|
|
2508
|
-
const $
|
|
2732
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2509
2733
|
path: _path2 + ".id",
|
|
2510
2734
|
expected: "string",
|
|
2511
2735
|
value: input3.id
|
|
@@ -2521,8 +2745,8 @@ var validChatRequest = (input) => {
|
|
|
2521
2745
|
path: _path2 + ".child_types",
|
|
2522
2746
|
expected: "(Array<string> | undefined)",
|
|
2523
2747
|
value: input3.child_types
|
|
2524
|
-
})) && input3.child_types.map((elem,
|
|
2525
|
-
path: _path2 + ".child_types[" +
|
|
2748
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2749
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
2526
2750
|
expected: "string",
|
|
2527
2751
|
value: elem
|
|
2528
2752
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2537,8 +2761,8 @@ var validChatRequest = (input) => {
|
|
|
2537
2761
|
path: _path2 + ".included_types",
|
|
2538
2762
|
expected: "(Array<string> | undefined)",
|
|
2539
2763
|
value: input3.included_types
|
|
2540
|
-
})) && input3.included_types.map((elem,
|
|
2541
|
-
path: _path2 + ".included_types[" +
|
|
2764
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2765
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
2542
2766
|
expected: "string",
|
|
2543
2767
|
value: elem
|
|
2544
2768
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2586,7 +2810,7 @@ var validChatRequest = (input) => {
|
|
|
2586
2810
|
expected: "number",
|
|
2587
2811
|
value: input3.stop
|
|
2588
2812
|
})].every((flag) => flag);
|
|
2589
|
-
const $
|
|
2813
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2590
2814
|
path: _path2 + ".id",
|
|
2591
2815
|
expected: "string",
|
|
2592
2816
|
value: input3.id
|
|
@@ -2602,8 +2826,8 @@ var validChatRequest = (input) => {
|
|
|
2602
2826
|
path: _path2 + ".child_types",
|
|
2603
2827
|
expected: "(Array<string> | undefined)",
|
|
2604
2828
|
value: input3.child_types
|
|
2605
|
-
})) && input3.child_types.map((elem,
|
|
2606
|
-
path: _path2 + ".child_types[" +
|
|
2829
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2830
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
2607
2831
|
expected: "string",
|
|
2608
2832
|
value: elem
|
|
2609
2833
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2618,8 +2842,8 @@ var validChatRequest = (input) => {
|
|
|
2618
2842
|
path: _path2 + ".included_types",
|
|
2619
2843
|
expected: "(Array<string> | undefined)",
|
|
2620
2844
|
value: input3.included_types
|
|
2621
|
-
})) && input3.included_types.map((elem,
|
|
2622
|
-
path: _path2 + ".included_types[" +
|
|
2845
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2846
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
2623
2847
|
expected: "string",
|
|
2624
2848
|
value: elem
|
|
2625
2849
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2670,12 +2894,12 @@ var validChatRequest = (input) => {
|
|
|
2670
2894
|
path: _path2 + ".genes",
|
|
2671
2895
|
expected: "Array<GvGeneTerm>",
|
|
2672
2896
|
value: input3.genes
|
|
2673
|
-
})) && input3.genes.map((elem,
|
|
2674
|
-
path: _path2 + ".genes[" +
|
|
2897
|
+
})) && input3.genes.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2898
|
+
path: _path2 + ".genes[" + _index51 + "]",
|
|
2675
2899
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2676
2900
|
value: elem
|
|
2677
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2678
|
-
path: _path2 + ".genes[" +
|
|
2901
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2902
|
+
path: _path2 + ".genes[" + _index51 + "]",
|
|
2679
2903
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2680
2904
|
value: elem
|
|
2681
2905
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2694,12 +2918,12 @@ var validChatRequest = (input) => {
|
|
|
2694
2918
|
path: _path2 + ".childTerms",
|
|
2695
2919
|
expected: "(Array<DtTerm> | undefined)",
|
|
2696
2920
|
value: input3.childTerms
|
|
2697
|
-
})) && input3.childTerms.map((elem,
|
|
2698
|
-
path: _path2 + ".childTerms[" +
|
|
2921
|
+
})) && input3.childTerms.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2922
|
+
path: _path2 + ".childTerms[" + _index52 + "]",
|
|
2699
2923
|
expected: "DtTerm",
|
|
2700
2924
|
value: elem
|
|
2701
|
-
})) && $
|
|
2702
|
-
path: _path2 + ".childTerms[" +
|
|
2925
|
+
})) && $vo42(elem, _path2 + ".childTerms[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2926
|
+
path: _path2 + ".childTerms[" + _index52 + "]",
|
|
2703
2927
|
expected: "DtTerm",
|
|
2704
2928
|
value: elem
|
|
2705
2929
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2707,7 +2931,7 @@ var validChatRequest = (input) => {
|
|
|
2707
2931
|
expected: "(Array<DtTerm> | undefined)",
|
|
2708
2932
|
value: input3.childTerms
|
|
2709
2933
|
})].every((flag) => flag);
|
|
2710
|
-
const $
|
|
2934
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2711
2935
|
path: _path2 + ".key",
|
|
2712
2936
|
expected: "(string | undefined)",
|
|
2713
2937
|
value: input3.key
|
|
@@ -2727,8 +2951,8 @@ var validChatRequest = (input) => {
|
|
|
2727
2951
|
path: _path2 + ".mclasslst",
|
|
2728
2952
|
expected: "(Array<string> | undefined)",
|
|
2729
2953
|
value: input3.mclasslst
|
|
2730
|
-
})) && input3.mclasslst.map((elem,
|
|
2731
|
-
path: _path2 + ".mclasslst[" +
|
|
2954
|
+
})) && input3.mclasslst.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2955
|
+
path: _path2 + ".mclasslst[" + _index53 + "]",
|
|
2732
2956
|
expected: "string",
|
|
2733
2957
|
value: elem
|
|
2734
2958
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2739,8 +2963,8 @@ var validChatRequest = (input) => {
|
|
|
2739
2963
|
path: _path2 + ".mclassExcludeLst",
|
|
2740
2964
|
expected: "(Array<string> | undefined)",
|
|
2741
2965
|
value: input3.mclassExcludeLst
|
|
2742
|
-
})) && input3.mclassExcludeLst.map((elem,
|
|
2743
|
-
path: _path2 + ".mclassExcludeLst[" +
|
|
2966
|
+
})) && input3.mclassExcludeLst.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2967
|
+
path: _path2 + ".mclassExcludeLst[" + _index54 + "]",
|
|
2744
2968
|
expected: "string",
|
|
2745
2969
|
value: elem
|
|
2746
2970
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2752,7 +2976,7 @@ var validChatRequest = (input) => {
|
|
|
2752
2976
|
expected: "(string | undefined)",
|
|
2753
2977
|
value: input3.origin
|
|
2754
2978
|
})].every((flag) => flag);
|
|
2755
|
-
const $
|
|
2979
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2756
2980
|
path: _path2 + ".join",
|
|
2757
2981
|
expected: "(string | undefined)",
|
|
2758
2982
|
value: input3.join
|
|
@@ -2793,7 +3017,7 @@ var validChatRequest = (input) => {
|
|
|
2793
3017
|
expected: "number",
|
|
2794
3018
|
value: input3.ratio
|
|
2795
3019
|
})].every((flag) => flag);
|
|
2796
|
-
const $
|
|
3020
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2797
3021
|
path: _path2 + ".id",
|
|
2798
3022
|
expected: "string",
|
|
2799
3023
|
value: input3.id
|
|
@@ -2809,8 +3033,8 @@ var validChatRequest = (input) => {
|
|
|
2809
3033
|
path: _path2 + ".child_types",
|
|
2810
3034
|
expected: "(Array<string> | undefined)",
|
|
2811
3035
|
value: input3.child_types
|
|
2812
|
-
})) && input3.child_types.map((elem,
|
|
2813
|
-
path: _path2 + ".child_types[" +
|
|
3036
|
+
})) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3037
|
+
path: _path2 + ".child_types[" + _index55 + "]",
|
|
2814
3038
|
expected: "string",
|
|
2815
3039
|
value: elem
|
|
2816
3040
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2825,8 +3049,8 @@ var validChatRequest = (input) => {
|
|
|
2825
3049
|
path: _path2 + ".included_types",
|
|
2826
3050
|
expected: "(Array<string> | undefined)",
|
|
2827
3051
|
value: input3.included_types
|
|
2828
|
-
})) && input3.included_types.map((elem,
|
|
2829
|
-
path: _path2 + ".included_types[" +
|
|
3052
|
+
})) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3053
|
+
path: _path2 + ".included_types[" + _index56 + "]",
|
|
2830
3054
|
expected: "string",
|
|
2831
3055
|
value: elem
|
|
2832
3056
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2861,8 +3085,8 @@ var validChatRequest = (input) => {
|
|
|
2861
3085
|
path: _path2 + ".termIds",
|
|
2862
3086
|
expected: "(Array<string> | undefined)",
|
|
2863
3087
|
value: input3.termIds
|
|
2864
|
-
})) && input3.termIds.map((elem,
|
|
2865
|
-
path: _path2 + ".termIds[" +
|
|
3088
|
+
})) && input3.termIds.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3089
|
+
path: _path2 + ".termIds[" + _index57 + "]",
|
|
2866
3090
|
expected: "string",
|
|
2867
3091
|
value: elem
|
|
2868
3092
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2873,12 +3097,12 @@ var validChatRequest = (input) => {
|
|
|
2873
3097
|
path: _path2 + ".termlst",
|
|
2874
3098
|
expected: "Array<BaseTerm>",
|
|
2875
3099
|
value: input3.termlst
|
|
2876
|
-
})) && input3.termlst.map((elem,
|
|
2877
|
-
path: _path2 + ".termlst[" +
|
|
3100
|
+
})) && input3.termlst.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3101
|
+
path: _path2 + ".termlst[" + _index58 + "]",
|
|
2878
3102
|
expected: "BaseTerm",
|
|
2879
3103
|
value: elem
|
|
2880
|
-
})) && $
|
|
2881
|
-
path: _path2 + ".termlst[" +
|
|
3104
|
+
})) && $vo50(elem, _path2 + ".termlst[" + _index58 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3105
|
+
path: _path2 + ".termlst[" + _index58 + "]",
|
|
2882
3106
|
expected: "BaseTerm",
|
|
2883
3107
|
value: elem
|
|
2884
3108
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2893,7 +3117,7 @@ var validChatRequest = (input) => {
|
|
|
2893
3117
|
path: _path2 + ".propsByTermId",
|
|
2894
3118
|
expected: "__type.o7",
|
|
2895
3119
|
value: input3.propsByTermId
|
|
2896
|
-
})) && $
|
|
3120
|
+
})) && $vo51(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2897
3121
|
path: _path2 + ".propsByTermId",
|
|
2898
3122
|
expected: "__type.o7",
|
|
2899
3123
|
value: input3.propsByTermId
|
|
@@ -2905,8 +3129,8 @@ var validChatRequest = (input) => {
|
|
|
2905
3129
|
path: _path2 + ".numerators",
|
|
2906
3130
|
expected: "(Array<string> | undefined)",
|
|
2907
3131
|
value: input3.numerators
|
|
2908
|
-
})) && input3.numerators.map((elem,
|
|
2909
|
-
path: _path2 + ".numerators[" +
|
|
3132
|
+
})) && input3.numerators.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3133
|
+
path: _path2 + ".numerators[" + _index59 + "]",
|
|
2910
3134
|
expected: "string",
|
|
2911
3135
|
value: elem
|
|
2912
3136
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2917,12 +3141,12 @@ var validChatRequest = (input) => {
|
|
|
2917
3141
|
path: _path2 + ".valueTransform",
|
|
2918
3142
|
expected: "(__type.o9 | undefined)",
|
|
2919
3143
|
value: input3.valueTransform
|
|
2920
|
-
})) && $
|
|
3144
|
+
})) && $vo53(input3.valueTransform, _path2 + ".valueTransform", _exceptionable2) || $report(_exceptionable2, {
|
|
2921
3145
|
path: _path2 + ".valueTransform",
|
|
2922
3146
|
expected: "(__type.o9 | undefined)",
|
|
2923
3147
|
value: input3.valueTransform
|
|
2924
3148
|
})].every((flag) => flag);
|
|
2925
|
-
const $
|
|
3149
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2926
3150
|
path: _path2 + ".id",
|
|
2927
3151
|
expected: "string",
|
|
2928
3152
|
value: input3.id
|
|
@@ -2938,8 +3162,8 @@ var validChatRequest = (input) => {
|
|
|
2938
3162
|
path: _path2 + ".child_types",
|
|
2939
3163
|
expected: "(Array<string> | undefined)",
|
|
2940
3164
|
value: input3.child_types
|
|
2941
|
-
})) && input3.child_types.map((elem,
|
|
2942
|
-
path: _path2 + ".child_types[" +
|
|
3165
|
+
})) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3166
|
+
path: _path2 + ".child_types[" + _index60 + "]",
|
|
2943
3167
|
expected: "string",
|
|
2944
3168
|
value: elem
|
|
2945
3169
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2954,8 +3178,8 @@ var validChatRequest = (input) => {
|
|
|
2954
3178
|
path: _path2 + ".included_types",
|
|
2955
3179
|
expected: "(Array<string> | undefined)",
|
|
2956
3180
|
value: input3.included_types
|
|
2957
|
-
})) && input3.included_types.map((elem,
|
|
2958
|
-
path: _path2 + ".included_types[" +
|
|
3181
|
+
})) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3182
|
+
path: _path2 + ".included_types[" + _index61 + "]",
|
|
2959
3183
|
expected: "string",
|
|
2960
3184
|
value: elem
|
|
2961
3185
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2987,7 +3211,7 @@ var validChatRequest = (input) => {
|
|
|
2987
3211
|
expected: "(__type.o1 | undefined)",
|
|
2988
3212
|
value: input3.valueConversion
|
|
2989
3213
|
})].every((flag) => flag);
|
|
2990
|
-
const $
|
|
3214
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2991
3215
|
const value = input3[key];
|
|
2992
3216
|
if (void 0 === value)
|
|
2993
3217
|
return true;
|
|
@@ -2996,14 +3220,14 @@ var validChatRequest = (input) => {
|
|
|
2996
3220
|
path: _path2 + $join(key),
|
|
2997
3221
|
expected: "__type.o8",
|
|
2998
3222
|
value
|
|
2999
|
-
})) && $
|
|
3223
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3000
3224
|
path: _path2 + $join(key),
|
|
3001
3225
|
expected: "__type.o8",
|
|
3002
3226
|
value
|
|
3003
3227
|
});
|
|
3004
3228
|
return true;
|
|
3005
3229
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3006
|
-
const $
|
|
3230
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3007
3231
|
const value = input3[key];
|
|
3008
3232
|
if (void 0 === value)
|
|
3009
3233
|
return true;
|
|
@@ -3011,12 +3235,12 @@ var validChatRequest = (input) => {
|
|
|
3011
3235
|
return true;
|
|
3012
3236
|
return true;
|
|
3013
3237
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3014
|
-
const $
|
|
3238
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.offset || "number" === typeof input3.offset || $report(_exceptionable2, {
|
|
3015
3239
|
path: _path2 + ".offset",
|
|
3016
3240
|
expected: "(number | undefined)",
|
|
3017
3241
|
value: input3.offset
|
|
3018
3242
|
})].every((flag) => flag);
|
|
3019
|
-
const $
|
|
3243
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3020
3244
|
path: _path2 + ".id",
|
|
3021
3245
|
expected: "string",
|
|
3022
3246
|
value: input3.id
|
|
@@ -3032,8 +3256,8 @@ var validChatRequest = (input) => {
|
|
|
3032
3256
|
path: _path2 + ".child_types",
|
|
3033
3257
|
expected: "(Array<string> | undefined)",
|
|
3034
3258
|
value: input3.child_types
|
|
3035
|
-
})) && input3.child_types.map((elem,
|
|
3036
|
-
path: _path2 + ".child_types[" +
|
|
3259
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3260
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
3037
3261
|
expected: "string",
|
|
3038
3262
|
value: elem
|
|
3039
3263
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3048,8 +3272,8 @@ var validChatRequest = (input) => {
|
|
|
3048
3272
|
path: _path2 + ".included_types",
|
|
3049
3273
|
expected: "(Array<string> | undefined)",
|
|
3050
3274
|
value: input3.included_types
|
|
3051
|
-
})) && input3.included_types.map((elem,
|
|
3052
|
-
path: _path2 + ".included_types[" +
|
|
3275
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3276
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
3053
3277
|
expected: "string",
|
|
3054
3278
|
value: elem
|
|
3055
3279
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3084,8 +3308,8 @@ var validChatRequest = (input) => {
|
|
|
3084
3308
|
path: _path2 + ".termIds",
|
|
3085
3309
|
expected: "(Array<string> | undefined)",
|
|
3086
3310
|
value: input3.termIds
|
|
3087
|
-
})) && input3.termIds.map((elem,
|
|
3088
|
-
path: _path2 + ".termIds[" +
|
|
3311
|
+
})) && input3.termIds.map((elem, _index64) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3312
|
+
path: _path2 + ".termIds[" + _index64 + "]",
|
|
3089
3313
|
expected: "string",
|
|
3090
3314
|
value: elem
|
|
3091
3315
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3096,12 +3320,12 @@ var validChatRequest = (input) => {
|
|
|
3096
3320
|
path: _path2 + ".termlst",
|
|
3097
3321
|
expected: "Array<BaseTerm>",
|
|
3098
3322
|
value: input3.termlst
|
|
3099
|
-
})) && input3.termlst.map((elem,
|
|
3100
|
-
path: _path2 + ".termlst[" +
|
|
3323
|
+
})) && input3.termlst.map((elem, _index65) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3324
|
+
path: _path2 + ".termlst[" + _index65 + "]",
|
|
3101
3325
|
expected: "BaseTerm",
|
|
3102
3326
|
value: elem
|
|
3103
|
-
})) && $
|
|
3104
|
-
path: _path2 + ".termlst[" +
|
|
3327
|
+
})) && $vo50(elem, _path2 + ".termlst[" + _index65 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3328
|
+
path: _path2 + ".termlst[" + _index65 + "]",
|
|
3105
3329
|
expected: "BaseTerm",
|
|
3106
3330
|
value: elem
|
|
3107
3331
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3116,7 +3340,7 @@ var validChatRequest = (input) => {
|
|
|
3116
3340
|
path: _path2 + ".propsByTermId",
|
|
3117
3341
|
expected: "__type.o7",
|
|
3118
3342
|
value: input3.propsByTermId
|
|
3119
|
-
})) && $
|
|
3343
|
+
})) && $vo51(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
3120
3344
|
path: _path2 + ".propsByTermId",
|
|
3121
3345
|
expected: "__type.o7",
|
|
3122
3346
|
value: input3.propsByTermId
|
|
@@ -3128,12 +3352,12 @@ var validChatRequest = (input) => {
|
|
|
3128
3352
|
path: _path2 + ".categoryKeys",
|
|
3129
3353
|
expected: "Array<CategoryKey>",
|
|
3130
3354
|
value: input3.categoryKeys
|
|
3131
|
-
})) && input3.categoryKeys.map((elem,
|
|
3132
|
-
path: _path2 + ".categoryKeys[" +
|
|
3355
|
+
})) && input3.categoryKeys.map((elem, _index66) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3356
|
+
path: _path2 + ".categoryKeys[" + _index66 + "]",
|
|
3133
3357
|
expected: "CategoryKey",
|
|
3134
3358
|
value: elem
|
|
3135
|
-
})) && $
|
|
3136
|
-
path: _path2 + ".categoryKeys[" +
|
|
3359
|
+
})) && $vo55(elem, _path2 + ".categoryKeys[" + _index66 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3360
|
+
path: _path2 + ".categoryKeys[" + _index66 + "]",
|
|
3137
3361
|
expected: "CategoryKey",
|
|
3138
3362
|
value: elem
|
|
3139
3363
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3141,7 +3365,7 @@ var validChatRequest = (input) => {
|
|
|
3141
3365
|
expected: "Array<CategoryKey>",
|
|
3142
3366
|
value: input3.categoryKeys
|
|
3143
3367
|
})].every((flag) => flag);
|
|
3144
|
-
const $
|
|
3368
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3145
3369
|
path: _path2 + ".key",
|
|
3146
3370
|
expected: "string",
|
|
3147
3371
|
value: input3.key
|
|
@@ -3178,14 +3402,14 @@ var validChatRequest = (input) => {
|
|
|
3178
3402
|
if (true === input3.stopunbounded)
|
|
3179
3403
|
return $vo21(input3, _path2, _exceptionable2);
|
|
3180
3404
|
if (void 0 !== input3.value)
|
|
3181
|
-
return $
|
|
3405
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
3182
3406
|
return $vo20(input3, _path2, _exceptionable2);
|
|
3183
3407
|
})();
|
|
3184
3408
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3185
3409
|
if ("gene" === input3.kind)
|
|
3186
|
-
return $
|
|
3410
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
3187
3411
|
if ("coord" === input3.kind)
|
|
3188
|
-
return $
|
|
3412
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3189
3413
|
return $report(_exceptionable2, {
|
|
3190
3414
|
path: _path2,
|
|
3191
3415
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3203,23 +3427,23 @@ var validChatRequest = (input) => {
|
|
|
3203
3427
|
if (void 0 !== input3.ranges)
|
|
3204
3428
|
return $vo13(input3, _path2, _exceptionable2);
|
|
3205
3429
|
if (void 0 !== input3.ratio)
|
|
3206
|
-
return $
|
|
3207
|
-
return $vo3(input3, _path2, false) || $
|
|
3430
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
3431
|
+
return $vo3(input3, _path2, false) || $vo37(input3, _path2, false) || $vo41(input3, _path2, false);
|
|
3208
3432
|
})();
|
|
3209
3433
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3210
3434
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3211
3435
|
return $vo14(input3, _path2, _exceptionable2);
|
|
3212
3436
|
if ("metaboliteIntensity" === input3.type)
|
|
3213
|
-
return $
|
|
3437
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3214
3438
|
if ("proteomeAbundance" === input3.type)
|
|
3215
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
3216
|
-
if ("date" === input3.type)
|
|
3217
3439
|
return $vo28(input3, _path2, _exceptionable2);
|
|
3440
|
+
if ("date" === input3.type)
|
|
3441
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
3218
3442
|
if ("ssGSEA" === input3.type)
|
|
3219
|
-
return $
|
|
3443
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
3220
3444
|
if ("dnaMethylation" === input3.type)
|
|
3221
|
-
return $
|
|
3222
|
-
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $
|
|
3445
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
3446
|
+
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);
|
|
3223
3447
|
})();
|
|
3224
3448
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3225
3449
|
if ("regular-bin" === input3.type)
|
|
@@ -3256,9 +3480,9 @@ var validChatRequest = (input) => {
|
|
|
3256
3480
|
})();
|
|
3257
3481
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3258
3482
|
if ("gene" === input3.kind)
|
|
3259
|
-
return $
|
|
3483
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3260
3484
|
if ("coord" === input3.kind)
|
|
3261
|
-
return $
|
|
3485
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3262
3486
|
return $report(_exceptionable2, {
|
|
3263
3487
|
path: _path2,
|
|
3264
3488
|
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; })',
|
|
@@ -3267,9 +3491,9 @@ var validChatRequest = (input) => {
|
|
|
3267
3491
|
})();
|
|
3268
3492
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3269
3493
|
if ("numeric" === input3.memberType)
|
|
3270
|
-
return $
|
|
3494
|
+
return $vo49(input3, _path2, _exceptionable2);
|
|
3271
3495
|
if ("categorical" === input3.memberType)
|
|
3272
|
-
return $
|
|
3496
|
+
return $vo54(input3, _path2, _exceptionable2);
|
|
3273
3497
|
return $report(_exceptionable2, {
|
|
3274
3498
|
path: _path2,
|
|
3275
3499
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|