@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
|
@@ -23,9 +23,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
25
25
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.type && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true;
|
|
26
|
-
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)));
|
|
27
|
-
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
28
|
-
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)));
|
|
26
|
+
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);
|
|
27
|
+
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
28
|
+
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);
|
|
29
29
|
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));
|
|
30
30
|
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
31
31
|
const value = input3[key];
|
|
@@ -44,11 +44,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
44
44
|
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);
|
|
45
45
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
46
46
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
47
|
-
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 && $
|
|
47
|
+
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)));
|
|
48
48
|
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));
|
|
49
49
|
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
50
|
-
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $
|
|
51
|
-
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 && $
|
|
50
|
+
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);
|
|
51
|
+
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);
|
|
52
52
|
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
53
53
|
const value = input3[key];
|
|
54
54
|
if (void 0 === value)
|
|
@@ -60,7 +60,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
60
60
|
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);
|
|
61
61
|
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);
|
|
62
62
|
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);
|
|
63
|
-
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] && $
|
|
63
|
+
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);
|
|
64
64
|
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);
|
|
65
65
|
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;
|
|
66
66
|
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));
|
|
@@ -70,29 +70,40 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
70
70
|
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));
|
|
71
71
|
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);
|
|
72
72
|
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;
|
|
73
|
-
const $io32 = (input3) => "
|
|
74
|
-
const $io33 = (input3) =>
|
|
75
|
-
const $io34 = (input3) =>
|
|
76
|
-
const $io35 = (input3) => "
|
|
77
|
-
const $io36 = (input3) =>
|
|
78
|
-
const $io37 = (input3) => "string" === typeof input3.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
73
|
+
const $io32 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
75
|
+
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)));
|
|
76
|
+
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));
|
|
77
|
+
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;
|
|
78
|
+
const $io37 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
79
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
80
|
+
return true;
|
|
81
|
+
const value = input3[key];
|
|
82
|
+
if (void 0 === value)
|
|
83
|
+
return true;
|
|
84
|
+
if (RegExp(/(.*)/).test(key))
|
|
85
|
+
return true;
|
|
86
|
+
return true;
|
|
87
|
+
});
|
|
88
|
+
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);
|
|
89
|
+
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));
|
|
90
|
+
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)));
|
|
91
|
+
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);
|
|
92
|
+
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;
|
|
93
|
+
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)));
|
|
94
|
+
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);
|
|
95
|
+
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;
|
|
96
|
+
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));
|
|
97
|
+
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));
|
|
98
|
+
const $io48 = (input3) => Object.keys(input3).every((key) => {
|
|
88
99
|
const value = input3[key];
|
|
89
100
|
if (void 0 === value)
|
|
90
101
|
return true;
|
|
91
102
|
if (RegExp(/(.*)/).test(key))
|
|
92
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
103
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io49(value);
|
|
93
104
|
return true;
|
|
94
105
|
});
|
|
95
|
-
const $
|
|
106
|
+
const $io49 = (input3) => Object.keys(input3).every((key) => {
|
|
96
107
|
const value = input3[key];
|
|
97
108
|
if (void 0 === value)
|
|
98
109
|
return true;
|
|
@@ -100,8 +111,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
100
111
|
return true;
|
|
101
112
|
return true;
|
|
102
113
|
});
|
|
103
|
-
const $
|
|
104
|
-
const $
|
|
114
|
+
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)));
|
|
115
|
+
const $io51 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
105
116
|
const $iu0 = (input3) => (() => {
|
|
106
117
|
if ("tvslst" === input3.type)
|
|
107
118
|
return $io1(input3);
|
|
@@ -121,31 +132,40 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
121
132
|
return $io19(input3);
|
|
122
133
|
if (true === input3.stopunbounded)
|
|
123
134
|
return $io21(input3);
|
|
135
|
+
if (void 0 !== input3.value)
|
|
136
|
+
return $io32(input3);
|
|
124
137
|
return $io20(input3);
|
|
125
138
|
})();
|
|
126
139
|
const $iu3 = (input3) => (() => {
|
|
127
140
|
if ("gene" === input3.kind)
|
|
128
|
-
return $
|
|
141
|
+
return $io41(input3);
|
|
129
142
|
if ("coord" === input3.kind)
|
|
130
|
-
return $
|
|
143
|
+
return $io42(input3);
|
|
131
144
|
return false;
|
|
132
145
|
})();
|
|
133
146
|
const $iu4 = (input3) => (() => {
|
|
147
|
+
if (true === input3.startunbounded)
|
|
148
|
+
return $io19(input3);
|
|
149
|
+
if (true === input3.stopunbounded)
|
|
150
|
+
return $io21(input3);
|
|
151
|
+
return $io20(input3);
|
|
152
|
+
})();
|
|
153
|
+
const $iu5 = (input3) => (() => {
|
|
134
154
|
if (void 0 !== input3.ranges)
|
|
135
155
|
return $io13(input3);
|
|
136
156
|
if (void 0 !== input3.ratio)
|
|
137
|
-
return $
|
|
157
|
+
return $io45(input3);
|
|
138
158
|
return (() => {
|
|
139
159
|
if ($io3(input3))
|
|
140
160
|
return $io3(input3);
|
|
141
|
-
if ($
|
|
142
|
-
return $
|
|
143
|
-
if ($
|
|
144
|
-
return $
|
|
161
|
+
if ($io34(input3))
|
|
162
|
+
return $io34(input3);
|
|
163
|
+
if ($io38(input3))
|
|
164
|
+
return $io38(input3);
|
|
145
165
|
return false;
|
|
146
166
|
})();
|
|
147
167
|
})();
|
|
148
|
-
const $
|
|
168
|
+
const $iu6 = (input3) => (() => {
|
|
149
169
|
if ("integer" === input3.type || "float" === input3.type)
|
|
150
170
|
return $io14(input3);
|
|
151
171
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -170,39 +190,39 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
170
190
|
return false;
|
|
171
191
|
})();
|
|
172
192
|
})();
|
|
173
|
-
const $
|
|
193
|
+
const $iu7 = (input3) => (() => {
|
|
174
194
|
if ("regular-bin" === input3.type)
|
|
175
195
|
return $io17(input3);
|
|
176
196
|
if ("custom-bin" === input3.type)
|
|
177
197
|
return $io22(input3);
|
|
178
198
|
return false;
|
|
179
199
|
})();
|
|
180
|
-
const $
|
|
200
|
+
const $iu8 = (input3) => (() => {
|
|
181
201
|
if (true === input3.startunbounded)
|
|
182
202
|
return $io19(input3);
|
|
183
203
|
if (void 0 !== input3.start)
|
|
184
204
|
return $io20(input3);
|
|
185
205
|
return false;
|
|
186
206
|
})();
|
|
187
|
-
const $
|
|
207
|
+
const $iu9 = (input3) => (() => {
|
|
188
208
|
if (void 0 !== input3.stop)
|
|
189
209
|
return $io20(input3);
|
|
190
210
|
if (true === input3.stopunbounded)
|
|
191
211
|
return $io21(input3);
|
|
192
212
|
return false;
|
|
193
213
|
})();
|
|
194
|
-
const $
|
|
214
|
+
const $iu10 = (input3) => (() => {
|
|
195
215
|
if ("gene" === input3.kind)
|
|
196
|
-
return $
|
|
216
|
+
return $io40(input3);
|
|
197
217
|
if ("coord" === input3.kind)
|
|
198
|
-
return $
|
|
218
|
+
return $io43(input3);
|
|
199
219
|
return false;
|
|
200
220
|
})();
|
|
201
|
-
const $
|
|
221
|
+
const $iu11 = (input3) => (() => {
|
|
202
222
|
if ("numeric" === input3.memberType)
|
|
203
|
-
return $
|
|
223
|
+
return $io46(input3);
|
|
204
224
|
if ("categorical" === input3.memberType)
|
|
205
|
-
return $
|
|
225
|
+
return $io50(input3);
|
|
206
226
|
return false;
|
|
207
227
|
})();
|
|
208
228
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -264,6 +284,10 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
264
284
|
path: _path2 + ".lst",
|
|
265
285
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
266
286
|
value: input3.lst
|
|
287
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
288
|
+
path: _path2 + ".$id",
|
|
289
|
+
expected: "(string | undefined)",
|
|
290
|
+
value: input3.$id
|
|
267
291
|
})].every((flag) => flag);
|
|
268
292
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
269
293
|
path: _path2 + ".type",
|
|
@@ -273,7 +297,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
273
297
|
path: _path2 + ".tvs",
|
|
274
298
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
275
299
|
value: input3.tvs
|
|
276
|
-
})) && $
|
|
300
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
277
301
|
path: _path2 + ".tvs",
|
|
278
302
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
279
303
|
value: input3.tvs
|
|
@@ -286,6 +310,26 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
286
310
|
path: _path2 + ".isnot",
|
|
287
311
|
expected: "(boolean | undefined)",
|
|
288
312
|
value: input3.isnot
|
|
313
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
314
|
+
path: _path2 + ".bar_by_grade",
|
|
315
|
+
expected: "(boolean | undefined)",
|
|
316
|
+
value: input3.bar_by_grade
|
|
317
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
318
|
+
path: _path2 + ".bar_by_children",
|
|
319
|
+
expected: "(boolean | undefined)",
|
|
320
|
+
value: input3.bar_by_children
|
|
321
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
322
|
+
path: _path2 + ".value_by_max_grade",
|
|
323
|
+
expected: "(boolean | undefined)",
|
|
324
|
+
value: input3.value_by_max_grade
|
|
325
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
326
|
+
path: _path2 + ".value_by_most_recent",
|
|
327
|
+
expected: "(boolean | undefined)",
|
|
328
|
+
value: input3.value_by_most_recent
|
|
329
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
330
|
+
path: _path2 + ".value_by_computable_grade",
|
|
331
|
+
expected: "(boolean | undefined)",
|
|
332
|
+
value: input3.value_by_computable_grade
|
|
289
333
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
290
334
|
path: _path2 + ".term",
|
|
291
335
|
expected: "CategoricalTerm",
|
|
@@ -314,6 +358,10 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
314
358
|
path: _path2 + ".values",
|
|
315
359
|
expected: "Array<BaseValue>",
|
|
316
360
|
value: input3.values
|
|
361
|
+
}), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
|
|
362
|
+
path: _path2 + ".valueset",
|
|
363
|
+
expected: "(Set<any> | undefined)",
|
|
364
|
+
value: input3.valueset
|
|
317
365
|
})].every((flag) => flag);
|
|
318
366
|
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
319
367
|
path: _path2 + ".id",
|
|
@@ -581,45 +629,65 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
581
629
|
path: _path2 + ".isnot",
|
|
582
630
|
expected: "(boolean | undefined)",
|
|
583
631
|
value: input3.isnot
|
|
632
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
633
|
+
path: _path2 + ".bar_by_grade",
|
|
634
|
+
expected: "(boolean | undefined)",
|
|
635
|
+
value: input3.bar_by_grade
|
|
636
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
637
|
+
path: _path2 + ".bar_by_children",
|
|
638
|
+
expected: "(boolean | undefined)",
|
|
639
|
+
value: input3.bar_by_children
|
|
640
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
641
|
+
path: _path2 + ".value_by_max_grade",
|
|
642
|
+
expected: "(boolean | undefined)",
|
|
643
|
+
value: input3.value_by_max_grade
|
|
644
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
645
|
+
path: _path2 + ".value_by_most_recent",
|
|
646
|
+
expected: "(boolean | undefined)",
|
|
647
|
+
value: input3.value_by_most_recent
|
|
648
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
649
|
+
path: _path2 + ".value_by_computable_grade",
|
|
650
|
+
expected: "(boolean | undefined)",
|
|
651
|
+
value: input3.value_by_computable_grade
|
|
584
652
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
585
653
|
path: _path2 + ".term",
|
|
586
654
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | 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)',
|
|
587
655
|
value: input3.term
|
|
588
|
-
})) && $
|
|
656
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
589
657
|
path: _path2 + ".term",
|
|
590
658
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | 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)',
|
|
591
659
|
value: input3.term
|
|
592
660
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
593
661
|
path: _path2 + ".ranges",
|
|
594
|
-
expected: "Array<NumericBin>",
|
|
662
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
595
663
|
value: input3.ranges
|
|
596
664
|
})) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
597
665
|
path: _path2 + ".ranges[" + _index8 + "]",
|
|
598
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
666
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
599
667
|
value: elem
|
|
600
668
|
})) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
601
669
|
path: _path2 + ".ranges[" + _index8 + "]",
|
|
602
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
670
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
603
671
|
value: elem
|
|
604
672
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
605
673
|
path: _path2 + ".ranges",
|
|
606
|
-
expected: "Array<NumericBin>",
|
|
674
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
607
675
|
value: input3.ranges
|
|
608
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
676
|
+
}), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
609
677
|
path: _path2 + ".values",
|
|
610
|
-
expected: "Array<__type>.o1",
|
|
678
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
611
679
|
value: input3.values
|
|
612
680
|
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
613
681
|
path: _path2 + ".values[" + _index9 + "]",
|
|
614
|
-
expected: "__type.
|
|
682
|
+
expected: "__type.o5",
|
|
615
683
|
value: elem
|
|
616
|
-
})) && $
|
|
684
|
+
})) && $vo33(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
617
685
|
path: _path2 + ".values[" + _index9 + "]",
|
|
618
|
-
expected: "__type.
|
|
686
|
+
expected: "__type.o5",
|
|
619
687
|
value: elem
|
|
620
688
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
621
689
|
path: _path2 + ".values",
|
|
622
|
-
expected: "Array<__type>.o1",
|
|
690
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
623
691
|
value: input3.values
|
|
624
692
|
})].every((flag) => flag);
|
|
625
693
|
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -720,7 +788,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
720
788
|
path: _path2 + '["default"]',
|
|
721
789
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
722
790
|
value: input3["default"]
|
|
723
|
-
})) && $
|
|
791
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
724
792
|
path: _path2 + '["default"]',
|
|
725
793
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
726
794
|
value: input3["default"]
|
|
@@ -728,7 +796,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
728
796
|
path: _path2 + ".less",
|
|
729
797
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
730
798
|
value: input3.less
|
|
731
|
-
})) && $
|
|
799
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
732
800
|
path: _path2 + ".less",
|
|
733
801
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
734
802
|
value: input3.less
|
|
@@ -789,7 +857,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
789
857
|
path: _path2 + ".first_bin",
|
|
790
858
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
791
859
|
value: input3.first_bin
|
|
792
|
-
})) && $
|
|
860
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
793
861
|
path: _path2 + ".first_bin",
|
|
794
862
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
795
863
|
value: input3.first_bin
|
|
@@ -797,7 +865,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
797
865
|
path: _path2 + ".last_bin",
|
|
798
866
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
799
867
|
value: input3.last_bin
|
|
800
|
-
})) && $
|
|
868
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
801
869
|
path: _path2 + ".last_bin",
|
|
802
870
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
803
871
|
value: input3.last_bin
|
|
@@ -962,7 +1030,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
962
1030
|
path: _path2 + ".lst[0]",
|
|
963
1031
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
964
1032
|
value: input3.lst[0]
|
|
965
|
-
})) && $
|
|
1033
|
+
})) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
966
1034
|
path: _path2 + ".lst[0]",
|
|
967
1035
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
968
1036
|
value: input3.lst[0]
|
|
@@ -975,7 +1043,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
975
1043
|
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
976
1044
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
977
1045
|
value: elem
|
|
978
|
-
})) && $
|
|
1046
|
+
})) && $vu4(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
979
1047
|
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
980
1048
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
981
1049
|
value: elem
|
|
@@ -1881,7 +1949,20 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1881
1949
|
expected: "number",
|
|
1882
1950
|
value: input3.stop
|
|
1883
1951
|
})].every((flag) => flag);
|
|
1884
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["
|
|
1952
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
1953
|
+
path: _path2 + ".value",
|
|
1954
|
+
expected: "number",
|
|
1955
|
+
value: input3.value
|
|
1956
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1957
|
+
path: _path2 + ".label",
|
|
1958
|
+
expected: "(string | undefined)",
|
|
1959
|
+
value: input3.label
|
|
1960
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1961
|
+
path: _path2 + ".name",
|
|
1962
|
+
expected: "(string | undefined)",
|
|
1963
|
+
value: input3.name
|
|
1964
|
+
})].every((flag) => flag);
|
|
1965
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1885
1966
|
path: _path2 + ".key",
|
|
1886
1967
|
expected: "string",
|
|
1887
1968
|
value: input3.key
|
|
@@ -1898,7 +1979,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1898
1979
|
expected: "(string | undefined)",
|
|
1899
1980
|
value: input3.label
|
|
1900
1981
|
})].every((flag) => flag);
|
|
1901
|
-
const $
|
|
1982
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1902
1983
|
path: _path2 + ".join",
|
|
1903
1984
|
expected: "(string | undefined)",
|
|
1904
1985
|
value: input3.join
|
|
@@ -1906,14 +1987,14 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1906
1987
|
path: _path2 + ".isnot",
|
|
1907
1988
|
expected: "(boolean | undefined)",
|
|
1908
1989
|
value: input3.isnot
|
|
1909
|
-
}),
|
|
1910
|
-
path: _path2 + ".
|
|
1911
|
-
expected: "
|
|
1912
|
-
value: input3.
|
|
1913
|
-
})
|
|
1914
|
-
path: _path2 + ".
|
|
1915
|
-
expected: "
|
|
1916
|
-
value: input3.
|
|
1990
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
1991
|
+
path: _path2 + ".bar_by_grade",
|
|
1992
|
+
expected: "(boolean | undefined)",
|
|
1993
|
+
value: input3.bar_by_grade
|
|
1994
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
1995
|
+
path: _path2 + ".bar_by_children",
|
|
1996
|
+
expected: "(boolean | undefined)",
|
|
1997
|
+
value: input3.bar_by_children
|
|
1917
1998
|
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1918
1999
|
path: _path2 + ".value_by_max_grade",
|
|
1919
2000
|
expected: "(boolean | undefined)",
|
|
@@ -1926,6 +2007,14 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1926
2007
|
path: _path2 + ".value_by_computable_grade",
|
|
1927
2008
|
expected: "(boolean | undefined)",
|
|
1928
2009
|
value: input3.value_by_computable_grade
|
|
2010
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2011
|
+
path: _path2 + ".term",
|
|
2012
|
+
expected: "ConditionTerm",
|
|
2013
|
+
value: input3.term
|
|
2014
|
+
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2015
|
+
path: _path2 + ".term",
|
|
2016
|
+
expected: "ConditionTerm",
|
|
2017
|
+
value: input3.term
|
|
1929
2018
|
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1930
2019
|
path: _path2 + ".grade_and_child",
|
|
1931
2020
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
@@ -1934,7 +2023,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1934
2023
|
path: _path2 + ".grade_and_child[" + _index32 + "]",
|
|
1935
2024
|
expected: "GradeAndChildEntry",
|
|
1936
2025
|
value: elem
|
|
1937
|
-
})) && $
|
|
2026
|
+
})) && $vo36(elem, _path2 + ".grade_and_child[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1938
2027
|
path: _path2 + ".grade_and_child[" + _index32 + "]",
|
|
1939
2028
|
expected: "GradeAndChildEntry",
|
|
1940
2029
|
value: elem
|
|
@@ -1942,8 +2031,24 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1942
2031
|
path: _path2 + ".grade_and_child",
|
|
1943
2032
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1944
2033
|
value: input3.grade_and_child
|
|
2034
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2035
|
+
path: _path2 + ".values",
|
|
2036
|
+
expected: "Array<__type>.o2",
|
|
2037
|
+
value: input3.values
|
|
2038
|
+
})) && input3.values.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2039
|
+
path: _path2 + ".values[" + _index33 + "]",
|
|
2040
|
+
expected: "__type.o6",
|
|
2041
|
+
value: elem
|
|
2042
|
+
})) && $vo37(elem, _path2 + ".values[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2043
|
+
path: _path2 + ".values[" + _index33 + "]",
|
|
2044
|
+
expected: "__type.o6",
|
|
2045
|
+
value: elem
|
|
2046
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2047
|
+
path: _path2 + ".values",
|
|
2048
|
+
expected: "Array<__type>.o2",
|
|
2049
|
+
value: input3.values
|
|
1945
2050
|
})].every((flag) => flag);
|
|
1946
|
-
const $
|
|
2051
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1947
2052
|
path: _path2 + ".id",
|
|
1948
2053
|
expected: "string",
|
|
1949
2054
|
value: input3.id
|
|
@@ -1959,8 +2064,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1959
2064
|
path: _path2 + ".child_types",
|
|
1960
2065
|
expected: "(Array<string> | undefined)",
|
|
1961
2066
|
value: input3.child_types
|
|
1962
|
-
})) && input3.child_types.map((elem,
|
|
1963
|
-
path: _path2 + ".child_types[" +
|
|
2067
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2068
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1964
2069
|
expected: "string",
|
|
1965
2070
|
value: elem
|
|
1966
2071
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1975,8 +2080,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1975
2080
|
path: _path2 + ".included_types",
|
|
1976
2081
|
expected: "(Array<string> | undefined)",
|
|
1977
2082
|
value: input3.included_types
|
|
1978
|
-
})) && input3.included_types.map((elem,
|
|
1979
|
-
path: _path2 + ".included_types[" +
|
|
2083
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2084
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1980
2085
|
expected: "string",
|
|
1981
2086
|
value: elem
|
|
1982
2087
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2008,7 +2113,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2008
2113
|
expected: "(__type.o1 | undefined)",
|
|
2009
2114
|
value: input3.valueConversion
|
|
2010
2115
|
})].every((flag) => flag);
|
|
2011
|
-
const $
|
|
2116
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2012
2117
|
path: _path2 + ".grade",
|
|
2013
2118
|
expected: "number",
|
|
2014
2119
|
value: input3.grade
|
|
@@ -2025,7 +2130,25 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2025
2130
|
expected: "string",
|
|
2026
2131
|
value: input3.child_label
|
|
2027
2132
|
})].every((flag) => flag);
|
|
2028
|
-
const $
|
|
2133
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2134
|
+
path: _path2 + ".key",
|
|
2135
|
+
expected: "(number | string)",
|
|
2136
|
+
value: input3.key
|
|
2137
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2138
|
+
path: _path2 + ".label",
|
|
2139
|
+
expected: "(string | undefined)",
|
|
2140
|
+
value: input3.label
|
|
2141
|
+
}), false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2142
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
2143
|
+
return true;
|
|
2144
|
+
const value = input3[key];
|
|
2145
|
+
if (void 0 === value)
|
|
2146
|
+
return true;
|
|
2147
|
+
if (RegExp(/(.*)/).test(key))
|
|
2148
|
+
return true;
|
|
2149
|
+
return true;
|
|
2150
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
2151
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2029
2152
|
path: _path2 + ".join",
|
|
2030
2153
|
expected: "(string | undefined)",
|
|
2031
2154
|
value: input3.join
|
|
@@ -2033,29 +2156,49 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2033
2156
|
path: _path2 + ".isnot",
|
|
2034
2157
|
expected: "(boolean | undefined)",
|
|
2035
2158
|
value: input3.isnot
|
|
2159
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2160
|
+
path: _path2 + ".bar_by_grade",
|
|
2161
|
+
expected: "(boolean | undefined)",
|
|
2162
|
+
value: input3.bar_by_grade
|
|
2163
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2164
|
+
path: _path2 + ".bar_by_children",
|
|
2165
|
+
expected: "(boolean | undefined)",
|
|
2166
|
+
value: input3.bar_by_children
|
|
2167
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2168
|
+
path: _path2 + ".value_by_max_grade",
|
|
2169
|
+
expected: "(boolean | undefined)",
|
|
2170
|
+
value: input3.value_by_max_grade
|
|
2171
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2172
|
+
path: _path2 + ".value_by_most_recent",
|
|
2173
|
+
expected: "(boolean | undefined)",
|
|
2174
|
+
value: input3.value_by_most_recent
|
|
2175
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2176
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2177
|
+
expected: "(boolean | undefined)",
|
|
2178
|
+
value: input3.value_by_computable_grade
|
|
2036
2179
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2037
2180
|
path: _path2 + ".term",
|
|
2038
2181
|
expected: "DtTerm",
|
|
2039
2182
|
value: input3.term
|
|
2040
|
-
})) && $
|
|
2183
|
+
})) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2041
2184
|
path: _path2 + ".term",
|
|
2042
2185
|
expected: "DtTerm",
|
|
2043
2186
|
value: input3.term
|
|
2044
2187
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2045
2188
|
path: _path2 + ".values",
|
|
2046
|
-
expected: "Array<
|
|
2189
|
+
expected: "Array<GeneVariantValue>",
|
|
2047
2190
|
value: input3.values
|
|
2048
|
-
})) && input3.values.map((elem,
|
|
2049
|
-
path: _path2 + ".values[" +
|
|
2050
|
-
expected: "
|
|
2191
|
+
})) && input3.values.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2192
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2193
|
+
expected: "GeneVariantValue",
|
|
2051
2194
|
value: elem
|
|
2052
|
-
})) && $
|
|
2053
|
-
path: _path2 + ".values[" +
|
|
2054
|
-
expected: "
|
|
2195
|
+
})) && $vo44(elem, _path2 + ".values[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2196
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2197
|
+
expected: "GeneVariantValue",
|
|
2055
2198
|
value: elem
|
|
2056
2199
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2057
2200
|
path: _path2 + ".values",
|
|
2058
|
-
expected: "Array<
|
|
2201
|
+
expected: "Array<GeneVariantValue>",
|
|
2059
2202
|
value: input3.values
|
|
2060
2203
|
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2061
2204
|
path: _path2 + ".includeNotTested",
|
|
@@ -2065,8 +2208,40 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2065
2208
|
path: _path2 + ".excludeGeneName",
|
|
2066
2209
|
expected: "(boolean | undefined)",
|
|
2067
2210
|
value: input3.excludeGeneName
|
|
2211
|
+
}), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
|
|
2212
|
+
path: _path2 + ".genotype",
|
|
2213
|
+
expected: '("nt" | "variant" | "wt" | undefined)',
|
|
2214
|
+
value: input3.genotype
|
|
2215
|
+
}), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
|
|
2216
|
+
path: _path2 + ".mcount",
|
|
2217
|
+
expected: '("all" | "any" | "multiple" | "single" | undefined)',
|
|
2218
|
+
value: input3.mcount
|
|
2219
|
+
}), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
|
|
2220
|
+
path: _path2 + ".continuousCnv",
|
|
2221
|
+
expected: "(boolean | undefined)",
|
|
2222
|
+
value: input3.continuousCnv
|
|
2223
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
2224
|
+
path: _path2 + ".cnvLossCutoff",
|
|
2225
|
+
expected: "(number | undefined)",
|
|
2226
|
+
value: input3.cnvLossCutoff
|
|
2227
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
2228
|
+
path: _path2 + ".cnvGainCutoff",
|
|
2229
|
+
expected: "(number | undefined)",
|
|
2230
|
+
value: input3.cnvGainCutoff
|
|
2231
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
2232
|
+
path: _path2 + ".cnvMaxLength",
|
|
2233
|
+
expected: "(number | undefined)",
|
|
2234
|
+
value: input3.cnvMaxLength
|
|
2235
|
+
}), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
|
|
2236
|
+
path: _path2 + ".cnvWT",
|
|
2237
|
+
expected: "(boolean | undefined)",
|
|
2238
|
+
value: input3.cnvWT
|
|
2239
|
+
}), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
|
|
2240
|
+
path: _path2 + ".fractionOverlap",
|
|
2241
|
+
expected: "(number | undefined)",
|
|
2242
|
+
value: input3.fractionOverlap
|
|
2068
2243
|
})].every((flag) => flag);
|
|
2069
|
-
const $
|
|
2244
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2070
2245
|
path: _path2 + ".id",
|
|
2071
2246
|
expected: "string",
|
|
2072
2247
|
value: input3.id
|
|
@@ -2086,7 +2261,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2086
2261
|
path: _path2 + ".parentTerm",
|
|
2087
2262
|
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)',
|
|
2088
2263
|
value: input3.parentTerm
|
|
2089
|
-
})) && $
|
|
2264
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2090
2265
|
path: _path2 + ".parentTerm",
|
|
2091
2266
|
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)',
|
|
2092
2267
|
value: input3.parentTerm
|
|
@@ -2115,7 +2290,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2115
2290
|
expected: "TermValues",
|
|
2116
2291
|
value: input3.values
|
|
2117
2292
|
})].every((flag) => flag);
|
|
2118
|
-
const $
|
|
2293
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2119
2294
|
path: _path2 + ".id",
|
|
2120
2295
|
expected: "string",
|
|
2121
2296
|
value: input3.id
|
|
@@ -2131,8 +2306,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2131
2306
|
path: _path2 + ".child_types",
|
|
2132
2307
|
expected: "(Array<string> | undefined)",
|
|
2133
2308
|
value: input3.child_types
|
|
2134
|
-
})) && input3.child_types.map((elem,
|
|
2135
|
-
path: _path2 + ".child_types[" +
|
|
2309
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2310
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
2136
2311
|
expected: "string",
|
|
2137
2312
|
value: elem
|
|
2138
2313
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2147,8 +2322,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2147
2322
|
path: _path2 + ".included_types",
|
|
2148
2323
|
expected: "(Array<string> | undefined)",
|
|
2149
2324
|
value: input3.included_types
|
|
2150
|
-
})) && input3.included_types.map((elem,
|
|
2151
|
-
path: _path2 + ".included_types[" +
|
|
2325
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2326
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
2152
2327
|
expected: "string",
|
|
2153
2328
|
value: elem
|
|
2154
2329
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2203,12 +2378,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2203
2378
|
path: _path2 + ".genes",
|
|
2204
2379
|
expected: "Array<GvGeneTerm>",
|
|
2205
2380
|
value: input3.genes
|
|
2206
|
-
})) && input3.genes.map((elem,
|
|
2207
|
-
path: _path2 + ".genes[" +
|
|
2381
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2382
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
2208
2383
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2209
2384
|
value: elem
|
|
2210
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2211
|
-
path: _path2 + ".genes[" +
|
|
2385
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2386
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
2212
2387
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2213
2388
|
value: elem
|
|
2214
2389
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2227,12 +2402,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2227
2402
|
path: _path2 + ".childTerms",
|
|
2228
2403
|
expected: "(Array<DtTerm> | undefined)",
|
|
2229
2404
|
value: input3.childTerms
|
|
2230
|
-
})) && input3.childTerms.map((elem,
|
|
2231
|
-
path: _path2 + ".childTerms[" +
|
|
2405
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2406
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
2232
2407
|
expected: "DtTerm",
|
|
2233
2408
|
value: elem
|
|
2234
|
-
})) && $
|
|
2235
|
-
path: _path2 + ".childTerms[" +
|
|
2409
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2410
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
2236
2411
|
expected: "DtTerm",
|
|
2237
2412
|
value: elem
|
|
2238
2413
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2240,7 +2415,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2240
2415
|
expected: "(Array<DtTerm> | undefined)",
|
|
2241
2416
|
value: input3.childTerms
|
|
2242
2417
|
})].every((flag) => flag);
|
|
2243
|
-
const $
|
|
2418
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2244
2419
|
path: _path2 + ".id",
|
|
2245
2420
|
expected: "string",
|
|
2246
2421
|
value: input3.id
|
|
@@ -2256,8 +2431,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2256
2431
|
path: _path2 + ".child_types",
|
|
2257
2432
|
expected: "(Array<string> | undefined)",
|
|
2258
2433
|
value: input3.child_types
|
|
2259
|
-
})) && input3.child_types.map((elem,
|
|
2260
|
-
path: _path2 + ".child_types[" +
|
|
2434
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2435
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
2261
2436
|
expected: "string",
|
|
2262
2437
|
value: elem
|
|
2263
2438
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2272,8 +2447,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2272
2447
|
path: _path2 + ".included_types",
|
|
2273
2448
|
expected: "(Array<string> | undefined)",
|
|
2274
2449
|
value: input3.included_types
|
|
2275
|
-
})) && input3.included_types.map((elem,
|
|
2276
|
-
path: _path2 + ".included_types[" +
|
|
2450
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2451
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
2277
2452
|
expected: "string",
|
|
2278
2453
|
value: elem
|
|
2279
2454
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2325,7 +2500,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2325
2500
|
expected: "(number | undefined)",
|
|
2326
2501
|
value: input3.stop
|
|
2327
2502
|
})].every((flag) => flag);
|
|
2328
|
-
const $
|
|
2503
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2329
2504
|
path: _path2 + ".id",
|
|
2330
2505
|
expected: "string",
|
|
2331
2506
|
value: input3.id
|
|
@@ -2341,8 +2516,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2341
2516
|
path: _path2 + ".child_types",
|
|
2342
2517
|
expected: "(Array<string> | undefined)",
|
|
2343
2518
|
value: input3.child_types
|
|
2344
|
-
})) && input3.child_types.map((elem,
|
|
2345
|
-
path: _path2 + ".child_types[" +
|
|
2519
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2520
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
2346
2521
|
expected: "string",
|
|
2347
2522
|
value: elem
|
|
2348
2523
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2357,8 +2532,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2357
2532
|
path: _path2 + ".included_types",
|
|
2358
2533
|
expected: "(Array<string> | undefined)",
|
|
2359
2534
|
value: input3.included_types
|
|
2360
|
-
})) && input3.included_types.map((elem,
|
|
2361
|
-
path: _path2 + ".included_types[" +
|
|
2535
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2536
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
2362
2537
|
expected: "string",
|
|
2363
2538
|
value: elem
|
|
2364
2539
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2406,7 +2581,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2406
2581
|
expected: "number",
|
|
2407
2582
|
value: input3.stop
|
|
2408
2583
|
})].every((flag) => flag);
|
|
2409
|
-
const $
|
|
2584
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2410
2585
|
path: _path2 + ".id",
|
|
2411
2586
|
expected: "string",
|
|
2412
2587
|
value: input3.id
|
|
@@ -2422,8 +2597,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2422
2597
|
path: _path2 + ".child_types",
|
|
2423
2598
|
expected: "(Array<string> | undefined)",
|
|
2424
2599
|
value: input3.child_types
|
|
2425
|
-
})) && input3.child_types.map((elem,
|
|
2426
|
-
path: _path2 + ".child_types[" +
|
|
2600
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2601
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2427
2602
|
expected: "string",
|
|
2428
2603
|
value: elem
|
|
2429
2604
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2438,8 +2613,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2438
2613
|
path: _path2 + ".included_types",
|
|
2439
2614
|
expected: "(Array<string> | undefined)",
|
|
2440
2615
|
value: input3.included_types
|
|
2441
|
-
})) && input3.included_types.map((elem,
|
|
2442
|
-
path: _path2 + ".included_types[" +
|
|
2616
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2617
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2443
2618
|
expected: "string",
|
|
2444
2619
|
value: elem
|
|
2445
2620
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2490,12 +2665,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2490
2665
|
path: _path2 + ".genes",
|
|
2491
2666
|
expected: "Array<GvGeneTerm>",
|
|
2492
2667
|
value: input3.genes
|
|
2493
|
-
})) && input3.genes.map((elem,
|
|
2494
|
-
path: _path2 + ".genes[" +
|
|
2668
|
+
})) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2669
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2495
2670
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2496
2671
|
value: elem
|
|
2497
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2498
|
-
path: _path2 + ".genes[" +
|
|
2672
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2673
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2499
2674
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2500
2675
|
value: elem
|
|
2501
2676
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2514,12 +2689,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2514
2689
|
path: _path2 + ".childTerms",
|
|
2515
2690
|
expected: "(Array<DtTerm> | undefined)",
|
|
2516
2691
|
value: input3.childTerms
|
|
2517
|
-
})) && input3.childTerms.map((elem,
|
|
2518
|
-
path: _path2 + ".childTerms[" +
|
|
2692
|
+
})) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2693
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2519
2694
|
expected: "DtTerm",
|
|
2520
2695
|
value: elem
|
|
2521
|
-
})) && $
|
|
2522
|
-
path: _path2 + ".childTerms[" +
|
|
2696
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2697
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2523
2698
|
expected: "DtTerm",
|
|
2524
2699
|
value: elem
|
|
2525
2700
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2527,20 +2702,52 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2527
2702
|
expected: "(Array<DtTerm> | undefined)",
|
|
2528
2703
|
value: input3.childTerms
|
|
2529
2704
|
})].every((flag) => flag);
|
|
2530
|
-
const $
|
|
2705
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2531
2706
|
path: _path2 + ".key",
|
|
2532
|
-
expected: "string",
|
|
2707
|
+
expected: "(string | undefined)",
|
|
2533
2708
|
value: input3.key
|
|
2534
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2709
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
2535
2710
|
path: _path2 + ".label",
|
|
2536
|
-
expected: "string",
|
|
2711
|
+
expected: "(number | string | undefined)",
|
|
2537
2712
|
value: input3.label
|
|
2538
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2713
|
+
}), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2539
2714
|
path: _path2 + ".value",
|
|
2540
|
-
expected: "string",
|
|
2715
|
+
expected: "(string | undefined)",
|
|
2541
2716
|
value: input3.value
|
|
2717
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2718
|
+
path: _path2 + ".dt",
|
|
2719
|
+
expected: "(number | undefined)",
|
|
2720
|
+
value: input3.dt
|
|
2721
|
+
}), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
|
|
2722
|
+
path: _path2 + ".mclasslst",
|
|
2723
|
+
expected: "(Array<string> | undefined)",
|
|
2724
|
+
value: input3.mclasslst
|
|
2725
|
+
})) && input3.mclasslst.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2726
|
+
path: _path2 + ".mclasslst[" + _index49 + "]",
|
|
2727
|
+
expected: "string",
|
|
2728
|
+
value: elem
|
|
2729
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2730
|
+
path: _path2 + ".mclasslst",
|
|
2731
|
+
expected: "(Array<string> | undefined)",
|
|
2732
|
+
value: input3.mclasslst
|
|
2733
|
+
}), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2734
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2735
|
+
expected: "(Array<string> | undefined)",
|
|
2736
|
+
value: input3.mclassExcludeLst
|
|
2737
|
+
})) && input3.mclassExcludeLst.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2738
|
+
path: _path2 + ".mclassExcludeLst[" + _index50 + "]",
|
|
2739
|
+
expected: "string",
|
|
2740
|
+
value: elem
|
|
2741
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2742
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2743
|
+
expected: "(Array<string> | undefined)",
|
|
2744
|
+
value: input3.mclassExcludeLst
|
|
2745
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2746
|
+
path: _path2 + ".origin",
|
|
2747
|
+
expected: "(string | undefined)",
|
|
2748
|
+
value: input3.origin
|
|
2542
2749
|
})].every((flag) => flag);
|
|
2543
|
-
const $
|
|
2750
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2544
2751
|
path: _path2 + ".join",
|
|
2545
2752
|
expected: "(string | undefined)",
|
|
2546
2753
|
value: input3.join
|
|
@@ -2548,11 +2755,31 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2548
2755
|
path: _path2 + ".isnot",
|
|
2549
2756
|
expected: "(boolean | undefined)",
|
|
2550
2757
|
value: input3.isnot
|
|
2758
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2759
|
+
path: _path2 + ".bar_by_grade",
|
|
2760
|
+
expected: "(boolean | undefined)",
|
|
2761
|
+
value: input3.bar_by_grade
|
|
2762
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2763
|
+
path: _path2 + ".bar_by_children",
|
|
2764
|
+
expected: "(boolean | undefined)",
|
|
2765
|
+
value: input3.bar_by_children
|
|
2766
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2767
|
+
path: _path2 + ".value_by_max_grade",
|
|
2768
|
+
expected: "(boolean | undefined)",
|
|
2769
|
+
value: input3.value_by_max_grade
|
|
2770
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2771
|
+
path: _path2 + ".value_by_most_recent",
|
|
2772
|
+
expected: "(boolean | undefined)",
|
|
2773
|
+
value: input3.value_by_most_recent
|
|
2774
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2775
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2776
|
+
expected: "(boolean | undefined)",
|
|
2777
|
+
value: input3.value_by_computable_grade
|
|
2551
2778
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2552
2779
|
path: _path2 + ".term",
|
|
2553
2780
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2554
2781
|
value: input3.term
|
|
2555
|
-
})) && $
|
|
2782
|
+
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2556
2783
|
path: _path2 + ".term",
|
|
2557
2784
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2558
2785
|
value: input3.term
|
|
@@ -2561,7 +2788,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2561
2788
|
expected: "number",
|
|
2562
2789
|
value: input3.ratio
|
|
2563
2790
|
})].every((flag) => flag);
|
|
2564
|
-
const $
|
|
2791
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2565
2792
|
path: _path2 + ".id",
|
|
2566
2793
|
expected: "string",
|
|
2567
2794
|
value: input3.id
|
|
@@ -2577,8 +2804,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2577
2804
|
path: _path2 + ".child_types",
|
|
2578
2805
|
expected: "(Array<string> | undefined)",
|
|
2579
2806
|
value: input3.child_types
|
|
2580
|
-
})) && input3.child_types.map((elem,
|
|
2581
|
-
path: _path2 + ".child_types[" +
|
|
2807
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2808
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
2582
2809
|
expected: "string",
|
|
2583
2810
|
value: elem
|
|
2584
2811
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2593,8 +2820,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2593
2820
|
path: _path2 + ".included_types",
|
|
2594
2821
|
expected: "(Array<string> | undefined)",
|
|
2595
2822
|
value: input3.included_types
|
|
2596
|
-
})) && input3.included_types.map((elem,
|
|
2597
|
-
path: _path2 + ".included_types[" +
|
|
2823
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2824
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
2598
2825
|
expected: "string",
|
|
2599
2826
|
value: elem
|
|
2600
2827
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2625,16 +2852,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2625
2852
|
path: _path2 + ".valueConversion",
|
|
2626
2853
|
expected: "(__type.o1 | undefined)",
|
|
2627
2854
|
value: input3.valueConversion
|
|
2628
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2629
|
-
path: _path2 + ".collectionId",
|
|
2630
|
-
expected: "(string | undefined)",
|
|
2631
|
-
value: input3.collectionId
|
|
2632
2855
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2633
2856
|
path: _path2 + ".termIds",
|
|
2634
2857
|
expected: "(Array<string> | undefined)",
|
|
2635
2858
|
value: input3.termIds
|
|
2636
|
-
})) && input3.termIds.map((elem,
|
|
2637
|
-
path: _path2 + ".termIds[" +
|
|
2859
|
+
})) && input3.termIds.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2860
|
+
path: _path2 + ".termIds[" + _index53 + "]",
|
|
2638
2861
|
expected: "string",
|
|
2639
2862
|
value: elem
|
|
2640
2863
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2645,12 +2868,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2645
2868
|
path: _path2 + ".termlst",
|
|
2646
2869
|
expected: "Array<BaseTerm>",
|
|
2647
2870
|
value: input3.termlst
|
|
2648
|
-
})) && input3.termlst.map((elem,
|
|
2649
|
-
path: _path2 + ".termlst[" +
|
|
2871
|
+
})) && input3.termlst.map((elem, _index54) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2872
|
+
path: _path2 + ".termlst[" + _index54 + "]",
|
|
2650
2873
|
expected: "BaseTerm",
|
|
2651
2874
|
value: elem
|
|
2652
|
-
})) && $
|
|
2653
|
-
path: _path2 + ".termlst[" +
|
|
2875
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2876
|
+
path: _path2 + ".termlst[" + _index54 + "]",
|
|
2654
2877
|
expected: "BaseTerm",
|
|
2655
2878
|
value: elem
|
|
2656
2879
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2663,11 +2886,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2663
2886
|
value: input3.newTvs
|
|
2664
2887
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2665
2888
|
path: _path2 + ".propsByTermId",
|
|
2666
|
-
expected: "__type.
|
|
2889
|
+
expected: "__type.o7",
|
|
2667
2890
|
value: input3.propsByTermId
|
|
2668
|
-
})) && $
|
|
2891
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2669
2892
|
path: _path2 + ".propsByTermId",
|
|
2670
|
-
expected: "__type.
|
|
2893
|
+
expected: "__type.o7",
|
|
2671
2894
|
value: input3.propsByTermId
|
|
2672
2895
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2673
2896
|
path: _path2 + ".memberType",
|
|
@@ -2677,8 +2900,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2677
2900
|
path: _path2 + ".numerators",
|
|
2678
2901
|
expected: "(Array<string> | undefined)",
|
|
2679
2902
|
value: input3.numerators
|
|
2680
|
-
})) && input3.numerators.map((elem,
|
|
2681
|
-
path: _path2 + ".numerators[" +
|
|
2903
|
+
})) && input3.numerators.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2904
|
+
path: _path2 + ".numerators[" + _index55 + "]",
|
|
2682
2905
|
expected: "string",
|
|
2683
2906
|
value: elem
|
|
2684
2907
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2686,7 +2909,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2686
2909
|
expected: "(Array<string> | undefined)",
|
|
2687
2910
|
value: input3.numerators
|
|
2688
2911
|
})].every((flag) => flag);
|
|
2689
|
-
const $
|
|
2912
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2690
2913
|
path: _path2 + ".id",
|
|
2691
2914
|
expected: "string",
|
|
2692
2915
|
value: input3.id
|
|
@@ -2702,8 +2925,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2702
2925
|
path: _path2 + ".child_types",
|
|
2703
2926
|
expected: "(Array<string> | undefined)",
|
|
2704
2927
|
value: input3.child_types
|
|
2705
|
-
})) && input3.child_types.map((elem,
|
|
2706
|
-
path: _path2 + ".child_types[" +
|
|
2928
|
+
})) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2929
|
+
path: _path2 + ".child_types[" + _index56 + "]",
|
|
2707
2930
|
expected: "string",
|
|
2708
2931
|
value: elem
|
|
2709
2932
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2718,8 +2941,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2718
2941
|
path: _path2 + ".included_types",
|
|
2719
2942
|
expected: "(Array<string> | undefined)",
|
|
2720
2943
|
value: input3.included_types
|
|
2721
|
-
})) && input3.included_types.map((elem,
|
|
2722
|
-
path: _path2 + ".included_types[" +
|
|
2944
|
+
})) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2945
|
+
path: _path2 + ".included_types[" + _index57 + "]",
|
|
2723
2946
|
expected: "string",
|
|
2724
2947
|
value: elem
|
|
2725
2948
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2751,23 +2974,23 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2751
2974
|
expected: "(__type.o1 | undefined)",
|
|
2752
2975
|
value: input3.valueConversion
|
|
2753
2976
|
})].every((flag) => flag);
|
|
2754
|
-
const $
|
|
2977
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2755
2978
|
const value = input3[key];
|
|
2756
2979
|
if (void 0 === value)
|
|
2757
2980
|
return true;
|
|
2758
2981
|
if (RegExp(/(.*)/).test(key))
|
|
2759
2982
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
2760
2983
|
path: _path2 + $join(key),
|
|
2761
|
-
expected: "__type.
|
|
2984
|
+
expected: "__type.o8",
|
|
2762
2985
|
value
|
|
2763
|
-
})) && $
|
|
2986
|
+
})) && $vo49(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2764
2987
|
path: _path2 + $join(key),
|
|
2765
|
-
expected: "__type.
|
|
2988
|
+
expected: "__type.o8",
|
|
2766
2989
|
value
|
|
2767
2990
|
});
|
|
2768
2991
|
return true;
|
|
2769
2992
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2770
|
-
const $
|
|
2993
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2771
2994
|
const value = input3[key];
|
|
2772
2995
|
if (void 0 === value)
|
|
2773
2996
|
return true;
|
|
@@ -2775,7 +2998,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2775
2998
|
return true;
|
|
2776
2999
|
return true;
|
|
2777
3000
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2778
|
-
const $
|
|
3001
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2779
3002
|
path: _path2 + ".id",
|
|
2780
3003
|
expected: "string",
|
|
2781
3004
|
value: input3.id
|
|
@@ -2791,8 +3014,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2791
3014
|
path: _path2 + ".child_types",
|
|
2792
3015
|
expected: "(Array<string> | undefined)",
|
|
2793
3016
|
value: input3.child_types
|
|
2794
|
-
})) && input3.child_types.map((elem,
|
|
2795
|
-
path: _path2 + ".child_types[" +
|
|
3017
|
+
})) && input3.child_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3018
|
+
path: _path2 + ".child_types[" + _index58 + "]",
|
|
2796
3019
|
expected: "string",
|
|
2797
3020
|
value: elem
|
|
2798
3021
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2807,8 +3030,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2807
3030
|
path: _path2 + ".included_types",
|
|
2808
3031
|
expected: "(Array<string> | undefined)",
|
|
2809
3032
|
value: input3.included_types
|
|
2810
|
-
})) && input3.included_types.map((elem,
|
|
2811
|
-
path: _path2 + ".included_types[" +
|
|
3033
|
+
})) && input3.included_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3034
|
+
path: _path2 + ".included_types[" + _index59 + "]",
|
|
2812
3035
|
expected: "string",
|
|
2813
3036
|
value: elem
|
|
2814
3037
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2839,16 +3062,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2839
3062
|
path: _path2 + ".valueConversion",
|
|
2840
3063
|
expected: "(__type.o1 | undefined)",
|
|
2841
3064
|
value: input3.valueConversion
|
|
2842
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2843
|
-
path: _path2 + ".collectionId",
|
|
2844
|
-
expected: "(string | undefined)",
|
|
2845
|
-
value: input3.collectionId
|
|
2846
3065
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2847
3066
|
path: _path2 + ".termIds",
|
|
2848
3067
|
expected: "(Array<string> | undefined)",
|
|
2849
3068
|
value: input3.termIds
|
|
2850
|
-
})) && input3.termIds.map((elem,
|
|
2851
|
-
path: _path2 + ".termIds[" +
|
|
3069
|
+
})) && input3.termIds.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3070
|
+
path: _path2 + ".termIds[" + _index60 + "]",
|
|
2852
3071
|
expected: "string",
|
|
2853
3072
|
value: elem
|
|
2854
3073
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2859,12 +3078,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2859
3078
|
path: _path2 + ".termlst",
|
|
2860
3079
|
expected: "Array<BaseTerm>",
|
|
2861
3080
|
value: input3.termlst
|
|
2862
|
-
})) && input3.termlst.map((elem,
|
|
2863
|
-
path: _path2 + ".termlst[" +
|
|
3081
|
+
})) && input3.termlst.map((elem, _index61) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3082
|
+
path: _path2 + ".termlst[" + _index61 + "]",
|
|
2864
3083
|
expected: "BaseTerm",
|
|
2865
3084
|
value: elem
|
|
2866
|
-
})) && $
|
|
2867
|
-
path: _path2 + ".termlst[" +
|
|
3085
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index61 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3086
|
+
path: _path2 + ".termlst[" + _index61 + "]",
|
|
2868
3087
|
expected: "BaseTerm",
|
|
2869
3088
|
value: elem
|
|
2870
3089
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2877,11 +3096,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2877
3096
|
value: input3.newTvs
|
|
2878
3097
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2879
3098
|
path: _path2 + ".propsByTermId",
|
|
2880
|
-
expected: "__type.
|
|
3099
|
+
expected: "__type.o7",
|
|
2881
3100
|
value: input3.propsByTermId
|
|
2882
|
-
})) && $
|
|
3101
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2883
3102
|
path: _path2 + ".propsByTermId",
|
|
2884
|
-
expected: "__type.
|
|
3103
|
+
expected: "__type.o7",
|
|
2885
3104
|
value: input3.propsByTermId
|
|
2886
3105
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
2887
3106
|
path: _path2 + ".memberType",
|
|
@@ -2891,12 +3110,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2891
3110
|
path: _path2 + ".categoryKeys",
|
|
2892
3111
|
expected: "Array<CategoryKey>",
|
|
2893
3112
|
value: input3.categoryKeys
|
|
2894
|
-
})) && input3.categoryKeys.map((elem,
|
|
2895
|
-
path: _path2 + ".categoryKeys[" +
|
|
3113
|
+
})) && input3.categoryKeys.map((elem, _index62) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3114
|
+
path: _path2 + ".categoryKeys[" + _index62 + "]",
|
|
2896
3115
|
expected: "CategoryKey",
|
|
2897
3116
|
value: elem
|
|
2898
|
-
})) && $
|
|
2899
|
-
path: _path2 + ".categoryKeys[" +
|
|
3117
|
+
})) && $vo51(elem, _path2 + ".categoryKeys[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3118
|
+
path: _path2 + ".categoryKeys[" + _index62 + "]",
|
|
2900
3119
|
expected: "CategoryKey",
|
|
2901
3120
|
value: elem
|
|
2902
3121
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2904,7 +3123,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2904
3123
|
expected: "Array<CategoryKey>",
|
|
2905
3124
|
value: input3.categoryKeys
|
|
2906
3125
|
})].every((flag) => flag);
|
|
2907
|
-
const $
|
|
3126
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2908
3127
|
path: _path2 + ".key",
|
|
2909
3128
|
expected: "string",
|
|
2910
3129
|
value: input3.key
|
|
@@ -2940,13 +3159,15 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2940
3159
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2941
3160
|
if (true === input3.stopunbounded)
|
|
2942
3161
|
return $vo21(input3, _path2, _exceptionable2);
|
|
3162
|
+
if (void 0 !== input3.value)
|
|
3163
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
2943
3164
|
return $vo20(input3, _path2, _exceptionable2);
|
|
2944
3165
|
})();
|
|
2945
3166
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2946
3167
|
if ("gene" === input3.kind)
|
|
2947
|
-
return $
|
|
3168
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
2948
3169
|
if ("coord" === input3.kind)
|
|
2949
|
-
return $
|
|
3170
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
2950
3171
|
return $report(_exceptionable2, {
|
|
2951
3172
|
path: _path2,
|
|
2952
3173
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2954,13 +3175,20 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2954
3175
|
});
|
|
2955
3176
|
})();
|
|
2956
3177
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2957
|
-
if (
|
|
2958
|
-
return $
|
|
2959
|
-
if (
|
|
2960
|
-
return $
|
|
2961
|
-
return $
|
|
3178
|
+
if (true === input3.startunbounded)
|
|
3179
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3180
|
+
if (true === input3.stopunbounded)
|
|
3181
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3182
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
2962
3183
|
})();
|
|
2963
3184
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3185
|
+
if (void 0 !== input3.ranges)
|
|
3186
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
3187
|
+
if (void 0 !== input3.ratio)
|
|
3188
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3189
|
+
return $vo3(input3, _path2, false) || $vo34(input3, _path2, false) || $vo38(input3, _path2, false);
|
|
3190
|
+
})();
|
|
3191
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2964
3192
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2965
3193
|
return $vo14(input3, _path2, _exceptionable2);
|
|
2966
3194
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -2975,7 +3203,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2975
3203
|
return $vo29(input3, _path2, _exceptionable2);
|
|
2976
3204
|
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
2977
3205
|
})();
|
|
2978
|
-
const $
|
|
3206
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2979
3207
|
if ("regular-bin" === input3.type)
|
|
2980
3208
|
return $vo17(input3, _path2, _exceptionable2);
|
|
2981
3209
|
if ("custom-bin" === input3.type)
|
|
@@ -2986,7 +3214,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2986
3214
|
value: input3
|
|
2987
3215
|
});
|
|
2988
3216
|
})();
|
|
2989
|
-
const $
|
|
3217
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2990
3218
|
if (true === input3.startunbounded)
|
|
2991
3219
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2992
3220
|
if (void 0 !== input3.start)
|
|
@@ -2997,7 +3225,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2997
3225
|
value: input3
|
|
2998
3226
|
});
|
|
2999
3227
|
})();
|
|
3000
|
-
const $
|
|
3228
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3001
3229
|
if (void 0 !== input3.stop)
|
|
3002
3230
|
return $vo20(input3, _path2, _exceptionable2);
|
|
3003
3231
|
if (true === input3.stopunbounded)
|
|
@@ -3008,22 +3236,22 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
3008
3236
|
value: input3
|
|
3009
3237
|
});
|
|
3010
3238
|
})();
|
|
3011
|
-
const $
|
|
3239
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3012
3240
|
if ("gene" === input3.kind)
|
|
3013
|
-
return $
|
|
3241
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
3014
3242
|
if ("coord" === input3.kind)
|
|
3015
|
-
return $
|
|
3243
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3016
3244
|
return $report(_exceptionable2, {
|
|
3017
3245
|
path: _path2,
|
|
3018
3246
|
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; })',
|
|
3019
3247
|
value: input3
|
|
3020
3248
|
});
|
|
3021
3249
|
})();
|
|
3022
|
-
const $
|
|
3250
|
+
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3023
3251
|
if ("numeric" === input3.memberType)
|
|
3024
|
-
return $
|
|
3252
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3025
3253
|
if ("categorical" === input3.memberType)
|
|
3026
|
-
return $
|
|
3254
|
+
return $vo50(input3, _path2, _exceptionable2);
|
|
3027
3255
|
return $report(_exceptionable2, {
|
|
3028
3256
|
path: _path2,
|
|
3029
3257
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|
|
@@ -3065,9 +3293,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3065
3293
|
return true;
|
|
3066
3294
|
});
|
|
3067
3295
|
const $io3 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter));
|
|
3068
|
-
const $io4 = (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 && $iu1(elem)));
|
|
3069
|
-
const $io5 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
3070
|
-
const $io6 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io7(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) && $io3(elem)));
|
|
3296
|
+
const $io4 = (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 && $iu1(elem))) && (void 0 === input3.$id || "string" === typeof input3.$id);
|
|
3297
|
+
const $io5 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu6(input3.tvs));
|
|
3298
|
+
const $io6 = (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 && $io7(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) && $io3(elem))) && (void 0 === input3.valueset || input3.valueset instanceof Set);
|
|
3071
3299
|
const $io7 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting));
|
|
3072
3300
|
const $io8 = (input3) => "string" === typeof input3.fromUnit && "string" === typeof input3.toUnit && "string" === typeof input3.scaleFactor;
|
|
3073
3301
|
const $io9 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io10(elem)));
|
|
@@ -3075,11 +3303,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3075
3303
|
const $io11 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io12(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
3076
3304
|
const $io12 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
3077
3305
|
const $io13 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.color;
|
|
3078
|
-
const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $
|
|
3306
|
+
const $io14 = (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 && $iu7(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.values || Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
3079
3307
|
const $io15 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
|
|
3080
3308
|
const $io16 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
3081
|
-
const $io17 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $
|
|
3082
|
-
const $io18 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io19(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 && $
|
|
3309
|
+
const $io17 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu8(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu8(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);
|
|
3310
|
+
const $io18 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io19(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 && $iu9(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu10(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);
|
|
3083
3311
|
const $io19 = (input3) => Object.keys(input3).every((key) => {
|
|
3084
3312
|
const value = input3[key];
|
|
3085
3313
|
if (void 0 === value)
|
|
@@ -3091,7 +3319,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3091
3319
|
const $io20 = (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);
|
|
3092
3320
|
const $io21 = (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);
|
|
3093
3321
|
const $io22 = (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);
|
|
3094
|
-
const $io23 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io19(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] && $
|
|
3322
|
+
const $io23 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io19(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] && $iu5(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu5(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
|
|
3095
3323
|
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(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;
|
|
3096
3324
|
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(input3.bins));
|
|
3097
3325
|
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "wholeProteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
|
|
@@ -3100,29 +3328,40 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3100
3328
|
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(input3.bins));
|
|
3101
3329
|
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(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);
|
|
3102
3330
|
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
3103
|
-
const $io32 = (input3) => "
|
|
3104
|
-
const $io33 = (input3) =>
|
|
3105
|
-
const $io34 = (input3) =>
|
|
3106
|
-
const $io35 = (input3) => "
|
|
3107
|
-
const $io36 = (input3) =>
|
|
3108
|
-
const $io37 = (input3) => "string" === typeof input3.
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3331
|
+
const $io32 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
3332
|
+
const $io33 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
3333
|
+
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)));
|
|
3334
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion));
|
|
3335
|
+
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;
|
|
3336
|
+
const $io37 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
3337
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
3338
|
+
return true;
|
|
3339
|
+
const value = input3[key];
|
|
3340
|
+
if (void 0 === value)
|
|
3341
|
+
return true;
|
|
3342
|
+
if (RegExp(/(.*)/).test(key))
|
|
3343
|
+
return true;
|
|
3344
|
+
return true;
|
|
3345
|
+
});
|
|
3346
|
+
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);
|
|
3347
|
+
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 && $iu11(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) && $io2(input3.values));
|
|
3348
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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 && $iu4(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
3349
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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);
|
|
3350
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
3351
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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 && $iu4(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
3352
|
+
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);
|
|
3353
|
+
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 && $iu12(input3.term)) && "number" === typeof input3.ratio;
|
|
3354
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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));
|
|
3355
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion));
|
|
3356
|
+
const $io48 = (input3) => Object.keys(input3).every((key) => {
|
|
3118
3357
|
const value = input3[key];
|
|
3119
3358
|
if (void 0 === value)
|
|
3120
3359
|
return true;
|
|
3121
3360
|
if (RegExp(/(.*)/).test(key))
|
|
3122
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
3361
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io49(value);
|
|
3123
3362
|
return true;
|
|
3124
3363
|
});
|
|
3125
|
-
const $
|
|
3364
|
+
const $io49 = (input3) => Object.keys(input3).every((key) => {
|
|
3126
3365
|
const value = input3[key];
|
|
3127
3366
|
if (void 0 === value)
|
|
3128
3367
|
return true;
|
|
@@ -3130,64 +3369,64 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3130
3369
|
return true;
|
|
3131
3370
|
return true;
|
|
3132
3371
|
});
|
|
3133
|
-
const $
|
|
3134
|
-
const $
|
|
3135
|
-
const $
|
|
3136
|
-
const $
|
|
3137
|
-
const $
|
|
3138
|
-
const $
|
|
3139
|
-
const $
|
|
3140
|
-
const $
|
|
3141
|
-
const $
|
|
3142
|
-
const $
|
|
3143
|
-
const $
|
|
3144
|
-
const $
|
|
3145
|
-
const $
|
|
3146
|
-
const $
|
|
3147
|
-
const $
|
|
3148
|
-
const $
|
|
3149
|
-
const $
|
|
3150
|
-
const $
|
|
3151
|
-
const $
|
|
3152
|
-
const $
|
|
3153
|
-
const $
|
|
3154
|
-
const $
|
|
3372
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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)));
|
|
3373
|
+
const $io51 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
3374
|
+
const $io52 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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 && $iu4(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
3375
|
+
const $io53 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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 && $iu4(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
3376
|
+
const $io54 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(input3.bins));
|
|
3377
|
+
const $io55 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "wholeProteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
|
|
3378
|
+
const $io56 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting));
|
|
3379
|
+
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "snp" === 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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting));
|
|
3380
|
+
const $io58 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellCellType" === 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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && ("object" === typeof input3.sample && null !== input3.sample && true) && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting));
|
|
3381
|
+
const $io60 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
|
|
3382
|
+
const $io61 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
|
|
3383
|
+
const $io62 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
|
|
3384
|
+
const $io63 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(input3.bins));
|
|
3385
|
+
const $io64 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion));
|
|
3386
|
+
const $io65 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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));
|
|
3387
|
+
const $io66 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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)));
|
|
3388
|
+
const $io67 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io68(elem)));
|
|
3389
|
+
const $io68 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io69(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io70(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
3390
|
+
const $io69 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
3391
|
+
const $io70 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
3392
|
+
const $io71 = (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) && $io72(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion));
|
|
3393
|
+
const $io72 = (input3) => Object.keys(input3).every((key) => {
|
|
3155
3394
|
const value = input3[key];
|
|
3156
3395
|
if (void 0 === value)
|
|
3157
3396
|
return true;
|
|
3158
3397
|
if (RegExp(/(.*)/).test(key))
|
|
3159
|
-
return "object" === typeof value && null !== value && $
|
|
3398
|
+
return "object" === typeof value && null !== value && $io73(value);
|
|
3160
3399
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
3161
|
-
return "object" === typeof value && null !== value && $
|
|
3400
|
+
return "object" === typeof value && null !== value && $io73(value);
|
|
3162
3401
|
return true;
|
|
3163
3402
|
});
|
|
3164
|
-
const $
|
|
3165
|
-
const $
|
|
3403
|
+
const $io73 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io74(elem))) && true;
|
|
3404
|
+
const $io74 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
3166
3405
|
const $iu0 = (input3) => (() => {
|
|
3167
3406
|
if ("metaboliteIntensity" === input3.type)
|
|
3168
|
-
return $
|
|
3407
|
+
return $io54(input3);
|
|
3169
3408
|
if ("wholeProteomeAbundance" === input3.type)
|
|
3170
|
-
return $
|
|
3409
|
+
return $io55(input3);
|
|
3171
3410
|
if ("categorical" === input3.type)
|
|
3172
|
-
return $
|
|
3411
|
+
return $io56(input3);
|
|
3173
3412
|
if ("snp" === input3.type)
|
|
3174
|
-
return $
|
|
3413
|
+
return $io57(input3);
|
|
3175
3414
|
if ("singleCellCellType" === input3.type)
|
|
3176
|
-
return $
|
|
3415
|
+
return $io58(input3);
|
|
3177
3416
|
if ("date" === input3.type)
|
|
3178
|
-
return $
|
|
3417
|
+
return $io61(input3);
|
|
3179
3418
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3180
|
-
return $io58(input3);
|
|
3181
|
-
if ("ssGSEA" === input3.type)
|
|
3182
3419
|
return $io60(input3);
|
|
3420
|
+
if ("ssGSEA" === input3.type)
|
|
3421
|
+
return $io62(input3);
|
|
3183
3422
|
if ("dnaMethylation" === input3.type)
|
|
3184
|
-
return $
|
|
3423
|
+
return $io63(input3);
|
|
3185
3424
|
if ("condition" === input3.type)
|
|
3186
|
-
return $
|
|
3425
|
+
return $io64(input3);
|
|
3187
3426
|
if ("numeric" === input3.memberType)
|
|
3188
|
-
return $
|
|
3427
|
+
return $io65(input3);
|
|
3189
3428
|
if ("categorical" === input3.memberType)
|
|
3190
|
-
return $
|
|
3429
|
+
return $io66(input3);
|
|
3191
3430
|
return (() => {
|
|
3192
3431
|
if ($io24(input3))
|
|
3193
3432
|
return $io24(input3);
|
|
@@ -3197,14 +3436,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3197
3436
|
return $io31(input3);
|
|
3198
3437
|
if ($io30(input3))
|
|
3199
3438
|
return $io30(input3);
|
|
3200
|
-
if ($
|
|
3201
|
-
return $
|
|
3202
|
-
if ($
|
|
3203
|
-
return $
|
|
3204
|
-
if ($
|
|
3205
|
-
return $
|
|
3206
|
-
if ($
|
|
3207
|
-
return $
|
|
3439
|
+
if ($io52(input3))
|
|
3440
|
+
return $io52(input3);
|
|
3441
|
+
if ($io53(input3))
|
|
3442
|
+
return $io53(input3);
|
|
3443
|
+
if ($io67(input3))
|
|
3444
|
+
return $io67(input3);
|
|
3445
|
+
if ($io71(input3))
|
|
3446
|
+
return $io71(input3);
|
|
3208
3447
|
return false;
|
|
3209
3448
|
})();
|
|
3210
3449
|
})();
|
|
@@ -3227,31 +3466,40 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3227
3466
|
return $io20(input3);
|
|
3228
3467
|
if (true === input3.stopunbounded)
|
|
3229
3468
|
return $io22(input3);
|
|
3469
|
+
if (void 0 !== input3.value)
|
|
3470
|
+
return $io32(input3);
|
|
3230
3471
|
return $io21(input3);
|
|
3231
3472
|
})();
|
|
3232
3473
|
const $iu4 = (input3) => (() => {
|
|
3233
3474
|
if ("gene" === input3.kind)
|
|
3234
|
-
return $
|
|
3475
|
+
return $io41(input3);
|
|
3235
3476
|
if ("coord" === input3.kind)
|
|
3236
|
-
return $
|
|
3477
|
+
return $io42(input3);
|
|
3237
3478
|
return false;
|
|
3238
3479
|
})();
|
|
3239
3480
|
const $iu5 = (input3) => (() => {
|
|
3481
|
+
if (true === input3.startunbounded)
|
|
3482
|
+
return $io20(input3);
|
|
3483
|
+
if (true === input3.stopunbounded)
|
|
3484
|
+
return $io22(input3);
|
|
3485
|
+
return $io21(input3);
|
|
3486
|
+
})();
|
|
3487
|
+
const $iu6 = (input3) => (() => {
|
|
3240
3488
|
if (void 0 !== input3.ranges)
|
|
3241
3489
|
return $io14(input3);
|
|
3242
3490
|
if (void 0 !== input3.ratio)
|
|
3243
|
-
return $
|
|
3491
|
+
return $io45(input3);
|
|
3244
3492
|
return (() => {
|
|
3245
3493
|
if ($io6(input3))
|
|
3246
3494
|
return $io6(input3);
|
|
3247
|
-
if ($
|
|
3248
|
-
return $
|
|
3249
|
-
if ($
|
|
3250
|
-
return $
|
|
3495
|
+
if ($io34(input3))
|
|
3496
|
+
return $io34(input3);
|
|
3497
|
+
if ($io38(input3))
|
|
3498
|
+
return $io38(input3);
|
|
3251
3499
|
return false;
|
|
3252
3500
|
})();
|
|
3253
3501
|
})();
|
|
3254
|
-
const $
|
|
3502
|
+
const $iu7 = (input3) => (() => {
|
|
3255
3503
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3256
3504
|
return $io15(input3);
|
|
3257
3505
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -3276,39 +3524,39 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3276
3524
|
return false;
|
|
3277
3525
|
})();
|
|
3278
3526
|
})();
|
|
3279
|
-
const $
|
|
3527
|
+
const $iu8 = (input3) => (() => {
|
|
3280
3528
|
if ("regular-bin" === input3.type)
|
|
3281
3529
|
return $io18(input3);
|
|
3282
3530
|
if ("custom-bin" === input3.type)
|
|
3283
3531
|
return $io23(input3);
|
|
3284
3532
|
return false;
|
|
3285
3533
|
})();
|
|
3286
|
-
const $
|
|
3534
|
+
const $iu9 = (input3) => (() => {
|
|
3287
3535
|
if (true === input3.startunbounded)
|
|
3288
3536
|
return $io20(input3);
|
|
3289
3537
|
if (void 0 !== input3.start)
|
|
3290
3538
|
return $io21(input3);
|
|
3291
3539
|
return false;
|
|
3292
3540
|
})();
|
|
3293
|
-
const $
|
|
3541
|
+
const $iu10 = (input3) => (() => {
|
|
3294
3542
|
if (void 0 !== input3.stop)
|
|
3295
3543
|
return $io21(input3);
|
|
3296
3544
|
if (true === input3.stopunbounded)
|
|
3297
3545
|
return $io22(input3);
|
|
3298
3546
|
return false;
|
|
3299
3547
|
})();
|
|
3300
|
-
const $
|
|
3548
|
+
const $iu11 = (input3) => (() => {
|
|
3301
3549
|
if ("gene" === input3.kind)
|
|
3302
|
-
return $
|
|
3550
|
+
return $io40(input3);
|
|
3303
3551
|
if ("coord" === input3.kind)
|
|
3304
|
-
return $
|
|
3552
|
+
return $io43(input3);
|
|
3305
3553
|
return false;
|
|
3306
3554
|
})();
|
|
3307
|
-
const $
|
|
3555
|
+
const $iu12 = (input3) => (() => {
|
|
3308
3556
|
if ("numeric" === input3.memberType)
|
|
3309
|
-
return $
|
|
3557
|
+
return $io46(input3);
|
|
3310
3558
|
if ("categorical" === input3.memberType)
|
|
3311
|
-
return $
|
|
3559
|
+
return $io50(input3);
|
|
3312
3560
|
return false;
|
|
3313
3561
|
})();
|
|
3314
3562
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -3323,11 +3571,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3323
3571
|
value: input3.terms
|
|
3324
3572
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3325
3573
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
3326
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name: string; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id: string; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "dnaMethylation"; chr: string; start: number; stop: number; bins?: PresetNumericBins | undefined; } | 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 | BaseTerm & { id: string; name?: string | undefined; type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { name: string;
|
|
3574
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name: string; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id: string; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "dnaMethylation"; chr: string; start: number; stop: number; bins?: PresetNumericBins | undefined; } | 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 | BaseTerm & { id: string; name?: string | undefined; type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { name: string; type: "termCollection"; termIds?: string[] | undefined; termlst: BaseTerm[]; newTvs?: boolean | undefined; propsByTermId: { [termId: string]: { [prop: string]: any; }; }; } & { ...; } | BaseTerm & { name: string; type: "termCollection"; termIds?: string[] | undefined; termlst: BaseTerm[]; newTvs?: boolean | undefined; propsByTermId: { [termId: string]: { [prop: string]: any; }; }; } & { ...; }.o1 | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "singleCellCellType"; sample: object; plot: string; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { type: "snp"; id: string; name: string; chr: string; start: number; stop: number; ref: string; alt: string[]; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
3327
3575
|
value: elem
|
|
3328
3576
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3329
3577
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
3330
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name: string; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id: string; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "dnaMethylation"; chr: string; start: number; stop: number; bins?: PresetNumericBins | undefined; } | 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 | BaseTerm & { id: string; name?: string | undefined; type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { name: string;
|
|
3578
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name: string; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id: string; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "wholeProteomeAbundance"; protein: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "dnaMethylation"; chr: string; start: number; stop: number; bins?: PresetNumericBins | undefined; } | 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 | BaseTerm & { id: string; name?: string | undefined; type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { name: string; type: "termCollection"; termIds?: string[] | undefined; termlst: BaseTerm[]; newTvs?: boolean | undefined; propsByTermId: { [termId: string]: { [prop: string]: any; }; }; } & { ...; } | BaseTerm & { name: string; type: "termCollection"; termIds?: string[] | undefined; termlst: BaseTerm[]; newTvs?: boolean | undefined; propsByTermId: { [termId: string]: { [prop: string]: any; }; }; } & { ...; }.o1 | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "singleCellCellType"; sample: object; plot: string; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { type: "snp"; id: string; name: string; chr: string; start: number; stop: number; ref: string; alt: string[]; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
3331
3579
|
value: elem
|
|
3332
3580
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3333
3581
|
path: _path2 + ".terms",
|
|
@@ -3530,6 +3778,10 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3530
3778
|
path: _path2 + ".lst",
|
|
3531
3779
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
3532
3780
|
value: input3.lst
|
|
3781
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
3782
|
+
path: _path2 + ".$id",
|
|
3783
|
+
expected: "(string | undefined)",
|
|
3784
|
+
value: input3.$id
|
|
3533
3785
|
})].every((flag) => flag);
|
|
3534
3786
|
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
3535
3787
|
path: _path2 + ".type",
|
|
@@ -3539,7 +3791,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3539
3791
|
path: _path2 + ".tvs",
|
|
3540
3792
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
3541
3793
|
value: input3.tvs
|
|
3542
|
-
})) && $
|
|
3794
|
+
})) && $vu6(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
3543
3795
|
path: _path2 + ".tvs",
|
|
3544
3796
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
3545
3797
|
value: input3.tvs
|
|
@@ -3552,6 +3804,26 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3552
3804
|
path: _path2 + ".isnot",
|
|
3553
3805
|
expected: "(boolean | undefined)",
|
|
3554
3806
|
value: input3.isnot
|
|
3807
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
3808
|
+
path: _path2 + ".bar_by_grade",
|
|
3809
|
+
expected: "(boolean | undefined)",
|
|
3810
|
+
value: input3.bar_by_grade
|
|
3811
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
3812
|
+
path: _path2 + ".bar_by_children",
|
|
3813
|
+
expected: "(boolean | undefined)",
|
|
3814
|
+
value: input3.bar_by_children
|
|
3815
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
3816
|
+
path: _path2 + ".value_by_max_grade",
|
|
3817
|
+
expected: "(boolean | undefined)",
|
|
3818
|
+
value: input3.value_by_max_grade
|
|
3819
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
3820
|
+
path: _path2 + ".value_by_most_recent",
|
|
3821
|
+
expected: "(boolean | undefined)",
|
|
3822
|
+
value: input3.value_by_most_recent
|
|
3823
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
3824
|
+
path: _path2 + ".value_by_computable_grade",
|
|
3825
|
+
expected: "(boolean | undefined)",
|
|
3826
|
+
value: input3.value_by_computable_grade
|
|
3555
3827
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3556
3828
|
path: _path2 + ".term",
|
|
3557
3829
|
expected: "CategoricalTerm",
|
|
@@ -3580,6 +3852,10 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3580
3852
|
path: _path2 + ".values",
|
|
3581
3853
|
expected: "Array<BaseValue>",
|
|
3582
3854
|
value: input3.values
|
|
3855
|
+
}), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
|
|
3856
|
+
path: _path2 + ".valueset",
|
|
3857
|
+
expected: "(Set<any> | undefined)",
|
|
3858
|
+
value: input3.valueset
|
|
3583
3859
|
})].every((flag) => flag);
|
|
3584
3860
|
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3585
3861
|
path: _path2 + ".id",
|
|
@@ -3788,45 +4064,65 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3788
4064
|
path: _path2 + ".isnot",
|
|
3789
4065
|
expected: "(boolean | undefined)",
|
|
3790
4066
|
value: input3.isnot
|
|
4067
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
4068
|
+
path: _path2 + ".bar_by_grade",
|
|
4069
|
+
expected: "(boolean | undefined)",
|
|
4070
|
+
value: input3.bar_by_grade
|
|
4071
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
4072
|
+
path: _path2 + ".bar_by_children",
|
|
4073
|
+
expected: "(boolean | undefined)",
|
|
4074
|
+
value: input3.bar_by_children
|
|
4075
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
4076
|
+
path: _path2 + ".value_by_max_grade",
|
|
4077
|
+
expected: "(boolean | undefined)",
|
|
4078
|
+
value: input3.value_by_max_grade
|
|
4079
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
4080
|
+
path: _path2 + ".value_by_most_recent",
|
|
4081
|
+
expected: "(boolean | undefined)",
|
|
4082
|
+
value: input3.value_by_most_recent
|
|
4083
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
4084
|
+
path: _path2 + ".value_by_computable_grade",
|
|
4085
|
+
expected: "(boolean | undefined)",
|
|
4086
|
+
value: input3.value_by_computable_grade
|
|
3791
4087
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3792
4088
|
path: _path2 + ".term",
|
|
3793
4089
|
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)',
|
|
3794
4090
|
value: input3.term
|
|
3795
|
-
})) && $
|
|
4091
|
+
})) && $vu7(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3796
4092
|
path: _path2 + ".term",
|
|
3797
4093
|
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)',
|
|
3798
4094
|
value: input3.term
|
|
3799
4095
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
3800
4096
|
path: _path2 + ".ranges",
|
|
3801
|
-
expected: "Array<NumericBin>",
|
|
4097
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
3802
4098
|
value: input3.ranges
|
|
3803
4099
|
})) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3804
4100
|
path: _path2 + ".ranges[" + _index11 + "]",
|
|
3805
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
4101
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
3806
4102
|
value: elem
|
|
3807
4103
|
})) && $vu3(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3808
4104
|
path: _path2 + ".ranges[" + _index11 + "]",
|
|
3809
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
4105
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
3810
4106
|
value: elem
|
|
3811
4107
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3812
4108
|
path: _path2 + ".ranges",
|
|
3813
|
-
expected: "Array<NumericBin>",
|
|
4109
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
3814
4110
|
value: input3.ranges
|
|
3815
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4111
|
+
}), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3816
4112
|
path: _path2 + ".values",
|
|
3817
|
-
expected: "Array<__type>.o1",
|
|
4113
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
3818
4114
|
value: input3.values
|
|
3819
4115
|
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3820
4116
|
path: _path2 + ".values[" + _index12 + "]",
|
|
3821
|
-
expected: "__type.
|
|
4117
|
+
expected: "__type.o5",
|
|
3822
4118
|
value: elem
|
|
3823
|
-
})) && $
|
|
4119
|
+
})) && $vo33(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3824
4120
|
path: _path2 + ".values[" + _index12 + "]",
|
|
3825
|
-
expected: "__type.
|
|
4121
|
+
expected: "__type.o5",
|
|
3826
4122
|
value: elem
|
|
3827
4123
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3828
4124
|
path: _path2 + ".values",
|
|
3829
|
-
expected: "Array<__type>.o1",
|
|
4125
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
3830
4126
|
value: input3.values
|
|
3831
4127
|
})].every((flag) => flag);
|
|
3832
4128
|
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -3927,7 +4223,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3927
4223
|
path: _path2 + '["default"]',
|
|
3928
4224
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
3929
4225
|
value: input3["default"]
|
|
3930
|
-
})) && $
|
|
4226
|
+
})) && $vu8(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
3931
4227
|
path: _path2 + '["default"]',
|
|
3932
4228
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
3933
4229
|
value: input3["default"]
|
|
@@ -3935,7 +4231,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3935
4231
|
path: _path2 + ".less",
|
|
3936
4232
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
3937
4233
|
value: input3.less
|
|
3938
|
-
})) && $
|
|
4234
|
+
})) && $vu8(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
3939
4235
|
path: _path2 + ".less",
|
|
3940
4236
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
3941
4237
|
value: input3.less
|
|
@@ -3996,7 +4292,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3996
4292
|
path: _path2 + ".first_bin",
|
|
3997
4293
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
3998
4294
|
value: input3.first_bin
|
|
3999
|
-
})) && $
|
|
4295
|
+
})) && $vu9(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
4000
4296
|
path: _path2 + ".first_bin",
|
|
4001
4297
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
4002
4298
|
value: input3.first_bin
|
|
@@ -4004,7 +4300,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4004
4300
|
path: _path2 + ".last_bin",
|
|
4005
4301
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
4006
4302
|
value: input3.last_bin
|
|
4007
|
-
})) && $
|
|
4303
|
+
})) && $vu10(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
4008
4304
|
path: _path2 + ".last_bin",
|
|
4009
4305
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
4010
4306
|
value: input3.last_bin
|
|
@@ -4169,7 +4465,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4169
4465
|
path: _path2 + ".lst[0]",
|
|
4170
4466
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
4171
4467
|
value: input3.lst[0]
|
|
4172
|
-
})) && $
|
|
4468
|
+
})) && $vu5(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
4173
4469
|
path: _path2 + ".lst[0]",
|
|
4174
4470
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
4175
4471
|
value: input3.lst[0]
|
|
@@ -4182,7 +4478,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4182
4478
|
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
4183
4479
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
4184
4480
|
value: elem
|
|
4185
|
-
})) && $
|
|
4481
|
+
})) && $vu5(elem, _path2 + ".lst[" + (1 + _index15) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4186
4482
|
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
4187
4483
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
4188
4484
|
value: elem
|
|
@@ -4983,7 +5279,20 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4983
5279
|
expected: "number",
|
|
4984
5280
|
value: input3.stop
|
|
4985
5281
|
})].every((flag) => flag);
|
|
4986
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["
|
|
5282
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
5283
|
+
path: _path2 + ".value",
|
|
5284
|
+
expected: "number",
|
|
5285
|
+
value: input3.value
|
|
5286
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
5287
|
+
path: _path2 + ".label",
|
|
5288
|
+
expected: "(string | undefined)",
|
|
5289
|
+
value: input3.label
|
|
5290
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
5291
|
+
path: _path2 + ".name",
|
|
5292
|
+
expected: "(string | undefined)",
|
|
5293
|
+
value: input3.name
|
|
5294
|
+
})].every((flag) => flag);
|
|
5295
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
4987
5296
|
path: _path2 + ".key",
|
|
4988
5297
|
expected: "string",
|
|
4989
5298
|
value: input3.key
|
|
@@ -5000,7 +5309,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5000
5309
|
expected: "(string | undefined)",
|
|
5001
5310
|
value: input3.label
|
|
5002
5311
|
})].every((flag) => flag);
|
|
5003
|
-
const $
|
|
5312
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
5004
5313
|
path: _path2 + ".join",
|
|
5005
5314
|
expected: "(string | undefined)",
|
|
5006
5315
|
value: input3.join
|
|
@@ -5008,14 +5317,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5008
5317
|
path: _path2 + ".isnot",
|
|
5009
5318
|
expected: "(boolean | undefined)",
|
|
5010
5319
|
value: input3.isnot
|
|
5011
|
-
}),
|
|
5012
|
-
path: _path2 + ".
|
|
5013
|
-
expected: "
|
|
5014
|
-
value: input3.
|
|
5015
|
-
})
|
|
5016
|
-
path: _path2 + ".
|
|
5017
|
-
expected: "
|
|
5018
|
-
value: input3.
|
|
5320
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
5321
|
+
path: _path2 + ".bar_by_grade",
|
|
5322
|
+
expected: "(boolean | undefined)",
|
|
5323
|
+
value: input3.bar_by_grade
|
|
5324
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
5325
|
+
path: _path2 + ".bar_by_children",
|
|
5326
|
+
expected: "(boolean | undefined)",
|
|
5327
|
+
value: input3.bar_by_children
|
|
5019
5328
|
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
5020
5329
|
path: _path2 + ".value_by_max_grade",
|
|
5021
5330
|
expected: "(boolean | undefined)",
|
|
@@ -5028,6 +5337,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5028
5337
|
path: _path2 + ".value_by_computable_grade",
|
|
5029
5338
|
expected: "(boolean | undefined)",
|
|
5030
5339
|
value: input3.value_by_computable_grade
|
|
5340
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
5341
|
+
path: _path2 + ".term",
|
|
5342
|
+
expected: "ConditionTerm",
|
|
5343
|
+
value: input3.term
|
|
5344
|
+
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
5345
|
+
path: _path2 + ".term",
|
|
5346
|
+
expected: "ConditionTerm",
|
|
5347
|
+
value: input3.term
|
|
5031
5348
|
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
5032
5349
|
path: _path2 + ".grade_and_child",
|
|
5033
5350
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
@@ -5036,7 +5353,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5036
5353
|
path: _path2 + ".grade_and_child[" + _index33 + "]",
|
|
5037
5354
|
expected: "GradeAndChildEntry",
|
|
5038
5355
|
value: elem
|
|
5039
|
-
})) && $
|
|
5356
|
+
})) && $vo36(elem, _path2 + ".grade_and_child[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5040
5357
|
path: _path2 + ".grade_and_child[" + _index33 + "]",
|
|
5041
5358
|
expected: "GradeAndChildEntry",
|
|
5042
5359
|
value: elem
|
|
@@ -5044,8 +5361,24 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5044
5361
|
path: _path2 + ".grade_and_child",
|
|
5045
5362
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
5046
5363
|
value: input3.grade_and_child
|
|
5364
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
5365
|
+
path: _path2 + ".values",
|
|
5366
|
+
expected: "Array<__type>.o2",
|
|
5367
|
+
value: input3.values
|
|
5368
|
+
})) && input3.values.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5369
|
+
path: _path2 + ".values[" + _index34 + "]",
|
|
5370
|
+
expected: "__type.o6",
|
|
5371
|
+
value: elem
|
|
5372
|
+
})) && $vo37(elem, _path2 + ".values[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5373
|
+
path: _path2 + ".values[" + _index34 + "]",
|
|
5374
|
+
expected: "__type.o6",
|
|
5375
|
+
value: elem
|
|
5376
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
5377
|
+
path: _path2 + ".values",
|
|
5378
|
+
expected: "Array<__type>.o2",
|
|
5379
|
+
value: input3.values
|
|
5047
5380
|
})].every((flag) => flag);
|
|
5048
|
-
const $
|
|
5381
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5049
5382
|
path: _path2 + ".id",
|
|
5050
5383
|
expected: "string",
|
|
5051
5384
|
value: input3.id
|
|
@@ -5061,8 +5394,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5061
5394
|
path: _path2 + ".child_types",
|
|
5062
5395
|
expected: "(Array<string> | undefined)",
|
|
5063
5396
|
value: input3.child_types
|
|
5064
|
-
})) && input3.child_types.map((elem,
|
|
5065
|
-
path: _path2 + ".child_types[" +
|
|
5397
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5398
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
5066
5399
|
expected: "string",
|
|
5067
5400
|
value: elem
|
|
5068
5401
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5077,8 +5410,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5077
5410
|
path: _path2 + ".included_types",
|
|
5078
5411
|
expected: "(Array<string> | undefined)",
|
|
5079
5412
|
value: input3.included_types
|
|
5080
|
-
})) && input3.included_types.map((elem,
|
|
5081
|
-
path: _path2 + ".included_types[" +
|
|
5413
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5414
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
5082
5415
|
expected: "string",
|
|
5083
5416
|
value: elem
|
|
5084
5417
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5110,7 +5443,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5110
5443
|
expected: "(__type.o1 | undefined)",
|
|
5111
5444
|
value: input3.valueConversion
|
|
5112
5445
|
})].every((flag) => flag);
|
|
5113
|
-
const $
|
|
5446
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
5114
5447
|
path: _path2 + ".grade",
|
|
5115
5448
|
expected: "number",
|
|
5116
5449
|
value: input3.grade
|
|
@@ -5127,7 +5460,25 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5127
5460
|
expected: "string",
|
|
5128
5461
|
value: input3.child_label
|
|
5129
5462
|
})].every((flag) => flag);
|
|
5130
|
-
const $
|
|
5463
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
5464
|
+
path: _path2 + ".key",
|
|
5465
|
+
expected: "(number | string)",
|
|
5466
|
+
value: input3.key
|
|
5467
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
5468
|
+
path: _path2 + ".label",
|
|
5469
|
+
expected: "(string | undefined)",
|
|
5470
|
+
value: input3.label
|
|
5471
|
+
}), false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
5472
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
5473
|
+
return true;
|
|
5474
|
+
const value = input3[key];
|
|
5475
|
+
if (void 0 === value)
|
|
5476
|
+
return true;
|
|
5477
|
+
if (RegExp(/(.*)/).test(key))
|
|
5478
|
+
return true;
|
|
5479
|
+
return true;
|
|
5480
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
5481
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
5131
5482
|
path: _path2 + ".join",
|
|
5132
5483
|
expected: "(string | undefined)",
|
|
5133
5484
|
value: input3.join
|
|
@@ -5135,29 +5486,49 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5135
5486
|
path: _path2 + ".isnot",
|
|
5136
5487
|
expected: "(boolean | undefined)",
|
|
5137
5488
|
value: input3.isnot
|
|
5489
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
5490
|
+
path: _path2 + ".bar_by_grade",
|
|
5491
|
+
expected: "(boolean | undefined)",
|
|
5492
|
+
value: input3.bar_by_grade
|
|
5493
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
5494
|
+
path: _path2 + ".bar_by_children",
|
|
5495
|
+
expected: "(boolean | undefined)",
|
|
5496
|
+
value: input3.bar_by_children
|
|
5497
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
5498
|
+
path: _path2 + ".value_by_max_grade",
|
|
5499
|
+
expected: "(boolean | undefined)",
|
|
5500
|
+
value: input3.value_by_max_grade
|
|
5501
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
5502
|
+
path: _path2 + ".value_by_most_recent",
|
|
5503
|
+
expected: "(boolean | undefined)",
|
|
5504
|
+
value: input3.value_by_most_recent
|
|
5505
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
5506
|
+
path: _path2 + ".value_by_computable_grade",
|
|
5507
|
+
expected: "(boolean | undefined)",
|
|
5508
|
+
value: input3.value_by_computable_grade
|
|
5138
5509
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
5139
5510
|
path: _path2 + ".term",
|
|
5140
5511
|
expected: "DtTerm",
|
|
5141
5512
|
value: input3.term
|
|
5142
|
-
})) && $
|
|
5513
|
+
})) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
5143
5514
|
path: _path2 + ".term",
|
|
5144
5515
|
expected: "DtTerm",
|
|
5145
5516
|
value: input3.term
|
|
5146
5517
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
5147
5518
|
path: _path2 + ".values",
|
|
5148
|
-
expected: "Array<
|
|
5519
|
+
expected: "Array<GeneVariantValue>",
|
|
5149
5520
|
value: input3.values
|
|
5150
|
-
})) && input3.values.map((elem,
|
|
5151
|
-
path: _path2 + ".values[" +
|
|
5152
|
-
expected: "
|
|
5521
|
+
})) && input3.values.map((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
5522
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
5523
|
+
expected: "GeneVariantValue",
|
|
5153
5524
|
value: elem
|
|
5154
|
-
})) && $
|
|
5155
|
-
path: _path2 + ".values[" +
|
|
5156
|
-
expected: "
|
|
5525
|
+
})) && $vo44(elem, _path2 + ".values[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5526
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
5527
|
+
expected: "GeneVariantValue",
|
|
5157
5528
|
value: elem
|
|
5158
5529
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
5159
5530
|
path: _path2 + ".values",
|
|
5160
|
-
expected: "Array<
|
|
5531
|
+
expected: "Array<GeneVariantValue>",
|
|
5161
5532
|
value: input3.values
|
|
5162
5533
|
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
5163
5534
|
path: _path2 + ".includeNotTested",
|
|
@@ -5167,8 +5538,40 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5167
5538
|
path: _path2 + ".excludeGeneName",
|
|
5168
5539
|
expected: "(boolean | undefined)",
|
|
5169
5540
|
value: input3.excludeGeneName
|
|
5541
|
+
}), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
|
|
5542
|
+
path: _path2 + ".genotype",
|
|
5543
|
+
expected: '("nt" | "variant" | "wt" | undefined)',
|
|
5544
|
+
value: input3.genotype
|
|
5545
|
+
}), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
|
|
5546
|
+
path: _path2 + ".mcount",
|
|
5547
|
+
expected: '("all" | "any" | "multiple" | "single" | undefined)',
|
|
5548
|
+
value: input3.mcount
|
|
5549
|
+
}), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
|
|
5550
|
+
path: _path2 + ".continuousCnv",
|
|
5551
|
+
expected: "(boolean | undefined)",
|
|
5552
|
+
value: input3.continuousCnv
|
|
5553
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
5554
|
+
path: _path2 + ".cnvLossCutoff",
|
|
5555
|
+
expected: "(number | undefined)",
|
|
5556
|
+
value: input3.cnvLossCutoff
|
|
5557
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
5558
|
+
path: _path2 + ".cnvGainCutoff",
|
|
5559
|
+
expected: "(number | undefined)",
|
|
5560
|
+
value: input3.cnvGainCutoff
|
|
5561
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
5562
|
+
path: _path2 + ".cnvMaxLength",
|
|
5563
|
+
expected: "(number | undefined)",
|
|
5564
|
+
value: input3.cnvMaxLength
|
|
5565
|
+
}), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
|
|
5566
|
+
path: _path2 + ".cnvWT",
|
|
5567
|
+
expected: "(boolean | undefined)",
|
|
5568
|
+
value: input3.cnvWT
|
|
5569
|
+
}), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
|
|
5570
|
+
path: _path2 + ".fractionOverlap",
|
|
5571
|
+
expected: "(number | undefined)",
|
|
5572
|
+
value: input3.fractionOverlap
|
|
5170
5573
|
})].every((flag) => flag);
|
|
5171
|
-
const $
|
|
5574
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5172
5575
|
path: _path2 + ".id",
|
|
5173
5576
|
expected: "string",
|
|
5174
5577
|
value: input3.id
|
|
@@ -5188,7 +5591,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5188
5591
|
path: _path2 + ".parentTerm",
|
|
5189
5592
|
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)',
|
|
5190
5593
|
value: input3.parentTerm
|
|
5191
|
-
})) && $
|
|
5594
|
+
})) && $vu11(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
5192
5595
|
path: _path2 + ".parentTerm",
|
|
5193
5596
|
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)',
|
|
5194
5597
|
value: input3.parentTerm
|
|
@@ -5217,7 +5620,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5217
5620
|
expected: "TermValues",
|
|
5218
5621
|
value: input3.values
|
|
5219
5622
|
})].every((flag) => flag);
|
|
5220
|
-
const $
|
|
5623
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5221
5624
|
path: _path2 + ".id",
|
|
5222
5625
|
expected: "string",
|
|
5223
5626
|
value: input3.id
|
|
@@ -5233,8 +5636,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5233
5636
|
path: _path2 + ".child_types",
|
|
5234
5637
|
expected: "(Array<string> | undefined)",
|
|
5235
5638
|
value: input3.child_types
|
|
5236
|
-
})) && input3.child_types.map((elem,
|
|
5237
|
-
path: _path2 + ".child_types[" +
|
|
5639
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5640
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
5238
5641
|
expected: "string",
|
|
5239
5642
|
value: elem
|
|
5240
5643
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5249,8 +5652,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5249
5652
|
path: _path2 + ".included_types",
|
|
5250
5653
|
expected: "(Array<string> | undefined)",
|
|
5251
5654
|
value: input3.included_types
|
|
5252
|
-
})) && input3.included_types.map((elem,
|
|
5253
|
-
path: _path2 + ".included_types[" +
|
|
5655
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5656
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
5254
5657
|
expected: "string",
|
|
5255
5658
|
value: elem
|
|
5256
5659
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5305,12 +5708,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5305
5708
|
path: _path2 + ".genes",
|
|
5306
5709
|
expected: "Array<GvGeneTerm>",
|
|
5307
5710
|
value: input3.genes
|
|
5308
|
-
})) && input3.genes.map((elem,
|
|
5309
|
-
path: _path2 + ".genes[" +
|
|
5711
|
+
})) && input3.genes.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5712
|
+
path: _path2 + ".genes[" + _index40 + "]",
|
|
5310
5713
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
5311
5714
|
value: elem
|
|
5312
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
5313
|
-
path: _path2 + ".genes[" +
|
|
5715
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5716
|
+
path: _path2 + ".genes[" + _index40 + "]",
|
|
5314
5717
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
5315
5718
|
value: elem
|
|
5316
5719
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5329,12 +5732,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5329
5732
|
path: _path2 + ".childTerms",
|
|
5330
5733
|
expected: "(Array<DtTerm> | undefined)",
|
|
5331
5734
|
value: input3.childTerms
|
|
5332
|
-
})) && input3.childTerms.map((elem,
|
|
5333
|
-
path: _path2 + ".childTerms[" +
|
|
5735
|
+
})) && input3.childTerms.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5736
|
+
path: _path2 + ".childTerms[" + _index41 + "]",
|
|
5334
5737
|
expected: "DtTerm",
|
|
5335
5738
|
value: elem
|
|
5336
|
-
})) && $
|
|
5337
|
-
path: _path2 + ".childTerms[" +
|
|
5739
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5740
|
+
path: _path2 + ".childTerms[" + _index41 + "]",
|
|
5338
5741
|
expected: "DtTerm",
|
|
5339
5742
|
value: elem
|
|
5340
5743
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5342,7 +5745,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5342
5745
|
expected: "(Array<DtTerm> | undefined)",
|
|
5343
5746
|
value: input3.childTerms
|
|
5344
5747
|
})].every((flag) => flag);
|
|
5345
|
-
const $
|
|
5748
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5346
5749
|
path: _path2 + ".id",
|
|
5347
5750
|
expected: "string",
|
|
5348
5751
|
value: input3.id
|
|
@@ -5358,8 +5761,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5358
5761
|
path: _path2 + ".child_types",
|
|
5359
5762
|
expected: "(Array<string> | undefined)",
|
|
5360
5763
|
value: input3.child_types
|
|
5361
|
-
})) && input3.child_types.map((elem,
|
|
5362
|
-
path: _path2 + ".child_types[" +
|
|
5764
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5765
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
5363
5766
|
expected: "string",
|
|
5364
5767
|
value: elem
|
|
5365
5768
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5374,8 +5777,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5374
5777
|
path: _path2 + ".included_types",
|
|
5375
5778
|
expected: "(Array<string> | undefined)",
|
|
5376
5779
|
value: input3.included_types
|
|
5377
|
-
})) && input3.included_types.map((elem,
|
|
5378
|
-
path: _path2 + ".included_types[" +
|
|
5780
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5781
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
5379
5782
|
expected: "string",
|
|
5380
5783
|
value: elem
|
|
5381
5784
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5427,7 +5830,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5427
5830
|
expected: "(number | undefined)",
|
|
5428
5831
|
value: input3.stop
|
|
5429
5832
|
})].every((flag) => flag);
|
|
5430
|
-
const $
|
|
5833
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5431
5834
|
path: _path2 + ".id",
|
|
5432
5835
|
expected: "string",
|
|
5433
5836
|
value: input3.id
|
|
@@ -5443,8 +5846,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5443
5846
|
path: _path2 + ".child_types",
|
|
5444
5847
|
expected: "(Array<string> | undefined)",
|
|
5445
5848
|
value: input3.child_types
|
|
5446
|
-
})) && input3.child_types.map((elem,
|
|
5447
|
-
path: _path2 + ".child_types[" +
|
|
5849
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5850
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
5448
5851
|
expected: "string",
|
|
5449
5852
|
value: elem
|
|
5450
5853
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5459,8 +5862,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5459
5862
|
path: _path2 + ".included_types",
|
|
5460
5863
|
expected: "(Array<string> | undefined)",
|
|
5461
5864
|
value: input3.included_types
|
|
5462
|
-
})) && input3.included_types.map((elem,
|
|
5463
|
-
path: _path2 + ".included_types[" +
|
|
5865
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5866
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
5464
5867
|
expected: "string",
|
|
5465
5868
|
value: elem
|
|
5466
5869
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5508,7 +5911,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5508
5911
|
expected: "number",
|
|
5509
5912
|
value: input3.stop
|
|
5510
5913
|
})].every((flag) => flag);
|
|
5511
|
-
const $
|
|
5914
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5512
5915
|
path: _path2 + ".id",
|
|
5513
5916
|
expected: "string",
|
|
5514
5917
|
value: input3.id
|
|
@@ -5524,8 +5927,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5524
5927
|
path: _path2 + ".child_types",
|
|
5525
5928
|
expected: "(Array<string> | undefined)",
|
|
5526
5929
|
value: input3.child_types
|
|
5527
|
-
})) && input3.child_types.map((elem,
|
|
5528
|
-
path: _path2 + ".child_types[" +
|
|
5930
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5931
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
5529
5932
|
expected: "string",
|
|
5530
5933
|
value: elem
|
|
5531
5934
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5540,8 +5943,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5540
5943
|
path: _path2 + ".included_types",
|
|
5541
5944
|
expected: "(Array<string> | undefined)",
|
|
5542
5945
|
value: input3.included_types
|
|
5543
|
-
})) && input3.included_types.map((elem,
|
|
5544
|
-
path: _path2 + ".included_types[" +
|
|
5946
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5947
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
5545
5948
|
expected: "string",
|
|
5546
5949
|
value: elem
|
|
5547
5950
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5592,12 +5995,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5592
5995
|
path: _path2 + ".genes",
|
|
5593
5996
|
expected: "Array<GvGeneTerm>",
|
|
5594
5997
|
value: input3.genes
|
|
5595
|
-
})) && input3.genes.map((elem,
|
|
5596
|
-
path: _path2 + ".genes[" +
|
|
5998
|
+
})) && input3.genes.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5999
|
+
path: _path2 + ".genes[" + _index48 + "]",
|
|
5597
6000
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
5598
6001
|
value: elem
|
|
5599
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
5600
|
-
path: _path2 + ".genes[" +
|
|
6002
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
6003
|
+
path: _path2 + ".genes[" + _index48 + "]",
|
|
5601
6004
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
5602
6005
|
value: elem
|
|
5603
6006
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5616,12 +6019,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5616
6019
|
path: _path2 + ".childTerms",
|
|
5617
6020
|
expected: "(Array<DtTerm> | undefined)",
|
|
5618
6021
|
value: input3.childTerms
|
|
5619
|
-
})) && input3.childTerms.map((elem,
|
|
5620
|
-
path: _path2 + ".childTerms[" +
|
|
6022
|
+
})) && input3.childTerms.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
6023
|
+
path: _path2 + ".childTerms[" + _index49 + "]",
|
|
5621
6024
|
expected: "DtTerm",
|
|
5622
6025
|
value: elem
|
|
5623
|
-
})) && $
|
|
5624
|
-
path: _path2 + ".childTerms[" +
|
|
6026
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
6027
|
+
path: _path2 + ".childTerms[" + _index49 + "]",
|
|
5625
6028
|
expected: "DtTerm",
|
|
5626
6029
|
value: elem
|
|
5627
6030
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5629,20 +6032,52 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5629
6032
|
expected: "(Array<DtTerm> | undefined)",
|
|
5630
6033
|
value: input3.childTerms
|
|
5631
6034
|
})].every((flag) => flag);
|
|
5632
|
-
const $
|
|
6035
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
5633
6036
|
path: _path2 + ".key",
|
|
5634
|
-
expected: "string",
|
|
6037
|
+
expected: "(string | undefined)",
|
|
5635
6038
|
value: input3.key
|
|
5636
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
6039
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
5637
6040
|
path: _path2 + ".label",
|
|
5638
|
-
expected: "string",
|
|
6041
|
+
expected: "(number | string | undefined)",
|
|
5639
6042
|
value: input3.label
|
|
5640
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
6043
|
+
}), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
|
|
5641
6044
|
path: _path2 + ".value",
|
|
5642
|
-
expected: "string",
|
|
6045
|
+
expected: "(string | undefined)",
|
|
5643
6046
|
value: input3.value
|
|
6047
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
6048
|
+
path: _path2 + ".dt",
|
|
6049
|
+
expected: "(number | undefined)",
|
|
6050
|
+
value: input3.dt
|
|
6051
|
+
}), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
|
|
6052
|
+
path: _path2 + ".mclasslst",
|
|
6053
|
+
expected: "(Array<string> | undefined)",
|
|
6054
|
+
value: input3.mclasslst
|
|
6055
|
+
})) && input3.mclasslst.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6056
|
+
path: _path2 + ".mclasslst[" + _index50 + "]",
|
|
6057
|
+
expected: "string",
|
|
6058
|
+
value: elem
|
|
6059
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
6060
|
+
path: _path2 + ".mclasslst",
|
|
6061
|
+
expected: "(Array<string> | undefined)",
|
|
6062
|
+
value: input3.mclasslst
|
|
6063
|
+
}), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
6064
|
+
path: _path2 + ".mclassExcludeLst",
|
|
6065
|
+
expected: "(Array<string> | undefined)",
|
|
6066
|
+
value: input3.mclassExcludeLst
|
|
6067
|
+
})) && input3.mclassExcludeLst.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6068
|
+
path: _path2 + ".mclassExcludeLst[" + _index51 + "]",
|
|
6069
|
+
expected: "string",
|
|
6070
|
+
value: elem
|
|
6071
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
6072
|
+
path: _path2 + ".mclassExcludeLst",
|
|
6073
|
+
expected: "(Array<string> | undefined)",
|
|
6074
|
+
value: input3.mclassExcludeLst
|
|
6075
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
6076
|
+
path: _path2 + ".origin",
|
|
6077
|
+
expected: "(string | undefined)",
|
|
6078
|
+
value: input3.origin
|
|
5644
6079
|
})].every((flag) => flag);
|
|
5645
|
-
const $
|
|
6080
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
5646
6081
|
path: _path2 + ".join",
|
|
5647
6082
|
expected: "(string | undefined)",
|
|
5648
6083
|
value: input3.join
|
|
@@ -5650,11 +6085,31 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5650
6085
|
path: _path2 + ".isnot",
|
|
5651
6086
|
expected: "(boolean | undefined)",
|
|
5652
6087
|
value: input3.isnot
|
|
6088
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
6089
|
+
path: _path2 + ".bar_by_grade",
|
|
6090
|
+
expected: "(boolean | undefined)",
|
|
6091
|
+
value: input3.bar_by_grade
|
|
6092
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
6093
|
+
path: _path2 + ".bar_by_children",
|
|
6094
|
+
expected: "(boolean | undefined)",
|
|
6095
|
+
value: input3.bar_by_children
|
|
6096
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
6097
|
+
path: _path2 + ".value_by_max_grade",
|
|
6098
|
+
expected: "(boolean | undefined)",
|
|
6099
|
+
value: input3.value_by_max_grade
|
|
6100
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
6101
|
+
path: _path2 + ".value_by_most_recent",
|
|
6102
|
+
expected: "(boolean | undefined)",
|
|
6103
|
+
value: input3.value_by_most_recent
|
|
6104
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
6105
|
+
path: _path2 + ".value_by_computable_grade",
|
|
6106
|
+
expected: "(boolean | undefined)",
|
|
6107
|
+
value: input3.value_by_computable_grade
|
|
5653
6108
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
5654
6109
|
path: _path2 + ".term",
|
|
5655
6110
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
5656
6111
|
value: input3.term
|
|
5657
|
-
})) && $
|
|
6112
|
+
})) && $vu12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
5658
6113
|
path: _path2 + ".term",
|
|
5659
6114
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
5660
6115
|
value: input3.term
|
|
@@ -5663,7 +6118,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5663
6118
|
expected: "number",
|
|
5664
6119
|
value: input3.ratio
|
|
5665
6120
|
})].every((flag) => flag);
|
|
5666
|
-
const $
|
|
6121
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5667
6122
|
path: _path2 + ".id",
|
|
5668
6123
|
expected: "string",
|
|
5669
6124
|
value: input3.id
|
|
@@ -5679,8 +6134,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5679
6134
|
path: _path2 + ".child_types",
|
|
5680
6135
|
expected: "(Array<string> | undefined)",
|
|
5681
6136
|
value: input3.child_types
|
|
5682
|
-
})) && input3.child_types.map((elem,
|
|
5683
|
-
path: _path2 + ".child_types[" +
|
|
6137
|
+
})) && input3.child_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6138
|
+
path: _path2 + ".child_types[" + _index52 + "]",
|
|
5684
6139
|
expected: "string",
|
|
5685
6140
|
value: elem
|
|
5686
6141
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5695,8 +6150,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5695
6150
|
path: _path2 + ".included_types",
|
|
5696
6151
|
expected: "(Array<string> | undefined)",
|
|
5697
6152
|
value: input3.included_types
|
|
5698
|
-
})) && input3.included_types.map((elem,
|
|
5699
|
-
path: _path2 + ".included_types[" +
|
|
6153
|
+
})) && input3.included_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6154
|
+
path: _path2 + ".included_types[" + _index53 + "]",
|
|
5700
6155
|
expected: "string",
|
|
5701
6156
|
value: elem
|
|
5702
6157
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5727,16 +6182,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5727
6182
|
path: _path2 + ".valueConversion",
|
|
5728
6183
|
expected: "(__type.o1 | undefined)",
|
|
5729
6184
|
value: input3.valueConversion
|
|
5730
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
5731
|
-
path: _path2 + ".collectionId",
|
|
5732
|
-
expected: "(string | undefined)",
|
|
5733
|
-
value: input3.collectionId
|
|
5734
6185
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
5735
6186
|
path: _path2 + ".termIds",
|
|
5736
6187
|
expected: "(Array<string> | undefined)",
|
|
5737
6188
|
value: input3.termIds
|
|
5738
|
-
})) && input3.termIds.map((elem,
|
|
5739
|
-
path: _path2 + ".termIds[" +
|
|
6189
|
+
})) && input3.termIds.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6190
|
+
path: _path2 + ".termIds[" + _index54 + "]",
|
|
5740
6191
|
expected: "string",
|
|
5741
6192
|
value: elem
|
|
5742
6193
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5747,12 +6198,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5747
6198
|
path: _path2 + ".termlst",
|
|
5748
6199
|
expected: "Array<BaseTerm>",
|
|
5749
6200
|
value: input3.termlst
|
|
5750
|
-
})) && input3.termlst.map((elem,
|
|
5751
|
-
path: _path2 + ".termlst[" +
|
|
6201
|
+
})) && input3.termlst.map((elem, _index55) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
6202
|
+
path: _path2 + ".termlst[" + _index55 + "]",
|
|
5752
6203
|
expected: "BaseTerm",
|
|
5753
6204
|
value: elem
|
|
5754
|
-
})) && $
|
|
5755
|
-
path: _path2 + ".termlst[" +
|
|
6205
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
6206
|
+
path: _path2 + ".termlst[" + _index55 + "]",
|
|
5756
6207
|
expected: "BaseTerm",
|
|
5757
6208
|
value: elem
|
|
5758
6209
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5765,11 +6216,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5765
6216
|
value: input3.newTvs
|
|
5766
6217
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
5767
6218
|
path: _path2 + ".propsByTermId",
|
|
5768
|
-
expected: "__type.
|
|
6219
|
+
expected: "__type.o7",
|
|
5769
6220
|
value: input3.propsByTermId
|
|
5770
|
-
})) && $
|
|
6221
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
5771
6222
|
path: _path2 + ".propsByTermId",
|
|
5772
|
-
expected: "__type.
|
|
6223
|
+
expected: "__type.o7",
|
|
5773
6224
|
value: input3.propsByTermId
|
|
5774
6225
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
5775
6226
|
path: _path2 + ".memberType",
|
|
@@ -5779,8 +6230,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5779
6230
|
path: _path2 + ".numerators",
|
|
5780
6231
|
expected: "(Array<string> | undefined)",
|
|
5781
6232
|
value: input3.numerators
|
|
5782
|
-
})) && input3.numerators.map((elem,
|
|
5783
|
-
path: _path2 + ".numerators[" +
|
|
6233
|
+
})) && input3.numerators.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6234
|
+
path: _path2 + ".numerators[" + _index56 + "]",
|
|
5784
6235
|
expected: "string",
|
|
5785
6236
|
value: elem
|
|
5786
6237
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5788,7 +6239,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5788
6239
|
expected: "(Array<string> | undefined)",
|
|
5789
6240
|
value: input3.numerators
|
|
5790
6241
|
})].every((flag) => flag);
|
|
5791
|
-
const $
|
|
6242
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5792
6243
|
path: _path2 + ".id",
|
|
5793
6244
|
expected: "string",
|
|
5794
6245
|
value: input3.id
|
|
@@ -5804,8 +6255,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5804
6255
|
path: _path2 + ".child_types",
|
|
5805
6256
|
expected: "(Array<string> | undefined)",
|
|
5806
6257
|
value: input3.child_types
|
|
5807
|
-
})) && input3.child_types.map((elem,
|
|
5808
|
-
path: _path2 + ".child_types[" +
|
|
6258
|
+
})) && input3.child_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6259
|
+
path: _path2 + ".child_types[" + _index57 + "]",
|
|
5809
6260
|
expected: "string",
|
|
5810
6261
|
value: elem
|
|
5811
6262
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5820,8 +6271,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5820
6271
|
path: _path2 + ".included_types",
|
|
5821
6272
|
expected: "(Array<string> | undefined)",
|
|
5822
6273
|
value: input3.included_types
|
|
5823
|
-
})) && input3.included_types.map((elem,
|
|
5824
|
-
path: _path2 + ".included_types[" +
|
|
6274
|
+
})) && input3.included_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6275
|
+
path: _path2 + ".included_types[" + _index58 + "]",
|
|
5825
6276
|
expected: "string",
|
|
5826
6277
|
value: elem
|
|
5827
6278
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5853,23 +6304,23 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5853
6304
|
expected: "(__type.o1 | undefined)",
|
|
5854
6305
|
value: input3.valueConversion
|
|
5855
6306
|
})].every((flag) => flag);
|
|
5856
|
-
const $
|
|
6307
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
5857
6308
|
const value = input3[key];
|
|
5858
6309
|
if (void 0 === value)
|
|
5859
6310
|
return true;
|
|
5860
6311
|
if (RegExp(/(.*)/).test(key))
|
|
5861
6312
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
5862
6313
|
path: _path2 + $join(key),
|
|
5863
|
-
expected: "__type.
|
|
6314
|
+
expected: "__type.o8",
|
|
5864
6315
|
value
|
|
5865
|
-
})) && $
|
|
6316
|
+
})) && $vo49(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
5866
6317
|
path: _path2 + $join(key),
|
|
5867
|
-
expected: "__type.
|
|
6318
|
+
expected: "__type.o8",
|
|
5868
6319
|
value
|
|
5869
6320
|
});
|
|
5870
6321
|
return true;
|
|
5871
6322
|
}).every((flag) => flag)].every((flag) => flag);
|
|
5872
|
-
const $
|
|
6323
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
5873
6324
|
const value = input3[key];
|
|
5874
6325
|
if (void 0 === value)
|
|
5875
6326
|
return true;
|
|
@@ -5877,7 +6328,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5877
6328
|
return true;
|
|
5878
6329
|
return true;
|
|
5879
6330
|
}).every((flag) => flag)].every((flag) => flag);
|
|
5880
|
-
const $
|
|
6331
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5881
6332
|
path: _path2 + ".id",
|
|
5882
6333
|
expected: "string",
|
|
5883
6334
|
value: input3.id
|
|
@@ -5893,8 +6344,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5893
6344
|
path: _path2 + ".child_types",
|
|
5894
6345
|
expected: "(Array<string> | undefined)",
|
|
5895
6346
|
value: input3.child_types
|
|
5896
|
-
})) && input3.child_types.map((elem,
|
|
5897
|
-
path: _path2 + ".child_types[" +
|
|
6347
|
+
})) && input3.child_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6348
|
+
path: _path2 + ".child_types[" + _index59 + "]",
|
|
5898
6349
|
expected: "string",
|
|
5899
6350
|
value: elem
|
|
5900
6351
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5909,8 +6360,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5909
6360
|
path: _path2 + ".included_types",
|
|
5910
6361
|
expected: "(Array<string> | undefined)",
|
|
5911
6362
|
value: input3.included_types
|
|
5912
|
-
})) && input3.included_types.map((elem,
|
|
5913
|
-
path: _path2 + ".included_types[" +
|
|
6363
|
+
})) && input3.included_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6364
|
+
path: _path2 + ".included_types[" + _index60 + "]",
|
|
5914
6365
|
expected: "string",
|
|
5915
6366
|
value: elem
|
|
5916
6367
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5941,16 +6392,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5941
6392
|
path: _path2 + ".valueConversion",
|
|
5942
6393
|
expected: "(__type.o1 | undefined)",
|
|
5943
6394
|
value: input3.valueConversion
|
|
5944
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
5945
|
-
path: _path2 + ".collectionId",
|
|
5946
|
-
expected: "(string | undefined)",
|
|
5947
|
-
value: input3.collectionId
|
|
5948
6395
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
5949
6396
|
path: _path2 + ".termIds",
|
|
5950
6397
|
expected: "(Array<string> | undefined)",
|
|
5951
6398
|
value: input3.termIds
|
|
5952
|
-
})) && input3.termIds.map((elem,
|
|
5953
|
-
path: _path2 + ".termIds[" +
|
|
6399
|
+
})) && input3.termIds.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6400
|
+
path: _path2 + ".termIds[" + _index61 + "]",
|
|
5954
6401
|
expected: "string",
|
|
5955
6402
|
value: elem
|
|
5956
6403
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5961,12 +6408,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5961
6408
|
path: _path2 + ".termlst",
|
|
5962
6409
|
expected: "Array<BaseTerm>",
|
|
5963
6410
|
value: input3.termlst
|
|
5964
|
-
})) && input3.termlst.map((elem,
|
|
5965
|
-
path: _path2 + ".termlst[" +
|
|
6411
|
+
})) && input3.termlst.map((elem, _index62) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
6412
|
+
path: _path2 + ".termlst[" + _index62 + "]",
|
|
5966
6413
|
expected: "BaseTerm",
|
|
5967
6414
|
value: elem
|
|
5968
|
-
})) && $
|
|
5969
|
-
path: _path2 + ".termlst[" +
|
|
6415
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
6416
|
+
path: _path2 + ".termlst[" + _index62 + "]",
|
|
5970
6417
|
expected: "BaseTerm",
|
|
5971
6418
|
value: elem
|
|
5972
6419
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5979,11 +6426,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5979
6426
|
value: input3.newTvs
|
|
5980
6427
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
5981
6428
|
path: _path2 + ".propsByTermId",
|
|
5982
|
-
expected: "__type.
|
|
6429
|
+
expected: "__type.o7",
|
|
5983
6430
|
value: input3.propsByTermId
|
|
5984
|
-
})) && $
|
|
6431
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
5985
6432
|
path: _path2 + ".propsByTermId",
|
|
5986
|
-
expected: "__type.
|
|
6433
|
+
expected: "__type.o7",
|
|
5987
6434
|
value: input3.propsByTermId
|
|
5988
6435
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
5989
6436
|
path: _path2 + ".memberType",
|
|
@@ -5993,12 +6440,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5993
6440
|
path: _path2 + ".categoryKeys",
|
|
5994
6441
|
expected: "Array<CategoryKey>",
|
|
5995
6442
|
value: input3.categoryKeys
|
|
5996
|
-
})) && input3.categoryKeys.map((elem,
|
|
5997
|
-
path: _path2 + ".categoryKeys[" +
|
|
6443
|
+
})) && input3.categoryKeys.map((elem, _index63) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
6444
|
+
path: _path2 + ".categoryKeys[" + _index63 + "]",
|
|
5998
6445
|
expected: "CategoryKey",
|
|
5999
6446
|
value: elem
|
|
6000
|
-
})) && $
|
|
6001
|
-
path: _path2 + ".categoryKeys[" +
|
|
6447
|
+
})) && $vo51(elem, _path2 + ".categoryKeys[" + _index63 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
6448
|
+
path: _path2 + ".categoryKeys[" + _index63 + "]",
|
|
6002
6449
|
expected: "CategoryKey",
|
|
6003
6450
|
value: elem
|
|
6004
6451
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6006,7 +6453,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6006
6453
|
expected: "Array<CategoryKey>",
|
|
6007
6454
|
value: input3.categoryKeys
|
|
6008
6455
|
})].every((flag) => flag);
|
|
6009
|
-
const $
|
|
6456
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
6010
6457
|
path: _path2 + ".key",
|
|
6011
6458
|
expected: "string",
|
|
6012
6459
|
value: input3.key
|
|
@@ -6015,7 +6462,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6015
6462
|
expected: "boolean",
|
|
6016
6463
|
value: input3.shown
|
|
6017
6464
|
})].every((flag) => flag);
|
|
6018
|
-
const $
|
|
6465
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6019
6466
|
path: _path2 + ".id",
|
|
6020
6467
|
expected: "string",
|
|
6021
6468
|
value: input3.id
|
|
@@ -6031,8 +6478,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6031
6478
|
path: _path2 + ".child_types",
|
|
6032
6479
|
expected: "(Array<string> | undefined)",
|
|
6033
6480
|
value: input3.child_types
|
|
6034
|
-
})) && input3.child_types.map((elem,
|
|
6035
|
-
path: _path2 + ".child_types[" +
|
|
6481
|
+
})) && input3.child_types.map((elem, _index64) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6482
|
+
path: _path2 + ".child_types[" + _index64 + "]",
|
|
6036
6483
|
expected: "string",
|
|
6037
6484
|
value: elem
|
|
6038
6485
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6047,8 +6494,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6047
6494
|
path: _path2 + ".included_types",
|
|
6048
6495
|
expected: "(Array<string> | undefined)",
|
|
6049
6496
|
value: input3.included_types
|
|
6050
|
-
})) && input3.included_types.map((elem,
|
|
6051
|
-
path: _path2 + ".included_types[" +
|
|
6497
|
+
})) && input3.included_types.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6498
|
+
path: _path2 + ".included_types[" + _index65 + "]",
|
|
6052
6499
|
expected: "string",
|
|
6053
6500
|
value: elem
|
|
6054
6501
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6103,12 +6550,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6103
6550
|
path: _path2 + ".genes",
|
|
6104
6551
|
expected: "Array<GvGeneTerm>",
|
|
6105
6552
|
value: input3.genes
|
|
6106
|
-
})) && input3.genes.map((elem,
|
|
6107
|
-
path: _path2 + ".genes[" +
|
|
6553
|
+
})) && input3.genes.map((elem, _index66) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
6554
|
+
path: _path2 + ".genes[" + _index66 + "]",
|
|
6108
6555
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
6109
6556
|
value: elem
|
|
6110
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
6111
|
-
path: _path2 + ".genes[" +
|
|
6557
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index66 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
6558
|
+
path: _path2 + ".genes[" + _index66 + "]",
|
|
6112
6559
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
6113
6560
|
value: elem
|
|
6114
6561
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6127,12 +6574,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6127
6574
|
path: _path2 + ".childTerms",
|
|
6128
6575
|
expected: "Array<DtTerm>",
|
|
6129
6576
|
value: input3.childTerms
|
|
6130
|
-
})) && input3.childTerms.map((elem,
|
|
6131
|
-
path: _path2 + ".childTerms[" +
|
|
6577
|
+
})) && input3.childTerms.map((elem, _index67) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
6578
|
+
path: _path2 + ".childTerms[" + _index67 + "]",
|
|
6132
6579
|
expected: "DtTerm",
|
|
6133
6580
|
value: elem
|
|
6134
|
-
})) && $
|
|
6135
|
-
path: _path2 + ".childTerms[" +
|
|
6581
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index67 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
6582
|
+
path: _path2 + ".childTerms[" + _index67 + "]",
|
|
6136
6583
|
expected: "DtTerm",
|
|
6137
6584
|
value: elem
|
|
6138
6585
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6140,7 +6587,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6140
6587
|
expected: "Array<DtTerm>",
|
|
6141
6588
|
value: input3.childTerms
|
|
6142
6589
|
})].every((flag) => flag);
|
|
6143
|
-
const $
|
|
6590
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6144
6591
|
path: _path2 + ".id",
|
|
6145
6592
|
expected: "string",
|
|
6146
6593
|
value: input3.id
|
|
@@ -6156,8 +6603,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6156
6603
|
path: _path2 + ".child_types",
|
|
6157
6604
|
expected: "(Array<string> | undefined)",
|
|
6158
6605
|
value: input3.child_types
|
|
6159
|
-
})) && input3.child_types.map((elem,
|
|
6160
|
-
path: _path2 + ".child_types[" +
|
|
6606
|
+
})) && input3.child_types.map((elem, _index68) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6607
|
+
path: _path2 + ".child_types[" + _index68 + "]",
|
|
6161
6608
|
expected: "string",
|
|
6162
6609
|
value: elem
|
|
6163
6610
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6172,8 +6619,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6172
6619
|
path: _path2 + ".included_types",
|
|
6173
6620
|
expected: "(Array<string> | undefined)",
|
|
6174
6621
|
value: input3.included_types
|
|
6175
|
-
})) && input3.included_types.map((elem,
|
|
6176
|
-
path: _path2 + ".included_types[" +
|
|
6622
|
+
})) && input3.included_types.map((elem, _index69) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6623
|
+
path: _path2 + ".included_types[" + _index69 + "]",
|
|
6177
6624
|
expected: "string",
|
|
6178
6625
|
value: elem
|
|
6179
6626
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6224,12 +6671,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6224
6671
|
path: _path2 + ".genes",
|
|
6225
6672
|
expected: "Array<GvGeneTerm>",
|
|
6226
6673
|
value: input3.genes
|
|
6227
|
-
})) && input3.genes.map((elem,
|
|
6228
|
-
path: _path2 + ".genes[" +
|
|
6674
|
+
})) && input3.genes.map((elem, _index70) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
6675
|
+
path: _path2 + ".genes[" + _index70 + "]",
|
|
6229
6676
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
6230
6677
|
value: elem
|
|
6231
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
6232
|
-
path: _path2 + ".genes[" +
|
|
6678
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index70 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
6679
|
+
path: _path2 + ".genes[" + _index70 + "]",
|
|
6233
6680
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
6234
6681
|
value: elem
|
|
6235
6682
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6248,12 +6695,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6248
6695
|
path: _path2 + ".childTerms",
|
|
6249
6696
|
expected: "Array<DtTerm>",
|
|
6250
6697
|
value: input3.childTerms
|
|
6251
|
-
})) && input3.childTerms.map((elem,
|
|
6252
|
-
path: _path2 + ".childTerms[" +
|
|
6698
|
+
})) && input3.childTerms.map((elem, _index71) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
6699
|
+
path: _path2 + ".childTerms[" + _index71 + "]",
|
|
6253
6700
|
expected: "DtTerm",
|
|
6254
6701
|
value: elem
|
|
6255
|
-
})) && $
|
|
6256
|
-
path: _path2 + ".childTerms[" +
|
|
6702
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index71 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
6703
|
+
path: _path2 + ".childTerms[" + _index71 + "]",
|
|
6257
6704
|
expected: "DtTerm",
|
|
6258
6705
|
value: elem
|
|
6259
6706
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6261,7 +6708,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6261
6708
|
expected: "Array<DtTerm>",
|
|
6262
6709
|
value: input3.childTerms
|
|
6263
6710
|
})].every((flag) => flag);
|
|
6264
|
-
const $
|
|
6711
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6265
6712
|
path: _path2 + ".id",
|
|
6266
6713
|
expected: "string",
|
|
6267
6714
|
value: input3.id
|
|
@@ -6277,8 +6724,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6277
6724
|
path: _path2 + ".child_types",
|
|
6278
6725
|
expected: "(Array<string> | undefined)",
|
|
6279
6726
|
value: input3.child_types
|
|
6280
|
-
})) && input3.child_types.map((elem,
|
|
6281
|
-
path: _path2 + ".child_types[" +
|
|
6727
|
+
})) && input3.child_types.map((elem, _index72) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6728
|
+
path: _path2 + ".child_types[" + _index72 + "]",
|
|
6282
6729
|
expected: "string",
|
|
6283
6730
|
value: elem
|
|
6284
6731
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6293,8 +6740,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6293
6740
|
path: _path2 + ".included_types",
|
|
6294
6741
|
expected: "(Array<string> | undefined)",
|
|
6295
6742
|
value: input3.included_types
|
|
6296
|
-
})) && input3.included_types.map((elem,
|
|
6297
|
-
path: _path2 + ".included_types[" +
|
|
6743
|
+
})) && input3.included_types.map((elem, _index73) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6744
|
+
path: _path2 + ".included_types[" + _index73 + "]",
|
|
6298
6745
|
expected: "string",
|
|
6299
6746
|
value: elem
|
|
6300
6747
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6350,7 +6797,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6350
6797
|
expected: "(PresetNumericBins | undefined)",
|
|
6351
6798
|
value: input3.bins
|
|
6352
6799
|
})].every((flag) => flag);
|
|
6353
|
-
const $
|
|
6800
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6354
6801
|
path: _path2 + ".id",
|
|
6355
6802
|
expected: "string",
|
|
6356
6803
|
value: input3.id
|
|
@@ -6366,8 +6813,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6366
6813
|
path: _path2 + ".child_types",
|
|
6367
6814
|
expected: "(Array<string> | undefined)",
|
|
6368
6815
|
value: input3.child_types
|
|
6369
|
-
})) && input3.child_types.map((elem,
|
|
6370
|
-
path: _path2 + ".child_types[" +
|
|
6816
|
+
})) && input3.child_types.map((elem, _index74) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6817
|
+
path: _path2 + ".child_types[" + _index74 + "]",
|
|
6371
6818
|
expected: "string",
|
|
6372
6819
|
value: elem
|
|
6373
6820
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6382,8 +6829,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6382
6829
|
path: _path2 + ".included_types",
|
|
6383
6830
|
expected: "(Array<string> | undefined)",
|
|
6384
6831
|
value: input3.included_types
|
|
6385
|
-
})) && input3.included_types.map((elem,
|
|
6386
|
-
path: _path2 + ".included_types[" +
|
|
6832
|
+
})) && input3.included_types.map((elem, _index75) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6833
|
+
path: _path2 + ".included_types[" + _index75 + "]",
|
|
6387
6834
|
expected: "string",
|
|
6388
6835
|
value: elem
|
|
6389
6836
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6439,7 +6886,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6439
6886
|
expected: "(PresetNumericBins | undefined)",
|
|
6440
6887
|
value: input3.bins
|
|
6441
6888
|
})].every((flag) => flag);
|
|
6442
|
-
const $
|
|
6889
|
+
const $vo56 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6443
6890
|
path: _path2 + ".id",
|
|
6444
6891
|
expected: "string",
|
|
6445
6892
|
value: input3.id
|
|
@@ -6455,8 +6902,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6455
6902
|
path: _path2 + ".child_types",
|
|
6456
6903
|
expected: "(Array<string> | undefined)",
|
|
6457
6904
|
value: input3.child_types
|
|
6458
|
-
})) && input3.child_types.map((elem,
|
|
6459
|
-
path: _path2 + ".child_types[" +
|
|
6905
|
+
})) && input3.child_types.map((elem, _index76) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6906
|
+
path: _path2 + ".child_types[" + _index76 + "]",
|
|
6460
6907
|
expected: "string",
|
|
6461
6908
|
value: elem
|
|
6462
6909
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6471,8 +6918,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6471
6918
|
path: _path2 + ".included_types",
|
|
6472
6919
|
expected: "(Array<string> | undefined)",
|
|
6473
6920
|
value: input3.included_types
|
|
6474
|
-
})) && input3.included_types.map((elem,
|
|
6475
|
-
path: _path2 + ".included_types[" +
|
|
6921
|
+
})) && input3.included_types.map((elem, _index77) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6922
|
+
path: _path2 + ".included_types[" + _index77 + "]",
|
|
6476
6923
|
expected: "string",
|
|
6477
6924
|
value: elem
|
|
6478
6925
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6512,7 +6959,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6512
6959
|
expected: "TermGroupSetting",
|
|
6513
6960
|
value: input3.groupsetting
|
|
6514
6961
|
})].every((flag) => flag);
|
|
6515
|
-
const $
|
|
6962
|
+
const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6516
6963
|
path: _path2 + ".id",
|
|
6517
6964
|
expected: "string",
|
|
6518
6965
|
value: input3.id
|
|
@@ -6528,8 +6975,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6528
6975
|
path: _path2 + ".child_types",
|
|
6529
6976
|
expected: "(Array<string> | undefined)",
|
|
6530
6977
|
value: input3.child_types
|
|
6531
|
-
})) && input3.child_types.map((elem,
|
|
6532
|
-
path: _path2 + ".child_types[" +
|
|
6978
|
+
})) && input3.child_types.map((elem, _index78) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6979
|
+
path: _path2 + ".child_types[" + _index78 + "]",
|
|
6533
6980
|
expected: "string",
|
|
6534
6981
|
value: elem
|
|
6535
6982
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6544,8 +6991,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6544
6991
|
path: _path2 + ".included_types",
|
|
6545
6992
|
expected: "(Array<string> | undefined)",
|
|
6546
6993
|
value: input3.included_types
|
|
6547
|
-
})) && input3.included_types.map((elem,
|
|
6548
|
-
path: _path2 + ".included_types[" +
|
|
6994
|
+
})) && input3.included_types.map((elem, _index79) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6995
|
+
path: _path2 + ".included_types[" + _index79 + "]",
|
|
6549
6996
|
expected: "string",
|
|
6550
6997
|
value: elem
|
|
6551
6998
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6596,8 +7043,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6596
7043
|
path: _path2 + ".alt",
|
|
6597
7044
|
expected: "Array<string>",
|
|
6598
7045
|
value: input3.alt
|
|
6599
|
-
})) && input3.alt.map((elem,
|
|
6600
|
-
path: _path2 + ".alt[" +
|
|
7046
|
+
})) && input3.alt.map((elem, _index80) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7047
|
+
path: _path2 + ".alt[" + _index80 + "]",
|
|
6601
7048
|
expected: "string",
|
|
6602
7049
|
value: elem
|
|
6603
7050
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6613,7 +7060,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6613
7060
|
expected: "TermGroupSetting",
|
|
6614
7061
|
value: input3.groupsetting
|
|
6615
7062
|
})].every((flag) => flag);
|
|
6616
|
-
const $
|
|
7063
|
+
const $vo58 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6617
7064
|
path: _path2 + ".id",
|
|
6618
7065
|
expected: "string",
|
|
6619
7066
|
value: input3.id
|
|
@@ -6629,8 +7076,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6629
7076
|
path: _path2 + ".child_types",
|
|
6630
7077
|
expected: "(Array<string> | undefined)",
|
|
6631
7078
|
value: input3.child_types
|
|
6632
|
-
})) && input3.child_types.map((elem,
|
|
6633
|
-
path: _path2 + ".child_types[" +
|
|
7079
|
+
})) && input3.child_types.map((elem, _index81) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7080
|
+
path: _path2 + ".child_types[" + _index81 + "]",
|
|
6634
7081
|
expected: "string",
|
|
6635
7082
|
value: elem
|
|
6636
7083
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6645,8 +7092,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6645
7092
|
path: _path2 + ".included_types",
|
|
6646
7093
|
expected: "(Array<string> | undefined)",
|
|
6647
7094
|
value: input3.included_types
|
|
6648
|
-
})) && input3.included_types.map((elem,
|
|
6649
|
-
path: _path2 + ".included_types[" +
|
|
7095
|
+
})) && input3.included_types.map((elem, _index82) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7096
|
+
path: _path2 + ".included_types[" + _index82 + "]",
|
|
6650
7097
|
expected: "string",
|
|
6651
7098
|
value: elem
|
|
6652
7099
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6681,7 +7128,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6681
7128
|
path: _path2 + ".sample",
|
|
6682
7129
|
expected: "object",
|
|
6683
7130
|
value: input3.sample
|
|
6684
|
-
})) && $
|
|
7131
|
+
})) && $vo59(input3.sample, _path2 + ".sample", _exceptionable2) || $report(_exceptionable2, {
|
|
6685
7132
|
path: _path2 + ".sample",
|
|
6686
7133
|
expected: "object",
|
|
6687
7134
|
value: input3.sample
|
|
@@ -6698,8 +7145,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6698
7145
|
expected: "TermGroupSetting",
|
|
6699
7146
|
value: input3.groupsetting
|
|
6700
7147
|
})].every((flag) => flag);
|
|
6701
|
-
const $
|
|
6702
|
-
const $
|
|
7148
|
+
const $vo59 = (input3, _path2, _exceptionable2 = true) => true;
|
|
7149
|
+
const $vo60 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6703
7150
|
path: _path2 + ".id",
|
|
6704
7151
|
expected: "string",
|
|
6705
7152
|
value: input3.id
|
|
@@ -6715,8 +7162,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6715
7162
|
path: _path2 + ".child_types",
|
|
6716
7163
|
expected: "(Array<string> | undefined)",
|
|
6717
7164
|
value: input3.child_types
|
|
6718
|
-
})) && input3.child_types.map((elem,
|
|
6719
|
-
path: _path2 + ".child_types[" +
|
|
7165
|
+
})) && input3.child_types.map((elem, _index83) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7166
|
+
path: _path2 + ".child_types[" + _index83 + "]",
|
|
6720
7167
|
expected: "string",
|
|
6721
7168
|
value: elem
|
|
6722
7169
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6731,8 +7178,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6731
7178
|
path: _path2 + ".included_types",
|
|
6732
7179
|
expected: "(Array<string> | undefined)",
|
|
6733
7180
|
value: input3.included_types
|
|
6734
|
-
})) && input3.included_types.map((elem,
|
|
6735
|
-
path: _path2 + ".included_types[" +
|
|
7181
|
+
})) && input3.included_types.map((elem, _index84) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7182
|
+
path: _path2 + ".included_types[" + _index84 + "]",
|
|
6736
7183
|
expected: "string",
|
|
6737
7184
|
value: elem
|
|
6738
7185
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6784,7 +7231,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6784
7231
|
expected: "PresetNumericBins",
|
|
6785
7232
|
value: input3.bins
|
|
6786
7233
|
})].every((flag) => flag);
|
|
6787
|
-
const $
|
|
7234
|
+
const $vo61 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6788
7235
|
path: _path2 + ".id",
|
|
6789
7236
|
expected: "string",
|
|
6790
7237
|
value: input3.id
|
|
@@ -6800,8 +7247,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6800
7247
|
path: _path2 + ".child_types",
|
|
6801
7248
|
expected: "(Array<string> | undefined)",
|
|
6802
7249
|
value: input3.child_types
|
|
6803
|
-
})) && input3.child_types.map((elem,
|
|
6804
|
-
path: _path2 + ".child_types[" +
|
|
7250
|
+
})) && input3.child_types.map((elem, _index85) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7251
|
+
path: _path2 + ".child_types[" + _index85 + "]",
|
|
6805
7252
|
expected: "string",
|
|
6806
7253
|
value: elem
|
|
6807
7254
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6816,8 +7263,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6816
7263
|
path: _path2 + ".included_types",
|
|
6817
7264
|
expected: "(Array<string> | undefined)",
|
|
6818
7265
|
value: input3.included_types
|
|
6819
|
-
})) && input3.included_types.map((elem,
|
|
6820
|
-
path: _path2 + ".included_types[" +
|
|
7266
|
+
})) && input3.included_types.map((elem, _index86) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7267
|
+
path: _path2 + ".included_types[" + _index86 + "]",
|
|
6821
7268
|
expected: "string",
|
|
6822
7269
|
value: elem
|
|
6823
7270
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6869,7 +7316,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6869
7316
|
expected: "(PresetNumericBins | undefined)",
|
|
6870
7317
|
value: input3.bins
|
|
6871
7318
|
})].every((flag) => flag);
|
|
6872
|
-
const $
|
|
7319
|
+
const $vo62 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6873
7320
|
path: _path2 + ".id",
|
|
6874
7321
|
expected: "string",
|
|
6875
7322
|
value: input3.id
|
|
@@ -6885,8 +7332,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6885
7332
|
path: _path2 + ".child_types",
|
|
6886
7333
|
expected: "(Array<string> | undefined)",
|
|
6887
7334
|
value: input3.child_types
|
|
6888
|
-
})) && input3.child_types.map((elem,
|
|
6889
|
-
path: _path2 + ".child_types[" +
|
|
7335
|
+
})) && input3.child_types.map((elem, _index87) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7336
|
+
path: _path2 + ".child_types[" + _index87 + "]",
|
|
6890
7337
|
expected: "string",
|
|
6891
7338
|
value: elem
|
|
6892
7339
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6901,8 +7348,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6901
7348
|
path: _path2 + ".included_types",
|
|
6902
7349
|
expected: "(Array<string> | undefined)",
|
|
6903
7350
|
value: input3.included_types
|
|
6904
|
-
})) && input3.included_types.map((elem,
|
|
6905
|
-
path: _path2 + ".included_types[" +
|
|
7351
|
+
})) && input3.included_types.map((elem, _index88) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7352
|
+
path: _path2 + ".included_types[" + _index88 + "]",
|
|
6906
7353
|
expected: "string",
|
|
6907
7354
|
value: elem
|
|
6908
7355
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6949,8 +7396,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6949
7396
|
path: _path2 + ".genes",
|
|
6950
7397
|
expected: "(Array<string> | undefined)",
|
|
6951
7398
|
value: input3.genes
|
|
6952
|
-
})) && input3.genes.map((elem,
|
|
6953
|
-
path: _path2 + ".genes[" +
|
|
7399
|
+
})) && input3.genes.map((elem, _index89) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7400
|
+
path: _path2 + ".genes[" + _index89 + "]",
|
|
6954
7401
|
expected: "string",
|
|
6955
7402
|
value: elem
|
|
6956
7403
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6966,7 +7413,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6966
7413
|
expected: "(PresetNumericBins | undefined)",
|
|
6967
7414
|
value: input3.bins
|
|
6968
7415
|
})].every((flag) => flag);
|
|
6969
|
-
const $
|
|
7416
|
+
const $vo63 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
6970
7417
|
path: _path2 + ".id",
|
|
6971
7418
|
expected: "string",
|
|
6972
7419
|
value: input3.id
|
|
@@ -6982,8 +7429,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6982
7429
|
path: _path2 + ".child_types",
|
|
6983
7430
|
expected: "(Array<string> | undefined)",
|
|
6984
7431
|
value: input3.child_types
|
|
6985
|
-
})) && input3.child_types.map((elem,
|
|
6986
|
-
path: _path2 + ".child_types[" +
|
|
7432
|
+
})) && input3.child_types.map((elem, _index90) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7433
|
+
path: _path2 + ".child_types[" + _index90 + "]",
|
|
6987
7434
|
expected: "string",
|
|
6988
7435
|
value: elem
|
|
6989
7436
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6998,8 +7445,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6998
7445
|
path: _path2 + ".included_types",
|
|
6999
7446
|
expected: "(Array<string> | undefined)",
|
|
7000
7447
|
value: input3.included_types
|
|
7001
|
-
})) && input3.included_types.map((elem,
|
|
7002
|
-
path: _path2 + ".included_types[" +
|
|
7448
|
+
})) && input3.included_types.map((elem, _index91) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7449
|
+
path: _path2 + ".included_types[" + _index91 + "]",
|
|
7003
7450
|
expected: "string",
|
|
7004
7451
|
value: elem
|
|
7005
7452
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7063,7 +7510,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7063
7510
|
expected: "(PresetNumericBins | undefined)",
|
|
7064
7511
|
value: input3.bins
|
|
7065
7512
|
})].every((flag) => flag);
|
|
7066
|
-
const $
|
|
7513
|
+
const $vo64 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
7067
7514
|
path: _path2 + ".id",
|
|
7068
7515
|
expected: "string",
|
|
7069
7516
|
value: input3.id
|
|
@@ -7079,8 +7526,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7079
7526
|
path: _path2 + ".child_types",
|
|
7080
7527
|
expected: "(Array<string> | undefined)",
|
|
7081
7528
|
value: input3.child_types
|
|
7082
|
-
})) && input3.child_types.map((elem,
|
|
7083
|
-
path: _path2 + ".child_types[" +
|
|
7529
|
+
})) && input3.child_types.map((elem, _index92) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7530
|
+
path: _path2 + ".child_types[" + _index92 + "]",
|
|
7084
7531
|
expected: "string",
|
|
7085
7532
|
value: elem
|
|
7086
7533
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7095,8 +7542,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7095
7542
|
path: _path2 + ".included_types",
|
|
7096
7543
|
expected: "(Array<string> | undefined)",
|
|
7097
7544
|
value: input3.included_types
|
|
7098
|
-
})) && input3.included_types.map((elem,
|
|
7099
|
-
path: _path2 + ".included_types[" +
|
|
7545
|
+
})) && input3.included_types.map((elem, _index93) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7546
|
+
path: _path2 + ".included_types[" + _index93 + "]",
|
|
7100
7547
|
expected: "string",
|
|
7101
7548
|
value: elem
|
|
7102
7549
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7128,7 +7575,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7128
7575
|
expected: "(__type.o1 | undefined)",
|
|
7129
7576
|
value: input3.valueConversion
|
|
7130
7577
|
})].every((flag) => flag);
|
|
7131
|
-
const $
|
|
7578
|
+
const $vo65 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
7132
7579
|
path: _path2 + ".id",
|
|
7133
7580
|
expected: "string",
|
|
7134
7581
|
value: input3.id
|
|
@@ -7144,8 +7591,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7144
7591
|
path: _path2 + ".child_types",
|
|
7145
7592
|
expected: "(Array<string> | undefined)",
|
|
7146
7593
|
value: input3.child_types
|
|
7147
|
-
})) && input3.child_types.map((elem,
|
|
7148
|
-
path: _path2 + ".child_types[" +
|
|
7594
|
+
})) && input3.child_types.map((elem, _index94) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7595
|
+
path: _path2 + ".child_types[" + _index94 + "]",
|
|
7149
7596
|
expected: "string",
|
|
7150
7597
|
value: elem
|
|
7151
7598
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7160,8 +7607,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7160
7607
|
path: _path2 + ".included_types",
|
|
7161
7608
|
expected: "(Array<string> | undefined)",
|
|
7162
7609
|
value: input3.included_types
|
|
7163
|
-
})) && input3.included_types.map((elem,
|
|
7164
|
-
path: _path2 + ".included_types[" +
|
|
7610
|
+
})) && input3.included_types.map((elem, _index95) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7611
|
+
path: _path2 + ".included_types[" + _index95 + "]",
|
|
7165
7612
|
expected: "string",
|
|
7166
7613
|
value: elem
|
|
7167
7614
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7192,16 +7639,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7192
7639
|
path: _path2 + ".valueConversion",
|
|
7193
7640
|
expected: "(__type.o1 | undefined)",
|
|
7194
7641
|
value: input3.valueConversion
|
|
7195
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
7196
|
-
path: _path2 + ".collectionId",
|
|
7197
|
-
expected: "(string | undefined)",
|
|
7198
|
-
value: input3.collectionId
|
|
7199
7642
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
7200
7643
|
path: _path2 + ".termIds",
|
|
7201
7644
|
expected: "(Array<string> | undefined)",
|
|
7202
7645
|
value: input3.termIds
|
|
7203
|
-
})) && input3.termIds.map((elem,
|
|
7204
|
-
path: _path2 + ".termIds[" +
|
|
7646
|
+
})) && input3.termIds.map((elem, _index96) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7647
|
+
path: _path2 + ".termIds[" + _index96 + "]",
|
|
7205
7648
|
expected: "string",
|
|
7206
7649
|
value: elem
|
|
7207
7650
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7212,12 +7655,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7212
7655
|
path: _path2 + ".termlst",
|
|
7213
7656
|
expected: "Array<BaseTerm>",
|
|
7214
7657
|
value: input3.termlst
|
|
7215
|
-
})) && input3.termlst.map((elem,
|
|
7216
|
-
path: _path2 + ".termlst[" +
|
|
7658
|
+
})) && input3.termlst.map((elem, _index97) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
7659
|
+
path: _path2 + ".termlst[" + _index97 + "]",
|
|
7217
7660
|
expected: "BaseTerm",
|
|
7218
7661
|
value: elem
|
|
7219
|
-
})) && $
|
|
7220
|
-
path: _path2 + ".termlst[" +
|
|
7662
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index97 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
7663
|
+
path: _path2 + ".termlst[" + _index97 + "]",
|
|
7221
7664
|
expected: "BaseTerm",
|
|
7222
7665
|
value: elem
|
|
7223
7666
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7230,11 +7673,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7230
7673
|
value: input3.newTvs
|
|
7231
7674
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
7232
7675
|
path: _path2 + ".propsByTermId",
|
|
7233
|
-
expected: "__type.
|
|
7676
|
+
expected: "__type.o7",
|
|
7234
7677
|
value: input3.propsByTermId
|
|
7235
|
-
})) && $
|
|
7678
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
7236
7679
|
path: _path2 + ".propsByTermId",
|
|
7237
|
-
expected: "__type.
|
|
7680
|
+
expected: "__type.o7",
|
|
7238
7681
|
value: input3.propsByTermId
|
|
7239
7682
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
7240
7683
|
path: _path2 + ".memberType",
|
|
@@ -7244,8 +7687,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7244
7687
|
path: _path2 + ".numerators",
|
|
7245
7688
|
expected: "(Array<string> | undefined)",
|
|
7246
7689
|
value: input3.numerators
|
|
7247
|
-
})) && input3.numerators.map((elem,
|
|
7248
|
-
path: _path2 + ".numerators[" +
|
|
7690
|
+
})) && input3.numerators.map((elem, _index98) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7691
|
+
path: _path2 + ".numerators[" + _index98 + "]",
|
|
7249
7692
|
expected: "string",
|
|
7250
7693
|
value: elem
|
|
7251
7694
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7253,7 +7696,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7253
7696
|
expected: "(Array<string> | undefined)",
|
|
7254
7697
|
value: input3.numerators
|
|
7255
7698
|
})].every((flag) => flag);
|
|
7256
|
-
const $
|
|
7699
|
+
const $vo66 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
7257
7700
|
path: _path2 + ".id",
|
|
7258
7701
|
expected: "string",
|
|
7259
7702
|
value: input3.id
|
|
@@ -7269,8 +7712,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7269
7712
|
path: _path2 + ".child_types",
|
|
7270
7713
|
expected: "(Array<string> | undefined)",
|
|
7271
7714
|
value: input3.child_types
|
|
7272
|
-
})) && input3.child_types.map((elem,
|
|
7273
|
-
path: _path2 + ".child_types[" +
|
|
7715
|
+
})) && input3.child_types.map((elem, _index99) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7716
|
+
path: _path2 + ".child_types[" + _index99 + "]",
|
|
7274
7717
|
expected: "string",
|
|
7275
7718
|
value: elem
|
|
7276
7719
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7285,8 +7728,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7285
7728
|
path: _path2 + ".included_types",
|
|
7286
7729
|
expected: "(Array<string> | undefined)",
|
|
7287
7730
|
value: input3.included_types
|
|
7288
|
-
})) && input3.included_types.map((elem,
|
|
7289
|
-
path: _path2 + ".included_types[" +
|
|
7731
|
+
})) && input3.included_types.map((elem, _index100) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7732
|
+
path: _path2 + ".included_types[" + _index100 + "]",
|
|
7290
7733
|
expected: "string",
|
|
7291
7734
|
value: elem
|
|
7292
7735
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7317,16 +7760,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7317
7760
|
path: _path2 + ".valueConversion",
|
|
7318
7761
|
expected: "(__type.o1 | undefined)",
|
|
7319
7762
|
value: input3.valueConversion
|
|
7320
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
7321
|
-
path: _path2 + ".collectionId",
|
|
7322
|
-
expected: "(string | undefined)",
|
|
7323
|
-
value: input3.collectionId
|
|
7324
7763
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
7325
7764
|
path: _path2 + ".termIds",
|
|
7326
7765
|
expected: "(Array<string> | undefined)",
|
|
7327
7766
|
value: input3.termIds
|
|
7328
|
-
})) && input3.termIds.map((elem,
|
|
7329
|
-
path: _path2 + ".termIds[" +
|
|
7767
|
+
})) && input3.termIds.map((elem, _index101) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7768
|
+
path: _path2 + ".termIds[" + _index101 + "]",
|
|
7330
7769
|
expected: "string",
|
|
7331
7770
|
value: elem
|
|
7332
7771
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7337,12 +7776,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7337
7776
|
path: _path2 + ".termlst",
|
|
7338
7777
|
expected: "Array<BaseTerm>",
|
|
7339
7778
|
value: input3.termlst
|
|
7340
|
-
})) && input3.termlst.map((elem,
|
|
7341
|
-
path: _path2 + ".termlst[" +
|
|
7779
|
+
})) && input3.termlst.map((elem, _index102) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
7780
|
+
path: _path2 + ".termlst[" + _index102 + "]",
|
|
7342
7781
|
expected: "BaseTerm",
|
|
7343
7782
|
value: elem
|
|
7344
|
-
})) && $
|
|
7345
|
-
path: _path2 + ".termlst[" +
|
|
7783
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index102 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
7784
|
+
path: _path2 + ".termlst[" + _index102 + "]",
|
|
7346
7785
|
expected: "BaseTerm",
|
|
7347
7786
|
value: elem
|
|
7348
7787
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7355,11 +7794,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7355
7794
|
value: input3.newTvs
|
|
7356
7795
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
7357
7796
|
path: _path2 + ".propsByTermId",
|
|
7358
|
-
expected: "__type.
|
|
7797
|
+
expected: "__type.o7",
|
|
7359
7798
|
value: input3.propsByTermId
|
|
7360
|
-
})) && $
|
|
7799
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
7361
7800
|
path: _path2 + ".propsByTermId",
|
|
7362
|
-
expected: "__type.
|
|
7801
|
+
expected: "__type.o7",
|
|
7363
7802
|
value: input3.propsByTermId
|
|
7364
7803
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
7365
7804
|
path: _path2 + ".memberType",
|
|
@@ -7369,12 +7808,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7369
7808
|
path: _path2 + ".categoryKeys",
|
|
7370
7809
|
expected: "Array<CategoryKey>",
|
|
7371
7810
|
value: input3.categoryKeys
|
|
7372
|
-
})) && input3.categoryKeys.map((elem,
|
|
7373
|
-
path: _path2 + ".categoryKeys[" +
|
|
7811
|
+
})) && input3.categoryKeys.map((elem, _index103) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
7812
|
+
path: _path2 + ".categoryKeys[" + _index103 + "]",
|
|
7374
7813
|
expected: "CategoryKey",
|
|
7375
7814
|
value: elem
|
|
7376
|
-
})) && $
|
|
7377
|
-
path: _path2 + ".categoryKeys[" +
|
|
7815
|
+
})) && $vo51(elem, _path2 + ".categoryKeys[" + _index103 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
7816
|
+
path: _path2 + ".categoryKeys[" + _index103 + "]",
|
|
7378
7817
|
expected: "CategoryKey",
|
|
7379
7818
|
value: elem
|
|
7380
7819
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7382,7 +7821,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7382
7821
|
expected: "Array<CategoryKey>",
|
|
7383
7822
|
value: input3.categoryKeys
|
|
7384
7823
|
})].every((flag) => flag);
|
|
7385
|
-
const $
|
|
7824
|
+
const $vo67 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
7386
7825
|
path: _path2 + ".id",
|
|
7387
7826
|
expected: "string",
|
|
7388
7827
|
value: input3.id
|
|
@@ -7398,8 +7837,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7398
7837
|
path: _path2 + ".child_types",
|
|
7399
7838
|
expected: "(Array<string> | undefined)",
|
|
7400
7839
|
value: input3.child_types
|
|
7401
|
-
})) && input3.child_types.map((elem,
|
|
7402
|
-
path: _path2 + ".child_types[" +
|
|
7840
|
+
})) && input3.child_types.map((elem, _index104) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7841
|
+
path: _path2 + ".child_types[" + _index104 + "]",
|
|
7403
7842
|
expected: "string",
|
|
7404
7843
|
value: elem
|
|
7405
7844
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7414,8 +7853,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7414
7853
|
path: _path2 + ".included_types",
|
|
7415
7854
|
expected: "(Array<string> | undefined)",
|
|
7416
7855
|
value: input3.included_types
|
|
7417
|
-
})) && input3.included_types.map((elem,
|
|
7418
|
-
path: _path2 + ".included_types[" +
|
|
7856
|
+
})) && input3.included_types.map((elem, _index105) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7857
|
+
path: _path2 + ".included_types[" + _index105 + "]",
|
|
7419
7858
|
expected: "string",
|
|
7420
7859
|
value: elem
|
|
7421
7860
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7454,12 +7893,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7454
7893
|
path: _path2 + ".snps",
|
|
7455
7894
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
7456
7895
|
value: input3.snps
|
|
7457
|
-
})) && input3.snps.map((elem,
|
|
7458
|
-
path: _path2 + ".snps[" +
|
|
7896
|
+
})) && input3.snps.map((elem, _index106) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
7897
|
+
path: _path2 + ".snps[" + _index106 + "]",
|
|
7459
7898
|
expected: "SnpsEntry",
|
|
7460
7899
|
value: elem
|
|
7461
|
-
})) && $
|
|
7462
|
-
path: _path2 + ".snps[" +
|
|
7900
|
+
})) && $vo68(elem, _path2 + ".snps[" + _index106 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
7901
|
+
path: _path2 + ".snps[" + _index106 + "]",
|
|
7463
7902
|
expected: "SnpsEntry",
|
|
7464
7903
|
value: elem
|
|
7465
7904
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7467,12 +7906,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7467
7906
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
7468
7907
|
value: input3.snps
|
|
7469
7908
|
})].every((flag) => flag);
|
|
7470
|
-
const $
|
|
7909
|
+
const $vo68 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
7471
7910
|
path: _path2 + ".altAlleles",
|
|
7472
7911
|
expected: "(Array<string> | undefined)",
|
|
7473
7912
|
value: input3.altAlleles
|
|
7474
|
-
})) && input3.altAlleles.map((elem,
|
|
7475
|
-
path: _path2 + ".altAlleles[" +
|
|
7913
|
+
})) && input3.altAlleles.map((elem, _index107) => "string" === typeof elem || $report(_exceptionable2, {
|
|
7914
|
+
path: _path2 + ".altAlleles[" + _index107 + "]",
|
|
7476
7915
|
expected: "string",
|
|
7477
7916
|
value: elem
|
|
7478
7917
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7483,12 +7922,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7483
7922
|
path: _path2 + ".alleles",
|
|
7484
7923
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
7485
7924
|
value: input3.alleles
|
|
7486
|
-
})) && input3.alleles.map((elem,
|
|
7487
|
-
path: _path2 + ".alleles[" +
|
|
7925
|
+
})) && input3.alleles.map((elem, _index108) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
7926
|
+
path: _path2 + ".alleles[" + _index108 + "]",
|
|
7488
7927
|
expected: "AllelesEntry",
|
|
7489
7928
|
value: elem
|
|
7490
|
-
})) && $
|
|
7491
|
-
path: _path2 + ".alleles[" +
|
|
7929
|
+
})) && $vo69(elem, _path2 + ".alleles[" + _index108 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
7930
|
+
path: _path2 + ".alleles[" + _index108 + "]",
|
|
7492
7931
|
expected: "AllelesEntry",
|
|
7493
7932
|
value: elem
|
|
7494
7933
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7501,11 +7940,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7501
7940
|
value: input3.effectAllele
|
|
7502
7941
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
7503
7942
|
path: _path2 + ".gt2count",
|
|
7504
|
-
expected: "(__type.
|
|
7943
|
+
expected: "(__type.o9 | undefined)",
|
|
7505
7944
|
value: input3.gt2count
|
|
7506
|
-
})) && $
|
|
7945
|
+
})) && $vo70(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
7507
7946
|
path: _path2 + ".gt2count",
|
|
7508
|
-
expected: "(__type.
|
|
7947
|
+
expected: "(__type.o9 | undefined)",
|
|
7509
7948
|
value: input3.gt2count
|
|
7510
7949
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
7511
7950
|
path: _path2 + ".invalid",
|
|
@@ -7532,7 +7971,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7532
7971
|
expected: "(number | undefined)",
|
|
7533
7972
|
value: input3.pos
|
|
7534
7973
|
})].every((flag) => flag);
|
|
7535
|
-
const $
|
|
7974
|
+
const $vo69 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
7536
7975
|
path: _path2 + ".allele",
|
|
7537
7976
|
expected: "string",
|
|
7538
7977
|
value: input3.allele
|
|
@@ -7545,7 +7984,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7545
7984
|
expected: "boolean",
|
|
7546
7985
|
value: input3.isRef
|
|
7547
7986
|
})].every((flag) => flag);
|
|
7548
|
-
const $
|
|
7987
|
+
const $vo70 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
7549
7988
|
path: _path2 + ".k",
|
|
7550
7989
|
expected: "string",
|
|
7551
7990
|
value: input3.k
|
|
@@ -7554,7 +7993,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7554
7993
|
expected: "(number | string)",
|
|
7555
7994
|
value: input3.v
|
|
7556
7995
|
})].every((flag) => flag);
|
|
7557
|
-
const $
|
|
7996
|
+
const $vo71 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
7558
7997
|
path: _path2 + ".id",
|
|
7559
7998
|
expected: "string",
|
|
7560
7999
|
value: input3.id
|
|
@@ -7570,8 +8009,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7570
8009
|
path: _path2 + ".child_types",
|
|
7571
8010
|
expected: "(Array<string> | undefined)",
|
|
7572
8011
|
value: input3.child_types
|
|
7573
|
-
})) && input3.child_types.map((elem,
|
|
7574
|
-
path: _path2 + ".child_types[" +
|
|
8012
|
+
})) && input3.child_types.map((elem, _index109) => "string" === typeof elem || $report(_exceptionable2, {
|
|
8013
|
+
path: _path2 + ".child_types[" + _index109 + "]",
|
|
7575
8014
|
expected: "string",
|
|
7576
8015
|
value: elem
|
|
7577
8016
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7586,8 +8025,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7586
8025
|
path: _path2 + ".included_types",
|
|
7587
8026
|
expected: "(Array<string> | undefined)",
|
|
7588
8027
|
value: input3.included_types
|
|
7589
|
-
})) && input3.included_types.map((elem,
|
|
7590
|
-
path: _path2 + ".included_types[" +
|
|
8028
|
+
})) && input3.included_types.map((elem, _index110) => "string" === typeof elem || $report(_exceptionable2, {
|
|
8029
|
+
path: _path2 + ".included_types[" + _index110 + "]",
|
|
7591
8030
|
expected: "string",
|
|
7592
8031
|
value: elem
|
|
7593
8032
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -7602,7 +8041,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7602
8041
|
path: _path2 + ".values",
|
|
7603
8042
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
7604
8043
|
value: input3.values
|
|
7605
|
-
})) && $
|
|
8044
|
+
})) && $vo72(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
7606
8045
|
path: _path2 + ".values",
|
|
7607
8046
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
7608
8047
|
value: input3.values
|
|
@@ -7619,7 +8058,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7619
8058
|
expected: "(__type.o1 | undefined)",
|
|
7620
8059
|
value: input3.valueConversion
|
|
7621
8060
|
})].every((flag) => flag);
|
|
7622
|
-
const $
|
|
8061
|
+
const $vo72 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
7623
8062
|
const value = input3[key];
|
|
7624
8063
|
if (void 0 === value)
|
|
7625
8064
|
return true;
|
|
@@ -7628,7 +8067,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7628
8067
|
path: _path2 + $join(key),
|
|
7629
8068
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
7630
8069
|
value
|
|
7631
|
-
})) && $
|
|
8070
|
+
})) && $vo73(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
7632
8071
|
path: _path2 + $join(key),
|
|
7633
8072
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
7634
8073
|
value
|
|
@@ -7638,14 +8077,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7638
8077
|
path: _path2 + $join(key),
|
|
7639
8078
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
7640
8079
|
value
|
|
7641
|
-
})) && $
|
|
8080
|
+
})) && $vo73(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
7642
8081
|
path: _path2 + $join(key),
|
|
7643
8082
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
7644
8083
|
value
|
|
7645
8084
|
});
|
|
7646
8085
|
return true;
|
|
7647
8086
|
}).every((flag) => flag)].every((flag) => flag);
|
|
7648
|
-
const $
|
|
8087
|
+
const $vo73 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
7649
8088
|
path: _path2 + ".key",
|
|
7650
8089
|
expected: "(string | undefined)",
|
|
7651
8090
|
value: input3.key
|
|
@@ -7689,20 +8128,20 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7689
8128
|
path: _path2 + ".list",
|
|
7690
8129
|
expected: "Array<__type>.o3",
|
|
7691
8130
|
value: input3.list
|
|
7692
|
-
})) && input3.list.map((elem,
|
|
7693
|
-
path: _path2 + ".list[" +
|
|
7694
|
-
expected: "__type.
|
|
8131
|
+
})) && input3.list.map((elem, _index111) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
8132
|
+
path: _path2 + ".list[" + _index111 + "]",
|
|
8133
|
+
expected: "__type.o10",
|
|
7695
8134
|
value: elem
|
|
7696
|
-
})) && $
|
|
7697
|
-
path: _path2 + ".list[" +
|
|
7698
|
-
expected: "__type.
|
|
8135
|
+
})) && $vo74(elem, _path2 + ".list[" + _index111 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
8136
|
+
path: _path2 + ".list[" + _index111 + "]",
|
|
8137
|
+
expected: "__type.o10",
|
|
7699
8138
|
value: elem
|
|
7700
8139
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
7701
8140
|
path: _path2 + ".list",
|
|
7702
8141
|
expected: "Array<__type>.o3",
|
|
7703
8142
|
value: input3.list
|
|
7704
8143
|
}), true].every((flag) => flag);
|
|
7705
|
-
const $
|
|
8144
|
+
const $vo74 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
7706
8145
|
path: _path2 + ".sampleId",
|
|
7707
8146
|
expected: "string",
|
|
7708
8147
|
value: input3.sampleId
|
|
@@ -7713,30 +8152,30 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7713
8152
|
})].every((flag) => flag);
|
|
7714
8153
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
7715
8154
|
if ("metaboliteIntensity" === input3.type)
|
|
7716
|
-
return $
|
|
8155
|
+
return $vo54(input3, _path2, _exceptionable2);
|
|
7717
8156
|
if ("wholeProteomeAbundance" === input3.type)
|
|
7718
|
-
return $
|
|
8157
|
+
return $vo55(input3, _path2, _exceptionable2);
|
|
7719
8158
|
if ("categorical" === input3.type)
|
|
7720
|
-
return $
|
|
8159
|
+
return $vo56(input3, _path2, _exceptionable2);
|
|
7721
8160
|
if ("snp" === input3.type)
|
|
7722
|
-
return $
|
|
8161
|
+
return $vo57(input3, _path2, _exceptionable2);
|
|
7723
8162
|
if ("singleCellCellType" === input3.type)
|
|
7724
|
-
return $
|
|
8163
|
+
return $vo58(input3, _path2, _exceptionable2);
|
|
7725
8164
|
if ("date" === input3.type)
|
|
7726
|
-
return $
|
|
8165
|
+
return $vo61(input3, _path2, _exceptionable2);
|
|
7727
8166
|
if ("integer" === input3.type || "float" === input3.type)
|
|
7728
|
-
return $vo58(input3, _path2, _exceptionable2);
|
|
7729
|
-
if ("ssGSEA" === input3.type)
|
|
7730
8167
|
return $vo60(input3, _path2, _exceptionable2);
|
|
8168
|
+
if ("ssGSEA" === input3.type)
|
|
8169
|
+
return $vo62(input3, _path2, _exceptionable2);
|
|
7731
8170
|
if ("dnaMethylation" === input3.type)
|
|
7732
|
-
return $
|
|
8171
|
+
return $vo63(input3, _path2, _exceptionable2);
|
|
7733
8172
|
if ("condition" === input3.type)
|
|
7734
|
-
return $
|
|
8173
|
+
return $vo64(input3, _path2, _exceptionable2);
|
|
7735
8174
|
if ("numeric" === input3.memberType)
|
|
7736
|
-
return $
|
|
8175
|
+
return $vo65(input3, _path2, _exceptionable2);
|
|
7737
8176
|
if ("categorical" === input3.memberType)
|
|
7738
|
-
return $
|
|
7739
|
-
return $vo24(input3, _path2, false) || $vo1(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false) || $
|
|
8177
|
+
return $vo66(input3, _path2, _exceptionable2);
|
|
8178
|
+
return $vo24(input3, _path2, false) || $vo1(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false) || $vo52(input3, _path2, false) || $vo53(input3, _path2, false) || $vo67(input3, _path2, false) || $vo71(input3, _path2, false);
|
|
7740
8179
|
})();
|
|
7741
8180
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
7742
8181
|
if ("tvslst" === input3.type)
|
|
@@ -7765,13 +8204,15 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7765
8204
|
return $vo20(input3, _path2, _exceptionable2);
|
|
7766
8205
|
if (true === input3.stopunbounded)
|
|
7767
8206
|
return $vo22(input3, _path2, _exceptionable2);
|
|
8207
|
+
if (void 0 !== input3.value)
|
|
8208
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
7768
8209
|
return $vo21(input3, _path2, _exceptionable2);
|
|
7769
8210
|
})();
|
|
7770
8211
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
7771
8212
|
if ("gene" === input3.kind)
|
|
7772
|
-
return $
|
|
8213
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
7773
8214
|
if ("coord" === input3.kind)
|
|
7774
|
-
return $
|
|
8215
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
7775
8216
|
return $report(_exceptionable2, {
|
|
7776
8217
|
path: _path2,
|
|
7777
8218
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -7779,13 +8220,20 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7779
8220
|
});
|
|
7780
8221
|
})();
|
|
7781
8222
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
8223
|
+
if (true === input3.startunbounded)
|
|
8224
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
8225
|
+
if (true === input3.stopunbounded)
|
|
8226
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
8227
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
8228
|
+
})();
|
|
8229
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
7782
8230
|
if (void 0 !== input3.ranges)
|
|
7783
8231
|
return $vo14(input3, _path2, _exceptionable2);
|
|
7784
8232
|
if (void 0 !== input3.ratio)
|
|
7785
|
-
return $
|
|
7786
|
-
return $vo6(input3, _path2, false) || $
|
|
8233
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
8234
|
+
return $vo6(input3, _path2, false) || $vo34(input3, _path2, false) || $vo38(input3, _path2, false);
|
|
7787
8235
|
})();
|
|
7788
|
-
const $
|
|
8236
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
7789
8237
|
if ("integer" === input3.type || "float" === input3.type)
|
|
7790
8238
|
return $vo15(input3, _path2, _exceptionable2);
|
|
7791
8239
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -7800,7 +8248,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7800
8248
|
return $vo29(input3, _path2, _exceptionable2);
|
|
7801
8249
|
return $vo24(input3, _path2, false) || $vo1(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
7802
8250
|
})();
|
|
7803
|
-
const $
|
|
8251
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
7804
8252
|
if ("regular-bin" === input3.type)
|
|
7805
8253
|
return $vo18(input3, _path2, _exceptionable2);
|
|
7806
8254
|
if ("custom-bin" === input3.type)
|
|
@@ -7811,7 +8259,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7811
8259
|
value: input3
|
|
7812
8260
|
});
|
|
7813
8261
|
})();
|
|
7814
|
-
const $
|
|
8262
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
7815
8263
|
if (true === input3.startunbounded)
|
|
7816
8264
|
return $vo20(input3, _path2, _exceptionable2);
|
|
7817
8265
|
if (void 0 !== input3.start)
|
|
@@ -7822,7 +8270,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7822
8270
|
value: input3
|
|
7823
8271
|
});
|
|
7824
8272
|
})();
|
|
7825
|
-
const $
|
|
8273
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
7826
8274
|
if (void 0 !== input3.stop)
|
|
7827
8275
|
return $vo21(input3, _path2, _exceptionable2);
|
|
7828
8276
|
if (true === input3.stopunbounded)
|
|
@@ -7833,22 +8281,22 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
7833
8281
|
value: input3
|
|
7834
8282
|
});
|
|
7835
8283
|
})();
|
|
7836
|
-
const $
|
|
8284
|
+
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
7837
8285
|
if ("gene" === input3.kind)
|
|
7838
|
-
return $
|
|
8286
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
7839
8287
|
if ("coord" === input3.kind)
|
|
7840
|
-
return $
|
|
8288
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
7841
8289
|
return $report(_exceptionable2, {
|
|
7842
8290
|
path: _path2,
|
|
7843
8291
|
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; })',
|
|
7844
8292
|
value: input3
|
|
7845
8293
|
});
|
|
7846
8294
|
})();
|
|
7847
|
-
const $
|
|
8295
|
+
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
7848
8296
|
if ("numeric" === input3.memberType)
|
|
7849
|
-
return $
|
|
8297
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
7850
8298
|
if ("categorical" === input3.memberType)
|
|
7851
|
-
return $
|
|
8299
|
+
return $vo50(input3, _path2, _exceptionable2);
|
|
7852
8300
|
return $report(_exceptionable2, {
|
|
7853
8301
|
path: _path2,
|
|
7854
8302
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|