@sjcrh/proteinpaint-types 2.178.0 → 2.179.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-GAYJUXNZ.js → chunk-4J5BPYYR.js} +429 -201
- package/dist/{chunk-WXCXZRKP.js → chunk-6DWX22RA.js} +707 -479
- package/dist/{chunk-UWAVSKMD.js → chunk-7V7USAKJ.js} +705 -477
- package/dist/{chunk-2XQJCZEO.js → chunk-A2FMYVMI.js} +520 -292
- package/dist/{chunk-FQYNRDHB.js → chunk-CC4IBTKW.js} +429 -201
- package/dist/{chunk-2Y7WE3JU.js → chunk-CSK3ZCDF.js} +705 -477
- package/dist/{chunk-UFYKXOY2.js → chunk-DUFHC6EI.js} +1073 -625
- package/dist/{chunk-NRV6MPRM.js → chunk-E2O4N7OC.js} +1346 -898
- package/dist/{chunk-CYQDO4FX.js → chunk-FQLGK65A.js} +742 -456
- package/dist/{chunk-HZEV7D5E.js → chunk-JTZQYNIT.js} +705 -477
- package/dist/{chunk-CX2Y673E.js → chunk-MKM4A5NU.js} +429 -201
- package/dist/{chunk-26UKKPK2.js → chunk-QQNDJ6BY.js} +713 -485
- package/dist/{chunk-PHRILOVX.js → chunk-RANWGPF7.js} +429 -201
- package/dist/{chunk-VBNF7BRI.js → chunk-XAHE4RNZ.js} +452 -224
- package/dist/{chunk-YHKFJCXG.js → chunk-YI63CW7Y.js} +646 -426
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +15 -15
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +429 -201
- package/dist/termdb.chat2.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.dmr.js +1 -1
- 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.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +28 -8
- package/src/filter.ts +33 -4
- package/src/routes/termdb.chat2.ts +13 -2
- package/src/routes/termdb.dmr.ts +17 -2
- package/src/terms/termCollection.ts +0 -3
|
@@ -10,9 +10,9 @@ var validChatRequest = (input) => {
|
|
|
10
10
|
const __is = (input2) => {
|
|
11
11
|
const $join = import_typia.createValidate.join;
|
|
12
12
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.prompt && true;
|
|
13
|
-
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
14
|
-
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
15
|
-
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
|
|
13
|
+
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem))) && (void 0 === input3.$id || "string" === typeof input3.$id);
|
|
14
|
+
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
15
|
+
const $io3 = (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 && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem))) && (void 0 === input3.valueset || input3.valueset instanceof Set);
|
|
16
16
|
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === 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)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
17
17
|
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
18
18
|
const value = input3[key];
|
|
@@ -31,11 +31,11 @@ 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) && ("object" === typeof input3.term && null !== input3.term && $
|
|
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 && $io33(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
|
-
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $
|
|
38
|
-
const $io17 = (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) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $
|
|
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);
|
|
38
|
+
const $io17 = (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) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
|
|
39
39
|
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
40
40
|
const value = input3[key];
|
|
41
41
|
if (void 0 === value)
|
|
@@ -47,7 +47,7 @@ var validChatRequest = (input) => {
|
|
|
47
47
|
const $io19 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
48
48
|
const $io20 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
49
49
|
const $io21 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
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] && $
|
|
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
53
|
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
@@ -57,29 +57,40 @@ var validChatRequest = (input) => {
|
|
|
57
57
|
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
58
58
|
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
59
59
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
60
|
-
const $io32 = (input3) => "
|
|
61
|
-
const $io33 = (input3) =>
|
|
62
|
-
const $io34 = (input3) =>
|
|
63
|
-
const $io35 = (input3) => "
|
|
64
|
-
const $io36 = (input3) =>
|
|
65
|
-
const $io37 = (input3) => "string" === typeof input3.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
60
|
+
const $io32 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
61
|
+
const $io33 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
62
|
+
const $io34 = (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 && $io35(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 && $io36(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
|
|
63
|
+
const $io35 = (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));
|
|
64
|
+
const $io36 = (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;
|
|
65
|
+
const $io37 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
66
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
67
|
+
return true;
|
|
68
|
+
const value = input3[key];
|
|
69
|
+
if (void 0 === value)
|
|
70
|
+
return true;
|
|
71
|
+
if (RegExp(/(.*)/).test(key))
|
|
72
|
+
return true;
|
|
73
|
+
return true;
|
|
74
|
+
});
|
|
75
|
+
const $io38 = (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 && $io39(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io44(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);
|
|
76
|
+
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $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));
|
|
77
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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 && $io39(elem)));
|
|
78
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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);
|
|
79
|
+
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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;
|
|
80
|
+
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)) && "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 && $io39(elem)));
|
|
81
|
+
const $io44 = (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);
|
|
82
|
+
const $io45 = (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;
|
|
83
|
+
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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 && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
84
|
+
const $io47 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
|
|
85
|
+
const $io48 = (input3) => Object.keys(input3).every((key) => {
|
|
75
86
|
const value = input3[key];
|
|
76
87
|
if (void 0 === value)
|
|
77
88
|
return true;
|
|
78
89
|
if (RegExp(/(.*)/).test(key))
|
|
79
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
90
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io49(value);
|
|
80
91
|
return true;
|
|
81
92
|
});
|
|
82
|
-
const $
|
|
93
|
+
const $io49 = (input3) => Object.keys(input3).every((key) => {
|
|
83
94
|
const value = input3[key];
|
|
84
95
|
if (void 0 === value)
|
|
85
96
|
return true;
|
|
@@ -87,8 +98,8 @@ var validChatRequest = (input) => {
|
|
|
87
98
|
return true;
|
|
88
99
|
return true;
|
|
89
100
|
});
|
|
90
|
-
const $
|
|
91
|
-
const $
|
|
101
|
+
const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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 && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io51(elem)));
|
|
102
|
+
const $io51 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
92
103
|
const $iu0 = (input3) => (() => {
|
|
93
104
|
if ("tvslst" === input3.type)
|
|
94
105
|
return $io1(input3);
|
|
@@ -108,31 +119,40 @@ var validChatRequest = (input) => {
|
|
|
108
119
|
return $io19(input3);
|
|
109
120
|
if (true === input3.stopunbounded)
|
|
110
121
|
return $io21(input3);
|
|
122
|
+
if (void 0 !== input3.value)
|
|
123
|
+
return $io32(input3);
|
|
111
124
|
return $io20(input3);
|
|
112
125
|
})();
|
|
113
126
|
const $iu3 = (input3) => (() => {
|
|
114
127
|
if ("gene" === input3.kind)
|
|
115
|
-
return $
|
|
128
|
+
return $io41(input3);
|
|
116
129
|
if ("coord" === input3.kind)
|
|
117
|
-
return $
|
|
130
|
+
return $io42(input3);
|
|
118
131
|
return false;
|
|
119
132
|
})();
|
|
120
133
|
const $iu4 = (input3) => (() => {
|
|
134
|
+
if (true === input3.startunbounded)
|
|
135
|
+
return $io19(input3);
|
|
136
|
+
if (true === input3.stopunbounded)
|
|
137
|
+
return $io21(input3);
|
|
138
|
+
return $io20(input3);
|
|
139
|
+
})();
|
|
140
|
+
const $iu5 = (input3) => (() => {
|
|
121
141
|
if (void 0 !== input3.ranges)
|
|
122
142
|
return $io13(input3);
|
|
123
143
|
if (void 0 !== input3.ratio)
|
|
124
|
-
return $
|
|
144
|
+
return $io45(input3);
|
|
125
145
|
return (() => {
|
|
126
146
|
if ($io3(input3))
|
|
127
147
|
return $io3(input3);
|
|
128
|
-
if ($
|
|
129
|
-
return $
|
|
130
|
-
if ($
|
|
131
|
-
return $
|
|
148
|
+
if ($io34(input3))
|
|
149
|
+
return $io34(input3);
|
|
150
|
+
if ($io38(input3))
|
|
151
|
+
return $io38(input3);
|
|
132
152
|
return false;
|
|
133
153
|
})();
|
|
134
154
|
})();
|
|
135
|
-
const $
|
|
155
|
+
const $iu6 = (input3) => (() => {
|
|
136
156
|
if ("integer" === input3.type || "float" === input3.type)
|
|
137
157
|
return $io14(input3);
|
|
138
158
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -157,39 +177,39 @@ var validChatRequest = (input) => {
|
|
|
157
177
|
return false;
|
|
158
178
|
})();
|
|
159
179
|
})();
|
|
160
|
-
const $
|
|
180
|
+
const $iu7 = (input3) => (() => {
|
|
161
181
|
if ("regular-bin" === input3.type)
|
|
162
182
|
return $io17(input3);
|
|
163
183
|
if ("custom-bin" === input3.type)
|
|
164
184
|
return $io22(input3);
|
|
165
185
|
return false;
|
|
166
186
|
})();
|
|
167
|
-
const $
|
|
187
|
+
const $iu8 = (input3) => (() => {
|
|
168
188
|
if (true === input3.startunbounded)
|
|
169
189
|
return $io19(input3);
|
|
170
190
|
if (void 0 !== input3.start)
|
|
171
191
|
return $io20(input3);
|
|
172
192
|
return false;
|
|
173
193
|
})();
|
|
174
|
-
const $
|
|
194
|
+
const $iu9 = (input3) => (() => {
|
|
175
195
|
if (void 0 !== input3.stop)
|
|
176
196
|
return $io20(input3);
|
|
177
197
|
if (true === input3.stopunbounded)
|
|
178
198
|
return $io21(input3);
|
|
179
199
|
return false;
|
|
180
200
|
})();
|
|
181
|
-
const $
|
|
201
|
+
const $iu10 = (input3) => (() => {
|
|
182
202
|
if ("gene" === input3.kind)
|
|
183
|
-
return $
|
|
203
|
+
return $io40(input3);
|
|
184
204
|
if ("coord" === input3.kind)
|
|
185
|
-
return $
|
|
205
|
+
return $io43(input3);
|
|
186
206
|
return false;
|
|
187
207
|
})();
|
|
188
|
-
const $
|
|
208
|
+
const $iu11 = (input3) => (() => {
|
|
189
209
|
if ("numeric" === input3.memberType)
|
|
190
|
-
return $
|
|
210
|
+
return $io46(input3);
|
|
191
211
|
if ("categorical" === input3.memberType)
|
|
192
|
-
return $
|
|
212
|
+
return $io50(input3);
|
|
193
213
|
return false;
|
|
194
214
|
})();
|
|
195
215
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -251,6 +271,10 @@ var validChatRequest = (input) => {
|
|
|
251
271
|
path: _path2 + ".lst",
|
|
252
272
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
253
273
|
value: input3.lst
|
|
274
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
275
|
+
path: _path2 + ".$id",
|
|
276
|
+
expected: "(string | undefined)",
|
|
277
|
+
value: input3.$id
|
|
254
278
|
})].every((flag) => flag);
|
|
255
279
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
256
280
|
path: _path2 + ".type",
|
|
@@ -260,7 +284,7 @@ var validChatRequest = (input) => {
|
|
|
260
284
|
path: _path2 + ".tvs",
|
|
261
285
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
262
286
|
value: input3.tvs
|
|
263
|
-
})) && $
|
|
287
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
264
288
|
path: _path2 + ".tvs",
|
|
265
289
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
266
290
|
value: input3.tvs
|
|
@@ -273,6 +297,26 @@ var validChatRequest = (input) => {
|
|
|
273
297
|
path: _path2 + ".isnot",
|
|
274
298
|
expected: "(boolean | undefined)",
|
|
275
299
|
value: input3.isnot
|
|
300
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
301
|
+
path: _path2 + ".bar_by_grade",
|
|
302
|
+
expected: "(boolean | undefined)",
|
|
303
|
+
value: input3.bar_by_grade
|
|
304
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
305
|
+
path: _path2 + ".bar_by_children",
|
|
306
|
+
expected: "(boolean | undefined)",
|
|
307
|
+
value: input3.bar_by_children
|
|
308
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
309
|
+
path: _path2 + ".value_by_max_grade",
|
|
310
|
+
expected: "(boolean | undefined)",
|
|
311
|
+
value: input3.value_by_max_grade
|
|
312
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
313
|
+
path: _path2 + ".value_by_most_recent",
|
|
314
|
+
expected: "(boolean | undefined)",
|
|
315
|
+
value: input3.value_by_most_recent
|
|
316
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
317
|
+
path: _path2 + ".value_by_computable_grade",
|
|
318
|
+
expected: "(boolean | undefined)",
|
|
319
|
+
value: input3.value_by_computable_grade
|
|
276
320
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
277
321
|
path: _path2 + ".term",
|
|
278
322
|
expected: "CategoricalTerm",
|
|
@@ -301,6 +345,10 @@ var validChatRequest = (input) => {
|
|
|
301
345
|
path: _path2 + ".values",
|
|
302
346
|
expected: "Array<BaseValue>",
|
|
303
347
|
value: input3.values
|
|
348
|
+
}), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
|
|
349
|
+
path: _path2 + ".valueset",
|
|
350
|
+
expected: "(Set<any> | undefined)",
|
|
351
|
+
value: input3.valueset
|
|
304
352
|
})].every((flag) => flag);
|
|
305
353
|
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
306
354
|
path: _path2 + ".id",
|
|
@@ -568,45 +616,65 @@ var validChatRequest = (input) => {
|
|
|
568
616
|
path: _path2 + ".isnot",
|
|
569
617
|
expected: "(boolean | undefined)",
|
|
570
618
|
value: input3.isnot
|
|
619
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
620
|
+
path: _path2 + ".bar_by_grade",
|
|
621
|
+
expected: "(boolean | undefined)",
|
|
622
|
+
value: input3.bar_by_grade
|
|
623
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
624
|
+
path: _path2 + ".bar_by_children",
|
|
625
|
+
expected: "(boolean | undefined)",
|
|
626
|
+
value: input3.bar_by_children
|
|
627
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
628
|
+
path: _path2 + ".value_by_max_grade",
|
|
629
|
+
expected: "(boolean | undefined)",
|
|
630
|
+
value: input3.value_by_max_grade
|
|
631
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
632
|
+
path: _path2 + ".value_by_most_recent",
|
|
633
|
+
expected: "(boolean | undefined)",
|
|
634
|
+
value: input3.value_by_most_recent
|
|
635
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
636
|
+
path: _path2 + ".value_by_computable_grade",
|
|
637
|
+
expected: "(boolean | undefined)",
|
|
638
|
+
value: input3.value_by_computable_grade
|
|
571
639
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
572
640
|
path: _path2 + ".term",
|
|
573
641
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
574
642
|
value: input3.term
|
|
575
|
-
})) && $
|
|
643
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
576
644
|
path: _path2 + ".term",
|
|
577
645
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
578
646
|
value: input3.term
|
|
579
647
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
580
648
|
path: _path2 + ".ranges",
|
|
581
|
-
expected: "Array<NumericBin>",
|
|
649
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
582
650
|
value: input3.ranges
|
|
583
651
|
})) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
584
652
|
path: _path2 + ".ranges[" + _index8 + "]",
|
|
585
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
653
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
586
654
|
value: elem
|
|
587
655
|
})) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
588
656
|
path: _path2 + ".ranges[" + _index8 + "]",
|
|
589
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
657
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
590
658
|
value: elem
|
|
591
659
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
592
660
|
path: _path2 + ".ranges",
|
|
593
|
-
expected: "Array<NumericBin>",
|
|
661
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
594
662
|
value: input3.ranges
|
|
595
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
663
|
+
}), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
596
664
|
path: _path2 + ".values",
|
|
597
|
-
expected: "Array<__type>.o1",
|
|
665
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
598
666
|
value: input3.values
|
|
599
667
|
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
600
668
|
path: _path2 + ".values[" + _index9 + "]",
|
|
601
|
-
expected: "__type.
|
|
669
|
+
expected: "__type.o5",
|
|
602
670
|
value: elem
|
|
603
|
-
})) && $
|
|
671
|
+
})) && $vo33(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
604
672
|
path: _path2 + ".values[" + _index9 + "]",
|
|
605
|
-
expected: "__type.
|
|
673
|
+
expected: "__type.o5",
|
|
606
674
|
value: elem
|
|
607
675
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
608
676
|
path: _path2 + ".values",
|
|
609
|
-
expected: "Array<__type>.o1",
|
|
677
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
610
678
|
value: input3.values
|
|
611
679
|
})].every((flag) => flag);
|
|
612
680
|
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -707,7 +775,7 @@ var validChatRequest = (input) => {
|
|
|
707
775
|
path: _path2 + '["default"]',
|
|
708
776
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
709
777
|
value: input3["default"]
|
|
710
|
-
})) && $
|
|
778
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
711
779
|
path: _path2 + '["default"]',
|
|
712
780
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
713
781
|
value: input3["default"]
|
|
@@ -715,7 +783,7 @@ var validChatRequest = (input) => {
|
|
|
715
783
|
path: _path2 + ".less",
|
|
716
784
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
717
785
|
value: input3.less
|
|
718
|
-
})) && $
|
|
786
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
719
787
|
path: _path2 + ".less",
|
|
720
788
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
721
789
|
value: input3.less
|
|
@@ -776,7 +844,7 @@ var validChatRequest = (input) => {
|
|
|
776
844
|
path: _path2 + ".first_bin",
|
|
777
845
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
778
846
|
value: input3.first_bin
|
|
779
|
-
})) && $
|
|
847
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
780
848
|
path: _path2 + ".first_bin",
|
|
781
849
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
782
850
|
value: input3.first_bin
|
|
@@ -784,7 +852,7 @@ var validChatRequest = (input) => {
|
|
|
784
852
|
path: _path2 + ".last_bin",
|
|
785
853
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
786
854
|
value: input3.last_bin
|
|
787
|
-
})) && $
|
|
855
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
788
856
|
path: _path2 + ".last_bin",
|
|
789
857
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
790
858
|
value: input3.last_bin
|
|
@@ -949,7 +1017,7 @@ var validChatRequest = (input) => {
|
|
|
949
1017
|
path: _path2 + ".lst[0]",
|
|
950
1018
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
951
1019
|
value: input3.lst[0]
|
|
952
|
-
})) && $
|
|
1020
|
+
})) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
953
1021
|
path: _path2 + ".lst[0]",
|
|
954
1022
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
955
1023
|
value: input3.lst[0]
|
|
@@ -962,7 +1030,7 @@ var validChatRequest = (input) => {
|
|
|
962
1030
|
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
963
1031
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
964
1032
|
value: elem
|
|
965
|
-
})) && $
|
|
1033
|
+
})) && $vu4(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
966
1034
|
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
967
1035
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
968
1036
|
value: elem
|
|
@@ -1868,7 +1936,20 @@ var validChatRequest = (input) => {
|
|
|
1868
1936
|
expected: "number",
|
|
1869
1937
|
value: input3.stop
|
|
1870
1938
|
})].every((flag) => flag);
|
|
1871
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["
|
|
1939
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
1940
|
+
path: _path2 + ".value",
|
|
1941
|
+
expected: "number",
|
|
1942
|
+
value: input3.value
|
|
1943
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1944
|
+
path: _path2 + ".label",
|
|
1945
|
+
expected: "(string | undefined)",
|
|
1946
|
+
value: input3.label
|
|
1947
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1948
|
+
path: _path2 + ".name",
|
|
1949
|
+
expected: "(string | undefined)",
|
|
1950
|
+
value: input3.name
|
|
1951
|
+
})].every((flag) => flag);
|
|
1952
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1872
1953
|
path: _path2 + ".key",
|
|
1873
1954
|
expected: "string",
|
|
1874
1955
|
value: input3.key
|
|
@@ -1885,7 +1966,7 @@ var validChatRequest = (input) => {
|
|
|
1885
1966
|
expected: "(string | undefined)",
|
|
1886
1967
|
value: input3.label
|
|
1887
1968
|
})].every((flag) => flag);
|
|
1888
|
-
const $
|
|
1969
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1889
1970
|
path: _path2 + ".join",
|
|
1890
1971
|
expected: "(string | undefined)",
|
|
1891
1972
|
value: input3.join
|
|
@@ -1893,14 +1974,14 @@ var validChatRequest = (input) => {
|
|
|
1893
1974
|
path: _path2 + ".isnot",
|
|
1894
1975
|
expected: "(boolean | undefined)",
|
|
1895
1976
|
value: input3.isnot
|
|
1896
|
-
}),
|
|
1897
|
-
path: _path2 + ".
|
|
1898
|
-
expected: "
|
|
1899
|
-
value: input3.
|
|
1900
|
-
})
|
|
1901
|
-
path: _path2 + ".
|
|
1902
|
-
expected: "
|
|
1903
|
-
value: input3.
|
|
1977
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
1978
|
+
path: _path2 + ".bar_by_grade",
|
|
1979
|
+
expected: "(boolean | undefined)",
|
|
1980
|
+
value: input3.bar_by_grade
|
|
1981
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
1982
|
+
path: _path2 + ".bar_by_children",
|
|
1983
|
+
expected: "(boolean | undefined)",
|
|
1984
|
+
value: input3.bar_by_children
|
|
1904
1985
|
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1905
1986
|
path: _path2 + ".value_by_max_grade",
|
|
1906
1987
|
expected: "(boolean | undefined)",
|
|
@@ -1913,6 +1994,14 @@ var validChatRequest = (input) => {
|
|
|
1913
1994
|
path: _path2 + ".value_by_computable_grade",
|
|
1914
1995
|
expected: "(boolean | undefined)",
|
|
1915
1996
|
value: input3.value_by_computable_grade
|
|
1997
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1998
|
+
path: _path2 + ".term",
|
|
1999
|
+
expected: "ConditionTerm",
|
|
2000
|
+
value: input3.term
|
|
2001
|
+
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2002
|
+
path: _path2 + ".term",
|
|
2003
|
+
expected: "ConditionTerm",
|
|
2004
|
+
value: input3.term
|
|
1916
2005
|
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1917
2006
|
path: _path2 + ".grade_and_child",
|
|
1918
2007
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
@@ -1921,7 +2010,7 @@ var validChatRequest = (input) => {
|
|
|
1921
2010
|
path: _path2 + ".grade_and_child[" + _index32 + "]",
|
|
1922
2011
|
expected: "GradeAndChildEntry",
|
|
1923
2012
|
value: elem
|
|
1924
|
-
})) && $
|
|
2013
|
+
})) && $vo36(elem, _path2 + ".grade_and_child[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1925
2014
|
path: _path2 + ".grade_and_child[" + _index32 + "]",
|
|
1926
2015
|
expected: "GradeAndChildEntry",
|
|
1927
2016
|
value: elem
|
|
@@ -1929,8 +2018,24 @@ var validChatRequest = (input) => {
|
|
|
1929
2018
|
path: _path2 + ".grade_and_child",
|
|
1930
2019
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1931
2020
|
value: input3.grade_and_child
|
|
2021
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2022
|
+
path: _path2 + ".values",
|
|
2023
|
+
expected: "Array<__type>.o2",
|
|
2024
|
+
value: input3.values
|
|
2025
|
+
})) && input3.values.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2026
|
+
path: _path2 + ".values[" + _index33 + "]",
|
|
2027
|
+
expected: "__type.o6",
|
|
2028
|
+
value: elem
|
|
2029
|
+
})) && $vo37(elem, _path2 + ".values[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2030
|
+
path: _path2 + ".values[" + _index33 + "]",
|
|
2031
|
+
expected: "__type.o6",
|
|
2032
|
+
value: elem
|
|
2033
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2034
|
+
path: _path2 + ".values",
|
|
2035
|
+
expected: "Array<__type>.o2",
|
|
2036
|
+
value: input3.values
|
|
1932
2037
|
})].every((flag) => flag);
|
|
1933
|
-
const $
|
|
2038
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1934
2039
|
path: _path2 + ".id",
|
|
1935
2040
|
expected: "string",
|
|
1936
2041
|
value: input3.id
|
|
@@ -1946,8 +2051,8 @@ var validChatRequest = (input) => {
|
|
|
1946
2051
|
path: _path2 + ".child_types",
|
|
1947
2052
|
expected: "(Array<string> | undefined)",
|
|
1948
2053
|
value: input3.child_types
|
|
1949
|
-
})) && input3.child_types.map((elem,
|
|
1950
|
-
path: _path2 + ".child_types[" +
|
|
2054
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2055
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1951
2056
|
expected: "string",
|
|
1952
2057
|
value: elem
|
|
1953
2058
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1962,8 +2067,8 @@ var validChatRequest = (input) => {
|
|
|
1962
2067
|
path: _path2 + ".included_types",
|
|
1963
2068
|
expected: "(Array<string> | undefined)",
|
|
1964
2069
|
value: input3.included_types
|
|
1965
|
-
})) && input3.included_types.map((elem,
|
|
1966
|
-
path: _path2 + ".included_types[" +
|
|
2070
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2071
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1967
2072
|
expected: "string",
|
|
1968
2073
|
value: elem
|
|
1969
2074
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1995,7 +2100,7 @@ var validChatRequest = (input) => {
|
|
|
1995
2100
|
expected: "(__type.o1 | undefined)",
|
|
1996
2101
|
value: input3.valueConversion
|
|
1997
2102
|
})].every((flag) => flag);
|
|
1998
|
-
const $
|
|
2103
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1999
2104
|
path: _path2 + ".grade",
|
|
2000
2105
|
expected: "number",
|
|
2001
2106
|
value: input3.grade
|
|
@@ -2012,7 +2117,25 @@ var validChatRequest = (input) => {
|
|
|
2012
2117
|
expected: "string",
|
|
2013
2118
|
value: input3.child_label
|
|
2014
2119
|
})].every((flag) => flag);
|
|
2015
|
-
const $
|
|
2120
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2121
|
+
path: _path2 + ".key",
|
|
2122
|
+
expected: "(number | string)",
|
|
2123
|
+
value: input3.key
|
|
2124
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2125
|
+
path: _path2 + ".label",
|
|
2126
|
+
expected: "(string | undefined)",
|
|
2127
|
+
value: input3.label
|
|
2128
|
+
}), false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2129
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
2130
|
+
return true;
|
|
2131
|
+
const value = input3[key];
|
|
2132
|
+
if (void 0 === value)
|
|
2133
|
+
return true;
|
|
2134
|
+
if (RegExp(/(.*)/).test(key))
|
|
2135
|
+
return true;
|
|
2136
|
+
return true;
|
|
2137
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
2138
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2016
2139
|
path: _path2 + ".join",
|
|
2017
2140
|
expected: "(string | undefined)",
|
|
2018
2141
|
value: input3.join
|
|
@@ -2020,29 +2143,49 @@ var validChatRequest = (input) => {
|
|
|
2020
2143
|
path: _path2 + ".isnot",
|
|
2021
2144
|
expected: "(boolean | undefined)",
|
|
2022
2145
|
value: input3.isnot
|
|
2146
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2147
|
+
path: _path2 + ".bar_by_grade",
|
|
2148
|
+
expected: "(boolean | undefined)",
|
|
2149
|
+
value: input3.bar_by_grade
|
|
2150
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2151
|
+
path: _path2 + ".bar_by_children",
|
|
2152
|
+
expected: "(boolean | undefined)",
|
|
2153
|
+
value: input3.bar_by_children
|
|
2154
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2155
|
+
path: _path2 + ".value_by_max_grade",
|
|
2156
|
+
expected: "(boolean | undefined)",
|
|
2157
|
+
value: input3.value_by_max_grade
|
|
2158
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2159
|
+
path: _path2 + ".value_by_most_recent",
|
|
2160
|
+
expected: "(boolean | undefined)",
|
|
2161
|
+
value: input3.value_by_most_recent
|
|
2162
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2163
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2164
|
+
expected: "(boolean | undefined)",
|
|
2165
|
+
value: input3.value_by_computable_grade
|
|
2023
2166
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2024
2167
|
path: _path2 + ".term",
|
|
2025
2168
|
expected: "DtTerm",
|
|
2026
2169
|
value: input3.term
|
|
2027
|
-
})) && $
|
|
2170
|
+
})) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2028
2171
|
path: _path2 + ".term",
|
|
2029
2172
|
expected: "DtTerm",
|
|
2030
2173
|
value: input3.term
|
|
2031
2174
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2032
2175
|
path: _path2 + ".values",
|
|
2033
|
-
expected: "Array<
|
|
2176
|
+
expected: "Array<GeneVariantValue>",
|
|
2034
2177
|
value: input3.values
|
|
2035
|
-
})) && input3.values.map((elem,
|
|
2036
|
-
path: _path2 + ".values[" +
|
|
2037
|
-
expected: "
|
|
2178
|
+
})) && input3.values.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2179
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2180
|
+
expected: "GeneVariantValue",
|
|
2038
2181
|
value: elem
|
|
2039
|
-
})) && $
|
|
2040
|
-
path: _path2 + ".values[" +
|
|
2041
|
-
expected: "
|
|
2182
|
+
})) && $vo44(elem, _path2 + ".values[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2183
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2184
|
+
expected: "GeneVariantValue",
|
|
2042
2185
|
value: elem
|
|
2043
2186
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2044
2187
|
path: _path2 + ".values",
|
|
2045
|
-
expected: "Array<
|
|
2188
|
+
expected: "Array<GeneVariantValue>",
|
|
2046
2189
|
value: input3.values
|
|
2047
2190
|
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2048
2191
|
path: _path2 + ".includeNotTested",
|
|
@@ -2052,8 +2195,40 @@ var validChatRequest = (input) => {
|
|
|
2052
2195
|
path: _path2 + ".excludeGeneName",
|
|
2053
2196
|
expected: "(boolean | undefined)",
|
|
2054
2197
|
value: input3.excludeGeneName
|
|
2198
|
+
}), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
|
|
2199
|
+
path: _path2 + ".genotype",
|
|
2200
|
+
expected: '("nt" | "variant" | "wt" | undefined)',
|
|
2201
|
+
value: input3.genotype
|
|
2202
|
+
}), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
|
|
2203
|
+
path: _path2 + ".mcount",
|
|
2204
|
+
expected: '("all" | "any" | "multiple" | "single" | undefined)',
|
|
2205
|
+
value: input3.mcount
|
|
2206
|
+
}), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
|
|
2207
|
+
path: _path2 + ".continuousCnv",
|
|
2208
|
+
expected: "(boolean | undefined)",
|
|
2209
|
+
value: input3.continuousCnv
|
|
2210
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
2211
|
+
path: _path2 + ".cnvLossCutoff",
|
|
2212
|
+
expected: "(number | undefined)",
|
|
2213
|
+
value: input3.cnvLossCutoff
|
|
2214
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
2215
|
+
path: _path2 + ".cnvGainCutoff",
|
|
2216
|
+
expected: "(number | undefined)",
|
|
2217
|
+
value: input3.cnvGainCutoff
|
|
2218
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
2219
|
+
path: _path2 + ".cnvMaxLength",
|
|
2220
|
+
expected: "(number | undefined)",
|
|
2221
|
+
value: input3.cnvMaxLength
|
|
2222
|
+
}), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
|
|
2223
|
+
path: _path2 + ".cnvWT",
|
|
2224
|
+
expected: "(boolean | undefined)",
|
|
2225
|
+
value: input3.cnvWT
|
|
2226
|
+
}), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
|
|
2227
|
+
path: _path2 + ".fractionOverlap",
|
|
2228
|
+
expected: "(number | undefined)",
|
|
2229
|
+
value: input3.fractionOverlap
|
|
2055
2230
|
})].every((flag) => flag);
|
|
2056
|
-
const $
|
|
2231
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2057
2232
|
path: _path2 + ".id",
|
|
2058
2233
|
expected: "string",
|
|
2059
2234
|
value: input3.id
|
|
@@ -2073,7 +2248,7 @@ var validChatRequest = (input) => {
|
|
|
2073
2248
|
path: _path2 + ".parentTerm",
|
|
2074
2249
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2075
2250
|
value: input3.parentTerm
|
|
2076
|
-
})) && $
|
|
2251
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2077
2252
|
path: _path2 + ".parentTerm",
|
|
2078
2253
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2079
2254
|
value: input3.parentTerm
|
|
@@ -2102,7 +2277,7 @@ var validChatRequest = (input) => {
|
|
|
2102
2277
|
expected: "TermValues",
|
|
2103
2278
|
value: input3.values
|
|
2104
2279
|
})].every((flag) => flag);
|
|
2105
|
-
const $
|
|
2280
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2106
2281
|
path: _path2 + ".id",
|
|
2107
2282
|
expected: "string",
|
|
2108
2283
|
value: input3.id
|
|
@@ -2118,8 +2293,8 @@ var validChatRequest = (input) => {
|
|
|
2118
2293
|
path: _path2 + ".child_types",
|
|
2119
2294
|
expected: "(Array<string> | undefined)",
|
|
2120
2295
|
value: input3.child_types
|
|
2121
|
-
})) && input3.child_types.map((elem,
|
|
2122
|
-
path: _path2 + ".child_types[" +
|
|
2296
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2297
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
2123
2298
|
expected: "string",
|
|
2124
2299
|
value: elem
|
|
2125
2300
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2134,8 +2309,8 @@ var validChatRequest = (input) => {
|
|
|
2134
2309
|
path: _path2 + ".included_types",
|
|
2135
2310
|
expected: "(Array<string> | undefined)",
|
|
2136
2311
|
value: input3.included_types
|
|
2137
|
-
})) && input3.included_types.map((elem,
|
|
2138
|
-
path: _path2 + ".included_types[" +
|
|
2312
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2313
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
2139
2314
|
expected: "string",
|
|
2140
2315
|
value: elem
|
|
2141
2316
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2190,12 +2365,12 @@ var validChatRequest = (input) => {
|
|
|
2190
2365
|
path: _path2 + ".genes",
|
|
2191
2366
|
expected: "Array<GvGeneTerm>",
|
|
2192
2367
|
value: input3.genes
|
|
2193
|
-
})) && input3.genes.map((elem,
|
|
2194
|
-
path: _path2 + ".genes[" +
|
|
2368
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2369
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
2195
2370
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2196
2371
|
value: elem
|
|
2197
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2198
|
-
path: _path2 + ".genes[" +
|
|
2372
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2373
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
2199
2374
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2200
2375
|
value: elem
|
|
2201
2376
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2214,12 +2389,12 @@ var validChatRequest = (input) => {
|
|
|
2214
2389
|
path: _path2 + ".childTerms",
|
|
2215
2390
|
expected: "(Array<DtTerm> | undefined)",
|
|
2216
2391
|
value: input3.childTerms
|
|
2217
|
-
})) && input3.childTerms.map((elem,
|
|
2218
|
-
path: _path2 + ".childTerms[" +
|
|
2392
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2393
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
2219
2394
|
expected: "DtTerm",
|
|
2220
2395
|
value: elem
|
|
2221
|
-
})) && $
|
|
2222
|
-
path: _path2 + ".childTerms[" +
|
|
2396
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2397
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
2223
2398
|
expected: "DtTerm",
|
|
2224
2399
|
value: elem
|
|
2225
2400
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2227,7 +2402,7 @@ var validChatRequest = (input) => {
|
|
|
2227
2402
|
expected: "(Array<DtTerm> | undefined)",
|
|
2228
2403
|
value: input3.childTerms
|
|
2229
2404
|
})].every((flag) => flag);
|
|
2230
|
-
const $
|
|
2405
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2231
2406
|
path: _path2 + ".id",
|
|
2232
2407
|
expected: "string",
|
|
2233
2408
|
value: input3.id
|
|
@@ -2243,8 +2418,8 @@ var validChatRequest = (input) => {
|
|
|
2243
2418
|
path: _path2 + ".child_types",
|
|
2244
2419
|
expected: "(Array<string> | undefined)",
|
|
2245
2420
|
value: input3.child_types
|
|
2246
|
-
})) && input3.child_types.map((elem,
|
|
2247
|
-
path: _path2 + ".child_types[" +
|
|
2421
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2422
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
2248
2423
|
expected: "string",
|
|
2249
2424
|
value: elem
|
|
2250
2425
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2259,8 +2434,8 @@ var validChatRequest = (input) => {
|
|
|
2259
2434
|
path: _path2 + ".included_types",
|
|
2260
2435
|
expected: "(Array<string> | undefined)",
|
|
2261
2436
|
value: input3.included_types
|
|
2262
|
-
})) && input3.included_types.map((elem,
|
|
2263
|
-
path: _path2 + ".included_types[" +
|
|
2437
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2438
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
2264
2439
|
expected: "string",
|
|
2265
2440
|
value: elem
|
|
2266
2441
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2312,7 +2487,7 @@ var validChatRequest = (input) => {
|
|
|
2312
2487
|
expected: "(number | undefined)",
|
|
2313
2488
|
value: input3.stop
|
|
2314
2489
|
})].every((flag) => flag);
|
|
2315
|
-
const $
|
|
2490
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2316
2491
|
path: _path2 + ".id",
|
|
2317
2492
|
expected: "string",
|
|
2318
2493
|
value: input3.id
|
|
@@ -2328,8 +2503,8 @@ var validChatRequest = (input) => {
|
|
|
2328
2503
|
path: _path2 + ".child_types",
|
|
2329
2504
|
expected: "(Array<string> | undefined)",
|
|
2330
2505
|
value: input3.child_types
|
|
2331
|
-
})) && input3.child_types.map((elem,
|
|
2332
|
-
path: _path2 + ".child_types[" +
|
|
2506
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2507
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
2333
2508
|
expected: "string",
|
|
2334
2509
|
value: elem
|
|
2335
2510
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2344,8 +2519,8 @@ var validChatRequest = (input) => {
|
|
|
2344
2519
|
path: _path2 + ".included_types",
|
|
2345
2520
|
expected: "(Array<string> | undefined)",
|
|
2346
2521
|
value: input3.included_types
|
|
2347
|
-
})) && input3.included_types.map((elem,
|
|
2348
|
-
path: _path2 + ".included_types[" +
|
|
2522
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2523
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
2349
2524
|
expected: "string",
|
|
2350
2525
|
value: elem
|
|
2351
2526
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2393,7 +2568,7 @@ var validChatRequest = (input) => {
|
|
|
2393
2568
|
expected: "number",
|
|
2394
2569
|
value: input3.stop
|
|
2395
2570
|
})].every((flag) => flag);
|
|
2396
|
-
const $
|
|
2571
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2397
2572
|
path: _path2 + ".id",
|
|
2398
2573
|
expected: "string",
|
|
2399
2574
|
value: input3.id
|
|
@@ -2409,8 +2584,8 @@ var validChatRequest = (input) => {
|
|
|
2409
2584
|
path: _path2 + ".child_types",
|
|
2410
2585
|
expected: "(Array<string> | undefined)",
|
|
2411
2586
|
value: input3.child_types
|
|
2412
|
-
})) && input3.child_types.map((elem,
|
|
2413
|
-
path: _path2 + ".child_types[" +
|
|
2587
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2588
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2414
2589
|
expected: "string",
|
|
2415
2590
|
value: elem
|
|
2416
2591
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2425,8 +2600,8 @@ var validChatRequest = (input) => {
|
|
|
2425
2600
|
path: _path2 + ".included_types",
|
|
2426
2601
|
expected: "(Array<string> | undefined)",
|
|
2427
2602
|
value: input3.included_types
|
|
2428
|
-
})) && input3.included_types.map((elem,
|
|
2429
|
-
path: _path2 + ".included_types[" +
|
|
2603
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2604
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2430
2605
|
expected: "string",
|
|
2431
2606
|
value: elem
|
|
2432
2607
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2477,12 +2652,12 @@ var validChatRequest = (input) => {
|
|
|
2477
2652
|
path: _path2 + ".genes",
|
|
2478
2653
|
expected: "Array<GvGeneTerm>",
|
|
2479
2654
|
value: input3.genes
|
|
2480
|
-
})) && input3.genes.map((elem,
|
|
2481
|
-
path: _path2 + ".genes[" +
|
|
2655
|
+
})) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2656
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2482
2657
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2483
2658
|
value: elem
|
|
2484
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2485
|
-
path: _path2 + ".genes[" +
|
|
2659
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2660
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2486
2661
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2487
2662
|
value: elem
|
|
2488
2663
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2501,12 +2676,12 @@ var validChatRequest = (input) => {
|
|
|
2501
2676
|
path: _path2 + ".childTerms",
|
|
2502
2677
|
expected: "(Array<DtTerm> | undefined)",
|
|
2503
2678
|
value: input3.childTerms
|
|
2504
|
-
})) && input3.childTerms.map((elem,
|
|
2505
|
-
path: _path2 + ".childTerms[" +
|
|
2679
|
+
})) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2680
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2506
2681
|
expected: "DtTerm",
|
|
2507
2682
|
value: elem
|
|
2508
|
-
})) && $
|
|
2509
|
-
path: _path2 + ".childTerms[" +
|
|
2683
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2684
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2510
2685
|
expected: "DtTerm",
|
|
2511
2686
|
value: elem
|
|
2512
2687
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2514,20 +2689,52 @@ var validChatRequest = (input) => {
|
|
|
2514
2689
|
expected: "(Array<DtTerm> | undefined)",
|
|
2515
2690
|
value: input3.childTerms
|
|
2516
2691
|
})].every((flag) => flag);
|
|
2517
|
-
const $
|
|
2692
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2518
2693
|
path: _path2 + ".key",
|
|
2519
|
-
expected: "string",
|
|
2694
|
+
expected: "(string | undefined)",
|
|
2520
2695
|
value: input3.key
|
|
2521
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2696
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
2522
2697
|
path: _path2 + ".label",
|
|
2523
|
-
expected: "string",
|
|
2698
|
+
expected: "(number | string | undefined)",
|
|
2524
2699
|
value: input3.label
|
|
2525
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2700
|
+
}), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2526
2701
|
path: _path2 + ".value",
|
|
2527
|
-
expected: "string",
|
|
2702
|
+
expected: "(string | undefined)",
|
|
2528
2703
|
value: input3.value
|
|
2704
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2705
|
+
path: _path2 + ".dt",
|
|
2706
|
+
expected: "(number | undefined)",
|
|
2707
|
+
value: input3.dt
|
|
2708
|
+
}), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
|
|
2709
|
+
path: _path2 + ".mclasslst",
|
|
2710
|
+
expected: "(Array<string> | undefined)",
|
|
2711
|
+
value: input3.mclasslst
|
|
2712
|
+
})) && input3.mclasslst.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2713
|
+
path: _path2 + ".mclasslst[" + _index49 + "]",
|
|
2714
|
+
expected: "string",
|
|
2715
|
+
value: elem
|
|
2716
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2717
|
+
path: _path2 + ".mclasslst",
|
|
2718
|
+
expected: "(Array<string> | undefined)",
|
|
2719
|
+
value: input3.mclasslst
|
|
2720
|
+
}), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2721
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2722
|
+
expected: "(Array<string> | undefined)",
|
|
2723
|
+
value: input3.mclassExcludeLst
|
|
2724
|
+
})) && input3.mclassExcludeLst.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2725
|
+
path: _path2 + ".mclassExcludeLst[" + _index50 + "]",
|
|
2726
|
+
expected: "string",
|
|
2727
|
+
value: elem
|
|
2728
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2729
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2730
|
+
expected: "(Array<string> | undefined)",
|
|
2731
|
+
value: input3.mclassExcludeLst
|
|
2732
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2733
|
+
path: _path2 + ".origin",
|
|
2734
|
+
expected: "(string | undefined)",
|
|
2735
|
+
value: input3.origin
|
|
2529
2736
|
})].every((flag) => flag);
|
|
2530
|
-
const $
|
|
2737
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2531
2738
|
path: _path2 + ".join",
|
|
2532
2739
|
expected: "(string | undefined)",
|
|
2533
2740
|
value: input3.join
|
|
@@ -2535,11 +2742,31 @@ var validChatRequest = (input) => {
|
|
|
2535
2742
|
path: _path2 + ".isnot",
|
|
2536
2743
|
expected: "(boolean | undefined)",
|
|
2537
2744
|
value: input3.isnot
|
|
2745
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2746
|
+
path: _path2 + ".bar_by_grade",
|
|
2747
|
+
expected: "(boolean | undefined)",
|
|
2748
|
+
value: input3.bar_by_grade
|
|
2749
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2750
|
+
path: _path2 + ".bar_by_children",
|
|
2751
|
+
expected: "(boolean | undefined)",
|
|
2752
|
+
value: input3.bar_by_children
|
|
2753
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2754
|
+
path: _path2 + ".value_by_max_grade",
|
|
2755
|
+
expected: "(boolean | undefined)",
|
|
2756
|
+
value: input3.value_by_max_grade
|
|
2757
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2758
|
+
path: _path2 + ".value_by_most_recent",
|
|
2759
|
+
expected: "(boolean | undefined)",
|
|
2760
|
+
value: input3.value_by_most_recent
|
|
2761
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2762
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2763
|
+
expected: "(boolean | undefined)",
|
|
2764
|
+
value: input3.value_by_computable_grade
|
|
2538
2765
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2539
2766
|
path: _path2 + ".term",
|
|
2540
2767
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2541
2768
|
value: input3.term
|
|
2542
|
-
})) && $
|
|
2769
|
+
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2543
2770
|
path: _path2 + ".term",
|
|
2544
2771
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2545
2772
|
value: input3.term
|
|
@@ -2548,7 +2775,7 @@ var validChatRequest = (input) => {
|
|
|
2548
2775
|
expected: "number",
|
|
2549
2776
|
value: input3.ratio
|
|
2550
2777
|
})].every((flag) => flag);
|
|
2551
|
-
const $
|
|
2778
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2552
2779
|
path: _path2 + ".id",
|
|
2553
2780
|
expected: "string",
|
|
2554
2781
|
value: input3.id
|
|
@@ -2564,8 +2791,8 @@ var validChatRequest = (input) => {
|
|
|
2564
2791
|
path: _path2 + ".child_types",
|
|
2565
2792
|
expected: "(Array<string> | undefined)",
|
|
2566
2793
|
value: input3.child_types
|
|
2567
|
-
})) && input3.child_types.map((elem,
|
|
2568
|
-
path: _path2 + ".child_types[" +
|
|
2794
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2795
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
2569
2796
|
expected: "string",
|
|
2570
2797
|
value: elem
|
|
2571
2798
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2580,8 +2807,8 @@ var validChatRequest = (input) => {
|
|
|
2580
2807
|
path: _path2 + ".included_types",
|
|
2581
2808
|
expected: "(Array<string> | undefined)",
|
|
2582
2809
|
value: input3.included_types
|
|
2583
|
-
})) && input3.included_types.map((elem,
|
|
2584
|
-
path: _path2 + ".included_types[" +
|
|
2810
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2811
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
2585
2812
|
expected: "string",
|
|
2586
2813
|
value: elem
|
|
2587
2814
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2612,16 +2839,12 @@ var validChatRequest = (input) => {
|
|
|
2612
2839
|
path: _path2 + ".valueConversion",
|
|
2613
2840
|
expected: "(__type.o1 | undefined)",
|
|
2614
2841
|
value: input3.valueConversion
|
|
2615
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2616
|
-
path: _path2 + ".collectionId",
|
|
2617
|
-
expected: "(string | undefined)",
|
|
2618
|
-
value: input3.collectionId
|
|
2619
2842
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2620
2843
|
path: _path2 + ".termIds",
|
|
2621
2844
|
expected: "(Array<string> | undefined)",
|
|
2622
2845
|
value: input3.termIds
|
|
2623
|
-
})) && input3.termIds.map((elem,
|
|
2624
|
-
path: _path2 + ".termIds[" +
|
|
2846
|
+
})) && input3.termIds.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2847
|
+
path: _path2 + ".termIds[" + _index53 + "]",
|
|
2625
2848
|
expected: "string",
|
|
2626
2849
|
value: elem
|
|
2627
2850
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2632,12 +2855,12 @@ var validChatRequest = (input) => {
|
|
|
2632
2855
|
path: _path2 + ".termlst",
|
|
2633
2856
|
expected: "Array<BaseTerm>",
|
|
2634
2857
|
value: input3.termlst
|
|
2635
|
-
})) && input3.termlst.map((elem,
|
|
2636
|
-
path: _path2 + ".termlst[" +
|
|
2858
|
+
})) && input3.termlst.map((elem, _index54) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2859
|
+
path: _path2 + ".termlst[" + _index54 + "]",
|
|
2637
2860
|
expected: "BaseTerm",
|
|
2638
2861
|
value: elem
|
|
2639
|
-
})) && $
|
|
2640
|
-
path: _path2 + ".termlst[" +
|
|
2862
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2863
|
+
path: _path2 + ".termlst[" + _index54 + "]",
|
|
2641
2864
|
expected: "BaseTerm",
|
|
2642
2865
|
value: elem
|
|
2643
2866
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2650,11 +2873,11 @@ var validChatRequest = (input) => {
|
|
|
2650
2873
|
value: input3.newTvs
|
|
2651
2874
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2652
2875
|
path: _path2 + ".propsByTermId",
|
|
2653
|
-
expected: "__type.
|
|
2876
|
+
expected: "__type.o7",
|
|
2654
2877
|
value: input3.propsByTermId
|
|
2655
|
-
})) && $
|
|
2878
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2656
2879
|
path: _path2 + ".propsByTermId",
|
|
2657
|
-
expected: "__type.
|
|
2880
|
+
expected: "__type.o7",
|
|
2658
2881
|
value: input3.propsByTermId
|
|
2659
2882
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2660
2883
|
path: _path2 + ".memberType",
|
|
@@ -2664,8 +2887,8 @@ var validChatRequest = (input) => {
|
|
|
2664
2887
|
path: _path2 + ".numerators",
|
|
2665
2888
|
expected: "(Array<string> | undefined)",
|
|
2666
2889
|
value: input3.numerators
|
|
2667
|
-
})) && input3.numerators.map((elem,
|
|
2668
|
-
path: _path2 + ".numerators[" +
|
|
2890
|
+
})) && input3.numerators.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2891
|
+
path: _path2 + ".numerators[" + _index55 + "]",
|
|
2669
2892
|
expected: "string",
|
|
2670
2893
|
value: elem
|
|
2671
2894
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2673,7 +2896,7 @@ var validChatRequest = (input) => {
|
|
|
2673
2896
|
expected: "(Array<string> | undefined)",
|
|
2674
2897
|
value: input3.numerators
|
|
2675
2898
|
})].every((flag) => flag);
|
|
2676
|
-
const $
|
|
2899
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2677
2900
|
path: _path2 + ".id",
|
|
2678
2901
|
expected: "string",
|
|
2679
2902
|
value: input3.id
|
|
@@ -2689,8 +2912,8 @@ var validChatRequest = (input) => {
|
|
|
2689
2912
|
path: _path2 + ".child_types",
|
|
2690
2913
|
expected: "(Array<string> | undefined)",
|
|
2691
2914
|
value: input3.child_types
|
|
2692
|
-
})) && input3.child_types.map((elem,
|
|
2693
|
-
path: _path2 + ".child_types[" +
|
|
2915
|
+
})) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2916
|
+
path: _path2 + ".child_types[" + _index56 + "]",
|
|
2694
2917
|
expected: "string",
|
|
2695
2918
|
value: elem
|
|
2696
2919
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2705,8 +2928,8 @@ var validChatRequest = (input) => {
|
|
|
2705
2928
|
path: _path2 + ".included_types",
|
|
2706
2929
|
expected: "(Array<string> | undefined)",
|
|
2707
2930
|
value: input3.included_types
|
|
2708
|
-
})) && input3.included_types.map((elem,
|
|
2709
|
-
path: _path2 + ".included_types[" +
|
|
2931
|
+
})) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2932
|
+
path: _path2 + ".included_types[" + _index57 + "]",
|
|
2710
2933
|
expected: "string",
|
|
2711
2934
|
value: elem
|
|
2712
2935
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2738,23 +2961,23 @@ var validChatRequest = (input) => {
|
|
|
2738
2961
|
expected: "(__type.o1 | undefined)",
|
|
2739
2962
|
value: input3.valueConversion
|
|
2740
2963
|
})].every((flag) => flag);
|
|
2741
|
-
const $
|
|
2964
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2742
2965
|
const value = input3[key];
|
|
2743
2966
|
if (void 0 === value)
|
|
2744
2967
|
return true;
|
|
2745
2968
|
if (RegExp(/(.*)/).test(key))
|
|
2746
2969
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
2747
2970
|
path: _path2 + $join(key),
|
|
2748
|
-
expected: "__type.
|
|
2971
|
+
expected: "__type.o8",
|
|
2749
2972
|
value
|
|
2750
|
-
})) && $
|
|
2973
|
+
})) && $vo49(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2751
2974
|
path: _path2 + $join(key),
|
|
2752
|
-
expected: "__type.
|
|
2975
|
+
expected: "__type.o8",
|
|
2753
2976
|
value
|
|
2754
2977
|
});
|
|
2755
2978
|
return true;
|
|
2756
2979
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2757
|
-
const $
|
|
2980
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2758
2981
|
const value = input3[key];
|
|
2759
2982
|
if (void 0 === value)
|
|
2760
2983
|
return true;
|
|
@@ -2762,7 +2985,7 @@ var validChatRequest = (input) => {
|
|
|
2762
2985
|
return true;
|
|
2763
2986
|
return true;
|
|
2764
2987
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2765
|
-
const $
|
|
2988
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2766
2989
|
path: _path2 + ".id",
|
|
2767
2990
|
expected: "string",
|
|
2768
2991
|
value: input3.id
|
|
@@ -2778,8 +3001,8 @@ var validChatRequest = (input) => {
|
|
|
2778
3001
|
path: _path2 + ".child_types",
|
|
2779
3002
|
expected: "(Array<string> | undefined)",
|
|
2780
3003
|
value: input3.child_types
|
|
2781
|
-
})) && input3.child_types.map((elem,
|
|
2782
|
-
path: _path2 + ".child_types[" +
|
|
3004
|
+
})) && input3.child_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3005
|
+
path: _path2 + ".child_types[" + _index58 + "]",
|
|
2783
3006
|
expected: "string",
|
|
2784
3007
|
value: elem
|
|
2785
3008
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2794,8 +3017,8 @@ var validChatRequest = (input) => {
|
|
|
2794
3017
|
path: _path2 + ".included_types",
|
|
2795
3018
|
expected: "(Array<string> | undefined)",
|
|
2796
3019
|
value: input3.included_types
|
|
2797
|
-
})) && input3.included_types.map((elem,
|
|
2798
|
-
path: _path2 + ".included_types[" +
|
|
3020
|
+
})) && input3.included_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3021
|
+
path: _path2 + ".included_types[" + _index59 + "]",
|
|
2799
3022
|
expected: "string",
|
|
2800
3023
|
value: elem
|
|
2801
3024
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2826,16 +3049,12 @@ var validChatRequest = (input) => {
|
|
|
2826
3049
|
path: _path2 + ".valueConversion",
|
|
2827
3050
|
expected: "(__type.o1 | undefined)",
|
|
2828
3051
|
value: input3.valueConversion
|
|
2829
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2830
|
-
path: _path2 + ".collectionId",
|
|
2831
|
-
expected: "(string | undefined)",
|
|
2832
|
-
value: input3.collectionId
|
|
2833
3052
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2834
3053
|
path: _path2 + ".termIds",
|
|
2835
3054
|
expected: "(Array<string> | undefined)",
|
|
2836
3055
|
value: input3.termIds
|
|
2837
|
-
})) && input3.termIds.map((elem,
|
|
2838
|
-
path: _path2 + ".termIds[" +
|
|
3056
|
+
})) && input3.termIds.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3057
|
+
path: _path2 + ".termIds[" + _index60 + "]",
|
|
2839
3058
|
expected: "string",
|
|
2840
3059
|
value: elem
|
|
2841
3060
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2846,12 +3065,12 @@ var validChatRequest = (input) => {
|
|
|
2846
3065
|
path: _path2 + ".termlst",
|
|
2847
3066
|
expected: "Array<BaseTerm>",
|
|
2848
3067
|
value: input3.termlst
|
|
2849
|
-
})) && input3.termlst.map((elem,
|
|
2850
|
-
path: _path2 + ".termlst[" +
|
|
3068
|
+
})) && input3.termlst.map((elem, _index61) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3069
|
+
path: _path2 + ".termlst[" + _index61 + "]",
|
|
2851
3070
|
expected: "BaseTerm",
|
|
2852
3071
|
value: elem
|
|
2853
|
-
})) && $
|
|
2854
|
-
path: _path2 + ".termlst[" +
|
|
3072
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index61 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3073
|
+
path: _path2 + ".termlst[" + _index61 + "]",
|
|
2855
3074
|
expected: "BaseTerm",
|
|
2856
3075
|
value: elem
|
|
2857
3076
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2864,11 +3083,11 @@ var validChatRequest = (input) => {
|
|
|
2864
3083
|
value: input3.newTvs
|
|
2865
3084
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2866
3085
|
path: _path2 + ".propsByTermId",
|
|
2867
|
-
expected: "__type.
|
|
3086
|
+
expected: "__type.o7",
|
|
2868
3087
|
value: input3.propsByTermId
|
|
2869
|
-
})) && $
|
|
3088
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2870
3089
|
path: _path2 + ".propsByTermId",
|
|
2871
|
-
expected: "__type.
|
|
3090
|
+
expected: "__type.o7",
|
|
2872
3091
|
value: input3.propsByTermId
|
|
2873
3092
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
2874
3093
|
path: _path2 + ".memberType",
|
|
@@ -2878,12 +3097,12 @@ var validChatRequest = (input) => {
|
|
|
2878
3097
|
path: _path2 + ".categoryKeys",
|
|
2879
3098
|
expected: "Array<CategoryKey>",
|
|
2880
3099
|
value: input3.categoryKeys
|
|
2881
|
-
})) && input3.categoryKeys.map((elem,
|
|
2882
|
-
path: _path2 + ".categoryKeys[" +
|
|
3100
|
+
})) && input3.categoryKeys.map((elem, _index62) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3101
|
+
path: _path2 + ".categoryKeys[" + _index62 + "]",
|
|
2883
3102
|
expected: "CategoryKey",
|
|
2884
3103
|
value: elem
|
|
2885
|
-
})) && $
|
|
2886
|
-
path: _path2 + ".categoryKeys[" +
|
|
3104
|
+
})) && $vo51(elem, _path2 + ".categoryKeys[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3105
|
+
path: _path2 + ".categoryKeys[" + _index62 + "]",
|
|
2887
3106
|
expected: "CategoryKey",
|
|
2888
3107
|
value: elem
|
|
2889
3108
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2891,7 +3110,7 @@ var validChatRequest = (input) => {
|
|
|
2891
3110
|
expected: "Array<CategoryKey>",
|
|
2892
3111
|
value: input3.categoryKeys
|
|
2893
3112
|
})].every((flag) => flag);
|
|
2894
|
-
const $
|
|
3113
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2895
3114
|
path: _path2 + ".key",
|
|
2896
3115
|
expected: "string",
|
|
2897
3116
|
value: input3.key
|
|
@@ -2927,13 +3146,15 @@ var validChatRequest = (input) => {
|
|
|
2927
3146
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2928
3147
|
if (true === input3.stopunbounded)
|
|
2929
3148
|
return $vo21(input3, _path2, _exceptionable2);
|
|
3149
|
+
if (void 0 !== input3.value)
|
|
3150
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
2930
3151
|
return $vo20(input3, _path2, _exceptionable2);
|
|
2931
3152
|
})();
|
|
2932
3153
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2933
3154
|
if ("gene" === input3.kind)
|
|
2934
|
-
return $
|
|
3155
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
2935
3156
|
if ("coord" === input3.kind)
|
|
2936
|
-
return $
|
|
3157
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
2937
3158
|
return $report(_exceptionable2, {
|
|
2938
3159
|
path: _path2,
|
|
2939
3160
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2941,13 +3162,20 @@ var validChatRequest = (input) => {
|
|
|
2941
3162
|
});
|
|
2942
3163
|
})();
|
|
2943
3164
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3165
|
+
if (true === input3.startunbounded)
|
|
3166
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3167
|
+
if (true === input3.stopunbounded)
|
|
3168
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3169
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3170
|
+
})();
|
|
3171
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2944
3172
|
if (void 0 !== input3.ranges)
|
|
2945
3173
|
return $vo13(input3, _path2, _exceptionable2);
|
|
2946
3174
|
if (void 0 !== input3.ratio)
|
|
2947
|
-
return $
|
|
2948
|
-
return $vo3(input3, _path2, false) || $
|
|
3175
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3176
|
+
return $vo3(input3, _path2, false) || $vo34(input3, _path2, false) || $vo38(input3, _path2, false);
|
|
2949
3177
|
})();
|
|
2950
|
-
const $
|
|
3178
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2951
3179
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2952
3180
|
return $vo14(input3, _path2, _exceptionable2);
|
|
2953
3181
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -2962,7 +3190,7 @@ var validChatRequest = (input) => {
|
|
|
2962
3190
|
return $vo29(input3, _path2, _exceptionable2);
|
|
2963
3191
|
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
2964
3192
|
})();
|
|
2965
|
-
const $
|
|
3193
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2966
3194
|
if ("regular-bin" === input3.type)
|
|
2967
3195
|
return $vo17(input3, _path2, _exceptionable2);
|
|
2968
3196
|
if ("custom-bin" === input3.type)
|
|
@@ -2973,7 +3201,7 @@ var validChatRequest = (input) => {
|
|
|
2973
3201
|
value: input3
|
|
2974
3202
|
});
|
|
2975
3203
|
})();
|
|
2976
|
-
const $
|
|
3204
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2977
3205
|
if (true === input3.startunbounded)
|
|
2978
3206
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2979
3207
|
if (void 0 !== input3.start)
|
|
@@ -2984,7 +3212,7 @@ var validChatRequest = (input) => {
|
|
|
2984
3212
|
value: input3
|
|
2985
3213
|
});
|
|
2986
3214
|
})();
|
|
2987
|
-
const $
|
|
3215
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2988
3216
|
if (void 0 !== input3.stop)
|
|
2989
3217
|
return $vo20(input3, _path2, _exceptionable2);
|
|
2990
3218
|
if (true === input3.stopunbounded)
|
|
@@ -2995,22 +3223,22 @@ var validChatRequest = (input) => {
|
|
|
2995
3223
|
value: input3
|
|
2996
3224
|
});
|
|
2997
3225
|
})();
|
|
2998
|
-
const $
|
|
3226
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2999
3227
|
if ("gene" === input3.kind)
|
|
3000
|
-
return $
|
|
3228
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
3001
3229
|
if ("coord" === input3.kind)
|
|
3002
|
-
return $
|
|
3230
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3003
3231
|
return $report(_exceptionable2, {
|
|
3004
3232
|
path: _path2,
|
|
3005
3233
|
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; })',
|
|
3006
3234
|
value: input3
|
|
3007
3235
|
});
|
|
3008
3236
|
})();
|
|
3009
|
-
const $
|
|
3237
|
+
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3010
3238
|
if ("numeric" === input3.memberType)
|
|
3011
|
-
return $
|
|
3239
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3012
3240
|
if ("categorical" === input3.memberType)
|
|
3013
|
-
return $
|
|
3241
|
+
return $vo50(input3, _path2, _exceptionable2);
|
|
3014
3242
|
return $report(_exceptionable2, {
|
|
3015
3243
|
path: _path2,
|
|
3016
3244
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|