@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
|
@@ -60,9 +60,9 @@ var validViolinRequest = (input) => {
|
|
|
60
60
|
const __is = (input2) => {
|
|
61
61
|
const $join = import_typia.createValidate.join;
|
|
62
62
|
const $io0 = (input3) => "number" === typeof input3.axisHeight && (Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && "string" === typeof input3.datasymbol && "number" === typeof input3.devicePixelRatio && true && true && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "string" === typeof input3.genome && "boolean" === typeof input3.isKDE && ("horizontal" === input3.orientation || "vertical" === input3.orientation) && "number" === typeof input3.radius && "number" === typeof input3.rightMargin && true && "number" === typeof input3.strokeWidth && "number" === typeof input3.svgw && "number" === typeof input3.ticks && true && "string" === typeof input3.unit;
|
|
63
|
-
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)));
|
|
64
|
-
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
65
|
-
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)));
|
|
63
|
+
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);
|
|
64
|
+
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
65
|
+
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);
|
|
66
66
|
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));
|
|
67
67
|
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
68
68
|
const value = input3[key];
|
|
@@ -81,11 +81,11 @@ var validViolinRequest = (input) => {
|
|
|
81
81
|
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
82
82
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
83
83
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
84
|
-
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $
|
|
84
|
+
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)));
|
|
85
85
|
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
86
86
|
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
87
|
-
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $
|
|
88
|
-
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 && $
|
|
87
|
+
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);
|
|
88
|
+
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);
|
|
89
89
|
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
90
90
|
const value = input3[key];
|
|
91
91
|
if (void 0 === value)
|
|
@@ -97,7 +97,7 @@ var validViolinRequest = (input) => {
|
|
|
97
97
|
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);
|
|
98
98
|
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);
|
|
99
99
|
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);
|
|
100
|
-
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] && $
|
|
100
|
+
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);
|
|
101
101
|
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
102
102
|
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
103
103
|
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
@@ -107,29 +107,40 @@ var validViolinRequest = (input) => {
|
|
|
107
107
|
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
108
108
|
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
109
109
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
110
|
-
const $io32 = (input3) => "
|
|
111
|
-
const $io33 = (input3) =>
|
|
112
|
-
const $io34 = (input3) =>
|
|
113
|
-
const $io35 = (input3) => "
|
|
114
|
-
const $io36 = (input3) =>
|
|
115
|
-
const $io37 = (input3) => "string" === typeof input3.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
110
|
+
const $io32 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
111
|
+
const $io33 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
112
|
+
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)));
|
|
113
|
+
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));
|
|
114
|
+
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;
|
|
115
|
+
const $io37 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
116
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
117
|
+
return true;
|
|
118
|
+
const value = input3[key];
|
|
119
|
+
if (void 0 === value)
|
|
120
|
+
return true;
|
|
121
|
+
if (RegExp(/(.*)/).test(key))
|
|
122
|
+
return true;
|
|
123
|
+
return true;
|
|
124
|
+
});
|
|
125
|
+
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);
|
|
126
|
+
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));
|
|
127
|
+
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)));
|
|
128
|
+
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);
|
|
129
|
+
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;
|
|
130
|
+
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)));
|
|
131
|
+
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);
|
|
132
|
+
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;
|
|
133
|
+
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));
|
|
134
|
+
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));
|
|
135
|
+
const $io48 = (input3) => Object.keys(input3).every((key) => {
|
|
125
136
|
const value = input3[key];
|
|
126
137
|
if (void 0 === value)
|
|
127
138
|
return true;
|
|
128
139
|
if (RegExp(/(.*)/).test(key))
|
|
129
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
140
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io49(value);
|
|
130
141
|
return true;
|
|
131
142
|
});
|
|
132
|
-
const $
|
|
143
|
+
const $io49 = (input3) => Object.keys(input3).every((key) => {
|
|
133
144
|
const value = input3[key];
|
|
134
145
|
if (void 0 === value)
|
|
135
146
|
return true;
|
|
@@ -137,8 +148,8 @@ var validViolinRequest = (input) => {
|
|
|
137
148
|
return true;
|
|
138
149
|
return true;
|
|
139
150
|
});
|
|
140
|
-
const $
|
|
141
|
-
const $
|
|
151
|
+
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)));
|
|
152
|
+
const $io51 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
142
153
|
const $iu0 = (input3) => (() => {
|
|
143
154
|
if ("tvslst" === input3.type)
|
|
144
155
|
return $io1(input3);
|
|
@@ -158,31 +169,40 @@ var validViolinRequest = (input) => {
|
|
|
158
169
|
return $io19(input3);
|
|
159
170
|
if (true === input3.stopunbounded)
|
|
160
171
|
return $io21(input3);
|
|
172
|
+
if (void 0 !== input3.value)
|
|
173
|
+
return $io32(input3);
|
|
161
174
|
return $io20(input3);
|
|
162
175
|
})();
|
|
163
176
|
const $iu3 = (input3) => (() => {
|
|
164
177
|
if ("gene" === input3.kind)
|
|
165
|
-
return $
|
|
178
|
+
return $io41(input3);
|
|
166
179
|
if ("coord" === input3.kind)
|
|
167
|
-
return $
|
|
180
|
+
return $io42(input3);
|
|
168
181
|
return false;
|
|
169
182
|
})();
|
|
170
183
|
const $iu4 = (input3) => (() => {
|
|
184
|
+
if (true === input3.startunbounded)
|
|
185
|
+
return $io19(input3);
|
|
186
|
+
if (true === input3.stopunbounded)
|
|
187
|
+
return $io21(input3);
|
|
188
|
+
return $io20(input3);
|
|
189
|
+
})();
|
|
190
|
+
const $iu5 = (input3) => (() => {
|
|
171
191
|
if (void 0 !== input3.ranges)
|
|
172
192
|
return $io13(input3);
|
|
173
193
|
if (void 0 !== input3.ratio)
|
|
174
|
-
return $
|
|
194
|
+
return $io45(input3);
|
|
175
195
|
return (() => {
|
|
176
196
|
if ($io3(input3))
|
|
177
197
|
return $io3(input3);
|
|
178
|
-
if ($
|
|
179
|
-
return $
|
|
180
|
-
if ($
|
|
181
|
-
return $
|
|
198
|
+
if ($io34(input3))
|
|
199
|
+
return $io34(input3);
|
|
200
|
+
if ($io38(input3))
|
|
201
|
+
return $io38(input3);
|
|
182
202
|
return false;
|
|
183
203
|
})();
|
|
184
204
|
})();
|
|
185
|
-
const $
|
|
205
|
+
const $iu6 = (input3) => (() => {
|
|
186
206
|
if ("integer" === input3.type || "float" === input3.type)
|
|
187
207
|
return $io14(input3);
|
|
188
208
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -207,39 +227,39 @@ var validViolinRequest = (input) => {
|
|
|
207
227
|
return false;
|
|
208
228
|
})();
|
|
209
229
|
})();
|
|
210
|
-
const $
|
|
230
|
+
const $iu7 = (input3) => (() => {
|
|
211
231
|
if ("regular-bin" === input3.type)
|
|
212
232
|
return $io17(input3);
|
|
213
233
|
if ("custom-bin" === input3.type)
|
|
214
234
|
return $io22(input3);
|
|
215
235
|
return false;
|
|
216
236
|
})();
|
|
217
|
-
const $
|
|
237
|
+
const $iu8 = (input3) => (() => {
|
|
218
238
|
if (true === input3.startunbounded)
|
|
219
239
|
return $io19(input3);
|
|
220
240
|
if (void 0 !== input3.start)
|
|
221
241
|
return $io20(input3);
|
|
222
242
|
return false;
|
|
223
243
|
})();
|
|
224
|
-
const $
|
|
244
|
+
const $iu9 = (input3) => (() => {
|
|
225
245
|
if (void 0 !== input3.stop)
|
|
226
246
|
return $io20(input3);
|
|
227
247
|
if (true === input3.stopunbounded)
|
|
228
248
|
return $io21(input3);
|
|
229
249
|
return false;
|
|
230
250
|
})();
|
|
231
|
-
const $
|
|
251
|
+
const $iu10 = (input3) => (() => {
|
|
232
252
|
if ("gene" === input3.kind)
|
|
233
|
-
return $
|
|
253
|
+
return $io40(input3);
|
|
234
254
|
if ("coord" === input3.kind)
|
|
235
|
-
return $
|
|
255
|
+
return $io43(input3);
|
|
236
256
|
return false;
|
|
237
257
|
})();
|
|
238
|
-
const $
|
|
258
|
+
const $iu11 = (input3) => (() => {
|
|
239
259
|
if ("numeric" === input3.memberType)
|
|
240
|
-
return $
|
|
260
|
+
return $io46(input3);
|
|
241
261
|
if ("categorical" === input3.memberType)
|
|
242
|
-
return $
|
|
262
|
+
return $io50(input3);
|
|
243
263
|
return false;
|
|
244
264
|
})();
|
|
245
265
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -353,6 +373,10 @@ var validViolinRequest = (input) => {
|
|
|
353
373
|
path: _path2 + ".lst",
|
|
354
374
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
355
375
|
value: input3.lst
|
|
376
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
377
|
+
path: _path2 + ".$id",
|
|
378
|
+
expected: "(string | undefined)",
|
|
379
|
+
value: input3.$id
|
|
356
380
|
})].every((flag) => flag);
|
|
357
381
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
358
382
|
path: _path2 + ".type",
|
|
@@ -362,7 +386,7 @@ var validViolinRequest = (input) => {
|
|
|
362
386
|
path: _path2 + ".tvs",
|
|
363
387
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
364
388
|
value: input3.tvs
|
|
365
|
-
})) && $
|
|
389
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
366
390
|
path: _path2 + ".tvs",
|
|
367
391
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
368
392
|
value: input3.tvs
|
|
@@ -375,6 +399,26 @@ var validViolinRequest = (input) => {
|
|
|
375
399
|
path: _path2 + ".isnot",
|
|
376
400
|
expected: "(boolean | undefined)",
|
|
377
401
|
value: input3.isnot
|
|
402
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
403
|
+
path: _path2 + ".bar_by_grade",
|
|
404
|
+
expected: "(boolean | undefined)",
|
|
405
|
+
value: input3.bar_by_grade
|
|
406
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
407
|
+
path: _path2 + ".bar_by_children",
|
|
408
|
+
expected: "(boolean | undefined)",
|
|
409
|
+
value: input3.bar_by_children
|
|
410
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
411
|
+
path: _path2 + ".value_by_max_grade",
|
|
412
|
+
expected: "(boolean | undefined)",
|
|
413
|
+
value: input3.value_by_max_grade
|
|
414
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
415
|
+
path: _path2 + ".value_by_most_recent",
|
|
416
|
+
expected: "(boolean | undefined)",
|
|
417
|
+
value: input3.value_by_most_recent
|
|
418
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
419
|
+
path: _path2 + ".value_by_computable_grade",
|
|
420
|
+
expected: "(boolean | undefined)",
|
|
421
|
+
value: input3.value_by_computable_grade
|
|
378
422
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
379
423
|
path: _path2 + ".term",
|
|
380
424
|
expected: "CategoricalTerm",
|
|
@@ -403,6 +447,10 @@ var validViolinRequest = (input) => {
|
|
|
403
447
|
path: _path2 + ".values",
|
|
404
448
|
expected: "Array<BaseValue>",
|
|
405
449
|
value: input3.values
|
|
450
|
+
}), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
|
|
451
|
+
path: _path2 + ".valueset",
|
|
452
|
+
expected: "(Set<any> | undefined)",
|
|
453
|
+
value: input3.valueset
|
|
406
454
|
})].every((flag) => flag);
|
|
407
455
|
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
408
456
|
path: _path2 + ".id",
|
|
@@ -670,45 +718,65 @@ var validViolinRequest = (input) => {
|
|
|
670
718
|
path: _path2 + ".isnot",
|
|
671
719
|
expected: "(boolean | undefined)",
|
|
672
720
|
value: input3.isnot
|
|
721
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
722
|
+
path: _path2 + ".bar_by_grade",
|
|
723
|
+
expected: "(boolean | undefined)",
|
|
724
|
+
value: input3.bar_by_grade
|
|
725
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
726
|
+
path: _path2 + ".bar_by_children",
|
|
727
|
+
expected: "(boolean | undefined)",
|
|
728
|
+
value: input3.bar_by_children
|
|
729
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
730
|
+
path: _path2 + ".value_by_max_grade",
|
|
731
|
+
expected: "(boolean | undefined)",
|
|
732
|
+
value: input3.value_by_max_grade
|
|
733
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
734
|
+
path: _path2 + ".value_by_most_recent",
|
|
735
|
+
expected: "(boolean | undefined)",
|
|
736
|
+
value: input3.value_by_most_recent
|
|
737
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
738
|
+
path: _path2 + ".value_by_computable_grade",
|
|
739
|
+
expected: "(boolean | undefined)",
|
|
740
|
+
value: input3.value_by_computable_grade
|
|
673
741
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
674
742
|
path: _path2 + ".term",
|
|
675
743
|
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)',
|
|
676
744
|
value: input3.term
|
|
677
|
-
})) && $
|
|
745
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
678
746
|
path: _path2 + ".term",
|
|
679
747
|
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)',
|
|
680
748
|
value: input3.term
|
|
681
749
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
682
750
|
path: _path2 + ".ranges",
|
|
683
|
-
expected: "Array<NumericBin>",
|
|
751
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
684
752
|
value: input3.ranges
|
|
685
753
|
})) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
686
754
|
path: _path2 + ".ranges[" + _index9 + "]",
|
|
687
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
755
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
688
756
|
value: elem
|
|
689
757
|
})) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
690
758
|
path: _path2 + ".ranges[" + _index9 + "]",
|
|
691
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
759
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
692
760
|
value: elem
|
|
693
761
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
694
762
|
path: _path2 + ".ranges",
|
|
695
|
-
expected: "Array<NumericBin>",
|
|
763
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
696
764
|
value: input3.ranges
|
|
697
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
765
|
+
}), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
698
766
|
path: _path2 + ".values",
|
|
699
|
-
expected: "Array<__type>.o1",
|
|
767
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
700
768
|
value: input3.values
|
|
701
769
|
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
702
770
|
path: _path2 + ".values[" + _index10 + "]",
|
|
703
|
-
expected: "__type.
|
|
771
|
+
expected: "__type.o5",
|
|
704
772
|
value: elem
|
|
705
|
-
})) && $
|
|
773
|
+
})) && $vo33(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
706
774
|
path: _path2 + ".values[" + _index10 + "]",
|
|
707
|
-
expected: "__type.
|
|
775
|
+
expected: "__type.o5",
|
|
708
776
|
value: elem
|
|
709
777
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
710
778
|
path: _path2 + ".values",
|
|
711
|
-
expected: "Array<__type>.o1",
|
|
779
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
712
780
|
value: input3.values
|
|
713
781
|
})].every((flag) => flag);
|
|
714
782
|
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -809,7 +877,7 @@ var validViolinRequest = (input) => {
|
|
|
809
877
|
path: _path2 + '["default"]',
|
|
810
878
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
811
879
|
value: input3["default"]
|
|
812
|
-
})) && $
|
|
880
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
813
881
|
path: _path2 + '["default"]',
|
|
814
882
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
815
883
|
value: input3["default"]
|
|
@@ -817,7 +885,7 @@ var validViolinRequest = (input) => {
|
|
|
817
885
|
path: _path2 + ".less",
|
|
818
886
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
819
887
|
value: input3.less
|
|
820
|
-
})) && $
|
|
888
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
821
889
|
path: _path2 + ".less",
|
|
822
890
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
823
891
|
value: input3.less
|
|
@@ -878,7 +946,7 @@ var validViolinRequest = (input) => {
|
|
|
878
946
|
path: _path2 + ".first_bin",
|
|
879
947
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
880
948
|
value: input3.first_bin
|
|
881
|
-
})) && $
|
|
949
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
882
950
|
path: _path2 + ".first_bin",
|
|
883
951
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
884
952
|
value: input3.first_bin
|
|
@@ -886,7 +954,7 @@ var validViolinRequest = (input) => {
|
|
|
886
954
|
path: _path2 + ".last_bin",
|
|
887
955
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
888
956
|
value: input3.last_bin
|
|
889
|
-
})) && $
|
|
957
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
890
958
|
path: _path2 + ".last_bin",
|
|
891
959
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
892
960
|
value: input3.last_bin
|
|
@@ -1051,7 +1119,7 @@ var validViolinRequest = (input) => {
|
|
|
1051
1119
|
path: _path2 + ".lst[0]",
|
|
1052
1120
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1053
1121
|
value: input3.lst[0]
|
|
1054
|
-
})) && $
|
|
1122
|
+
})) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
1055
1123
|
path: _path2 + ".lst[0]",
|
|
1056
1124
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1057
1125
|
value: input3.lst[0]
|
|
@@ -1064,7 +1132,7 @@ var validViolinRequest = (input) => {
|
|
|
1064
1132
|
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1065
1133
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1066
1134
|
value: elem
|
|
1067
|
-
})) && $
|
|
1135
|
+
})) && $vu4(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1068
1136
|
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1069
1137
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1070
1138
|
value: elem
|
|
@@ -1970,7 +2038,20 @@ var validViolinRequest = (input) => {
|
|
|
1970
2038
|
expected: "number",
|
|
1971
2039
|
value: input3.stop
|
|
1972
2040
|
})].every((flag) => flag);
|
|
1973
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["
|
|
2041
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
2042
|
+
path: _path2 + ".value",
|
|
2043
|
+
expected: "number",
|
|
2044
|
+
value: input3.value
|
|
2045
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2046
|
+
path: _path2 + ".label",
|
|
2047
|
+
expected: "(string | undefined)",
|
|
2048
|
+
value: input3.label
|
|
2049
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2050
|
+
path: _path2 + ".name",
|
|
2051
|
+
expected: "(string | undefined)",
|
|
2052
|
+
value: input3.name
|
|
2053
|
+
})].every((flag) => flag);
|
|
2054
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1974
2055
|
path: _path2 + ".key",
|
|
1975
2056
|
expected: "string",
|
|
1976
2057
|
value: input3.key
|
|
@@ -1987,7 +2068,7 @@ var validViolinRequest = (input) => {
|
|
|
1987
2068
|
expected: "(string | undefined)",
|
|
1988
2069
|
value: input3.label
|
|
1989
2070
|
})].every((flag) => flag);
|
|
1990
|
-
const $
|
|
2071
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1991
2072
|
path: _path2 + ".join",
|
|
1992
2073
|
expected: "(string | undefined)",
|
|
1993
2074
|
value: input3.join
|
|
@@ -1995,14 +2076,14 @@ var validViolinRequest = (input) => {
|
|
|
1995
2076
|
path: _path2 + ".isnot",
|
|
1996
2077
|
expected: "(boolean | undefined)",
|
|
1997
2078
|
value: input3.isnot
|
|
1998
|
-
}),
|
|
1999
|
-
path: _path2 + ".
|
|
2000
|
-
expected: "
|
|
2001
|
-
value: input3.
|
|
2002
|
-
})
|
|
2003
|
-
path: _path2 + ".
|
|
2004
|
-
expected: "
|
|
2005
|
-
value: input3.
|
|
2079
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2080
|
+
path: _path2 + ".bar_by_grade",
|
|
2081
|
+
expected: "(boolean | undefined)",
|
|
2082
|
+
value: input3.bar_by_grade
|
|
2083
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2084
|
+
path: _path2 + ".bar_by_children",
|
|
2085
|
+
expected: "(boolean | undefined)",
|
|
2086
|
+
value: input3.bar_by_children
|
|
2006
2087
|
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2007
2088
|
path: _path2 + ".value_by_max_grade",
|
|
2008
2089
|
expected: "(boolean | undefined)",
|
|
@@ -2015,6 +2096,14 @@ var validViolinRequest = (input) => {
|
|
|
2015
2096
|
path: _path2 + ".value_by_computable_grade",
|
|
2016
2097
|
expected: "(boolean | undefined)",
|
|
2017
2098
|
value: input3.value_by_computable_grade
|
|
2099
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2100
|
+
path: _path2 + ".term",
|
|
2101
|
+
expected: "ConditionTerm",
|
|
2102
|
+
value: input3.term
|
|
2103
|
+
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2104
|
+
path: _path2 + ".term",
|
|
2105
|
+
expected: "ConditionTerm",
|
|
2106
|
+
value: input3.term
|
|
2018
2107
|
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
2019
2108
|
path: _path2 + ".grade_and_child",
|
|
2020
2109
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
@@ -2023,7 +2112,7 @@ var validViolinRequest = (input) => {
|
|
|
2023
2112
|
path: _path2 + ".grade_and_child[" + _index33 + "]",
|
|
2024
2113
|
expected: "GradeAndChildEntry",
|
|
2025
2114
|
value: elem
|
|
2026
|
-
})) && $
|
|
2115
|
+
})) && $vo36(elem, _path2 + ".grade_and_child[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2027
2116
|
path: _path2 + ".grade_and_child[" + _index33 + "]",
|
|
2028
2117
|
expected: "GradeAndChildEntry",
|
|
2029
2118
|
value: elem
|
|
@@ -2031,8 +2120,24 @@ var validViolinRequest = (input) => {
|
|
|
2031
2120
|
path: _path2 + ".grade_and_child",
|
|
2032
2121
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2033
2122
|
value: input3.grade_and_child
|
|
2123
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2124
|
+
path: _path2 + ".values",
|
|
2125
|
+
expected: "Array<__type>.o2",
|
|
2126
|
+
value: input3.values
|
|
2127
|
+
})) && input3.values.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2128
|
+
path: _path2 + ".values[" + _index34 + "]",
|
|
2129
|
+
expected: "__type.o6",
|
|
2130
|
+
value: elem
|
|
2131
|
+
})) && $vo37(elem, _path2 + ".values[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2132
|
+
path: _path2 + ".values[" + _index34 + "]",
|
|
2133
|
+
expected: "__type.o6",
|
|
2134
|
+
value: elem
|
|
2135
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2136
|
+
path: _path2 + ".values",
|
|
2137
|
+
expected: "Array<__type>.o2",
|
|
2138
|
+
value: input3.values
|
|
2034
2139
|
})].every((flag) => flag);
|
|
2035
|
-
const $
|
|
2140
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2036
2141
|
path: _path2 + ".id",
|
|
2037
2142
|
expected: "string",
|
|
2038
2143
|
value: input3.id
|
|
@@ -2048,8 +2153,8 @@ var validViolinRequest = (input) => {
|
|
|
2048
2153
|
path: _path2 + ".child_types",
|
|
2049
2154
|
expected: "(Array<string> | undefined)",
|
|
2050
2155
|
value: input3.child_types
|
|
2051
|
-
})) && input3.child_types.map((elem,
|
|
2052
|
-
path: _path2 + ".child_types[" +
|
|
2156
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2157
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
2053
2158
|
expected: "string",
|
|
2054
2159
|
value: elem
|
|
2055
2160
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2064,8 +2169,8 @@ var validViolinRequest = (input) => {
|
|
|
2064
2169
|
path: _path2 + ".included_types",
|
|
2065
2170
|
expected: "(Array<string> | undefined)",
|
|
2066
2171
|
value: input3.included_types
|
|
2067
|
-
})) && input3.included_types.map((elem,
|
|
2068
|
-
path: _path2 + ".included_types[" +
|
|
2172
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2173
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
2069
2174
|
expected: "string",
|
|
2070
2175
|
value: elem
|
|
2071
2176
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2097,7 +2202,7 @@ var validViolinRequest = (input) => {
|
|
|
2097
2202
|
expected: "(__type.o1 | undefined)",
|
|
2098
2203
|
value: input3.valueConversion
|
|
2099
2204
|
})].every((flag) => flag);
|
|
2100
|
-
const $
|
|
2205
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2101
2206
|
path: _path2 + ".grade",
|
|
2102
2207
|
expected: "number",
|
|
2103
2208
|
value: input3.grade
|
|
@@ -2114,7 +2219,25 @@ var validViolinRequest = (input) => {
|
|
|
2114
2219
|
expected: "string",
|
|
2115
2220
|
value: input3.child_label
|
|
2116
2221
|
})].every((flag) => flag);
|
|
2117
|
-
const $
|
|
2222
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2223
|
+
path: _path2 + ".key",
|
|
2224
|
+
expected: "(number | string)",
|
|
2225
|
+
value: input3.key
|
|
2226
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2227
|
+
path: _path2 + ".label",
|
|
2228
|
+
expected: "(string | undefined)",
|
|
2229
|
+
value: input3.label
|
|
2230
|
+
}), false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2231
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
2232
|
+
return true;
|
|
2233
|
+
const value = input3[key];
|
|
2234
|
+
if (void 0 === value)
|
|
2235
|
+
return true;
|
|
2236
|
+
if (RegExp(/(.*)/).test(key))
|
|
2237
|
+
return true;
|
|
2238
|
+
return true;
|
|
2239
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
2240
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2118
2241
|
path: _path2 + ".join",
|
|
2119
2242
|
expected: "(string | undefined)",
|
|
2120
2243
|
value: input3.join
|
|
@@ -2122,29 +2245,49 @@ var validViolinRequest = (input) => {
|
|
|
2122
2245
|
path: _path2 + ".isnot",
|
|
2123
2246
|
expected: "(boolean | undefined)",
|
|
2124
2247
|
value: input3.isnot
|
|
2248
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2249
|
+
path: _path2 + ".bar_by_grade",
|
|
2250
|
+
expected: "(boolean | undefined)",
|
|
2251
|
+
value: input3.bar_by_grade
|
|
2252
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2253
|
+
path: _path2 + ".bar_by_children",
|
|
2254
|
+
expected: "(boolean | undefined)",
|
|
2255
|
+
value: input3.bar_by_children
|
|
2256
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2257
|
+
path: _path2 + ".value_by_max_grade",
|
|
2258
|
+
expected: "(boolean | undefined)",
|
|
2259
|
+
value: input3.value_by_max_grade
|
|
2260
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2261
|
+
path: _path2 + ".value_by_most_recent",
|
|
2262
|
+
expected: "(boolean | undefined)",
|
|
2263
|
+
value: input3.value_by_most_recent
|
|
2264
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2265
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2266
|
+
expected: "(boolean | undefined)",
|
|
2267
|
+
value: input3.value_by_computable_grade
|
|
2125
2268
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2126
2269
|
path: _path2 + ".term",
|
|
2127
2270
|
expected: "DtTerm",
|
|
2128
2271
|
value: input3.term
|
|
2129
|
-
})) && $
|
|
2272
|
+
})) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2130
2273
|
path: _path2 + ".term",
|
|
2131
2274
|
expected: "DtTerm",
|
|
2132
2275
|
value: input3.term
|
|
2133
2276
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2134
2277
|
path: _path2 + ".values",
|
|
2135
|
-
expected: "Array<
|
|
2278
|
+
expected: "Array<GeneVariantValue>",
|
|
2136
2279
|
value: input3.values
|
|
2137
|
-
})) && input3.values.map((elem,
|
|
2138
|
-
path: _path2 + ".values[" +
|
|
2139
|
-
expected: "
|
|
2280
|
+
})) && input3.values.map((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2281
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
2282
|
+
expected: "GeneVariantValue",
|
|
2140
2283
|
value: elem
|
|
2141
|
-
})) && $
|
|
2142
|
-
path: _path2 + ".values[" +
|
|
2143
|
-
expected: "
|
|
2284
|
+
})) && $vo44(elem, _path2 + ".values[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2285
|
+
path: _path2 + ".values[" + _index37 + "]",
|
|
2286
|
+
expected: "GeneVariantValue",
|
|
2144
2287
|
value: elem
|
|
2145
2288
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2146
2289
|
path: _path2 + ".values",
|
|
2147
|
-
expected: "Array<
|
|
2290
|
+
expected: "Array<GeneVariantValue>",
|
|
2148
2291
|
value: input3.values
|
|
2149
2292
|
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2150
2293
|
path: _path2 + ".includeNotTested",
|
|
@@ -2154,8 +2297,40 @@ var validViolinRequest = (input) => {
|
|
|
2154
2297
|
path: _path2 + ".excludeGeneName",
|
|
2155
2298
|
expected: "(boolean | undefined)",
|
|
2156
2299
|
value: input3.excludeGeneName
|
|
2300
|
+
}), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
|
|
2301
|
+
path: _path2 + ".genotype",
|
|
2302
|
+
expected: '("nt" | "variant" | "wt" | undefined)',
|
|
2303
|
+
value: input3.genotype
|
|
2304
|
+
}), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
|
|
2305
|
+
path: _path2 + ".mcount",
|
|
2306
|
+
expected: '("all" | "any" | "multiple" | "single" | undefined)',
|
|
2307
|
+
value: input3.mcount
|
|
2308
|
+
}), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
|
|
2309
|
+
path: _path2 + ".continuousCnv",
|
|
2310
|
+
expected: "(boolean | undefined)",
|
|
2311
|
+
value: input3.continuousCnv
|
|
2312
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
2313
|
+
path: _path2 + ".cnvLossCutoff",
|
|
2314
|
+
expected: "(number | undefined)",
|
|
2315
|
+
value: input3.cnvLossCutoff
|
|
2316
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
2317
|
+
path: _path2 + ".cnvGainCutoff",
|
|
2318
|
+
expected: "(number | undefined)",
|
|
2319
|
+
value: input3.cnvGainCutoff
|
|
2320
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
2321
|
+
path: _path2 + ".cnvMaxLength",
|
|
2322
|
+
expected: "(number | undefined)",
|
|
2323
|
+
value: input3.cnvMaxLength
|
|
2324
|
+
}), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
|
|
2325
|
+
path: _path2 + ".cnvWT",
|
|
2326
|
+
expected: "(boolean | undefined)",
|
|
2327
|
+
value: input3.cnvWT
|
|
2328
|
+
}), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
|
|
2329
|
+
path: _path2 + ".fractionOverlap",
|
|
2330
|
+
expected: "(number | undefined)",
|
|
2331
|
+
value: input3.fractionOverlap
|
|
2157
2332
|
})].every((flag) => flag);
|
|
2158
|
-
const $
|
|
2333
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2159
2334
|
path: _path2 + ".id",
|
|
2160
2335
|
expected: "string",
|
|
2161
2336
|
value: input3.id
|
|
@@ -2175,7 +2350,7 @@ var validViolinRequest = (input) => {
|
|
|
2175
2350
|
path: _path2 + ".parentTerm",
|
|
2176
2351
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2177
2352
|
value: input3.parentTerm
|
|
2178
|
-
})) && $
|
|
2353
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2179
2354
|
path: _path2 + ".parentTerm",
|
|
2180
2355
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2181
2356
|
value: input3.parentTerm
|
|
@@ -2204,7 +2379,7 @@ var validViolinRequest = (input) => {
|
|
|
2204
2379
|
expected: "TermValues",
|
|
2205
2380
|
value: input3.values
|
|
2206
2381
|
})].every((flag) => flag);
|
|
2207
|
-
const $
|
|
2382
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2208
2383
|
path: _path2 + ".id",
|
|
2209
2384
|
expected: "string",
|
|
2210
2385
|
value: input3.id
|
|
@@ -2220,8 +2395,8 @@ var validViolinRequest = (input) => {
|
|
|
2220
2395
|
path: _path2 + ".child_types",
|
|
2221
2396
|
expected: "(Array<string> | undefined)",
|
|
2222
2397
|
value: input3.child_types
|
|
2223
|
-
})) && input3.child_types.map((elem,
|
|
2224
|
-
path: _path2 + ".child_types[" +
|
|
2398
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2399
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
2225
2400
|
expected: "string",
|
|
2226
2401
|
value: elem
|
|
2227
2402
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2236,8 +2411,8 @@ var validViolinRequest = (input) => {
|
|
|
2236
2411
|
path: _path2 + ".included_types",
|
|
2237
2412
|
expected: "(Array<string> | undefined)",
|
|
2238
2413
|
value: input3.included_types
|
|
2239
|
-
})) && input3.included_types.map((elem,
|
|
2240
|
-
path: _path2 + ".included_types[" +
|
|
2414
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2415
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
2241
2416
|
expected: "string",
|
|
2242
2417
|
value: elem
|
|
2243
2418
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2292,12 +2467,12 @@ var validViolinRequest = (input) => {
|
|
|
2292
2467
|
path: _path2 + ".genes",
|
|
2293
2468
|
expected: "Array<GvGeneTerm>",
|
|
2294
2469
|
value: input3.genes
|
|
2295
|
-
})) && input3.genes.map((elem,
|
|
2296
|
-
path: _path2 + ".genes[" +
|
|
2470
|
+
})) && input3.genes.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2471
|
+
path: _path2 + ".genes[" + _index40 + "]",
|
|
2297
2472
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2298
2473
|
value: elem
|
|
2299
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2300
|
-
path: _path2 + ".genes[" +
|
|
2474
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2475
|
+
path: _path2 + ".genes[" + _index40 + "]",
|
|
2301
2476
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2302
2477
|
value: elem
|
|
2303
2478
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2316,12 +2491,12 @@ var validViolinRequest = (input) => {
|
|
|
2316
2491
|
path: _path2 + ".childTerms",
|
|
2317
2492
|
expected: "(Array<DtTerm> | undefined)",
|
|
2318
2493
|
value: input3.childTerms
|
|
2319
|
-
})) && input3.childTerms.map((elem,
|
|
2320
|
-
path: _path2 + ".childTerms[" +
|
|
2494
|
+
})) && input3.childTerms.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2495
|
+
path: _path2 + ".childTerms[" + _index41 + "]",
|
|
2321
2496
|
expected: "DtTerm",
|
|
2322
2497
|
value: elem
|
|
2323
|
-
})) && $
|
|
2324
|
-
path: _path2 + ".childTerms[" +
|
|
2498
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2499
|
+
path: _path2 + ".childTerms[" + _index41 + "]",
|
|
2325
2500
|
expected: "DtTerm",
|
|
2326
2501
|
value: elem
|
|
2327
2502
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2329,7 +2504,7 @@ var validViolinRequest = (input) => {
|
|
|
2329
2504
|
expected: "(Array<DtTerm> | undefined)",
|
|
2330
2505
|
value: input3.childTerms
|
|
2331
2506
|
})].every((flag) => flag);
|
|
2332
|
-
const $
|
|
2507
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2333
2508
|
path: _path2 + ".id",
|
|
2334
2509
|
expected: "string",
|
|
2335
2510
|
value: input3.id
|
|
@@ -2345,8 +2520,8 @@ var validViolinRequest = (input) => {
|
|
|
2345
2520
|
path: _path2 + ".child_types",
|
|
2346
2521
|
expected: "(Array<string> | undefined)",
|
|
2347
2522
|
value: input3.child_types
|
|
2348
|
-
})) && input3.child_types.map((elem,
|
|
2349
|
-
path: _path2 + ".child_types[" +
|
|
2523
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2524
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
2350
2525
|
expected: "string",
|
|
2351
2526
|
value: elem
|
|
2352
2527
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2361,8 +2536,8 @@ var validViolinRequest = (input) => {
|
|
|
2361
2536
|
path: _path2 + ".included_types",
|
|
2362
2537
|
expected: "(Array<string> | undefined)",
|
|
2363
2538
|
value: input3.included_types
|
|
2364
|
-
})) && input3.included_types.map((elem,
|
|
2365
|
-
path: _path2 + ".included_types[" +
|
|
2539
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2540
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
2366
2541
|
expected: "string",
|
|
2367
2542
|
value: elem
|
|
2368
2543
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2414,7 +2589,7 @@ var validViolinRequest = (input) => {
|
|
|
2414
2589
|
expected: "(number | undefined)",
|
|
2415
2590
|
value: input3.stop
|
|
2416
2591
|
})].every((flag) => flag);
|
|
2417
|
-
const $
|
|
2592
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2418
2593
|
path: _path2 + ".id",
|
|
2419
2594
|
expected: "string",
|
|
2420
2595
|
value: input3.id
|
|
@@ -2430,8 +2605,8 @@ var validViolinRequest = (input) => {
|
|
|
2430
2605
|
path: _path2 + ".child_types",
|
|
2431
2606
|
expected: "(Array<string> | undefined)",
|
|
2432
2607
|
value: input3.child_types
|
|
2433
|
-
})) && input3.child_types.map((elem,
|
|
2434
|
-
path: _path2 + ".child_types[" +
|
|
2608
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2609
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
2435
2610
|
expected: "string",
|
|
2436
2611
|
value: elem
|
|
2437
2612
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2446,8 +2621,8 @@ var validViolinRequest = (input) => {
|
|
|
2446
2621
|
path: _path2 + ".included_types",
|
|
2447
2622
|
expected: "(Array<string> | undefined)",
|
|
2448
2623
|
value: input3.included_types
|
|
2449
|
-
})) && input3.included_types.map((elem,
|
|
2450
|
-
path: _path2 + ".included_types[" +
|
|
2624
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2625
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
2451
2626
|
expected: "string",
|
|
2452
2627
|
value: elem
|
|
2453
2628
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2495,7 +2670,7 @@ var validViolinRequest = (input) => {
|
|
|
2495
2670
|
expected: "number",
|
|
2496
2671
|
value: input3.stop
|
|
2497
2672
|
})].every((flag) => flag);
|
|
2498
|
-
const $
|
|
2673
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2499
2674
|
path: _path2 + ".id",
|
|
2500
2675
|
expected: "string",
|
|
2501
2676
|
value: input3.id
|
|
@@ -2511,8 +2686,8 @@ var validViolinRequest = (input) => {
|
|
|
2511
2686
|
path: _path2 + ".child_types",
|
|
2512
2687
|
expected: "(Array<string> | undefined)",
|
|
2513
2688
|
value: input3.child_types
|
|
2514
|
-
})) && input3.child_types.map((elem,
|
|
2515
|
-
path: _path2 + ".child_types[" +
|
|
2689
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2690
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
2516
2691
|
expected: "string",
|
|
2517
2692
|
value: elem
|
|
2518
2693
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2527,8 +2702,8 @@ var validViolinRequest = (input) => {
|
|
|
2527
2702
|
path: _path2 + ".included_types",
|
|
2528
2703
|
expected: "(Array<string> | undefined)",
|
|
2529
2704
|
value: input3.included_types
|
|
2530
|
-
})) && input3.included_types.map((elem,
|
|
2531
|
-
path: _path2 + ".included_types[" +
|
|
2705
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2706
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
2532
2707
|
expected: "string",
|
|
2533
2708
|
value: elem
|
|
2534
2709
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2579,12 +2754,12 @@ var validViolinRequest = (input) => {
|
|
|
2579
2754
|
path: _path2 + ".genes",
|
|
2580
2755
|
expected: "Array<GvGeneTerm>",
|
|
2581
2756
|
value: input3.genes
|
|
2582
|
-
})) && input3.genes.map((elem,
|
|
2583
|
-
path: _path2 + ".genes[" +
|
|
2757
|
+
})) && input3.genes.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2758
|
+
path: _path2 + ".genes[" + _index48 + "]",
|
|
2584
2759
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2585
2760
|
value: elem
|
|
2586
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2587
|
-
path: _path2 + ".genes[" +
|
|
2761
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2762
|
+
path: _path2 + ".genes[" + _index48 + "]",
|
|
2588
2763
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2589
2764
|
value: elem
|
|
2590
2765
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2603,12 +2778,12 @@ var validViolinRequest = (input) => {
|
|
|
2603
2778
|
path: _path2 + ".childTerms",
|
|
2604
2779
|
expected: "(Array<DtTerm> | undefined)",
|
|
2605
2780
|
value: input3.childTerms
|
|
2606
|
-
})) && input3.childTerms.map((elem,
|
|
2607
|
-
path: _path2 + ".childTerms[" +
|
|
2781
|
+
})) && input3.childTerms.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2782
|
+
path: _path2 + ".childTerms[" + _index49 + "]",
|
|
2608
2783
|
expected: "DtTerm",
|
|
2609
2784
|
value: elem
|
|
2610
|
-
})) && $
|
|
2611
|
-
path: _path2 + ".childTerms[" +
|
|
2785
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2786
|
+
path: _path2 + ".childTerms[" + _index49 + "]",
|
|
2612
2787
|
expected: "DtTerm",
|
|
2613
2788
|
value: elem
|
|
2614
2789
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2616,20 +2791,52 @@ var validViolinRequest = (input) => {
|
|
|
2616
2791
|
expected: "(Array<DtTerm> | undefined)",
|
|
2617
2792
|
value: input3.childTerms
|
|
2618
2793
|
})].every((flag) => flag);
|
|
2619
|
-
const $
|
|
2794
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2620
2795
|
path: _path2 + ".key",
|
|
2621
|
-
expected: "string",
|
|
2796
|
+
expected: "(string | undefined)",
|
|
2622
2797
|
value: input3.key
|
|
2623
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2798
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
2624
2799
|
path: _path2 + ".label",
|
|
2625
|
-
expected: "string",
|
|
2800
|
+
expected: "(number | string | undefined)",
|
|
2626
2801
|
value: input3.label
|
|
2627
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2802
|
+
}), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2628
2803
|
path: _path2 + ".value",
|
|
2629
|
-
expected: "string",
|
|
2804
|
+
expected: "(string | undefined)",
|
|
2630
2805
|
value: input3.value
|
|
2806
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2807
|
+
path: _path2 + ".dt",
|
|
2808
|
+
expected: "(number | undefined)",
|
|
2809
|
+
value: input3.dt
|
|
2810
|
+
}), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
|
|
2811
|
+
path: _path2 + ".mclasslst",
|
|
2812
|
+
expected: "(Array<string> | undefined)",
|
|
2813
|
+
value: input3.mclasslst
|
|
2814
|
+
})) && input3.mclasslst.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2815
|
+
path: _path2 + ".mclasslst[" + _index50 + "]",
|
|
2816
|
+
expected: "string",
|
|
2817
|
+
value: elem
|
|
2818
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2819
|
+
path: _path2 + ".mclasslst",
|
|
2820
|
+
expected: "(Array<string> | undefined)",
|
|
2821
|
+
value: input3.mclasslst
|
|
2822
|
+
}), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2823
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2824
|
+
expected: "(Array<string> | undefined)",
|
|
2825
|
+
value: input3.mclassExcludeLst
|
|
2826
|
+
})) && input3.mclassExcludeLst.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2827
|
+
path: _path2 + ".mclassExcludeLst[" + _index51 + "]",
|
|
2828
|
+
expected: "string",
|
|
2829
|
+
value: elem
|
|
2830
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2831
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2832
|
+
expected: "(Array<string> | undefined)",
|
|
2833
|
+
value: input3.mclassExcludeLst
|
|
2834
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2835
|
+
path: _path2 + ".origin",
|
|
2836
|
+
expected: "(string | undefined)",
|
|
2837
|
+
value: input3.origin
|
|
2631
2838
|
})].every((flag) => flag);
|
|
2632
|
-
const $
|
|
2839
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2633
2840
|
path: _path2 + ".join",
|
|
2634
2841
|
expected: "(string | undefined)",
|
|
2635
2842
|
value: input3.join
|
|
@@ -2637,11 +2844,31 @@ var validViolinRequest = (input) => {
|
|
|
2637
2844
|
path: _path2 + ".isnot",
|
|
2638
2845
|
expected: "(boolean | undefined)",
|
|
2639
2846
|
value: input3.isnot
|
|
2847
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2848
|
+
path: _path2 + ".bar_by_grade",
|
|
2849
|
+
expected: "(boolean | undefined)",
|
|
2850
|
+
value: input3.bar_by_grade
|
|
2851
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2852
|
+
path: _path2 + ".bar_by_children",
|
|
2853
|
+
expected: "(boolean | undefined)",
|
|
2854
|
+
value: input3.bar_by_children
|
|
2855
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2856
|
+
path: _path2 + ".value_by_max_grade",
|
|
2857
|
+
expected: "(boolean | undefined)",
|
|
2858
|
+
value: input3.value_by_max_grade
|
|
2859
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2860
|
+
path: _path2 + ".value_by_most_recent",
|
|
2861
|
+
expected: "(boolean | undefined)",
|
|
2862
|
+
value: input3.value_by_most_recent
|
|
2863
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2864
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2865
|
+
expected: "(boolean | undefined)",
|
|
2866
|
+
value: input3.value_by_computable_grade
|
|
2640
2867
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2641
2868
|
path: _path2 + ".term",
|
|
2642
2869
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2643
2870
|
value: input3.term
|
|
2644
|
-
})) && $
|
|
2871
|
+
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2645
2872
|
path: _path2 + ".term",
|
|
2646
2873
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2647
2874
|
value: input3.term
|
|
@@ -2650,7 +2877,7 @@ var validViolinRequest = (input) => {
|
|
|
2650
2877
|
expected: "number",
|
|
2651
2878
|
value: input3.ratio
|
|
2652
2879
|
})].every((flag) => flag);
|
|
2653
|
-
const $
|
|
2880
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2654
2881
|
path: _path2 + ".id",
|
|
2655
2882
|
expected: "string",
|
|
2656
2883
|
value: input3.id
|
|
@@ -2666,8 +2893,8 @@ var validViolinRequest = (input) => {
|
|
|
2666
2893
|
path: _path2 + ".child_types",
|
|
2667
2894
|
expected: "(Array<string> | undefined)",
|
|
2668
2895
|
value: input3.child_types
|
|
2669
|
-
})) && input3.child_types.map((elem,
|
|
2670
|
-
path: _path2 + ".child_types[" +
|
|
2896
|
+
})) && input3.child_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2897
|
+
path: _path2 + ".child_types[" + _index52 + "]",
|
|
2671
2898
|
expected: "string",
|
|
2672
2899
|
value: elem
|
|
2673
2900
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2682,8 +2909,8 @@ var validViolinRequest = (input) => {
|
|
|
2682
2909
|
path: _path2 + ".included_types",
|
|
2683
2910
|
expected: "(Array<string> | undefined)",
|
|
2684
2911
|
value: input3.included_types
|
|
2685
|
-
})) && input3.included_types.map((elem,
|
|
2686
|
-
path: _path2 + ".included_types[" +
|
|
2912
|
+
})) && input3.included_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2913
|
+
path: _path2 + ".included_types[" + _index53 + "]",
|
|
2687
2914
|
expected: "string",
|
|
2688
2915
|
value: elem
|
|
2689
2916
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2714,16 +2941,12 @@ var validViolinRequest = (input) => {
|
|
|
2714
2941
|
path: _path2 + ".valueConversion",
|
|
2715
2942
|
expected: "(__type.o1 | undefined)",
|
|
2716
2943
|
value: input3.valueConversion
|
|
2717
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2718
|
-
path: _path2 + ".collectionId",
|
|
2719
|
-
expected: "(string | undefined)",
|
|
2720
|
-
value: input3.collectionId
|
|
2721
2944
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2722
2945
|
path: _path2 + ".termIds",
|
|
2723
2946
|
expected: "(Array<string> | undefined)",
|
|
2724
2947
|
value: input3.termIds
|
|
2725
|
-
})) && input3.termIds.map((elem,
|
|
2726
|
-
path: _path2 + ".termIds[" +
|
|
2948
|
+
})) && input3.termIds.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2949
|
+
path: _path2 + ".termIds[" + _index54 + "]",
|
|
2727
2950
|
expected: "string",
|
|
2728
2951
|
value: elem
|
|
2729
2952
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2734,12 +2957,12 @@ var validViolinRequest = (input) => {
|
|
|
2734
2957
|
path: _path2 + ".termlst",
|
|
2735
2958
|
expected: "Array<BaseTerm>",
|
|
2736
2959
|
value: input3.termlst
|
|
2737
|
-
})) && input3.termlst.map((elem,
|
|
2738
|
-
path: _path2 + ".termlst[" +
|
|
2960
|
+
})) && input3.termlst.map((elem, _index55) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2961
|
+
path: _path2 + ".termlst[" + _index55 + "]",
|
|
2739
2962
|
expected: "BaseTerm",
|
|
2740
2963
|
value: elem
|
|
2741
|
-
})) && $
|
|
2742
|
-
path: _path2 + ".termlst[" +
|
|
2964
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2965
|
+
path: _path2 + ".termlst[" + _index55 + "]",
|
|
2743
2966
|
expected: "BaseTerm",
|
|
2744
2967
|
value: elem
|
|
2745
2968
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2752,11 +2975,11 @@ var validViolinRequest = (input) => {
|
|
|
2752
2975
|
value: input3.newTvs
|
|
2753
2976
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2754
2977
|
path: _path2 + ".propsByTermId",
|
|
2755
|
-
expected: "__type.
|
|
2978
|
+
expected: "__type.o7",
|
|
2756
2979
|
value: input3.propsByTermId
|
|
2757
|
-
})) && $
|
|
2980
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2758
2981
|
path: _path2 + ".propsByTermId",
|
|
2759
|
-
expected: "__type.
|
|
2982
|
+
expected: "__type.o7",
|
|
2760
2983
|
value: input3.propsByTermId
|
|
2761
2984
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2762
2985
|
path: _path2 + ".memberType",
|
|
@@ -2766,8 +2989,8 @@ var validViolinRequest = (input) => {
|
|
|
2766
2989
|
path: _path2 + ".numerators",
|
|
2767
2990
|
expected: "(Array<string> | undefined)",
|
|
2768
2991
|
value: input3.numerators
|
|
2769
|
-
})) && input3.numerators.map((elem,
|
|
2770
|
-
path: _path2 + ".numerators[" +
|
|
2992
|
+
})) && input3.numerators.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2993
|
+
path: _path2 + ".numerators[" + _index56 + "]",
|
|
2771
2994
|
expected: "string",
|
|
2772
2995
|
value: elem
|
|
2773
2996
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2775,7 +2998,7 @@ var validViolinRequest = (input) => {
|
|
|
2775
2998
|
expected: "(Array<string> | undefined)",
|
|
2776
2999
|
value: input3.numerators
|
|
2777
3000
|
})].every((flag) => flag);
|
|
2778
|
-
const $
|
|
3001
|
+
const $vo47 = (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 validViolinRequest = (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, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3018
|
+
path: _path2 + ".child_types[" + _index57 + "]",
|
|
2796
3019
|
expected: "string",
|
|
2797
3020
|
value: elem
|
|
2798
3021
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2807,8 +3030,8 @@ var validViolinRequest = (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, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3034
|
+
path: _path2 + ".included_types[" + _index58 + "]",
|
|
2812
3035
|
expected: "string",
|
|
2813
3036
|
value: elem
|
|
2814
3037
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2840,23 +3063,23 @@ var validViolinRequest = (input) => {
|
|
|
2840
3063
|
expected: "(__type.o1 | undefined)",
|
|
2841
3064
|
value: input3.valueConversion
|
|
2842
3065
|
})].every((flag) => flag);
|
|
2843
|
-
const $
|
|
3066
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2844
3067
|
const value = input3[key];
|
|
2845
3068
|
if (void 0 === value)
|
|
2846
3069
|
return true;
|
|
2847
3070
|
if (RegExp(/(.*)/).test(key))
|
|
2848
3071
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
2849
3072
|
path: _path2 + $join(key),
|
|
2850
|
-
expected: "__type.
|
|
3073
|
+
expected: "__type.o8",
|
|
2851
3074
|
value
|
|
2852
|
-
})) && $
|
|
3075
|
+
})) && $vo49(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2853
3076
|
path: _path2 + $join(key),
|
|
2854
|
-
expected: "__type.
|
|
3077
|
+
expected: "__type.o8",
|
|
2855
3078
|
value
|
|
2856
3079
|
});
|
|
2857
3080
|
return true;
|
|
2858
3081
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2859
|
-
const $
|
|
3082
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2860
3083
|
const value = input3[key];
|
|
2861
3084
|
if (void 0 === value)
|
|
2862
3085
|
return true;
|
|
@@ -2864,7 +3087,7 @@ var validViolinRequest = (input) => {
|
|
|
2864
3087
|
return true;
|
|
2865
3088
|
return true;
|
|
2866
3089
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2867
|
-
const $
|
|
3090
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2868
3091
|
path: _path2 + ".id",
|
|
2869
3092
|
expected: "string",
|
|
2870
3093
|
value: input3.id
|
|
@@ -2880,8 +3103,8 @@ var validViolinRequest = (input) => {
|
|
|
2880
3103
|
path: _path2 + ".child_types",
|
|
2881
3104
|
expected: "(Array<string> | undefined)",
|
|
2882
3105
|
value: input3.child_types
|
|
2883
|
-
})) && input3.child_types.map((elem,
|
|
2884
|
-
path: _path2 + ".child_types[" +
|
|
3106
|
+
})) && input3.child_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3107
|
+
path: _path2 + ".child_types[" + _index59 + "]",
|
|
2885
3108
|
expected: "string",
|
|
2886
3109
|
value: elem
|
|
2887
3110
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2896,8 +3119,8 @@ var validViolinRequest = (input) => {
|
|
|
2896
3119
|
path: _path2 + ".included_types",
|
|
2897
3120
|
expected: "(Array<string> | undefined)",
|
|
2898
3121
|
value: input3.included_types
|
|
2899
|
-
})) && input3.included_types.map((elem,
|
|
2900
|
-
path: _path2 + ".included_types[" +
|
|
3122
|
+
})) && input3.included_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3123
|
+
path: _path2 + ".included_types[" + _index60 + "]",
|
|
2901
3124
|
expected: "string",
|
|
2902
3125
|
value: elem
|
|
2903
3126
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2928,16 +3151,12 @@ var validViolinRequest = (input) => {
|
|
|
2928
3151
|
path: _path2 + ".valueConversion",
|
|
2929
3152
|
expected: "(__type.o1 | undefined)",
|
|
2930
3153
|
value: input3.valueConversion
|
|
2931
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2932
|
-
path: _path2 + ".collectionId",
|
|
2933
|
-
expected: "(string | undefined)",
|
|
2934
|
-
value: input3.collectionId
|
|
2935
3154
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2936
3155
|
path: _path2 + ".termIds",
|
|
2937
3156
|
expected: "(Array<string> | undefined)",
|
|
2938
3157
|
value: input3.termIds
|
|
2939
|
-
})) && input3.termIds.map((elem,
|
|
2940
|
-
path: _path2 + ".termIds[" +
|
|
3158
|
+
})) && input3.termIds.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3159
|
+
path: _path2 + ".termIds[" + _index61 + "]",
|
|
2941
3160
|
expected: "string",
|
|
2942
3161
|
value: elem
|
|
2943
3162
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2948,12 +3167,12 @@ var validViolinRequest = (input) => {
|
|
|
2948
3167
|
path: _path2 + ".termlst",
|
|
2949
3168
|
expected: "Array<BaseTerm>",
|
|
2950
3169
|
value: input3.termlst
|
|
2951
|
-
})) && input3.termlst.map((elem,
|
|
2952
|
-
path: _path2 + ".termlst[" +
|
|
3170
|
+
})) && input3.termlst.map((elem, _index62) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3171
|
+
path: _path2 + ".termlst[" + _index62 + "]",
|
|
2953
3172
|
expected: "BaseTerm",
|
|
2954
3173
|
value: elem
|
|
2955
|
-
})) && $
|
|
2956
|
-
path: _path2 + ".termlst[" +
|
|
3174
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3175
|
+
path: _path2 + ".termlst[" + _index62 + "]",
|
|
2957
3176
|
expected: "BaseTerm",
|
|
2958
3177
|
value: elem
|
|
2959
3178
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2966,11 +3185,11 @@ var validViolinRequest = (input) => {
|
|
|
2966
3185
|
value: input3.newTvs
|
|
2967
3186
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2968
3187
|
path: _path2 + ".propsByTermId",
|
|
2969
|
-
expected: "__type.
|
|
3188
|
+
expected: "__type.o7",
|
|
2970
3189
|
value: input3.propsByTermId
|
|
2971
|
-
})) && $
|
|
3190
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2972
3191
|
path: _path2 + ".propsByTermId",
|
|
2973
|
-
expected: "__type.
|
|
3192
|
+
expected: "__type.o7",
|
|
2974
3193
|
value: input3.propsByTermId
|
|
2975
3194
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
2976
3195
|
path: _path2 + ".memberType",
|
|
@@ -2980,12 +3199,12 @@ var validViolinRequest = (input) => {
|
|
|
2980
3199
|
path: _path2 + ".categoryKeys",
|
|
2981
3200
|
expected: "Array<CategoryKey>",
|
|
2982
3201
|
value: input3.categoryKeys
|
|
2983
|
-
})) && input3.categoryKeys.map((elem,
|
|
2984
|
-
path: _path2 + ".categoryKeys[" +
|
|
3202
|
+
})) && input3.categoryKeys.map((elem, _index63) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3203
|
+
path: _path2 + ".categoryKeys[" + _index63 + "]",
|
|
2985
3204
|
expected: "CategoryKey",
|
|
2986
3205
|
value: elem
|
|
2987
|
-
})) && $
|
|
2988
|
-
path: _path2 + ".categoryKeys[" +
|
|
3206
|
+
})) && $vo51(elem, _path2 + ".categoryKeys[" + _index63 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3207
|
+
path: _path2 + ".categoryKeys[" + _index63 + "]",
|
|
2989
3208
|
expected: "CategoryKey",
|
|
2990
3209
|
value: elem
|
|
2991
3210
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2993,7 +3212,7 @@ var validViolinRequest = (input) => {
|
|
|
2993
3212
|
expected: "Array<CategoryKey>",
|
|
2994
3213
|
value: input3.categoryKeys
|
|
2995
3214
|
})].every((flag) => flag);
|
|
2996
|
-
const $
|
|
3215
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2997
3216
|
path: _path2 + ".key",
|
|
2998
3217
|
expected: "string",
|
|
2999
3218
|
value: input3.key
|
|
@@ -3029,13 +3248,15 @@ var validViolinRequest = (input) => {
|
|
|
3029
3248
|
return $vo19(input3, _path2, _exceptionable2);
|
|
3030
3249
|
if (true === input3.stopunbounded)
|
|
3031
3250
|
return $vo21(input3, _path2, _exceptionable2);
|
|
3251
|
+
if (void 0 !== input3.value)
|
|
3252
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
3032
3253
|
return $vo20(input3, _path2, _exceptionable2);
|
|
3033
3254
|
})();
|
|
3034
3255
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3035
3256
|
if ("gene" === input3.kind)
|
|
3036
|
-
return $
|
|
3257
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
3037
3258
|
if ("coord" === input3.kind)
|
|
3038
|
-
return $
|
|
3259
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3039
3260
|
return $report(_exceptionable2, {
|
|
3040
3261
|
path: _path2,
|
|
3041
3262
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3043,13 +3264,20 @@ var validViolinRequest = (input) => {
|
|
|
3043
3264
|
});
|
|
3044
3265
|
})();
|
|
3045
3266
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3267
|
+
if (true === input3.startunbounded)
|
|
3268
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3269
|
+
if (true === input3.stopunbounded)
|
|
3270
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3271
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3272
|
+
})();
|
|
3273
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3046
3274
|
if (void 0 !== input3.ranges)
|
|
3047
3275
|
return $vo13(input3, _path2, _exceptionable2);
|
|
3048
3276
|
if (void 0 !== input3.ratio)
|
|
3049
|
-
return $
|
|
3050
|
-
return $vo3(input3, _path2, false) || $
|
|
3277
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3278
|
+
return $vo3(input3, _path2, false) || $vo34(input3, _path2, false) || $vo38(input3, _path2, false);
|
|
3051
3279
|
})();
|
|
3052
|
-
const $
|
|
3280
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3053
3281
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3054
3282
|
return $vo14(input3, _path2, _exceptionable2);
|
|
3055
3283
|
if ("metaboliteIntensity" === input3.type)
|
|
@@ -3064,7 +3292,7 @@ var validViolinRequest = (input) => {
|
|
|
3064
3292
|
return $vo29(input3, _path2, _exceptionable2);
|
|
3065
3293
|
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
3066
3294
|
})();
|
|
3067
|
-
const $
|
|
3295
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3068
3296
|
if ("regular-bin" === input3.type)
|
|
3069
3297
|
return $vo17(input3, _path2, _exceptionable2);
|
|
3070
3298
|
if ("custom-bin" === input3.type)
|
|
@@ -3075,7 +3303,7 @@ var validViolinRequest = (input) => {
|
|
|
3075
3303
|
value: input3
|
|
3076
3304
|
});
|
|
3077
3305
|
})();
|
|
3078
|
-
const $
|
|
3306
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3079
3307
|
if (true === input3.startunbounded)
|
|
3080
3308
|
return $vo19(input3, _path2, _exceptionable2);
|
|
3081
3309
|
if (void 0 !== input3.start)
|
|
@@ -3086,7 +3314,7 @@ var validViolinRequest = (input) => {
|
|
|
3086
3314
|
value: input3
|
|
3087
3315
|
});
|
|
3088
3316
|
})();
|
|
3089
|
-
const $
|
|
3317
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3090
3318
|
if (void 0 !== input3.stop)
|
|
3091
3319
|
return $vo20(input3, _path2, _exceptionable2);
|
|
3092
3320
|
if (true === input3.stopunbounded)
|
|
@@ -3097,22 +3325,22 @@ var validViolinRequest = (input) => {
|
|
|
3097
3325
|
value: input3
|
|
3098
3326
|
});
|
|
3099
3327
|
})();
|
|
3100
|
-
const $
|
|
3328
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3101
3329
|
if ("gene" === input3.kind)
|
|
3102
|
-
return $
|
|
3330
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
3103
3331
|
if ("coord" === input3.kind)
|
|
3104
|
-
return $
|
|
3332
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3105
3333
|
return $report(_exceptionable2, {
|
|
3106
3334
|
path: _path2,
|
|
3107
3335
|
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; })',
|
|
3108
3336
|
value: input3
|
|
3109
3337
|
});
|
|
3110
3338
|
})();
|
|
3111
|
-
const $
|
|
3339
|
+
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3112
3340
|
if ("numeric" === input3.memberType)
|
|
3113
|
-
return $
|
|
3341
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3114
3342
|
if ("categorical" === input3.memberType)
|
|
3115
|
-
return $
|
|
3343
|
+
return $vo50(input3, _path2, _exceptionable2);
|
|
3116
3344
|
return $report(_exceptionable2, {
|
|
3117
3345
|
path: _path2,
|
|
3118
3346
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|