@sjcrh/proteinpaint-types 2.119.0 → 2.123.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-T2CSA2MC.js → chunk-3ZT4UCFM.js} +366 -512
- package/dist/{chunk-4V46EBDF.js → chunk-5XRJ5ATE.js} +916 -1264
- package/dist/{chunk-BM3JLR6T.js → chunk-AGSW7G4T.js} +905 -1253
- package/dist/{chunk-HURSYPTO.js → chunk-D5OG676D.js} +32 -1
- package/dist/{chunk-J6SJ4M3S.js → chunk-F64WJMRL.js} +1094 -1306
- package/dist/{chunk-YURGGHZI.js → chunk-K7P6C6KU.js} +731 -1079
- package/dist/{chunk-GI4NNB34.js → chunk-LBGUOJR3.js} +366 -512
- package/dist/{chunk-OL4OMJSP.js → chunk-NCFUZ5VV.js} +903 -1139
- package/dist/{chunk-GD3KAF6V.js → chunk-QMWUUGEK.js} +457 -603
- package/dist/{chunk-DL4UYYVE.js → chunk-RX5EB2HL.js} +366 -512
- package/dist/{chunk-ROPNHRVV.js → chunk-SQBZAOWB.js} +366 -512
- package/dist/{chunk-7NNYHDAK.js → chunk-XPOHYEAY.js} +917 -1265
- package/dist/{chunk-UVOO2LBD.js → chunk-ZMOSABYP.js} +916 -1264
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +13 -13
- package/dist/samplewsimages.js +1 -1
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.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 +11 -5
- package/src/filter.ts +12 -67
- package/src/genome.ts +1 -1
- package/src/routes/hicgenome.ts +1 -1
- package/src/routes/isoformlst.ts +1 -1
- package/src/routes/samplewsimages.ts +1 -0
- package/src/routes/termdb.cohorts.ts +1 -1
- package/src/routes/termdb.singlecellData.ts +1 -1
- package/src/terms/categorical.ts +3 -3
- package/src/terms/condition.ts +2 -2
- package/src/terms/geneExpression.ts +3 -3
- package/src/terms/geneVariant.ts +58 -19
- package/src/terms/metaboliteIntensity.ts +4 -4
- package/src/terms/q.ts +1 -1
- package/src/terms/samplelst.ts +3 -3
- package/src/terms/singleCellCellType.ts +2 -2
- package/src/terms/singleCellGeneExpression.ts +4 -5
- package/src/terms/snp.ts +3 -3
- package/src/terms/snps.ts +4 -4
- package/src/terms/term.ts +14 -8
- package/src/terms/tw.ts +7 -8
- package/src/terms/updated-types.ts +5 -4
- package/src/termsetting.ts +4 -4
- package/src/test/numeric.type.spec.ts +2 -2
|
@@ -58,8 +58,8 @@ var validCategoriesRequest = (input) => {
|
|
|
58
58
|
const errors = [];
|
|
59
59
|
const __is = (input2) => {
|
|
60
60
|
const $join = import_typia.createValidate.join;
|
|
61
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $
|
|
62
|
-
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && "string" === typeof input3.$id && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $
|
|
61
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu5(input3.tw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io17(input3.filter)) && (void 0 === input3.currentGeneNames || Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && true;
|
|
62
|
+
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu6(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term));
|
|
63
63
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
64
64
|
const value = input3[key];
|
|
65
65
|
if (void 0 === value)
|
|
@@ -83,64 +83,64 @@ var validCategoriesRequest = (input) => {
|
|
|
83
83
|
const $io8 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
84
84
|
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
85
85
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
86
|
-
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type &&
|
|
87
|
-
const $io12 = (input3) => "
|
|
88
|
-
const $io13 = (input3) =>
|
|
86
|
+
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
87
|
+
const $io12 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io13(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io14(elem))) && ("object" === typeof input3.active && null !== input3.active && $io17(input3.active)) && "number" === typeof input3.group;
|
|
88
|
+
const $io13 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
89
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && 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) && $io15(input3.values));
|
|
90
|
+
const $io15 = (input3) => Object.keys(input3).every((key) => {
|
|
89
91
|
const value = input3[key];
|
|
90
92
|
if (void 0 === value)
|
|
91
93
|
return true;
|
|
92
94
|
if (RegExp(/(.*)/).test(key))
|
|
93
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
95
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io16(value);
|
|
94
96
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
95
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
97
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io16(value);
|
|
96
98
|
return true;
|
|
97
99
|
});
|
|
98
|
-
const $
|
|
99
|
-
const $
|
|
100
|
-
const $
|
|
101
|
-
const $
|
|
102
|
-
const $
|
|
103
|
-
const $
|
|
104
|
-
const $
|
|
105
|
-
const $
|
|
106
|
-
const $
|
|
107
|
-
const $
|
|
108
|
-
const $
|
|
109
|
-
const $
|
|
110
|
-
const $
|
|
111
|
-
const $
|
|
112
|
-
const $
|
|
113
|
-
const $
|
|
114
|
-
const $
|
|
115
|
-
const $
|
|
116
|
-
const $
|
|
117
|
-
const $
|
|
118
|
-
const $
|
|
119
|
-
const $
|
|
120
|
-
const $
|
|
121
|
-
const $
|
|
122
|
-
const $
|
|
123
|
-
const $
|
|
124
|
-
const $io40 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && "string" === typeof input3.$id && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io18(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu11(input3.q));
|
|
125
|
-
const $io41 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu4(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu5(input3.lst[1]))));
|
|
100
|
+
const $io16 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io17(input3.filter));
|
|
101
|
+
const $io17 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
102
|
+
const $io18 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
103
|
+
const $io19 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io20(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) && $io16(elem)));
|
|
104
|
+
const $io20 = (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) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
105
|
+
const $io21 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io13(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io14(elem)));
|
|
106
|
+
const $io22 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)));
|
|
107
|
+
const $io23 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
108
|
+
const $io24 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
109
|
+
const $io25 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io26(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
|
|
110
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io27(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io33(input3.continuousColorScale));
|
|
111
|
+
const $io27 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu9(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu9(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);
|
|
112
|
+
const $io28 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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 && $iu3(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu4(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
113
|
+
const $io29 = (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);
|
|
114
|
+
const $io30 = (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);
|
|
115
|
+
const $io31 = (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);
|
|
116
|
+
const $io32 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
117
|
+
const $io33 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
118
|
+
const $io34 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
119
|
+
const $io35 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io36(input3.term)) && (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) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
|
|
120
|
+
const $io36 = (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) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter));
|
|
121
|
+
const $io37 = (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;
|
|
122
|
+
const $io38 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io14(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
123
|
+
const $io39 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
124
|
+
const $io40 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io26(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu10(input3.q));
|
|
125
|
+
const $io41 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu3(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu4(input3.lst[1]))));
|
|
126
126
|
const $io42 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && "continuous" === input3.mode && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type);
|
|
127
127
|
const $io43 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && "spline" === input3.mode && (Array.isArray(input3.knots) && input3.knots.every((elem) => "object" === typeof elem && null !== elem && $io44(elem))) && (null !== input3.type && void 0 === input3.type);
|
|
128
128
|
const $io44 = (input3) => "number" === typeof input3.value;
|
|
129
|
-
const $io45 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && "string" === typeof input3.$id && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.q && null !== input3.q && $io46(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io48(input3.term));
|
|
130
|
-
const $io46 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io47(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $
|
|
131
|
-
const $io47 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
132
|
-
const $io48 = (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) && $
|
|
129
|
+
const $io45 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.q && null !== input3.q && $io46(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io48(input3.term));
|
|
130
|
+
const $io46 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io47(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io17(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
131
|
+
const $io47 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
132
|
+
const $io48 = (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) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io49(elem)));
|
|
133
133
|
const $io49 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io51(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
134
134
|
const $io50 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
135
135
|
const $io51 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
136
|
-
const $io52 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && "string" === typeof input3.$id && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $
|
|
137
|
-
const $io53 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
138
|
-
const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
139
|
-
const $io55 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
140
|
-
const $io56 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
141
|
-
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
142
|
-
const $io58 = (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) && $
|
|
143
|
-
const $io59 = (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) && $io60(input3.values)) &&
|
|
136
|
+
const $io52 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu12(input3.q));
|
|
137
|
+
const $io53 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter)) && "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) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
138
|
+
const $io54 = (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) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
139
|
+
const $io55 = (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) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
140
|
+
const $io56 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io27(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io33(input3.continuousColorScale));
|
|
141
|
+
const $io57 = (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) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter));
|
|
142
|
+
const $io58 = (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) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io49(elem)));
|
|
143
|
+
const $io59 = (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) && $io60(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter));
|
|
144
144
|
const $io60 = (input3) => Object.keys(input3).every((key) => {
|
|
145
145
|
const value = input3[key];
|
|
146
146
|
if (void 0 === value)
|
|
@@ -151,26 +151,22 @@ var validCategoriesRequest = (input) => {
|
|
|
151
151
|
return "object" === typeof value && null !== value && $io61(value);
|
|
152
152
|
return true;
|
|
153
153
|
});
|
|
154
|
-
const $io61 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $
|
|
154
|
+
const $io61 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io17(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io62(elem))) && true;
|
|
155
155
|
const $io62 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
156
156
|
const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type);
|
|
157
157
|
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (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) && true;
|
|
158
|
-
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic ||
|
|
159
|
-
const $io66 = (input3) =>
|
|
160
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
161
|
-
const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io8(input3.customset));
|
|
162
|
-
const $io69 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io70(input3.groups));
|
|
163
|
-
const $io70 = (input3) => Object.keys(input3).every((key) => {
|
|
158
|
+
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io66(input3.groups));
|
|
159
|
+
const $io66 = (input3) => Object.keys(input3).every((key) => {
|
|
164
160
|
const value = input3[key];
|
|
165
161
|
if (void 0 === value)
|
|
166
162
|
return true;
|
|
167
163
|
if (RegExp(/(.*)/).test(key))
|
|
168
|
-
return "object" === typeof value && null !== value && $
|
|
164
|
+
return "object" === typeof value && null !== value && $io67(value);
|
|
169
165
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
170
|
-
return "object" === typeof value && null !== value && $
|
|
166
|
+
return "object" === typeof value && null !== value && $io67(value);
|
|
171
167
|
return true;
|
|
172
168
|
});
|
|
173
|
-
const $
|
|
169
|
+
const $io67 = (input3) => "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io62(elem))) && true;
|
|
174
170
|
const $iu0 = (input3) => (() => {
|
|
175
171
|
if ("string" === typeof input3.type)
|
|
176
172
|
return $io9(input3);
|
|
@@ -179,53 +175,34 @@ var validCategoriesRequest = (input) => {
|
|
|
179
175
|
return false;
|
|
180
176
|
})();
|
|
181
177
|
const $iu1 = (input3) => (() => {
|
|
182
|
-
if (
|
|
183
|
-
return $io15(input3);
|
|
184
|
-
if (void 0 !== input3.ranges)
|
|
178
|
+
if ("tvslst" === input3.type)
|
|
185
179
|
return $io17(input3);
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
if ($io27(input3))
|
|
190
|
-
return $io27(input3);
|
|
191
|
-
if ($io30(input3))
|
|
192
|
-
return $io30(input3);
|
|
193
|
-
return false;
|
|
194
|
-
})();
|
|
180
|
+
if ("tvs" === input3.type)
|
|
181
|
+
return $io18(input3);
|
|
182
|
+
return false;
|
|
195
183
|
})();
|
|
196
184
|
const $iu2 = (input3) => (() => {
|
|
197
185
|
if (true === input3.startunbounded)
|
|
198
|
-
return $
|
|
186
|
+
return $io29(input3);
|
|
199
187
|
if (true === input3.stopunbounded)
|
|
200
|
-
return $
|
|
201
|
-
return $
|
|
188
|
+
return $io31(input3);
|
|
189
|
+
return $io30(input3);
|
|
202
190
|
})();
|
|
203
191
|
const $iu3 = (input3) => (() => {
|
|
204
|
-
if (2 === input3.dt)
|
|
205
|
-
return $io39(input3);
|
|
206
|
-
if (5 === input3.dt)
|
|
207
|
-
return $io38(input3);
|
|
208
|
-
if (4 === input3.dt)
|
|
209
|
-
return $io37(input3);
|
|
210
|
-
if (1 === input3.dt)
|
|
211
|
-
return $io36(input3);
|
|
212
|
-
return false;
|
|
213
|
-
})();
|
|
214
|
-
const $iu4 = (input3) => (() => {
|
|
215
192
|
if (true === input3.startunbounded)
|
|
216
|
-
return $
|
|
193
|
+
return $io29(input3);
|
|
217
194
|
if (void 0 !== input3.start)
|
|
218
|
-
return $
|
|
195
|
+
return $io30(input3);
|
|
219
196
|
return false;
|
|
220
197
|
})();
|
|
221
|
-
const $
|
|
198
|
+
const $iu4 = (input3) => (() => {
|
|
222
199
|
if (void 0 !== input3.stop)
|
|
223
|
-
return $
|
|
200
|
+
return $io30(input3);
|
|
224
201
|
if (true === input3.stopunbounded)
|
|
225
|
-
return $
|
|
202
|
+
return $io31(input3);
|
|
226
203
|
return false;
|
|
227
204
|
})();
|
|
228
|
-
const $
|
|
205
|
+
const $iu5 = (input3) => (() => {
|
|
229
206
|
if (void 0 !== input3.type)
|
|
230
207
|
return $io1(input3);
|
|
231
208
|
return (() => {
|
|
@@ -238,7 +215,7 @@ var validCategoriesRequest = (input) => {
|
|
|
238
215
|
return false;
|
|
239
216
|
})();
|
|
240
217
|
})();
|
|
241
|
-
const $
|
|
218
|
+
const $iu6 = (input3) => (() => {
|
|
242
219
|
if ("values" === input3.type)
|
|
243
220
|
return $io3(input3);
|
|
244
221
|
if ("predefined-groupset" === input3.type)
|
|
@@ -247,63 +224,56 @@ var validCategoriesRequest = (input) => {
|
|
|
247
224
|
return $io7(input3);
|
|
248
225
|
return $io5(input3);
|
|
249
226
|
})();
|
|
227
|
+
const $iu7 = (input3) => (() => {
|
|
228
|
+
if (void 0 !== input3.ranges)
|
|
229
|
+
return $io25(input3);
|
|
230
|
+
return (() => {
|
|
231
|
+
if ($io19(input3))
|
|
232
|
+
return $io19(input3);
|
|
233
|
+
if ($io35(input3))
|
|
234
|
+
return $io35(input3);
|
|
235
|
+
if ($io38(input3))
|
|
236
|
+
return $io38(input3);
|
|
237
|
+
return false;
|
|
238
|
+
})();
|
|
239
|
+
})();
|
|
250
240
|
const $iu8 = (input3) => (() => {
|
|
251
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
252
|
-
return $
|
|
253
|
-
return $
|
|
241
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)))
|
|
242
|
+
return $io22(input3);
|
|
243
|
+
return $io24(input3);
|
|
254
244
|
})();
|
|
255
245
|
const $iu9 = (input3) => (() => {
|
|
256
246
|
if ("regular-bin" === input3.type)
|
|
257
|
-
return $
|
|
247
|
+
return $io28(input3);
|
|
258
248
|
if ("custom-bin" === input3.type)
|
|
259
|
-
return $
|
|
249
|
+
return $io32(input3);
|
|
260
250
|
return false;
|
|
261
251
|
})();
|
|
262
252
|
const $iu10 = (input3) => (() => {
|
|
263
|
-
if ("gene" === input3.kind)
|
|
264
|
-
return $io31(input3);
|
|
265
|
-
if ("coord" === input3.kind)
|
|
266
|
-
return $io35(input3);
|
|
267
|
-
return false;
|
|
268
|
-
})();
|
|
269
|
-
const $iu11 = (input3) => (() => {
|
|
270
253
|
if ("regular-bin" === input3.type)
|
|
271
|
-
return $
|
|
254
|
+
return $io28(input3);
|
|
272
255
|
if ("continuous" === input3.mode)
|
|
273
256
|
return $io42(input3);
|
|
274
257
|
if ("spline" === input3.mode)
|
|
275
258
|
return $io43(input3);
|
|
276
259
|
return (() => {
|
|
277
|
-
if ($
|
|
278
|
-
return $
|
|
260
|
+
if ($io32(input3))
|
|
261
|
+
return $io32(input3);
|
|
279
262
|
if ($io41(input3))
|
|
280
263
|
return $io41(input3);
|
|
281
264
|
return false;
|
|
282
265
|
})();
|
|
283
266
|
})();
|
|
284
|
-
const $
|
|
285
|
-
if (
|
|
286
|
-
return $io17(input3);
|
|
287
|
-
return (() => {
|
|
288
|
-
if ($io16(input3))
|
|
289
|
-
return $io16(input3);
|
|
290
|
-
if ($io27(input3))
|
|
291
|
-
return $io27(input3);
|
|
292
|
-
if ($io30(input3))
|
|
293
|
-
return $io30(input3);
|
|
294
|
-
return false;
|
|
295
|
-
})();
|
|
296
|
-
})();
|
|
297
|
-
const $iu13 = (input3) => (() => {
|
|
298
|
-
if ("categorical" === input3.type)
|
|
267
|
+
const $iu11 = (input3) => (() => {
|
|
268
|
+
if ("gene" === input3.kind)
|
|
299
269
|
return $io53(input3);
|
|
300
|
-
if ("
|
|
270
|
+
if ("coord" === input3.kind)
|
|
301
271
|
return $io54(input3);
|
|
302
|
-
if ("
|
|
272
|
+
if ("categorical" === input3.type)
|
|
303
273
|
return $io55(input3);
|
|
304
|
-
if ("
|
|
274
|
+
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
305
275
|
return $io56(input3);
|
|
306
|
-
if ("
|
|
276
|
+
if ("condition" === input3.type)
|
|
307
277
|
return $io57(input3);
|
|
308
278
|
return (() => {
|
|
309
279
|
if ($io58(input3))
|
|
@@ -313,9 +283,13 @@ var validCategoriesRequest = (input) => {
|
|
|
313
283
|
return false;
|
|
314
284
|
})();
|
|
315
285
|
})();
|
|
316
|
-
const $
|
|
286
|
+
const $iu12 = (input3) => (() => {
|
|
287
|
+
if (void 0 !== input3.predefined_groupset_idx)
|
|
288
|
+
return $io6(input3);
|
|
289
|
+
if (void 0 !== input3.customset)
|
|
290
|
+
return $io7(input3);
|
|
317
291
|
if (void 0 !== input3.bin_size)
|
|
318
|
-
return $
|
|
292
|
+
return $io28(input3);
|
|
319
293
|
if (void 0 !== input3.knots)
|
|
320
294
|
return $io43(input3);
|
|
321
295
|
if (void 0 !== input3.AFcutoff)
|
|
@@ -324,7 +298,7 @@ var validCategoriesRequest = (input) => {
|
|
|
324
298
|
return $io64(input3);
|
|
325
299
|
return (() => {
|
|
326
300
|
if (void 0 !== input3.groups)
|
|
327
|
-
return $
|
|
301
|
+
return $io65(input3);
|
|
328
302
|
return (() => {
|
|
329
303
|
if ($io5(input3))
|
|
330
304
|
return $io5(input3);
|
|
@@ -332,24 +306,12 @@ var validCategoriesRequest = (input) => {
|
|
|
332
306
|
return $io63(input3);
|
|
333
307
|
if ($io3(input3))
|
|
334
308
|
return $io3(input3);
|
|
335
|
-
if ($
|
|
336
|
-
return $
|
|
337
|
-
if ($io7(input3))
|
|
338
|
-
return $io7(input3);
|
|
339
|
-
if ($io24(input3))
|
|
340
|
-
return $io24(input3);
|
|
309
|
+
if ($io32(input3))
|
|
310
|
+
return $io32(input3);
|
|
341
311
|
if ($io41(input3))
|
|
342
312
|
return $io41(input3);
|
|
343
313
|
if ($io42(input3))
|
|
344
314
|
return $io42(input3);
|
|
345
|
-
if ($io66(input3))
|
|
346
|
-
return $io66(input3);
|
|
347
|
-
if ($io65(input3))
|
|
348
|
-
return $io65(input3);
|
|
349
|
-
if ($io67(input3))
|
|
350
|
-
return $io67(input3);
|
|
351
|
-
if ($io68(input3))
|
|
352
|
-
return $io68(input3);
|
|
353
315
|
return false;
|
|
354
316
|
})();
|
|
355
317
|
})();
|
|
@@ -376,7 +338,7 @@ var validCategoriesRequest = (input) => {
|
|
|
376
338
|
path: _path2 + ".tw",
|
|
377
339
|
expected: "(BaseTW & { term: Term; q: Q; } | CategoricalTW | NumericTW | SnpsTW)",
|
|
378
340
|
value: input3.tw
|
|
379
|
-
})) && $
|
|
341
|
+
})) && $vu5(input3.tw, _path2 + ".tw", _exceptionable2) || $report(_exceptionable2, {
|
|
380
342
|
path: _path2 + ".tw",
|
|
381
343
|
expected: "(BaseTW & { term: Term; q: Q; } | CategoricalTW | NumericTW | SnpsTW)",
|
|
382
344
|
value: input3.tw
|
|
@@ -384,7 +346,7 @@ var validCategoriesRequest = (input) => {
|
|
|
384
346
|
path: _path2 + ".filter",
|
|
385
347
|
expected: "(Filter | undefined)",
|
|
386
348
|
value: input3.filter
|
|
387
|
-
})) && $
|
|
349
|
+
})) && $vo17(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
388
350
|
path: _path2 + ".filter",
|
|
389
351
|
expected: "(Filter | undefined)",
|
|
390
352
|
value: input3.filter
|
|
@@ -405,9 +367,9 @@ var validCategoriesRequest = (input) => {
|
|
|
405
367
|
path: _path2 + ".id",
|
|
406
368
|
expected: "(string | undefined)",
|
|
407
369
|
value: input3.id
|
|
408
|
-
}), "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
370
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
409
371
|
path: _path2 + ".$id",
|
|
410
|
-
expected: "string",
|
|
372
|
+
expected: "(string | undefined)",
|
|
411
373
|
value: input3.$id
|
|
412
374
|
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
413
375
|
path: _path2 + ".isAtomic",
|
|
@@ -433,7 +395,7 @@ var validCategoriesRequest = (input) => {
|
|
|
433
395
|
path: _path2 + ".q",
|
|
434
396
|
expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
435
397
|
value: input3.q
|
|
436
|
-
})) && $
|
|
398
|
+
})) && $vu6(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
437
399
|
path: _path2 + ".q",
|
|
438
400
|
expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
439
401
|
value: input3.q
|
|
@@ -441,7 +403,7 @@ var validCategoriesRequest = (input) => {
|
|
|
441
403
|
path: _path2 + ".term",
|
|
442
404
|
expected: "CategoricalTerm",
|
|
443
405
|
value: input3.term
|
|
444
|
-
})) && $
|
|
406
|
+
})) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
445
407
|
path: _path2 + ".term",
|
|
446
408
|
expected: "CategoricalTerm",
|
|
447
409
|
value: input3.term
|
|
@@ -657,73 +619,111 @@ var validCategoriesRequest = (input) => {
|
|
|
657
619
|
path: _path2 + ".type",
|
|
658
620
|
expected: '"filter"',
|
|
659
621
|
value: input3.type
|
|
660
|
-
}),
|
|
622
|
+
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
623
|
+
path: _path2 + ".filter",
|
|
624
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
625
|
+
value: input3.filter
|
|
626
|
+
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
627
|
+
path: _path2 + ".filter",
|
|
628
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
629
|
+
value: input3.filter
|
|
630
|
+
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
661
631
|
path: _path2 + ".uncomputable",
|
|
662
|
-
expected: "
|
|
632
|
+
expected: "boolean",
|
|
663
633
|
value: input3.uncomputable
|
|
664
634
|
})].every((flag) => flag);
|
|
665
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["
|
|
635
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
636
|
+
path: _path2 + ".opts",
|
|
637
|
+
expected: "__type.o2",
|
|
638
|
+
value: input3.opts
|
|
639
|
+
})) && $vo13(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
640
|
+
path: _path2 + ".opts",
|
|
641
|
+
expected: "__type.o2",
|
|
642
|
+
value: input3.opts
|
|
643
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
644
|
+
path: _path2 + ".terms",
|
|
645
|
+
expected: "Array<DtTerm>",
|
|
646
|
+
value: input3.terms
|
|
647
|
+
})) && input3.terms.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
648
|
+
path: _path2 + ".terms[" + _index4 + "]",
|
|
649
|
+
expected: "DtTerm",
|
|
650
|
+
value: elem
|
|
651
|
+
})) && $vo14(elem, _path2 + ".terms[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
652
|
+
path: _path2 + ".terms[" + _index4 + "]",
|
|
653
|
+
expected: "DtTerm",
|
|
654
|
+
value: elem
|
|
655
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
656
|
+
path: _path2 + ".terms",
|
|
657
|
+
expected: "Array<DtTerm>",
|
|
658
|
+
value: input3.terms
|
|
659
|
+
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
660
|
+
path: _path2 + ".active",
|
|
661
|
+
expected: "Filter",
|
|
662
|
+
value: input3.active
|
|
663
|
+
})) && $vo17(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
664
|
+
path: _path2 + ".active",
|
|
665
|
+
expected: "Filter",
|
|
666
|
+
value: input3.active
|
|
667
|
+
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
668
|
+
path: _path2 + ".group",
|
|
669
|
+
expected: "number",
|
|
670
|
+
value: input3.group
|
|
671
|
+
})].every((flag) => flag);
|
|
672
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
673
|
+
path: _path2 + ".joinWith",
|
|
674
|
+
expected: "Array<string>",
|
|
675
|
+
value: input3.joinWith
|
|
676
|
+
})) && input3.joinWith.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
|
|
677
|
+
path: _path2 + ".joinWith[" + _index5 + "]",
|
|
678
|
+
expected: "string",
|
|
679
|
+
value: elem
|
|
680
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
681
|
+
path: _path2 + ".joinWith",
|
|
682
|
+
expected: "Array<string>",
|
|
683
|
+
value: input3.joinWith
|
|
684
|
+
})].every((flag) => flag);
|
|
685
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
666
686
|
path: _path2 + ".id",
|
|
667
687
|
expected: "string",
|
|
668
688
|
value: input3.id
|
|
689
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
690
|
+
path: _path2 + ".query",
|
|
691
|
+
expected: "string",
|
|
692
|
+
value: input3.query
|
|
669
693
|
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
670
694
|
path: _path2 + ".name",
|
|
671
695
|
expected: "string",
|
|
672
696
|
value: input3.name
|
|
673
|
-
}), "
|
|
674
|
-
path: _path2 + ".
|
|
675
|
-
expected: '"categorical"',
|
|
676
|
-
value: input3.type
|
|
677
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
678
|
-
path: _path2 + ".child_types",
|
|
679
|
-
expected: "(Array<string> | undefined)",
|
|
680
|
-
value: input3.child_types
|
|
681
|
-
})) && input3.child_types.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
|
|
682
|
-
path: _path2 + ".child_types[" + _index4 + "]",
|
|
683
|
-
expected: "string",
|
|
684
|
-
value: elem
|
|
685
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
686
|
-
path: _path2 + ".child_types",
|
|
687
|
-
expected: "(Array<string> | undefined)",
|
|
688
|
-
value: input3.child_types
|
|
689
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
690
|
-
path: _path2 + ".hashtmldetail",
|
|
691
|
-
expected: "(boolean | undefined)",
|
|
692
|
-
value: input3.hashtmldetail
|
|
693
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
694
|
-
path: _path2 + ".included_types",
|
|
695
|
-
expected: "(Array<string> | undefined)",
|
|
696
|
-
value: input3.included_types
|
|
697
|
-
})) && input3.included_types.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
|
|
698
|
-
path: _path2 + ".included_types[" + _index5 + "]",
|
|
697
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
698
|
+
path: _path2 + ".name_noOrigin",
|
|
699
699
|
expected: "string",
|
|
700
|
-
value:
|
|
701
|
-
})
|
|
702
|
-
path: _path2 + ".included_types",
|
|
703
|
-
expected: "(Array<string> | undefined)",
|
|
704
|
-
value: input3.included_types
|
|
705
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
700
|
+
value: input3.name_noOrigin
|
|
701
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
706
702
|
path: _path2 + ".isleaf",
|
|
707
|
-
expected: "
|
|
703
|
+
expected: "boolean",
|
|
708
704
|
value: input3.isleaf
|
|
709
|
-
}),
|
|
705
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
706
|
+
path: _path2 + ".type",
|
|
707
|
+
expected: "string",
|
|
708
|
+
value: input3.type
|
|
709
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
710
|
+
path: _path2 + ".dt",
|
|
711
|
+
expected: "number",
|
|
712
|
+
value: input3.dt
|
|
713
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
714
|
+
path: _path2 + ".origin",
|
|
715
|
+
expected: "(string | undefined)",
|
|
716
|
+
value: input3.origin
|
|
717
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
710
718
|
path: _path2 + ".values",
|
|
711
|
-
expected: "
|
|
719
|
+
expected: "TermValues",
|
|
712
720
|
value: input3.values
|
|
713
|
-
})) && $
|
|
721
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
714
722
|
path: _path2 + ".values",
|
|
715
|
-
expected: "
|
|
723
|
+
expected: "TermValues",
|
|
716
724
|
value: input3.values
|
|
717
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
718
|
-
path: _path2 + ".groupsetting",
|
|
719
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
720
|
-
value: input3.groupsetting
|
|
721
|
-
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
722
|
-
path: _path2 + ".groupsetting",
|
|
723
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
724
|
-
value: input3.groupsetting
|
|
725
725
|
})].every((flag) => flag);
|
|
726
|
-
const $
|
|
726
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
727
727
|
const value = input3[key];
|
|
728
728
|
if (void 0 === value)
|
|
729
729
|
return true;
|
|
@@ -732,7 +732,7 @@ var validCategoriesRequest = (input) => {
|
|
|
732
732
|
path: _path2 + $join(key),
|
|
733
733
|
expected: "BaseValue",
|
|
734
734
|
value
|
|
735
|
-
})) && $
|
|
735
|
+
})) && $vo16(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
736
736
|
path: _path2 + $join(key),
|
|
737
737
|
expected: "BaseValue",
|
|
738
738
|
value
|
|
@@ -742,14 +742,14 @@ var validCategoriesRequest = (input) => {
|
|
|
742
742
|
path: _path2 + $join(key),
|
|
743
743
|
expected: "BaseValue",
|
|
744
744
|
value
|
|
745
|
-
})) && $
|
|
745
|
+
})) && $vo16(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
746
746
|
path: _path2 + $join(key),
|
|
747
747
|
expected: "BaseValue",
|
|
748
748
|
value
|
|
749
749
|
});
|
|
750
750
|
return true;
|
|
751
751
|
}).every((flag) => flag)].every((flag) => flag);
|
|
752
|
-
const $
|
|
752
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
753
753
|
path: _path2 + ".key",
|
|
754
754
|
expected: "(string | undefined)",
|
|
755
755
|
value: input3.key
|
|
@@ -777,22 +777,22 @@ var validCategoriesRequest = (input) => {
|
|
|
777
777
|
path: _path2 + ".filter",
|
|
778
778
|
expected: "(Filter | undefined)",
|
|
779
779
|
value: input3.filter
|
|
780
|
-
})) && $
|
|
780
|
+
})) && $vo17(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
781
781
|
path: _path2 + ".filter",
|
|
782
782
|
expected: "(Filter | undefined)",
|
|
783
783
|
value: input3.filter
|
|
784
784
|
})].every((flag) => flag);
|
|
785
|
-
const $
|
|
785
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
786
786
|
path: _path2 + ".type",
|
|
787
|
-
expected: '"
|
|
787
|
+
expected: '"tvslst"',
|
|
788
788
|
value: input3.type
|
|
789
|
-
}),
|
|
789
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
790
790
|
path: _path2 + '["in"]',
|
|
791
|
-
expected: "
|
|
791
|
+
expected: "boolean",
|
|
792
792
|
value: input3["in"]
|
|
793
|
-
}), "
|
|
793
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
794
794
|
path: _path2 + ".join",
|
|
795
|
-
expected:
|
|
795
|
+
expected: "string",
|
|
796
796
|
value: input3.join
|
|
797
797
|
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
798
798
|
path: _path2 + ".tag",
|
|
@@ -800,22 +800,35 @@ var validCategoriesRequest = (input) => {
|
|
|
800
800
|
value: input3.tag
|
|
801
801
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
802
802
|
path: _path2 + ".lst",
|
|
803
|
-
expected:
|
|
803
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
804
804
|
value: input3.lst
|
|
805
805
|
})) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
806
806
|
path: _path2 + ".lst[" + _index6 + "]",
|
|
807
|
-
expected: "(
|
|
807
|
+
expected: "(Filter | __type.o3)",
|
|
808
808
|
value: elem
|
|
809
809
|
})) && $vu1(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
810
810
|
path: _path2 + ".lst[" + _index6 + "]",
|
|
811
|
-
expected: "(
|
|
811
|
+
expected: "(Filter | __type.o3)",
|
|
812
812
|
value: elem
|
|
813
813
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
814
814
|
path: _path2 + ".lst",
|
|
815
|
-
expected:
|
|
815
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
816
816
|
value: input3.lst
|
|
817
817
|
})].every((flag) => flag);
|
|
818
|
-
const $
|
|
818
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
819
|
+
path: _path2 + ".type",
|
|
820
|
+
expected: '"tvs"',
|
|
821
|
+
value: input3.type
|
|
822
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
823
|
+
path: _path2 + ".tvs",
|
|
824
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
825
|
+
value: input3.tvs
|
|
826
|
+
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
827
|
+
path: _path2 + ".tvs",
|
|
828
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
829
|
+
value: input3.tvs
|
|
830
|
+
})].every((flag) => flag);
|
|
831
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
819
832
|
path: _path2 + ".join",
|
|
820
833
|
expected: "(string | undefined)",
|
|
821
834
|
value: input3.join
|
|
@@ -827,7 +840,7 @@ var validCategoriesRequest = (input) => {
|
|
|
827
840
|
path: _path2 + ".term",
|
|
828
841
|
expected: "CategoricalTerm",
|
|
829
842
|
value: input3.term
|
|
830
|
-
})) && $
|
|
843
|
+
})) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
831
844
|
path: _path2 + ".term",
|
|
832
845
|
expected: "CategoricalTerm",
|
|
833
846
|
value: input3.term
|
|
@@ -843,7 +856,7 @@ var validCategoriesRequest = (input) => {
|
|
|
843
856
|
path: _path2 + ".values[" + _index7 + "]",
|
|
844
857
|
expected: "BaseValue",
|
|
845
858
|
value: elem
|
|
846
|
-
})) && $
|
|
859
|
+
})) && $vo16(elem, _path2 + ".values[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
847
860
|
path: _path2 + ".values[" + _index7 + "]",
|
|
848
861
|
expected: "BaseValue",
|
|
849
862
|
value: elem
|
|
@@ -852,56 +865,7 @@ var validCategoriesRequest = (input) => {
|
|
|
852
865
|
expected: "Array<BaseValue>",
|
|
853
866
|
value: input3.values
|
|
854
867
|
})].every((flag) => flag);
|
|
855
|
-
const $
|
|
856
|
-
path: _path2 + ".join",
|
|
857
|
-
expected: "(string | undefined)",
|
|
858
|
-
value: input3.join
|
|
859
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
860
|
-
path: _path2 + ".isnot",
|
|
861
|
-
expected: "(boolean | undefined)",
|
|
862
|
-
value: input3.isnot
|
|
863
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
864
|
-
path: _path2 + ".term",
|
|
865
|
-
expected: "NumericTerm",
|
|
866
|
-
value: input3.term
|
|
867
|
-
})) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
868
|
-
path: _path2 + ".term",
|
|
869
|
-
expected: "NumericTerm",
|
|
870
|
-
value: input3.term
|
|
871
|
-
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
872
|
-
path: _path2 + ".ranges",
|
|
873
|
-
expected: "Array<NumericBin>",
|
|
874
|
-
value: input3.ranges
|
|
875
|
-
})) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
876
|
-
path: _path2 + ".ranges[" + _index8 + "]",
|
|
877
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
878
|
-
value: elem
|
|
879
|
-
})) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
880
|
-
path: _path2 + ".ranges[" + _index8 + "]",
|
|
881
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
882
|
-
value: elem
|
|
883
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
884
|
-
path: _path2 + ".ranges",
|
|
885
|
-
expected: "Array<NumericBin>",
|
|
886
|
-
value: input3.ranges
|
|
887
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
888
|
-
path: _path2 + ".values",
|
|
889
|
-
expected: "Array<__type>.o1",
|
|
890
|
-
value: input3.values
|
|
891
|
-
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
892
|
-
path: _path2 + ".values[" + _index9 + "]",
|
|
893
|
-
expected: "__type.o3",
|
|
894
|
-
value: elem
|
|
895
|
-
})) && $vo26(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
896
|
-
path: _path2 + ".values[" + _index9 + "]",
|
|
897
|
-
expected: "__type.o3",
|
|
898
|
-
value: elem
|
|
899
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
900
|
-
path: _path2 + ".values",
|
|
901
|
-
expected: "Array<__type>.o1",
|
|
902
|
-
value: input3.values
|
|
903
|
-
})].every((flag) => flag);
|
|
904
|
-
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
868
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
905
869
|
path: _path2 + ".id",
|
|
906
870
|
expected: "string",
|
|
907
871
|
value: input3.id
|
|
@@ -909,16 +873,16 @@ var validCategoriesRequest = (input) => {
|
|
|
909
873
|
path: _path2 + ".name",
|
|
910
874
|
expected: "string",
|
|
911
875
|
value: input3.name
|
|
912
|
-
}), "
|
|
876
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
913
877
|
path: _path2 + ".type",
|
|
914
|
-
expected: '
|
|
878
|
+
expected: '"categorical"',
|
|
915
879
|
value: input3.type
|
|
916
880
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
917
881
|
path: _path2 + ".child_types",
|
|
918
882
|
expected: "(Array<string> | undefined)",
|
|
919
883
|
value: input3.child_types
|
|
920
|
-
})) && input3.child_types.map((elem,
|
|
921
|
-
path: _path2 + ".child_types[" +
|
|
884
|
+
})) && input3.child_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
885
|
+
path: _path2 + ".child_types[" + _index8 + "]",
|
|
922
886
|
expected: "string",
|
|
923
887
|
value: elem
|
|
924
888
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -933,8 +897,8 @@ var validCategoriesRequest = (input) => {
|
|
|
933
897
|
path: _path2 + ".included_types",
|
|
934
898
|
expected: "(Array<string> | undefined)",
|
|
935
899
|
value: input3.included_types
|
|
936
|
-
})) && input3.included_types.map((elem,
|
|
937
|
-
path: _path2 + ".included_types[" +
|
|
900
|
+
})) && input3.included_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
|
|
901
|
+
path: _path2 + ".included_types[" + _index9 + "]",
|
|
938
902
|
expected: "string",
|
|
939
903
|
value: elem
|
|
940
904
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -949,79 +913,301 @@ var validCategoriesRequest = (input) => {
|
|
|
949
913
|
path: _path2 + ".values",
|
|
950
914
|
expected: "(TermValues | undefined)",
|
|
951
915
|
value: input3.values
|
|
952
|
-
})) && $
|
|
916
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
953
917
|
path: _path2 + ".values",
|
|
954
918
|
expected: "(TermValues | undefined)",
|
|
955
919
|
value: input3.values
|
|
956
|
-
}),
|
|
957
|
-
path: _path2 + ".
|
|
958
|
-
expected: "
|
|
959
|
-
value: input3.
|
|
960
|
-
})) && $
|
|
961
|
-
path: _path2 + ".
|
|
962
|
-
expected: "
|
|
963
|
-
value: input3.
|
|
964
|
-
}),
|
|
965
|
-
path: _path2 + ".
|
|
966
|
-
expected: "(
|
|
967
|
-
value: input3.
|
|
968
|
-
})
|
|
969
|
-
path: _path2 + ".
|
|
970
|
-
expected: "(
|
|
971
|
-
value: input3.
|
|
972
|
-
})) && $vo25(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
973
|
-
path: _path2 + ".continuousColorScale",
|
|
974
|
-
expected: "(__type.o2 | undefined)",
|
|
975
|
-
value: input3.continuousColorScale
|
|
920
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
921
|
+
path: _path2 + ".filter",
|
|
922
|
+
expected: "(TermFilter | undefined)",
|
|
923
|
+
value: input3.filter
|
|
924
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
925
|
+
path: _path2 + ".filter",
|
|
926
|
+
expected: "(TermFilter | undefined)",
|
|
927
|
+
value: input3.filter
|
|
928
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
929
|
+
path: _path2 + ".groupsetting",
|
|
930
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
931
|
+
value: input3.groupsetting
|
|
932
|
+
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
933
|
+
path: _path2 + ".groupsetting",
|
|
934
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
935
|
+
value: input3.groupsetting
|
|
976
936
|
})].every((flag) => flag);
|
|
977
|
-
const $
|
|
978
|
-
path: _path2 +
|
|
979
|
-
expected: "
|
|
980
|
-
value: input3
|
|
981
|
-
})) && $
|
|
982
|
-
path: _path2 +
|
|
983
|
-
expected: "
|
|
984
|
-
value: input3
|
|
985
|
-
}), (
|
|
986
|
-
path: _path2 + ".
|
|
987
|
-
expected: "
|
|
988
|
-
value: input3.
|
|
989
|
-
})) &&
|
|
990
|
-
path: _path2 + ".
|
|
991
|
-
expected: "
|
|
992
|
-
value:
|
|
993
|
-
}),
|
|
994
|
-
path: _path2 + ".
|
|
995
|
-
expected: "
|
|
996
|
-
value:
|
|
997
|
-
})
|
|
998
|
-
path: _path2 + ".
|
|
999
|
-
expected: "
|
|
1000
|
-
value: input3.
|
|
1001
|
-
}), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
|
|
1002
|
-
path: _path2 + ".rounding",
|
|
1003
|
-
expected: "(string | undefined)",
|
|
1004
|
-
value: input3.rounding
|
|
1005
|
-
}), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
|
|
1006
|
-
path: _path2 + ".min",
|
|
1007
|
-
expected: "(number | undefined)",
|
|
1008
|
-
value: input3.min
|
|
1009
|
-
}), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
|
|
1010
|
-
path: _path2 + ".max",
|
|
1011
|
-
expected: "(number | undefined)",
|
|
1012
|
-
value: input3.max
|
|
937
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
938
|
+
path: _path2 + ".opts",
|
|
939
|
+
expected: "__type.o2",
|
|
940
|
+
value: input3.opts
|
|
941
|
+
})) && $vo13(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
942
|
+
path: _path2 + ".opts",
|
|
943
|
+
expected: "__type.o2",
|
|
944
|
+
value: input3.opts
|
|
945
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
946
|
+
path: _path2 + ".terms",
|
|
947
|
+
expected: "Array<DtTerm>",
|
|
948
|
+
value: input3.terms
|
|
949
|
+
})) && input3.terms.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
950
|
+
path: _path2 + ".terms[" + _index10 + "]",
|
|
951
|
+
expected: "DtTerm",
|
|
952
|
+
value: elem
|
|
953
|
+
})) && $vo14(elem, _path2 + ".terms[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
954
|
+
path: _path2 + ".terms[" + _index10 + "]",
|
|
955
|
+
expected: "DtTerm",
|
|
956
|
+
value: elem
|
|
957
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
958
|
+
path: _path2 + ".terms",
|
|
959
|
+
expected: "Array<DtTerm>",
|
|
960
|
+
value: input3.terms
|
|
1013
961
|
})].every((flag) => flag);
|
|
1014
|
-
const $
|
|
1015
|
-
path: _path2 + ".
|
|
1016
|
-
expected: "(
|
|
1017
|
-
value: input3.
|
|
1018
|
-
})
|
|
1019
|
-
path: _path2 + ".
|
|
1020
|
-
expected: "
|
|
1021
|
-
value: input3.
|
|
1022
|
-
}),
|
|
1023
|
-
path: _path2 + ".
|
|
1024
|
-
expected: "
|
|
962
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
963
|
+
path: _path2 + ".disabled",
|
|
964
|
+
expected: "(boolean | undefined)",
|
|
965
|
+
value: input3.disabled
|
|
966
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
967
|
+
path: _path2 + ".lst",
|
|
968
|
+
expected: "Array<Groupset>",
|
|
969
|
+
value: input3.lst
|
|
970
|
+
})) && input3.lst.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
971
|
+
path: _path2 + ".lst[" + _index11 + "]",
|
|
972
|
+
expected: "Groupset",
|
|
973
|
+
value: elem
|
|
974
|
+
})) && $vo23(elem, _path2 + ".lst[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
975
|
+
path: _path2 + ".lst[" + _index11 + "]",
|
|
976
|
+
expected: "Groupset",
|
|
977
|
+
value: elem
|
|
978
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
979
|
+
path: _path2 + ".lst",
|
|
980
|
+
expected: "Array<Groupset>",
|
|
981
|
+
value: input3.lst
|
|
982
|
+
})].every((flag) => flag);
|
|
983
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
984
|
+
path: _path2 + ".name",
|
|
985
|
+
expected: "string",
|
|
986
|
+
value: input3.name
|
|
987
|
+
}), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
|
|
988
|
+
path: _path2 + ".is_grade",
|
|
989
|
+
expected: "(boolean | undefined)",
|
|
990
|
+
value: input3.is_grade
|
|
991
|
+
}), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
|
|
992
|
+
path: _path2 + ".is_subcondition",
|
|
993
|
+
expected: "(boolean | undefined)",
|
|
994
|
+
value: input3.is_subcondition
|
|
995
|
+
}), void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
996
|
+
path: _path2 + ".id",
|
|
997
|
+
expected: "(string | undefined)",
|
|
998
|
+
value: input3.id
|
|
999
|
+
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
1000
|
+
path: _path2 + ".groups",
|
|
1001
|
+
expected: "Array<GroupEntry>",
|
|
1002
|
+
value: input3.groups
|
|
1003
|
+
})) && input3.groups.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1004
|
+
path: _path2 + ".groups[" + _index12 + "]",
|
|
1005
|
+
expected: "(FilterGroup | ValuesGroup)",
|
|
1006
|
+
value: elem
|
|
1007
|
+
})) && $vu0(elem, _path2 + ".groups[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1008
|
+
path: _path2 + ".groups[" + _index12 + "]",
|
|
1009
|
+
expected: "(FilterGroup | ValuesGroup)",
|
|
1010
|
+
value: elem
|
|
1011
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1012
|
+
path: _path2 + ".groups",
|
|
1013
|
+
expected: "Array<GroupEntry>",
|
|
1014
|
+
value: input3.groups
|
|
1015
|
+
})].every((flag) => flag);
|
|
1016
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1017
|
+
path: _path2 + ".disabled",
|
|
1018
|
+
expected: "boolean",
|
|
1019
|
+
value: input3.disabled
|
|
1020
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1021
|
+
path: _path2 + ".lst",
|
|
1022
|
+
expected: "([] | undefined)",
|
|
1023
|
+
value: input3.lst
|
|
1024
|
+
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
1025
|
+
path: _path2 + ".lst",
|
|
1026
|
+
expected: "[]",
|
|
1027
|
+
value: input3.lst
|
|
1028
|
+
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
1029
|
+
path: _path2 + ".lst",
|
|
1030
|
+
expected: "([] | undefined)",
|
|
1031
|
+
value: input3.lst
|
|
1032
|
+
})].every((flag) => flag);
|
|
1033
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1034
|
+
path: _path2 + ".join",
|
|
1035
|
+
expected: "(string | undefined)",
|
|
1036
|
+
value: input3.join
|
|
1037
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1038
|
+
path: _path2 + ".isnot",
|
|
1039
|
+
expected: "(boolean | undefined)",
|
|
1040
|
+
value: input3.isnot
|
|
1041
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1042
|
+
path: _path2 + ".term",
|
|
1043
|
+
expected: "NumericTerm",
|
|
1044
|
+
value: input3.term
|
|
1045
|
+
})) && $vo26(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1046
|
+
path: _path2 + ".term",
|
|
1047
|
+
expected: "NumericTerm",
|
|
1048
|
+
value: input3.term
|
|
1049
|
+
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
1050
|
+
path: _path2 + ".ranges",
|
|
1051
|
+
expected: "Array<NumericBin>",
|
|
1052
|
+
value: input3.ranges
|
|
1053
|
+
})) && input3.ranges.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1054
|
+
path: _path2 + ".ranges[" + _index13 + "]",
|
|
1055
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1056
|
+
value: elem
|
|
1057
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1058
|
+
path: _path2 + ".ranges[" + _index13 + "]",
|
|
1059
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1060
|
+
value: elem
|
|
1061
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1062
|
+
path: _path2 + ".ranges",
|
|
1063
|
+
expected: "Array<NumericBin>",
|
|
1064
|
+
value: input3.ranges
|
|
1065
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1066
|
+
path: _path2 + ".values",
|
|
1067
|
+
expected: "Array<__type>.o1",
|
|
1068
|
+
value: input3.values
|
|
1069
|
+
})) && input3.values.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1070
|
+
path: _path2 + ".values[" + _index14 + "]",
|
|
1071
|
+
expected: "__type.o6",
|
|
1072
|
+
value: elem
|
|
1073
|
+
})) && $vo34(elem, _path2 + ".values[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1074
|
+
path: _path2 + ".values[" + _index14 + "]",
|
|
1075
|
+
expected: "__type.o6",
|
|
1076
|
+
value: elem
|
|
1077
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1078
|
+
path: _path2 + ".values",
|
|
1079
|
+
expected: "Array<__type>.o1",
|
|
1080
|
+
value: input3.values
|
|
1081
|
+
})].every((flag) => flag);
|
|
1082
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1083
|
+
path: _path2 + ".id",
|
|
1084
|
+
expected: "string",
|
|
1085
|
+
value: input3.id
|
|
1086
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1087
|
+
path: _path2 + ".name",
|
|
1088
|
+
expected: "string",
|
|
1089
|
+
value: input3.name
|
|
1090
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
1091
|
+
path: _path2 + ".type",
|
|
1092
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
1093
|
+
value: input3.type
|
|
1094
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1095
|
+
path: _path2 + ".child_types",
|
|
1096
|
+
expected: "(Array<string> | undefined)",
|
|
1097
|
+
value: input3.child_types
|
|
1098
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1099
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1100
|
+
expected: "string",
|
|
1101
|
+
value: elem
|
|
1102
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1103
|
+
path: _path2 + ".child_types",
|
|
1104
|
+
expected: "(Array<string> | undefined)",
|
|
1105
|
+
value: input3.child_types
|
|
1106
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1107
|
+
path: _path2 + ".hashtmldetail",
|
|
1108
|
+
expected: "(boolean | undefined)",
|
|
1109
|
+
value: input3.hashtmldetail
|
|
1110
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1111
|
+
path: _path2 + ".included_types",
|
|
1112
|
+
expected: "(Array<string> | undefined)",
|
|
1113
|
+
value: input3.included_types
|
|
1114
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1115
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1116
|
+
expected: "string",
|
|
1117
|
+
value: elem
|
|
1118
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1119
|
+
path: _path2 + ".included_types",
|
|
1120
|
+
expected: "(Array<string> | undefined)",
|
|
1121
|
+
value: input3.included_types
|
|
1122
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1123
|
+
path: _path2 + ".isleaf",
|
|
1124
|
+
expected: "(boolean | undefined)",
|
|
1125
|
+
value: input3.isleaf
|
|
1126
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1127
|
+
path: _path2 + ".values",
|
|
1128
|
+
expected: "(TermValues | undefined)",
|
|
1129
|
+
value: input3.values
|
|
1130
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1131
|
+
path: _path2 + ".values",
|
|
1132
|
+
expected: "(TermValues | undefined)",
|
|
1133
|
+
value: input3.values
|
|
1134
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1135
|
+
path: _path2 + ".filter",
|
|
1136
|
+
expected: "(TermFilter | undefined)",
|
|
1137
|
+
value: input3.filter
|
|
1138
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1139
|
+
path: _path2 + ".filter",
|
|
1140
|
+
expected: "(TermFilter | undefined)",
|
|
1141
|
+
value: input3.filter
|
|
1142
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1143
|
+
path: _path2 + ".bins",
|
|
1144
|
+
expected: "PresetNumericBins",
|
|
1145
|
+
value: input3.bins
|
|
1146
|
+
})) && $vo27(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1147
|
+
path: _path2 + ".bins",
|
|
1148
|
+
expected: "PresetNumericBins",
|
|
1149
|
+
value: input3.bins
|
|
1150
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1151
|
+
path: _path2 + ".unit",
|
|
1152
|
+
expected: "(string | undefined)",
|
|
1153
|
+
value: input3.unit
|
|
1154
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1155
|
+
path: _path2 + ".continuousColorScale",
|
|
1156
|
+
expected: "(__type.o5 | undefined)",
|
|
1157
|
+
value: input3.continuousColorScale
|
|
1158
|
+
})) && $vo33(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1159
|
+
path: _path2 + ".continuousColorScale",
|
|
1160
|
+
expected: "(__type.o5 | undefined)",
|
|
1161
|
+
value: input3.continuousColorScale
|
|
1162
|
+
})].every((flag) => flag);
|
|
1163
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
1164
|
+
path: _path2 + '["default"]',
|
|
1165
|
+
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1166
|
+
value: input3["default"]
|
|
1167
|
+
})) && $vu9(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
1168
|
+
path: _path2 + '["default"]',
|
|
1169
|
+
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1170
|
+
value: input3["default"]
|
|
1171
|
+
}), ("object" === typeof input3.less && null !== input3.less || $report(_exceptionable2, {
|
|
1172
|
+
path: _path2 + ".less",
|
|
1173
|
+
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1174
|
+
value: input3.less
|
|
1175
|
+
})) && $vu9(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
1176
|
+
path: _path2 + ".less",
|
|
1177
|
+
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1178
|
+
value: input3.less
|
|
1179
|
+
}), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
|
|
1180
|
+
path: _path2 + ".label_offset",
|
|
1181
|
+
expected: "(number | undefined)",
|
|
1182
|
+
value: input3.label_offset
|
|
1183
|
+
}), void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored || $report(_exceptionable2, {
|
|
1184
|
+
path: _path2 + ".label_offset_ignored",
|
|
1185
|
+
expected: "(boolean | undefined)",
|
|
1186
|
+
value: input3.label_offset_ignored
|
|
1187
|
+
}), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
|
|
1188
|
+
path: _path2 + ".rounding",
|
|
1189
|
+
expected: "(string | undefined)",
|
|
1190
|
+
value: input3.rounding
|
|
1191
|
+
}), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
|
|
1192
|
+
path: _path2 + ".min",
|
|
1193
|
+
expected: "(number | undefined)",
|
|
1194
|
+
value: input3.min
|
|
1195
|
+
}), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
|
|
1196
|
+
path: _path2 + ".max",
|
|
1197
|
+
expected: "(number | undefined)",
|
|
1198
|
+
value: input3.max
|
|
1199
|
+
})].every((flag) => flag);
|
|
1200
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1201
|
+
path: _path2 + ".hiddenValues",
|
|
1202
|
+
expected: "(HiddenValues | undefined)",
|
|
1203
|
+
value: input3.hiddenValues
|
|
1204
|
+
})) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1205
|
+
path: _path2 + ".hiddenValues",
|
|
1206
|
+
expected: "(HiddenValues | undefined)",
|
|
1207
|
+
value: input3.hiddenValues
|
|
1208
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
1209
|
+
path: _path2 + ".isAtomic",
|
|
1210
|
+
expected: "(true | undefined)",
|
|
1025
1211
|
value: input3.isAtomic
|
|
1026
1212
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1027
1213
|
path: _path2 + ".name",
|
|
@@ -1047,7 +1233,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1047
1233
|
path: _path2 + ".first_bin",
|
|
1048
1234
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1049
1235
|
value: input3.first_bin
|
|
1050
|
-
})) && $
|
|
1236
|
+
})) && $vu3(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1051
1237
|
path: _path2 + ".first_bin",
|
|
1052
1238
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1053
1239
|
value: input3.first_bin
|
|
@@ -1055,7 +1241,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1055
1241
|
path: _path2 + ".last_bin",
|
|
1056
1242
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1057
1243
|
value: input3.last_bin
|
|
1058
|
-
})) && $
|
|
1244
|
+
})) && $vu4(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1059
1245
|
path: _path2 + ".last_bin",
|
|
1060
1246
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1061
1247
|
value: input3.last_bin
|
|
@@ -1064,7 +1250,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1064
1250
|
expected: "(number | undefined)",
|
|
1065
1251
|
value: input3.label_offset
|
|
1066
1252
|
})].every((flag) => flag);
|
|
1067
|
-
const $
|
|
1253
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1068
1254
|
path: _path2 + ".startunbounded",
|
|
1069
1255
|
expected: "true",
|
|
1070
1256
|
value: input3.startunbounded
|
|
@@ -1089,7 +1275,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1089
1275
|
expected: "(string | undefined)",
|
|
1090
1276
|
value: input3.label
|
|
1091
1277
|
})].every((flag) => flag);
|
|
1092
|
-
const $
|
|
1278
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1093
1279
|
path: _path2 + ".startunbounded",
|
|
1094
1280
|
expected: "(false | undefined)",
|
|
1095
1281
|
value: input3.startunbounded
|
|
@@ -1118,7 +1304,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1118
1304
|
expected: "(string | undefined)",
|
|
1119
1305
|
value: input3.label
|
|
1120
1306
|
})].every((flag) => flag);
|
|
1121
|
-
const $
|
|
1307
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1122
1308
|
path: _path2 + ".start",
|
|
1123
1309
|
expected: "number",
|
|
1124
1310
|
value: input3.start
|
|
@@ -1143,7 +1329,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1143
1329
|
expected: "(string | undefined)",
|
|
1144
1330
|
value: input3.label
|
|
1145
1331
|
})].every((flag) => flag);
|
|
1146
|
-
const $
|
|
1332
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1147
1333
|
path: _path2 + ".hiddenValues",
|
|
1148
1334
|
expected: "(HiddenValues | undefined)",
|
|
1149
1335
|
value: input3.hiddenValues
|
|
@@ -1189,12 +1375,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1189
1375
|
path: _path2 + ".lst",
|
|
1190
1376
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1191
1377
|
value: input3.lst.slice(1)
|
|
1192
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1193
|
-
path: _path2 + ".lst[" + (1 +
|
|
1378
|
+
})) && input3.lst.slice(1).map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1379
|
+
path: _path2 + ".lst[" + (1 + _index17) + "]",
|
|
1194
1380
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1195
1381
|
value: elem
|
|
1196
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1197
|
-
path: _path2 + ".lst[" + (1 +
|
|
1382
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index17) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1383
|
+
path: _path2 + ".lst[" + (1 + _index17) + "]",
|
|
1198
1384
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1199
1385
|
value: elem
|
|
1200
1386
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1210,7 +1396,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1210
1396
|
expected: '("median" | undefined)',
|
|
1211
1397
|
value: input3.preferredBins
|
|
1212
1398
|
})].every((flag) => flag);
|
|
1213
|
-
const $
|
|
1399
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1214
1400
|
path: _path2 + ".minColor",
|
|
1215
1401
|
expected: "string",
|
|
1216
1402
|
value: input3.minColor
|
|
@@ -1219,7 +1405,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1219
1405
|
expected: "string",
|
|
1220
1406
|
value: input3.maxColor
|
|
1221
1407
|
})].every((flag) => flag);
|
|
1222
|
-
const $
|
|
1408
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1223
1409
|
path: _path2 + ".key",
|
|
1224
1410
|
expected: "string",
|
|
1225
1411
|
value: input3.key
|
|
@@ -1236,7 +1422,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1236
1422
|
expected: "(string | undefined)",
|
|
1237
1423
|
value: input3.label
|
|
1238
1424
|
})].every((flag) => flag);
|
|
1239
|
-
const $
|
|
1425
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1240
1426
|
path: _path2 + ".join",
|
|
1241
1427
|
expected: "(string | undefined)",
|
|
1242
1428
|
value: input3.join
|
|
@@ -1248,7 +1434,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1248
1434
|
path: _path2 + ".term",
|
|
1249
1435
|
expected: "ConditionTerm",
|
|
1250
1436
|
value: input3.term
|
|
1251
|
-
})) && $
|
|
1437
|
+
})) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1252
1438
|
path: _path2 + ".term",
|
|
1253
1439
|
expected: "ConditionTerm",
|
|
1254
1440
|
value: input3.term
|
|
@@ -1268,12 +1454,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1268
1454
|
path: _path2 + ".grade_and_child",
|
|
1269
1455
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1270
1456
|
value: input3.grade_and_child
|
|
1271
|
-
})) && input3.grade_and_child.map((elem,
|
|
1272
|
-
path: _path2 + ".grade_and_child[" +
|
|
1457
|
+
})) && input3.grade_and_child.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1458
|
+
path: _path2 + ".grade_and_child[" + _index18 + "]",
|
|
1273
1459
|
expected: "GradeAndChildEntry",
|
|
1274
1460
|
value: elem
|
|
1275
|
-
})) && $
|
|
1276
|
-
path: _path2 + ".grade_and_child[" +
|
|
1461
|
+
})) && $vo37(elem, _path2 + ".grade_and_child[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1462
|
+
path: _path2 + ".grade_and_child[" + _index18 + "]",
|
|
1277
1463
|
expected: "GradeAndChildEntry",
|
|
1278
1464
|
value: elem
|
|
1279
1465
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1281,7 +1467,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1281
1467
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1282
1468
|
value: input3.grade_and_child
|
|
1283
1469
|
})].every((flag) => flag);
|
|
1284
|
-
const $
|
|
1470
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1285
1471
|
path: _path2 + ".id",
|
|
1286
1472
|
expected: "string",
|
|
1287
1473
|
value: input3.id
|
|
@@ -1297,8 +1483,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1297
1483
|
path: _path2 + ".child_types",
|
|
1298
1484
|
expected: "(Array<string> | undefined)",
|
|
1299
1485
|
value: input3.child_types
|
|
1300
|
-
})) && input3.child_types.map((elem,
|
|
1301
|
-
path: _path2 + ".child_types[" +
|
|
1486
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1487
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1302
1488
|
expected: "string",
|
|
1303
1489
|
value: elem
|
|
1304
1490
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1313,8 +1499,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1313
1499
|
path: _path2 + ".included_types",
|
|
1314
1500
|
expected: "(Array<string> | undefined)",
|
|
1315
1501
|
value: input3.included_types
|
|
1316
|
-
})) && input3.included_types.map((elem,
|
|
1317
|
-
path: _path2 + ".included_types[" +
|
|
1502
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1503
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1318
1504
|
expected: "string",
|
|
1319
1505
|
value: elem
|
|
1320
1506
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1329,12 +1515,20 @@ var validCategoriesRequest = (input) => {
|
|
|
1329
1515
|
path: _path2 + ".values",
|
|
1330
1516
|
expected: "(TermValues | undefined)",
|
|
1331
1517
|
value: input3.values
|
|
1332
|
-
})) && $
|
|
1518
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1333
1519
|
path: _path2 + ".values",
|
|
1334
1520
|
expected: "(TermValues | undefined)",
|
|
1335
1521
|
value: input3.values
|
|
1336
|
-
}),
|
|
1337
|
-
|
|
1522
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1523
|
+
path: _path2 + ".filter",
|
|
1524
|
+
expected: "(TermFilter | undefined)",
|
|
1525
|
+
value: input3.filter
|
|
1526
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1527
|
+
path: _path2 + ".filter",
|
|
1528
|
+
expected: "(TermFilter | undefined)",
|
|
1529
|
+
value: input3.filter
|
|
1530
|
+
})].every((flag) => flag);
|
|
1531
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1338
1532
|
path: _path2 + ".grade",
|
|
1339
1533
|
expected: "number",
|
|
1340
1534
|
value: input3.grade
|
|
@@ -1347,411 +1541,63 @@ var validCategoriesRequest = (input) => {
|
|
|
1347
1541
|
expected: "(string | undefined)",
|
|
1348
1542
|
value: input3.child_id
|
|
1349
1543
|
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
1350
|
-
path: _path2 + ".child_label",
|
|
1351
|
-
expected: "string",
|
|
1352
|
-
value: input3.child_label
|
|
1353
|
-
})].every((flag) => flag);
|
|
1354
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1355
|
-
path: _path2 + ".join",
|
|
1356
|
-
expected: "(string | undefined)",
|
|
1357
|
-
value: input3.join
|
|
1358
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1359
|
-
path: _path2 + ".isnot",
|
|
1360
|
-
expected: "(boolean | undefined)",
|
|
1361
|
-
value: input3.isnot
|
|
1362
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1363
|
-
path: _path2 + ".term",
|
|
1364
|
-
expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
|
|
1365
|
-
value: input3.term
|
|
1366
|
-
})) && $vu10(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1367
|
-
path: _path2 + ".term",
|
|
1368
|
-
expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
|
|
1369
|
-
value: input3.term
|
|
1370
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1371
|
-
path: _path2 + ".values",
|
|
1372
|
-
expected: "Array<GeneVariantTvsValue>",
|
|
1373
|
-
value: input3.values
|
|
1374
|
-
})) && input3.values.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1375
|
-
path: _path2 + ".values[" + _index16 + "]",
|
|
1376
|
-
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1377
|
-
value: elem
|
|
1378
|
-
})) && $vu3(elem, _path2 + ".values[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1379
|
-
path: _path2 + ".values[" + _index16 + "]",
|
|
1380
|
-
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1381
|
-
value: elem
|
|
1382
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1383
|
-
path: _path2 + ".values",
|
|
1384
|
-
expected: "Array<GeneVariantTvsValue>",
|
|
1385
|
-
value: input3.values
|
|
1386
|
-
})].every((flag) => flag);
|
|
1387
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1388
|
-
path: _path2 + ".id",
|
|
1389
|
-
expected: "string",
|
|
1390
|
-
value: input3.id
|
|
1391
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1392
|
-
path: _path2 + ".name",
|
|
1393
|
-
expected: "string",
|
|
1394
|
-
value: input3.name
|
|
1395
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1396
|
-
path: _path2 + ".type",
|
|
1397
|
-
expected: '"geneVariant"',
|
|
1398
|
-
value: input3.type
|
|
1399
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1400
|
-
path: _path2 + ".child_types",
|
|
1401
|
-
expected: "(Array<string> | undefined)",
|
|
1402
|
-
value: input3.child_types
|
|
1403
|
-
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1404
|
-
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1405
|
-
expected: "string",
|
|
1406
|
-
value: elem
|
|
1407
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1408
|
-
path: _path2 + ".child_types",
|
|
1409
|
-
expected: "(Array<string> | undefined)",
|
|
1410
|
-
value: input3.child_types
|
|
1411
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1412
|
-
path: _path2 + ".hashtmldetail",
|
|
1413
|
-
expected: "(boolean | undefined)",
|
|
1414
|
-
value: input3.hashtmldetail
|
|
1415
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1416
|
-
path: _path2 + ".included_types",
|
|
1417
|
-
expected: "(Array<string> | undefined)",
|
|
1418
|
-
value: input3.included_types
|
|
1419
|
-
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1420
|
-
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1421
|
-
expected: "string",
|
|
1422
|
-
value: elem
|
|
1423
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1424
|
-
path: _path2 + ".included_types",
|
|
1425
|
-
expected: "(Array<string> | undefined)",
|
|
1426
|
-
value: input3.included_types
|
|
1427
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1428
|
-
path: _path2 + ".isleaf",
|
|
1429
|
-
expected: "(boolean | undefined)",
|
|
1430
|
-
value: input3.isleaf
|
|
1431
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1432
|
-
path: _path2 + ".values",
|
|
1433
|
-
expected: "(TermValues | undefined)",
|
|
1434
|
-
value: input3.values
|
|
1435
|
-
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1436
|
-
path: _path2 + ".values",
|
|
1437
|
-
expected: "(TermValues | undefined)",
|
|
1438
|
-
value: input3.values
|
|
1439
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1440
|
-
path: _path2 + ".groupsetting",
|
|
1441
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
1442
|
-
value: input3.groupsetting
|
|
1443
|
-
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1444
|
-
path: _path2 + ".groupsetting",
|
|
1445
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
1446
|
-
value: input3.groupsetting
|
|
1447
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1448
|
-
path: _path2 + ".kind",
|
|
1449
|
-
expected: '"gene"',
|
|
1450
|
-
value: input3.kind
|
|
1451
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1452
|
-
path: _path2 + ".gene",
|
|
1453
|
-
expected: "string",
|
|
1454
|
-
value: input3.gene
|
|
1455
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1456
|
-
path: _path2 + ".chr",
|
|
1457
|
-
expected: "(string | undefined)",
|
|
1458
|
-
value: input3.chr
|
|
1459
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1460
|
-
path: _path2 + ".start",
|
|
1461
|
-
expected: "(number | undefined)",
|
|
1462
|
-
value: input3.start
|
|
1463
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1464
|
-
path: _path2 + ".stop",
|
|
1465
|
-
expected: "(number | undefined)",
|
|
1466
|
-
value: input3.stop
|
|
1467
|
-
})].every((flag) => flag);
|
|
1468
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1469
|
-
path: _path2 + ".disabled",
|
|
1470
|
-
expected: "(boolean | undefined)",
|
|
1471
|
-
value: input3.disabled
|
|
1472
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1473
|
-
path: _path2 + ".lst",
|
|
1474
|
-
expected: "Array<Groupset>",
|
|
1475
|
-
value: input3.lst
|
|
1476
|
-
})) && input3.lst.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1477
|
-
path: _path2 + ".lst[" + _index19 + "]",
|
|
1478
|
-
expected: "Groupset",
|
|
1479
|
-
value: elem
|
|
1480
|
-
})) && $vo33(elem, _path2 + ".lst[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1481
|
-
path: _path2 + ".lst[" + _index19 + "]",
|
|
1482
|
-
expected: "Groupset",
|
|
1483
|
-
value: elem
|
|
1484
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1485
|
-
path: _path2 + ".lst",
|
|
1486
|
-
expected: "Array<Groupset>",
|
|
1487
|
-
value: input3.lst
|
|
1488
|
-
})].every((flag) => flag);
|
|
1489
|
-
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1490
|
-
path: _path2 + ".name",
|
|
1491
|
-
expected: "string",
|
|
1492
|
-
value: input3.name
|
|
1493
|
-
}), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
|
|
1494
|
-
path: _path2 + ".is_grade",
|
|
1495
|
-
expected: "(boolean | undefined)",
|
|
1496
|
-
value: input3.is_grade
|
|
1497
|
-
}), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
|
|
1498
|
-
path: _path2 + ".is_subcondition",
|
|
1499
|
-
expected: "(boolean | undefined)",
|
|
1500
|
-
value: input3.is_subcondition
|
|
1501
|
-
}), void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1502
|
-
path: _path2 + ".id",
|
|
1503
|
-
expected: "(string | undefined)",
|
|
1504
|
-
value: input3.id
|
|
1505
|
-
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
1506
|
-
path: _path2 + ".groups",
|
|
1507
|
-
expected: "Array<GroupEntry>",
|
|
1508
|
-
value: input3.groups
|
|
1509
|
-
})) && input3.groups.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1510
|
-
path: _path2 + ".groups[" + _index20 + "]",
|
|
1511
|
-
expected: "(FilterGroup | ValuesGroup)",
|
|
1512
|
-
value: elem
|
|
1513
|
-
})) && $vu0(elem, _path2 + ".groups[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1514
|
-
path: _path2 + ".groups[" + _index20 + "]",
|
|
1515
|
-
expected: "(FilterGroup | ValuesGroup)",
|
|
1516
|
-
value: elem
|
|
1517
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1518
|
-
path: _path2 + ".groups",
|
|
1519
|
-
expected: "Array<GroupEntry>",
|
|
1520
|
-
value: input3.groups
|
|
1521
|
-
})].every((flag) => flag);
|
|
1522
|
-
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1523
|
-
path: _path2 + ".disabled",
|
|
1524
|
-
expected: "boolean",
|
|
1525
|
-
value: input3.disabled
|
|
1526
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1527
|
-
path: _path2 + ".lst",
|
|
1528
|
-
expected: "([] | undefined)",
|
|
1529
|
-
value: input3.lst
|
|
1530
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
1531
|
-
path: _path2 + ".lst",
|
|
1532
|
-
expected: "[]",
|
|
1533
|
-
value: input3.lst
|
|
1534
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
1535
|
-
path: _path2 + ".lst",
|
|
1536
|
-
expected: "([] | undefined)",
|
|
1537
|
-
value: input3.lst
|
|
1538
|
-
})].every((flag) => flag);
|
|
1539
|
-
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1540
|
-
path: _path2 + ".id",
|
|
1541
|
-
expected: "string",
|
|
1542
|
-
value: input3.id
|
|
1543
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1544
|
-
path: _path2 + ".name",
|
|
1545
|
-
expected: "string",
|
|
1546
|
-
value: input3.name
|
|
1547
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1548
|
-
path: _path2 + ".type",
|
|
1549
|
-
expected: '"geneVariant"',
|
|
1550
|
-
value: input3.type
|
|
1551
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1552
|
-
path: _path2 + ".child_types",
|
|
1553
|
-
expected: "(Array<string> | undefined)",
|
|
1554
|
-
value: input3.child_types
|
|
1555
|
-
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1556
|
-
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1557
|
-
expected: "string",
|
|
1558
|
-
value: elem
|
|
1559
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1560
|
-
path: _path2 + ".child_types",
|
|
1561
|
-
expected: "(Array<string> | undefined)",
|
|
1562
|
-
value: input3.child_types
|
|
1563
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1564
|
-
path: _path2 + ".hashtmldetail",
|
|
1565
|
-
expected: "(boolean | undefined)",
|
|
1566
|
-
value: input3.hashtmldetail
|
|
1567
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1568
|
-
path: _path2 + ".included_types",
|
|
1569
|
-
expected: "(Array<string> | undefined)",
|
|
1570
|
-
value: input3.included_types
|
|
1571
|
-
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1572
|
-
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1573
|
-
expected: "string",
|
|
1574
|
-
value: elem
|
|
1575
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1576
|
-
path: _path2 + ".included_types",
|
|
1577
|
-
expected: "(Array<string> | undefined)",
|
|
1578
|
-
value: input3.included_types
|
|
1579
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1580
|
-
path: _path2 + ".isleaf",
|
|
1581
|
-
expected: "(boolean | undefined)",
|
|
1582
|
-
value: input3.isleaf
|
|
1583
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1584
|
-
path: _path2 + ".values",
|
|
1585
|
-
expected: "(TermValues | undefined)",
|
|
1586
|
-
value: input3.values
|
|
1587
|
-
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1588
|
-
path: _path2 + ".values",
|
|
1589
|
-
expected: "(TermValues | undefined)",
|
|
1590
|
-
value: input3.values
|
|
1591
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1592
|
-
path: _path2 + ".groupsetting",
|
|
1593
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
1594
|
-
value: input3.groupsetting
|
|
1595
|
-
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1596
|
-
path: _path2 + ".groupsetting",
|
|
1597
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
1598
|
-
value: input3.groupsetting
|
|
1599
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1600
|
-
path: _path2 + ".kind",
|
|
1601
|
-
expected: '"coord"',
|
|
1602
|
-
value: input3.kind
|
|
1603
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1604
|
-
path: _path2 + ".chr",
|
|
1605
|
-
expected: "string",
|
|
1606
|
-
value: input3.chr
|
|
1607
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1608
|
-
path: _path2 + ".start",
|
|
1609
|
-
expected: "number",
|
|
1610
|
-
value: input3.start
|
|
1611
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1612
|
-
path: _path2 + ".stop",
|
|
1613
|
-
expected: "number",
|
|
1614
|
-
value: input3.stop
|
|
1615
|
-
})].every((flag) => flag);
|
|
1616
|
-
const $vo36 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1617
|
-
path: _path2 + ".dt",
|
|
1618
|
-
expected: "1",
|
|
1619
|
-
value: input3.dt
|
|
1620
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1621
|
-
path: _path2 + ".mclassLst",
|
|
1622
|
-
expected: "Array<SNVIndelClasses>",
|
|
1623
|
-
value: input3.mclassLst
|
|
1624
|
-
})) && input3.mclassLst.map((elem, _index23) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
|
|
1625
|
-
path: _path2 + ".mclassLst[" + _index23 + "]",
|
|
1626
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1627
|
-
value: elem
|
|
1628
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1629
|
-
path: _path2 + ".mclassLst",
|
|
1630
|
-
expected: "Array<SNVIndelClasses>",
|
|
1631
|
-
value: input3.mclassLst
|
|
1632
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1633
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1634
|
-
expected: "Array<SNVIndelClasses>",
|
|
1635
|
-
value: input3.mclassExcludeLst
|
|
1636
|
-
})) && input3.mclassExcludeLst.map((elem, _index24) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
|
|
1637
|
-
path: _path2 + ".mclassExcludeLst[" + _index24 + "]",
|
|
1638
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1639
|
-
value: elem
|
|
1640
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1641
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1642
|
-
expected: "Array<SNVIndelClasses>",
|
|
1643
|
-
value: input3.mclassExcludeLst
|
|
1644
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1645
|
-
path: _path2 + ".origin",
|
|
1646
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1647
|
-
value: input3.origin
|
|
1648
|
-
})].every((flag) => flag);
|
|
1649
|
-
const $vo37 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1650
|
-
path: _path2 + ".dt",
|
|
1651
|
-
expected: "4",
|
|
1652
|
-
value: input3.dt
|
|
1653
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1654
|
-
path: _path2 + ".mclassLst",
|
|
1655
|
-
expected: "Array<CNVClasses>",
|
|
1656
|
-
value: input3.mclassLst
|
|
1657
|
-
})) && input3.mclassLst.map((elem, _index25) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
1658
|
-
path: _path2 + ".mclassLst[" + _index25 + "]",
|
|
1659
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1660
|
-
value: elem
|
|
1661
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1662
|
-
path: _path2 + ".mclassLst",
|
|
1663
|
-
expected: "Array<CNVClasses>",
|
|
1664
|
-
value: input3.mclassLst
|
|
1665
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1666
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1667
|
-
expected: "Array<CNVClasses>",
|
|
1668
|
-
value: input3.mclassExcludeLst
|
|
1669
|
-
})) && input3.mclassExcludeLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
1670
|
-
path: _path2 + ".mclassExcludeLst[" + _index26 + "]",
|
|
1671
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1672
|
-
value: elem
|
|
1673
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1674
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1675
|
-
expected: "Array<CNVClasses>",
|
|
1676
|
-
value: input3.mclassExcludeLst
|
|
1677
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1678
|
-
path: _path2 + ".origin",
|
|
1679
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1680
|
-
value: input3.origin
|
|
1544
|
+
path: _path2 + ".child_label",
|
|
1545
|
+
expected: "string",
|
|
1546
|
+
value: input3.child_label
|
|
1681
1547
|
})].every((flag) => flag);
|
|
1682
|
-
const $vo38 = (input3, _path2, _exceptionable2 = true) => [
|
|
1683
|
-
path: _path2 + ".
|
|
1684
|
-
expected: "
|
|
1685
|
-
value: input3.
|
|
1686
|
-
}),
|
|
1687
|
-
path: _path2 + ".
|
|
1688
|
-
expected: "
|
|
1689
|
-
value: input3.
|
|
1690
|
-
})
|
|
1691
|
-
path: _path2 + ".
|
|
1692
|
-
expected:
|
|
1548
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1549
|
+
path: _path2 + ".join",
|
|
1550
|
+
expected: "(string | undefined)",
|
|
1551
|
+
value: input3.join
|
|
1552
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".isnot",
|
|
1554
|
+
expected: "(boolean | undefined)",
|
|
1555
|
+
value: input3.isnot
|
|
1556
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1557
|
+
path: _path2 + ".term",
|
|
1558
|
+
expected: "DtTerm",
|
|
1559
|
+
value: input3.term
|
|
1560
|
+
})) && $vo14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1561
|
+
path: _path2 + ".term",
|
|
1562
|
+
expected: "DtTerm",
|
|
1563
|
+
value: input3.term
|
|
1564
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1565
|
+
path: _path2 + ".values",
|
|
1566
|
+
expected: "Array<__type>.o2",
|
|
1567
|
+
value: input3.values
|
|
1568
|
+
})) && input3.values.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1569
|
+
path: _path2 + ".values[" + _index21 + "]",
|
|
1570
|
+
expected: "__type.o7",
|
|
1693
1571
|
value: elem
|
|
1694
|
-
}))
|
|
1695
|
-
path: _path2 + ".
|
|
1696
|
-
expected: "
|
|
1697
|
-
value: input3.mclassLst
|
|
1698
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1699
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1700
|
-
expected: "Array<SVClasses>",
|
|
1701
|
-
value: input3.mclassExcludeLst
|
|
1702
|
-
})) && input3.mclassExcludeLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1703
|
-
path: _path2 + ".mclassExcludeLst[" + _index28 + "]",
|
|
1704
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1572
|
+
})) && $vo39(elem, _path2 + ".values[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1573
|
+
path: _path2 + ".values[" + _index21 + "]",
|
|
1574
|
+
expected: "__type.o7",
|
|
1705
1575
|
value: elem
|
|
1706
1576
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1707
|
-
path: _path2 + ".
|
|
1708
|
-
expected: "Array<
|
|
1709
|
-
value: input3.
|
|
1710
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1711
|
-
path: _path2 + ".origin",
|
|
1712
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1713
|
-
value: input3.origin
|
|
1577
|
+
path: _path2 + ".values",
|
|
1578
|
+
expected: "Array<__type>.o2",
|
|
1579
|
+
value: input3.values
|
|
1714
1580
|
})].every((flag) => flag);
|
|
1715
|
-
const $vo39 = (input3, _path2, _exceptionable2 = true) => [
|
|
1716
|
-
path: _path2 + ".
|
|
1717
|
-
expected: "
|
|
1718
|
-
value: input3.
|
|
1719
|
-
}),
|
|
1720
|
-
path: _path2 + ".
|
|
1721
|
-
expected: "
|
|
1722
|
-
value: input3.
|
|
1723
|
-
})
|
|
1724
|
-
path: _path2 + ".
|
|
1725
|
-
expected:
|
|
1726
|
-
value:
|
|
1727
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1728
|
-
path: _path2 + ".mclassLst",
|
|
1729
|
-
expected: "Array<FusionRNAClasses>",
|
|
1730
|
-
value: input3.mclassLst
|
|
1731
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1732
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1733
|
-
expected: "Array<FusionRNAClasses>",
|
|
1734
|
-
value: input3.mclassExcludeLst
|
|
1735
|
-
})) && input3.mclassExcludeLst.map((elem, _index30) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1736
|
-
path: _path2 + ".mclassExcludeLst[" + _index30 + "]",
|
|
1737
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1738
|
-
value: elem
|
|
1739
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1740
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1741
|
-
expected: "Array<FusionRNAClasses>",
|
|
1742
|
-
value: input3.mclassExcludeLst
|
|
1743
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1744
|
-
path: _path2 + ".origin",
|
|
1745
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1746
|
-
value: input3.origin
|
|
1581
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1582
|
+
path: _path2 + ".key",
|
|
1583
|
+
expected: "string",
|
|
1584
|
+
value: input3.key
|
|
1585
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1586
|
+
path: _path2 + ".label",
|
|
1587
|
+
expected: "string",
|
|
1588
|
+
value: input3.label
|
|
1589
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1590
|
+
path: _path2 + ".value",
|
|
1591
|
+
expected: "string",
|
|
1592
|
+
value: input3.value
|
|
1747
1593
|
})].every((flag) => flag);
|
|
1748
1594
|
const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1749
1595
|
path: _path2 + ".id",
|
|
1750
1596
|
expected: "(string | undefined)",
|
|
1751
1597
|
value: input3.id
|
|
1752
|
-
}), "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
1598
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
1753
1599
|
path: _path2 + ".$id",
|
|
1754
|
-
expected: "string",
|
|
1600
|
+
expected: "(string | undefined)",
|
|
1755
1601
|
value: input3.$id
|
|
1756
1602
|
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
1757
1603
|
path: _path2 + ".isAtomic",
|
|
@@ -1773,7 +1619,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1773
1619
|
path: _path2 + ".term",
|
|
1774
1620
|
expected: "NumericTerm",
|
|
1775
1621
|
value: input3.term
|
|
1776
|
-
})) && $
|
|
1622
|
+
})) && $vo26(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1777
1623
|
path: _path2 + ".term",
|
|
1778
1624
|
expected: "NumericTerm",
|
|
1779
1625
|
value: input3.term
|
|
@@ -1781,7 +1627,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1781
1627
|
path: _path2 + ".q",
|
|
1782
1628
|
expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
|
|
1783
1629
|
value: input3.q
|
|
1784
|
-
})) && $
|
|
1630
|
+
})) && $vu10(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
1785
1631
|
path: _path2 + ".q",
|
|
1786
1632
|
expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
|
|
1787
1633
|
value: input3.q
|
|
@@ -1827,7 +1673,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1827
1673
|
path: _path2 + ".lst[0]",
|
|
1828
1674
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1829
1675
|
value: input3.lst[0]
|
|
1830
|
-
})) && $
|
|
1676
|
+
})) && $vu3(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
1831
1677
|
path: _path2 + ".lst[0]",
|
|
1832
1678
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1833
1679
|
value: input3.lst[0]
|
|
@@ -1836,7 +1682,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1836
1682
|
path: _path2 + ".lst[1]",
|
|
1837
1683
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1838
1684
|
value: input3.lst[1]
|
|
1839
|
-
})) && $
|
|
1685
|
+
})) && $vu4(input3.lst[1], _path2 + ".lst[1]", _exceptionable2) || $report(_exceptionable2, {
|
|
1840
1686
|
path: _path2 + ".lst[1]",
|
|
1841
1687
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1842
1688
|
value: input3.lst[1]
|
|
@@ -1909,19 +1755,19 @@ var validCategoriesRequest = (input) => {
|
|
|
1909
1755
|
value: input3.mode
|
|
1910
1756
|
}), (Array.isArray(input3.knots) || $report(_exceptionable2, {
|
|
1911
1757
|
path: _path2 + ".knots",
|
|
1912
|
-
expected: "Array<__type>.
|
|
1758
|
+
expected: "Array<__type>.o3",
|
|
1913
1759
|
value: input3.knots
|
|
1914
|
-
})) && input3.knots.map((elem,
|
|
1915
|
-
path: _path2 + ".knots[" +
|
|
1916
|
-
expected: "__type.
|
|
1760
|
+
})) && input3.knots.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1761
|
+
path: _path2 + ".knots[" + _index22 + "]",
|
|
1762
|
+
expected: "__type.o8",
|
|
1917
1763
|
value: elem
|
|
1918
|
-
})) && $vo44(elem, _path2 + ".knots[" +
|
|
1919
|
-
path: _path2 + ".knots[" +
|
|
1920
|
-
expected: "__type.
|
|
1764
|
+
})) && $vo44(elem, _path2 + ".knots[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1765
|
+
path: _path2 + ".knots[" + _index22 + "]",
|
|
1766
|
+
expected: "__type.o8",
|
|
1921
1767
|
value: elem
|
|
1922
1768
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1923
1769
|
path: _path2 + ".knots",
|
|
1924
|
-
expected: "Array<__type>.
|
|
1770
|
+
expected: "Array<__type>.o3",
|
|
1925
1771
|
value: input3.knots
|
|
1926
1772
|
}), (null !== input3.type || $report(_exceptionable2, {
|
|
1927
1773
|
path: _path2 + ".type",
|
|
@@ -1941,9 +1787,9 @@ var validCategoriesRequest = (input) => {
|
|
|
1941
1787
|
path: _path2 + ".id",
|
|
1942
1788
|
expected: "(string | undefined)",
|
|
1943
1789
|
value: input3.id
|
|
1944
|
-
}), "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
1790
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
1945
1791
|
path: _path2 + ".$id",
|
|
1946
|
-
expected: "string",
|
|
1792
|
+
expected: "(string | undefined)",
|
|
1947
1793
|
value: input3.$id
|
|
1948
1794
|
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
1949
1795
|
path: _path2 + ".isAtomic",
|
|
@@ -2042,7 +1888,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2042
1888
|
path: _path2 + ".variant_filter",
|
|
2043
1889
|
expected: "Filter",
|
|
2044
1890
|
value: input3.variant_filter
|
|
2045
|
-
})) && $
|
|
1891
|
+
})) && $vo17(input3.variant_filter, _path2 + ".variant_filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2046
1892
|
path: _path2 + ".variant_filter",
|
|
2047
1893
|
expected: "Filter",
|
|
2048
1894
|
value: input3.variant_filter
|
|
@@ -2067,7 +1913,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2067
1913
|
path: _path2 + ".tvs",
|
|
2068
1914
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2069
1915
|
value: input3.tvs
|
|
2070
|
-
})) && $
|
|
1916
|
+
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
2071
1917
|
path: _path2 + ".tvs",
|
|
2072
1918
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2073
1919
|
value: input3.tvs
|
|
@@ -2088,8 +1934,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2088
1934
|
path: _path2 + ".child_types",
|
|
2089
1935
|
expected: "(Array<string> | undefined)",
|
|
2090
1936
|
value: input3.child_types
|
|
2091
|
-
})) && input3.child_types.map((elem,
|
|
2092
|
-
path: _path2 + ".child_types[" +
|
|
1937
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1938
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
2093
1939
|
expected: "string",
|
|
2094
1940
|
value: elem
|
|
2095
1941
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2104,8 +1950,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2104
1950
|
path: _path2 + ".included_types",
|
|
2105
1951
|
expected: "(Array<string> | undefined)",
|
|
2106
1952
|
value: input3.included_types
|
|
2107
|
-
})) && input3.included_types.map((elem,
|
|
2108
|
-
path: _path2 + ".included_types[" +
|
|
1953
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1954
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
2109
1955
|
expected: "string",
|
|
2110
1956
|
value: elem
|
|
2111
1957
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2120,11 +1966,19 @@ var validCategoriesRequest = (input) => {
|
|
|
2120
1966
|
path: _path2 + ".values",
|
|
2121
1967
|
expected: "(TermValues | undefined)",
|
|
2122
1968
|
value: input3.values
|
|
2123
|
-
})) && $
|
|
1969
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2124
1970
|
path: _path2 + ".values",
|
|
2125
1971
|
expected: "(TermValues | undefined)",
|
|
2126
1972
|
value: input3.values
|
|
2127
|
-
}),
|
|
1973
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1974
|
+
path: _path2 + ".filter",
|
|
1975
|
+
expected: "(TermFilter | undefined)",
|
|
1976
|
+
value: input3.filter
|
|
1977
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1978
|
+
path: _path2 + ".filter",
|
|
1979
|
+
expected: "(TermFilter | undefined)",
|
|
1980
|
+
value: input3.filter
|
|
1981
|
+
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
2128
1982
|
path: _path2 + ".reachedVariantLimit",
|
|
2129
1983
|
expected: "(boolean | undefined)",
|
|
2130
1984
|
value: input3.reachedVariantLimit
|
|
@@ -2132,12 +1986,12 @@ var validCategoriesRequest = (input) => {
|
|
|
2132
1986
|
path: _path2 + ".snps",
|
|
2133
1987
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2134
1988
|
value: input3.snps
|
|
2135
|
-
})) && input3.snps.map((elem,
|
|
2136
|
-
path: _path2 + ".snps[" +
|
|
1989
|
+
})) && input3.snps.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1990
|
+
path: _path2 + ".snps[" + _index25 + "]",
|
|
2137
1991
|
expected: "SnpsEntry",
|
|
2138
1992
|
value: elem
|
|
2139
|
-
})) && $vo49(elem, _path2 + ".snps[" +
|
|
2140
|
-
path: _path2 + ".snps[" +
|
|
1993
|
+
})) && $vo49(elem, _path2 + ".snps[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1994
|
+
path: _path2 + ".snps[" + _index25 + "]",
|
|
2141
1995
|
expected: "SnpsEntry",
|
|
2142
1996
|
value: elem
|
|
2143
1997
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2149,8 +2003,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2149
2003
|
path: _path2 + ".altAlleles",
|
|
2150
2004
|
expected: "(Array<string> | undefined)",
|
|
2151
2005
|
value: input3.altAlleles
|
|
2152
|
-
})) && input3.altAlleles.map((elem,
|
|
2153
|
-
path: _path2 + ".altAlleles[" +
|
|
2006
|
+
})) && input3.altAlleles.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2007
|
+
path: _path2 + ".altAlleles[" + _index26 + "]",
|
|
2154
2008
|
expected: "string",
|
|
2155
2009
|
value: elem
|
|
2156
2010
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2161,12 +2015,12 @@ var validCategoriesRequest = (input) => {
|
|
|
2161
2015
|
path: _path2 + ".alleles",
|
|
2162
2016
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
2163
2017
|
value: input3.alleles
|
|
2164
|
-
})) && input3.alleles.map((elem,
|
|
2165
|
-
path: _path2 + ".alleles[" +
|
|
2018
|
+
})) && input3.alleles.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2019
|
+
path: _path2 + ".alleles[" + _index27 + "]",
|
|
2166
2020
|
expected: "AllelesEntry",
|
|
2167
2021
|
value: elem
|
|
2168
|
-
})) && $vo50(elem, _path2 + ".alleles[" +
|
|
2169
|
-
path: _path2 + ".alleles[" +
|
|
2022
|
+
})) && $vo50(elem, _path2 + ".alleles[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2023
|
+
path: _path2 + ".alleles[" + _index27 + "]",
|
|
2170
2024
|
expected: "AllelesEntry",
|
|
2171
2025
|
value: elem
|
|
2172
2026
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2179,11 +2033,11 @@ var validCategoriesRequest = (input) => {
|
|
|
2179
2033
|
value: input3.effectAllele
|
|
2180
2034
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
2181
2035
|
path: _path2 + ".gt2count",
|
|
2182
|
-
expected: "(__type.
|
|
2036
|
+
expected: "(__type.o9 | undefined)",
|
|
2183
2037
|
value: input3.gt2count
|
|
2184
2038
|
})) && $vo51(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
2185
2039
|
path: _path2 + ".gt2count",
|
|
2186
|
-
expected: "(__type.
|
|
2040
|
+
expected: "(__type.o9 | undefined)",
|
|
2187
2041
|
value: input3.gt2count
|
|
2188
2042
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
2189
2043
|
path: _path2 + ".invalid",
|
|
@@ -2236,9 +2090,9 @@ var validCategoriesRequest = (input) => {
|
|
|
2236
2090
|
path: _path2 + ".id",
|
|
2237
2091
|
expected: "(string | undefined)",
|
|
2238
2092
|
value: input3.id
|
|
2239
|
-
}), "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
2093
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
2240
2094
|
path: _path2 + ".$id",
|
|
2241
|
-
expected: "string",
|
|
2095
|
+
expected: "(string | undefined)",
|
|
2242
2096
|
value: input3.$id
|
|
2243
2097
|
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2244
2098
|
path: _path2 + ".isAtomic",
|
|
@@ -2258,19 +2112,19 @@ var validCategoriesRequest = (input) => {
|
|
|
2258
2112
|
value: input3.minNumSamples
|
|
2259
2113
|
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2260
2114
|
path: _path2 + ".term",
|
|
2261
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant";
|
|
2115
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2262
2116
|
value: input3.term
|
|
2263
|
-
})) && $
|
|
2117
|
+
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2264
2118
|
path: _path2 + ".term",
|
|
2265
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant";
|
|
2119
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2266
2120
|
value: input3.term
|
|
2267
2121
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2268
2122
|
path: _path2 + ".q",
|
|
2269
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ |
|
|
2123
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2270
2124
|
value: input3.q
|
|
2271
|
-
})) && $
|
|
2125
|
+
})) && $vu12(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2272
2126
|
path: _path2 + ".q",
|
|
2273
|
-
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ |
|
|
2127
|
+
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2274
2128
|
value: input3.q
|
|
2275
2129
|
})].every((flag) => flag);
|
|
2276
2130
|
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2281,16 +2135,16 @@ var validCategoriesRequest = (input) => {
|
|
|
2281
2135
|
path: _path2 + ".name",
|
|
2282
2136
|
expected: "string",
|
|
2283
2137
|
value: input3.name
|
|
2284
|
-
}), "
|
|
2138
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2285
2139
|
path: _path2 + ".type",
|
|
2286
|
-
expected: '"
|
|
2140
|
+
expected: '"geneVariant"',
|
|
2287
2141
|
value: input3.type
|
|
2288
2142
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2289
2143
|
path: _path2 + ".child_types",
|
|
2290
2144
|
expected: "(Array<string> | undefined)",
|
|
2291
2145
|
value: input3.child_types
|
|
2292
|
-
})) && input3.child_types.map((elem,
|
|
2293
|
-
path: _path2 + ".child_types[" +
|
|
2146
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2147
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
2294
2148
|
expected: "string",
|
|
2295
2149
|
value: elem
|
|
2296
2150
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2305,8 +2159,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2305
2159
|
path: _path2 + ".included_types",
|
|
2306
2160
|
expected: "(Array<string> | undefined)",
|
|
2307
2161
|
value: input3.included_types
|
|
2308
|
-
})) && input3.included_types.map((elem,
|
|
2309
|
-
path: _path2 + ".included_types[" +
|
|
2162
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2163
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
2310
2164
|
expected: "string",
|
|
2311
2165
|
value: elem
|
|
2312
2166
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2321,11 +2175,39 @@ var validCategoriesRequest = (input) => {
|
|
|
2321
2175
|
path: _path2 + ".values",
|
|
2322
2176
|
expected: "(TermValues | undefined)",
|
|
2323
2177
|
value: input3.values
|
|
2324
|
-
})) && $
|
|
2178
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2325
2179
|
path: _path2 + ".values",
|
|
2326
2180
|
expected: "(TermValues | undefined)",
|
|
2327
2181
|
value: input3.values
|
|
2328
|
-
}),
|
|
2182
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2183
|
+
path: _path2 + ".filter",
|
|
2184
|
+
expected: "(TermFilter | undefined)",
|
|
2185
|
+
value: input3.filter
|
|
2186
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2187
|
+
path: _path2 + ".filter",
|
|
2188
|
+
expected: "(TermFilter | undefined)",
|
|
2189
|
+
value: input3.filter
|
|
2190
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2191
|
+
path: _path2 + ".kind",
|
|
2192
|
+
expected: '"gene"',
|
|
2193
|
+
value: input3.kind
|
|
2194
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2195
|
+
path: _path2 + ".gene",
|
|
2196
|
+
expected: "string",
|
|
2197
|
+
value: input3.gene
|
|
2198
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2199
|
+
path: _path2 + ".chr",
|
|
2200
|
+
expected: "(string | undefined)",
|
|
2201
|
+
value: input3.chr
|
|
2202
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2203
|
+
path: _path2 + ".start",
|
|
2204
|
+
expected: "(number | undefined)",
|
|
2205
|
+
value: input3.start
|
|
2206
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2207
|
+
path: _path2 + ".stop",
|
|
2208
|
+
expected: "(number | undefined)",
|
|
2209
|
+
value: input3.stop
|
|
2210
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2329
2211
|
path: _path2 + ".groupsetting",
|
|
2330
2212
|
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2331
2213
|
value: input3.groupsetting
|
|
@@ -2342,16 +2224,16 @@ var validCategoriesRequest = (input) => {
|
|
|
2342
2224
|
path: _path2 + ".name",
|
|
2343
2225
|
expected: "string",
|
|
2344
2226
|
value: input3.name
|
|
2345
|
-
}), "
|
|
2227
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2346
2228
|
path: _path2 + ".type",
|
|
2347
|
-
expected: '
|
|
2229
|
+
expected: '"geneVariant"',
|
|
2348
2230
|
value: input3.type
|
|
2349
2231
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2350
2232
|
path: _path2 + ".child_types",
|
|
2351
2233
|
expected: "(Array<string> | undefined)",
|
|
2352
2234
|
value: input3.child_types
|
|
2353
|
-
})) && input3.child_types.map((elem,
|
|
2354
|
-
path: _path2 + ".child_types[" +
|
|
2235
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2236
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
2355
2237
|
expected: "string",
|
|
2356
2238
|
value: elem
|
|
2357
2239
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2366,8 +2248,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2366
2248
|
path: _path2 + ".included_types",
|
|
2367
2249
|
expected: "(Array<string> | undefined)",
|
|
2368
2250
|
value: input3.included_types
|
|
2369
|
-
})) && input3.included_types.map((elem,
|
|
2370
|
-
path: _path2 + ".included_types[" +
|
|
2251
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2252
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
2371
2253
|
expected: "string",
|
|
2372
2254
|
value: elem
|
|
2373
2255
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2382,30 +2264,42 @@ var validCategoriesRequest = (input) => {
|
|
|
2382
2264
|
path: _path2 + ".values",
|
|
2383
2265
|
expected: "(TermValues | undefined)",
|
|
2384
2266
|
value: input3.values
|
|
2385
|
-
})) && $
|
|
2267
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2386
2268
|
path: _path2 + ".values",
|
|
2387
2269
|
expected: "(TermValues | undefined)",
|
|
2388
2270
|
value: input3.values
|
|
2389
|
-
}),
|
|
2390
|
-
path: _path2 + ".
|
|
2391
|
-
expected: "
|
|
2392
|
-
value: input3.
|
|
2393
|
-
})) && $
|
|
2394
|
-
path: _path2 + ".
|
|
2395
|
-
expected: "
|
|
2396
|
-
value: input3.
|
|
2397
|
-
}),
|
|
2398
|
-
path: _path2 + ".
|
|
2399
|
-
expected: "
|
|
2400
|
-
value: input3.
|
|
2401
|
-
}),
|
|
2402
|
-
path: _path2 + ".
|
|
2403
|
-
expected: "
|
|
2404
|
-
value: input3.
|
|
2405
|
-
})
|
|
2406
|
-
path: _path2 + ".
|
|
2407
|
-
expected: "
|
|
2408
|
-
value: input3.
|
|
2271
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2272
|
+
path: _path2 + ".filter",
|
|
2273
|
+
expected: "(TermFilter | undefined)",
|
|
2274
|
+
value: input3.filter
|
|
2275
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2276
|
+
path: _path2 + ".filter",
|
|
2277
|
+
expected: "(TermFilter | undefined)",
|
|
2278
|
+
value: input3.filter
|
|
2279
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2280
|
+
path: _path2 + ".kind",
|
|
2281
|
+
expected: '"coord"',
|
|
2282
|
+
value: input3.kind
|
|
2283
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2284
|
+
path: _path2 + ".chr",
|
|
2285
|
+
expected: "string",
|
|
2286
|
+
value: input3.chr
|
|
2287
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2288
|
+
path: _path2 + ".start",
|
|
2289
|
+
expected: "number",
|
|
2290
|
+
value: input3.start
|
|
2291
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2292
|
+
path: _path2 + ".stop",
|
|
2293
|
+
expected: "number",
|
|
2294
|
+
value: input3.stop
|
|
2295
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2296
|
+
path: _path2 + ".groupsetting",
|
|
2297
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2298
|
+
value: input3.groupsetting
|
|
2299
|
+
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2300
|
+
path: _path2 + ".groupsetting",
|
|
2301
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2302
|
+
value: input3.groupsetting
|
|
2409
2303
|
})].every((flag) => flag);
|
|
2410
2304
|
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2411
2305
|
path: _path2 + ".id",
|
|
@@ -2415,16 +2309,16 @@ var validCategoriesRequest = (input) => {
|
|
|
2415
2309
|
path: _path2 + ".name",
|
|
2416
2310
|
expected: "string",
|
|
2417
2311
|
value: input3.name
|
|
2418
|
-
}), "
|
|
2312
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
2419
2313
|
path: _path2 + ".type",
|
|
2420
|
-
expected: '"
|
|
2314
|
+
expected: '"categorical"',
|
|
2421
2315
|
value: input3.type
|
|
2422
2316
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2423
2317
|
path: _path2 + ".child_types",
|
|
2424
2318
|
expected: "(Array<string> | undefined)",
|
|
2425
2319
|
value: input3.child_types
|
|
2426
|
-
})) && input3.child_types.map((elem,
|
|
2427
|
-
path: _path2 + ".child_types[" +
|
|
2320
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2321
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
2428
2322
|
expected: "string",
|
|
2429
2323
|
value: elem
|
|
2430
2324
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2439,8 +2333,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2439
2333
|
path: _path2 + ".included_types",
|
|
2440
2334
|
expected: "(Array<string> | undefined)",
|
|
2441
2335
|
value: input3.included_types
|
|
2442
|
-
})) && input3.included_types.map((elem,
|
|
2443
|
-
path: _path2 + ".included_types[" +
|
|
2336
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2337
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
2444
2338
|
expected: "string",
|
|
2445
2339
|
value: elem
|
|
2446
2340
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2455,11 +2349,27 @@ var validCategoriesRequest = (input) => {
|
|
|
2455
2349
|
path: _path2 + ".values",
|
|
2456
2350
|
expected: "(TermValues | undefined)",
|
|
2457
2351
|
value: input3.values
|
|
2458
|
-
})) && $
|
|
2352
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2459
2353
|
path: _path2 + ".values",
|
|
2460
2354
|
expected: "(TermValues | undefined)",
|
|
2461
2355
|
value: input3.values
|
|
2462
|
-
}),
|
|
2356
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2357
|
+
path: _path2 + ".filter",
|
|
2358
|
+
expected: "(TermFilter | undefined)",
|
|
2359
|
+
value: input3.filter
|
|
2360
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2361
|
+
path: _path2 + ".filter",
|
|
2362
|
+
expected: "(TermFilter | undefined)",
|
|
2363
|
+
value: input3.filter
|
|
2364
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2365
|
+
path: _path2 + ".groupsetting",
|
|
2366
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2367
|
+
value: input3.groupsetting
|
|
2368
|
+
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2369
|
+
path: _path2 + ".groupsetting",
|
|
2370
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2371
|
+
value: input3.groupsetting
|
|
2372
|
+
})].every((flag) => flag);
|
|
2463
2373
|
const $vo56 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2464
2374
|
path: _path2 + ".id",
|
|
2465
2375
|
expected: "string",
|
|
@@ -2468,16 +2378,16 @@ var validCategoriesRequest = (input) => {
|
|
|
2468
2378
|
path: _path2 + ".name",
|
|
2469
2379
|
expected: "string",
|
|
2470
2380
|
value: input3.name
|
|
2471
|
-
}), "
|
|
2381
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
2472
2382
|
path: _path2 + ".type",
|
|
2473
|
-
expected: '"
|
|
2383
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
2474
2384
|
value: input3.type
|
|
2475
2385
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2476
2386
|
path: _path2 + ".child_types",
|
|
2477
2387
|
expected: "(Array<string> | undefined)",
|
|
2478
2388
|
value: input3.child_types
|
|
2479
|
-
})) && input3.child_types.map((elem,
|
|
2480
|
-
path: _path2 + ".child_types[" +
|
|
2389
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2390
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
2481
2391
|
expected: "string",
|
|
2482
2392
|
value: elem
|
|
2483
2393
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2492,8 +2402,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2492
2402
|
path: _path2 + ".included_types",
|
|
2493
2403
|
expected: "(Array<string> | undefined)",
|
|
2494
2404
|
value: input3.included_types
|
|
2495
|
-
})) && input3.included_types.map((elem,
|
|
2496
|
-
path: _path2 + ".included_types[" +
|
|
2405
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2406
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
2497
2407
|
expected: "string",
|
|
2498
2408
|
value: elem
|
|
2499
2409
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2508,38 +2418,38 @@ var validCategoriesRequest = (input) => {
|
|
|
2508
2418
|
path: _path2 + ".values",
|
|
2509
2419
|
expected: "(TermValues | undefined)",
|
|
2510
2420
|
value: input3.values
|
|
2511
|
-
})) && $
|
|
2421
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2512
2422
|
path: _path2 + ".values",
|
|
2513
2423
|
expected: "(TermValues | undefined)",
|
|
2514
2424
|
value: input3.values
|
|
2515
|
-
}),
|
|
2516
|
-
path: _path2 + ".
|
|
2517
|
-
expected: "(
|
|
2518
|
-
value: input3.
|
|
2519
|
-
})) && $
|
|
2520
|
-
path: _path2 + ".
|
|
2521
|
-
expected: "(
|
|
2522
|
-
value: input3.
|
|
2523
|
-
}), "
|
|
2524
|
-
path: _path2 + ".
|
|
2525
|
-
expected:
|
|
2526
|
-
value: input3.
|
|
2527
|
-
}), "
|
|
2528
|
-
path: _path2 + ".
|
|
2529
|
-
expected: "
|
|
2530
|
-
value: input3.
|
|
2531
|
-
}), void 0 === input3.
|
|
2532
|
-
path: _path2 + ".
|
|
2425
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2426
|
+
path: _path2 + ".filter",
|
|
2427
|
+
expected: "(TermFilter | undefined)",
|
|
2428
|
+
value: input3.filter
|
|
2429
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2430
|
+
path: _path2 + ".filter",
|
|
2431
|
+
expected: "(TermFilter | undefined)",
|
|
2432
|
+
value: input3.filter
|
|
2433
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2434
|
+
path: _path2 + ".bins",
|
|
2435
|
+
expected: "PresetNumericBins",
|
|
2436
|
+
value: input3.bins
|
|
2437
|
+
})) && $vo27(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2438
|
+
path: _path2 + ".bins",
|
|
2439
|
+
expected: "PresetNumericBins",
|
|
2440
|
+
value: input3.bins
|
|
2441
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2442
|
+
path: _path2 + ".unit",
|
|
2533
2443
|
expected: "(string | undefined)",
|
|
2534
|
-
value: input3.
|
|
2535
|
-
}), void 0 === input3.
|
|
2536
|
-
path: _path2 + ".
|
|
2537
|
-
expected: "(
|
|
2538
|
-
value: input3.
|
|
2539
|
-
})
|
|
2540
|
-
path: _path2 + ".
|
|
2541
|
-
expected: "(
|
|
2542
|
-
value: input3.
|
|
2444
|
+
value: input3.unit
|
|
2445
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2446
|
+
path: _path2 + ".continuousColorScale",
|
|
2447
|
+
expected: "(__type.o5 | undefined)",
|
|
2448
|
+
value: input3.continuousColorScale
|
|
2449
|
+
})) && $vo33(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2450
|
+
path: _path2 + ".continuousColorScale",
|
|
2451
|
+
expected: "(__type.o5 | undefined)",
|
|
2452
|
+
value: input3.continuousColorScale
|
|
2543
2453
|
})].every((flag) => flag);
|
|
2544
2454
|
const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2545
2455
|
path: _path2 + ".id",
|
|
@@ -2549,16 +2459,16 @@ var validCategoriesRequest = (input) => {
|
|
|
2549
2459
|
path: _path2 + ".name",
|
|
2550
2460
|
expected: "string",
|
|
2551
2461
|
value: input3.name
|
|
2552
|
-
}), "
|
|
2462
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
2553
2463
|
path: _path2 + ".type",
|
|
2554
|
-
expected: '"
|
|
2464
|
+
expected: '"condition"',
|
|
2555
2465
|
value: input3.type
|
|
2556
2466
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2557
2467
|
path: _path2 + ".child_types",
|
|
2558
2468
|
expected: "(Array<string> | undefined)",
|
|
2559
2469
|
value: input3.child_types
|
|
2560
|
-
})) && input3.child_types.map((elem,
|
|
2561
|
-
path: _path2 + ".child_types[" +
|
|
2470
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2471
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
2562
2472
|
expected: "string",
|
|
2563
2473
|
value: elem
|
|
2564
2474
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2573,50 +2483,34 @@ var validCategoriesRequest = (input) => {
|
|
|
2573
2483
|
path: _path2 + ".included_types",
|
|
2574
2484
|
expected: "(Array<string> | undefined)",
|
|
2575
2485
|
value: input3.included_types
|
|
2576
|
-
})) && input3.included_types.map((elem,
|
|
2577
|
-
path: _path2 + ".included_types[" +
|
|
2486
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2487
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
2578
2488
|
expected: "string",
|
|
2579
2489
|
value: elem
|
|
2580
2490
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2581
2491
|
path: _path2 + ".included_types",
|
|
2582
2492
|
expected: "(Array<string> | undefined)",
|
|
2583
|
-
value: input3.included_types
|
|
2584
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2585
|
-
path: _path2 + ".isleaf",
|
|
2586
|
-
expected: "(boolean | undefined)",
|
|
2587
|
-
value: input3.isleaf
|
|
2588
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2589
|
-
path: _path2 + ".values",
|
|
2590
|
-
expected: "(TermValues | undefined)",
|
|
2591
|
-
value: input3.values
|
|
2592
|
-
})) && $
|
|
2593
|
-
path: _path2 + ".values",
|
|
2594
|
-
expected: "(TermValues | undefined)",
|
|
2595
|
-
value: input3.values
|
|
2596
|
-
}),
|
|
2597
|
-
path: _path2 + ".
|
|
2598
|
-
expected: "(
|
|
2599
|
-
value: input3.
|
|
2600
|
-
})) && $
|
|
2601
|
-
path: _path2 + ".
|
|
2602
|
-
expected: "(
|
|
2603
|
-
value: input3.
|
|
2604
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2605
|
-
path: _path2 + ".kind",
|
|
2606
|
-
expected: '"coord"',
|
|
2607
|
-
value: input3.kind
|
|
2608
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2609
|
-
path: _path2 + ".chr",
|
|
2610
|
-
expected: "string",
|
|
2611
|
-
value: input3.chr
|
|
2612
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2613
|
-
path: _path2 + ".start",
|
|
2614
|
-
expected: "number",
|
|
2615
|
-
value: input3.start
|
|
2616
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2617
|
-
path: _path2 + ".stop",
|
|
2618
|
-
expected: "number",
|
|
2619
|
-
value: input3.stop
|
|
2493
|
+
value: input3.included_types
|
|
2494
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2495
|
+
path: _path2 + ".isleaf",
|
|
2496
|
+
expected: "(boolean | undefined)",
|
|
2497
|
+
value: input3.isleaf
|
|
2498
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2499
|
+
path: _path2 + ".values",
|
|
2500
|
+
expected: "(TermValues | undefined)",
|
|
2501
|
+
value: input3.values
|
|
2502
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2503
|
+
path: _path2 + ".values",
|
|
2504
|
+
expected: "(TermValues | undefined)",
|
|
2505
|
+
value: input3.values
|
|
2506
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2507
|
+
path: _path2 + ".filter",
|
|
2508
|
+
expected: "(TermFilter | undefined)",
|
|
2509
|
+
value: input3.filter
|
|
2510
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2511
|
+
path: _path2 + ".filter",
|
|
2512
|
+
expected: "(TermFilter | undefined)",
|
|
2513
|
+
value: input3.filter
|
|
2620
2514
|
})].every((flag) => flag);
|
|
2621
2515
|
const $vo58 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2622
2516
|
path: _path2 + ".id",
|
|
@@ -2634,8 +2528,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2634
2528
|
path: _path2 + ".child_types",
|
|
2635
2529
|
expected: "(Array<string> | undefined)",
|
|
2636
2530
|
value: input3.child_types
|
|
2637
|
-
})) && input3.child_types.map((elem,
|
|
2638
|
-
path: _path2 + ".child_types[" +
|
|
2531
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2532
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
2639
2533
|
expected: "string",
|
|
2640
2534
|
value: elem
|
|
2641
2535
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2650,8 +2544,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2650
2544
|
path: _path2 + ".included_types",
|
|
2651
2545
|
expected: "(Array<string> | undefined)",
|
|
2652
2546
|
value: input3.included_types
|
|
2653
|
-
})) && input3.included_types.map((elem,
|
|
2654
|
-
path: _path2 + ".included_types[" +
|
|
2547
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2548
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
2655
2549
|
expected: "string",
|
|
2656
2550
|
value: elem
|
|
2657
2551
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2666,11 +2560,19 @@ var validCategoriesRequest = (input) => {
|
|
|
2666
2560
|
path: _path2 + ".values",
|
|
2667
2561
|
expected: "(TermValues | undefined)",
|
|
2668
2562
|
value: input3.values
|
|
2669
|
-
})) && $
|
|
2563
|
+
})) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2670
2564
|
path: _path2 + ".values",
|
|
2671
2565
|
expected: "(TermValues | undefined)",
|
|
2672
2566
|
value: input3.values
|
|
2673
|
-
}),
|
|
2567
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2568
|
+
path: _path2 + ".filter",
|
|
2569
|
+
expected: "(TermFilter | undefined)",
|
|
2570
|
+
value: input3.filter
|
|
2571
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2572
|
+
path: _path2 + ".filter",
|
|
2573
|
+
expected: "(TermFilter | undefined)",
|
|
2574
|
+
value: input3.filter
|
|
2575
|
+
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
2674
2576
|
path: _path2 + ".reachedVariantLimit",
|
|
2675
2577
|
expected: "(boolean | undefined)",
|
|
2676
2578
|
value: input3.reachedVariantLimit
|
|
@@ -2678,12 +2580,12 @@ var validCategoriesRequest = (input) => {
|
|
|
2678
2580
|
path: _path2 + ".snps",
|
|
2679
2581
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2680
2582
|
value: input3.snps
|
|
2681
|
-
})) && input3.snps.map((elem,
|
|
2682
|
-
path: _path2 + ".snps[" +
|
|
2583
|
+
})) && input3.snps.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2584
|
+
path: _path2 + ".snps[" + _index40 + "]",
|
|
2683
2585
|
expected: "SnpsEntry",
|
|
2684
2586
|
value: elem
|
|
2685
|
-
})) && $vo49(elem, _path2 + ".snps[" +
|
|
2686
|
-
path: _path2 + ".snps[" +
|
|
2587
|
+
})) && $vo49(elem, _path2 + ".snps[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2588
|
+
path: _path2 + ".snps[" + _index40 + "]",
|
|
2687
2589
|
expected: "SnpsEntry",
|
|
2688
2590
|
value: elem
|
|
2689
2591
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2707,8 +2609,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2707
2609
|
path: _path2 + ".child_types",
|
|
2708
2610
|
expected: "(Array<string> | undefined)",
|
|
2709
2611
|
value: input3.child_types
|
|
2710
|
-
})) && input3.child_types.map((elem,
|
|
2711
|
-
path: _path2 + ".child_types[" +
|
|
2612
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2613
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
2712
2614
|
expected: "string",
|
|
2713
2615
|
value: elem
|
|
2714
2616
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2723,8 +2625,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2723
2625
|
path: _path2 + ".included_types",
|
|
2724
2626
|
expected: "(Array<string> | undefined)",
|
|
2725
2627
|
value: input3.included_types
|
|
2726
|
-
})) && input3.included_types.map((elem,
|
|
2727
|
-
path: _path2 + ".included_types[" +
|
|
2628
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2629
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
2728
2630
|
expected: "string",
|
|
2729
2631
|
value: elem
|
|
2730
2632
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2743,7 +2645,15 @@ var validCategoriesRequest = (input) => {
|
|
|
2743
2645
|
path: _path2 + ".values",
|
|
2744
2646
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2745
2647
|
value: input3.values
|
|
2746
|
-
}),
|
|
2648
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2649
|
+
path: _path2 + ".filter",
|
|
2650
|
+
expected: "(TermFilter | undefined)",
|
|
2651
|
+
value: input3.filter
|
|
2652
|
+
})) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2653
|
+
path: _path2 + ".filter",
|
|
2654
|
+
expected: "(TermFilter | undefined)",
|
|
2655
|
+
value: input3.filter
|
|
2656
|
+
})].every((flag) => flag);
|
|
2747
2657
|
const $vo60 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2748
2658
|
const value = input3[key];
|
|
2749
2659
|
if (void 0 === value)
|
|
@@ -2798,7 +2708,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2798
2708
|
path: _path2 + ".filter",
|
|
2799
2709
|
expected: "(Filter | undefined)",
|
|
2800
2710
|
value: input3.filter
|
|
2801
|
-
})) && $
|
|
2711
|
+
})) && $vo17(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2802
2712
|
path: _path2 + ".filter",
|
|
2803
2713
|
expected: "(Filter | undefined)",
|
|
2804
2714
|
value: input3.filter
|
|
@@ -2812,19 +2722,19 @@ var validCategoriesRequest = (input) => {
|
|
|
2812
2722
|
value: input3.inuse
|
|
2813
2723
|
}), (Array.isArray(input3.list) || $report(_exceptionable2, {
|
|
2814
2724
|
path: _path2 + ".list",
|
|
2815
|
-
expected: "Array<__type>.
|
|
2725
|
+
expected: "Array<__type>.o4",
|
|
2816
2726
|
value: input3.list
|
|
2817
|
-
})) && input3.list.map((elem,
|
|
2818
|
-
path: _path2 + ".list[" +
|
|
2819
|
-
expected: "__type.
|
|
2727
|
+
})) && input3.list.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2728
|
+
path: _path2 + ".list[" + _index43 + "]",
|
|
2729
|
+
expected: "__type.o10",
|
|
2820
2730
|
value: elem
|
|
2821
|
-
})) && $vo62(elem, _path2 + ".list[" +
|
|
2822
|
-
path: _path2 + ".list[" +
|
|
2823
|
-
expected: "__type.
|
|
2731
|
+
})) && $vo62(elem, _path2 + ".list[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2732
|
+
path: _path2 + ".list[" + _index43 + "]",
|
|
2733
|
+
expected: "__type.o10",
|
|
2824
2734
|
value: elem
|
|
2825
2735
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2826
2736
|
path: _path2 + ".list",
|
|
2827
|
-
expected: "Array<__type>.
|
|
2737
|
+
expected: "Array<__type>.o4",
|
|
2828
2738
|
value: input3.list
|
|
2829
2739
|
}), true].every((flag) => flag);
|
|
2830
2740
|
const $vo62 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
@@ -2905,8 +2815,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2905
2815
|
path: _path2 + ".breaks",
|
|
2906
2816
|
expected: "(Array<number> | undefined)",
|
|
2907
2817
|
value: input3.breaks
|
|
2908
|
-
})) && input3.breaks.map((elem,
|
|
2909
|
-
path: _path2 + ".breaks[" +
|
|
2818
|
+
})) && input3.breaks.map((elem, _index44) => "number" === typeof elem || $report(_exceptionable2, {
|
|
2819
|
+
path: _path2 + ".breaks[" + _index44 + "]",
|
|
2910
2820
|
expected: "number",
|
|
2911
2821
|
value: elem
|
|
2912
2822
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2938,246 +2848,6 @@ var validCategoriesRequest = (input) => {
|
|
|
2938
2848
|
path: _path2 + ".hiddenValues",
|
|
2939
2849
|
expected: "(HiddenValues | undefined)",
|
|
2940
2850
|
value: input3.hiddenValues
|
|
2941
|
-
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2942
|
-
path: _path2 + ".isAtomic",
|
|
2943
|
-
expected: "(true | undefined)",
|
|
2944
|
-
value: input3.isAtomic
|
|
2945
|
-
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2946
|
-
path: _path2 + ".name",
|
|
2947
|
-
expected: "(string | undefined)",
|
|
2948
|
-
value: input3.name
|
|
2949
|
-
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
2950
|
-
path: _path2 + ".reuseId",
|
|
2951
|
-
expected: "(string | undefined)",
|
|
2952
|
-
value: input3.reuseId
|
|
2953
|
-
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
2954
|
-
path: _path2 + ".cnvGainCutoff",
|
|
2955
|
-
expected: "(number | undefined)",
|
|
2956
|
-
value: input3.cnvGainCutoff
|
|
2957
|
-
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
2958
|
-
path: _path2 + ".cnvMaxLength",
|
|
2959
|
-
expected: "(number | undefined)",
|
|
2960
|
-
value: input3.cnvMaxLength
|
|
2961
|
-
}), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
|
|
2962
|
-
path: _path2 + ".cnvMinAbsValue",
|
|
2963
|
-
expected: "(number | undefined)",
|
|
2964
|
-
value: input3.cnvMinAbsValue
|
|
2965
|
-
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
2966
|
-
path: _path2 + ".cnvLossCutoff",
|
|
2967
|
-
expected: "(number | undefined)",
|
|
2968
|
-
value: input3.cnvLossCutoff
|
|
2969
|
-
}), (Array.isArray(input3.exclude) || $report(_exceptionable2, {
|
|
2970
|
-
path: _path2 + ".exclude",
|
|
2971
|
-
expected: "Array<string>",
|
|
2972
|
-
value: input3.exclude
|
|
2973
|
-
})) && input3.exclude.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2974
|
-
path: _path2 + ".exclude[" + _index54 + "]",
|
|
2975
|
-
expected: "string",
|
|
2976
|
-
value: elem
|
|
2977
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2978
|
-
path: _path2 + ".exclude",
|
|
2979
|
-
expected: "Array<string>",
|
|
2980
|
-
value: input3.exclude
|
|
2981
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
2982
|
-
path: _path2 + ".mode",
|
|
2983
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
2984
|
-
value: input3.mode
|
|
2985
|
-
}), "values" === input3.type || $report(_exceptionable2, {
|
|
2986
|
-
path: _path2 + ".type",
|
|
2987
|
-
expected: '"values"',
|
|
2988
|
-
value: input3.type
|
|
2989
|
-
})].every((flag) => flag);
|
|
2990
|
-
const $vo66 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2991
|
-
path: _path2 + ".hiddenValues",
|
|
2992
|
-
expected: "(HiddenValues | undefined)",
|
|
2993
|
-
value: input3.hiddenValues
|
|
2994
|
-
})) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2995
|
-
path: _path2 + ".hiddenValues",
|
|
2996
|
-
expected: "(HiddenValues | undefined)",
|
|
2997
|
-
value: input3.hiddenValues
|
|
2998
|
-
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2999
|
-
path: _path2 + ".isAtomic",
|
|
3000
|
-
expected: "(true | undefined)",
|
|
3001
|
-
value: input3.isAtomic
|
|
3002
|
-
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3003
|
-
path: _path2 + ".name",
|
|
3004
|
-
expected: "(string | undefined)",
|
|
3005
|
-
value: input3.name
|
|
3006
|
-
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3007
|
-
path: _path2 + ".reuseId",
|
|
3008
|
-
expected: "(string | undefined)",
|
|
3009
|
-
value: input3.reuseId
|
|
3010
|
-
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
3011
|
-
path: _path2 + ".cnvGainCutoff",
|
|
3012
|
-
expected: "(number | undefined)",
|
|
3013
|
-
value: input3.cnvGainCutoff
|
|
3014
|
-
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
3015
|
-
path: _path2 + ".cnvMaxLength",
|
|
3016
|
-
expected: "(number | undefined)",
|
|
3017
|
-
value: input3.cnvMaxLength
|
|
3018
|
-
}), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
|
|
3019
|
-
path: _path2 + ".cnvMinAbsValue",
|
|
3020
|
-
expected: "(number | undefined)",
|
|
3021
|
-
value: input3.cnvMinAbsValue
|
|
3022
|
-
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
3023
|
-
path: _path2 + ".cnvLossCutoff",
|
|
3024
|
-
expected: "(number | undefined)",
|
|
3025
|
-
value: input3.cnvLossCutoff
|
|
3026
|
-
}), (Array.isArray(input3.exclude) || $report(_exceptionable2, {
|
|
3027
|
-
path: _path2 + ".exclude",
|
|
3028
|
-
expected: "Array<string>",
|
|
3029
|
-
value: input3.exclude
|
|
3030
|
-
})) && input3.exclude.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3031
|
-
path: _path2 + ".exclude[" + _index55 + "]",
|
|
3032
|
-
expected: "string",
|
|
3033
|
-
value: elem
|
|
3034
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3035
|
-
path: _path2 + ".exclude",
|
|
3036
|
-
expected: "Array<string>",
|
|
3037
|
-
value: input3.exclude
|
|
3038
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3039
|
-
path: _path2 + ".mode",
|
|
3040
|
-
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
3041
|
-
value: input3.mode
|
|
3042
|
-
}), void 0 === input3.type || "filter" === input3.type || $report(_exceptionable2, {
|
|
3043
|
-
path: _path2 + ".type",
|
|
3044
|
-
expected: '("filter" | undefined)',
|
|
3045
|
-
value: input3.type
|
|
3046
|
-
})].every((flag) => flag);
|
|
3047
|
-
const $vo67 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3048
|
-
path: _path2 + ".hiddenValues",
|
|
3049
|
-
expected: "(HiddenValues | undefined)",
|
|
3050
|
-
value: input3.hiddenValues
|
|
3051
|
-
})) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3052
|
-
path: _path2 + ".hiddenValues",
|
|
3053
|
-
expected: "(HiddenValues | undefined)",
|
|
3054
|
-
value: input3.hiddenValues
|
|
3055
|
-
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3056
|
-
path: _path2 + ".isAtomic",
|
|
3057
|
-
expected: "(true | undefined)",
|
|
3058
|
-
value: input3.isAtomic
|
|
3059
|
-
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3060
|
-
path: _path2 + ".name",
|
|
3061
|
-
expected: "(string | undefined)",
|
|
3062
|
-
value: input3.name
|
|
3063
|
-
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3064
|
-
path: _path2 + ".reuseId",
|
|
3065
|
-
expected: "(string | undefined)",
|
|
3066
|
-
value: input3.reuseId
|
|
3067
|
-
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
3068
|
-
path: _path2 + ".cnvGainCutoff",
|
|
3069
|
-
expected: "(number | undefined)",
|
|
3070
|
-
value: input3.cnvGainCutoff
|
|
3071
|
-
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
3072
|
-
path: _path2 + ".cnvMaxLength",
|
|
3073
|
-
expected: "(number | undefined)",
|
|
3074
|
-
value: input3.cnvMaxLength
|
|
3075
|
-
}), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
|
|
3076
|
-
path: _path2 + ".cnvMinAbsValue",
|
|
3077
|
-
expected: "(number | undefined)",
|
|
3078
|
-
value: input3.cnvMinAbsValue
|
|
3079
|
-
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
3080
|
-
path: _path2 + ".cnvLossCutoff",
|
|
3081
|
-
expected: "(number | undefined)",
|
|
3082
|
-
value: input3.cnvLossCutoff
|
|
3083
|
-
}), (Array.isArray(input3.exclude) || $report(_exceptionable2, {
|
|
3084
|
-
path: _path2 + ".exclude",
|
|
3085
|
-
expected: "Array<string>",
|
|
3086
|
-
value: input3.exclude
|
|
3087
|
-
})) && input3.exclude.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3088
|
-
path: _path2 + ".exclude[" + _index56 + "]",
|
|
3089
|
-
expected: "string",
|
|
3090
|
-
value: elem
|
|
3091
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3092
|
-
path: _path2 + ".exclude",
|
|
3093
|
-
expected: "Array<string>",
|
|
3094
|
-
value: input3.exclude
|
|
3095
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3096
|
-
path: _path2 + ".mode",
|
|
3097
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
3098
|
-
value: input3.mode
|
|
3099
|
-
}), "predefined-groupset" === input3.type || $report(_exceptionable2, {
|
|
3100
|
-
path: _path2 + ".type",
|
|
3101
|
-
expected: '"predefined-groupset"',
|
|
3102
|
-
value: input3.type
|
|
3103
|
-
}), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
|
|
3104
|
-
path: _path2 + ".predefined_groupset_idx",
|
|
3105
|
-
expected: "number",
|
|
3106
|
-
value: input3.predefined_groupset_idx
|
|
3107
|
-
})].every((flag) => flag);
|
|
3108
|
-
const $vo68 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3109
|
-
path: _path2 + ".hiddenValues",
|
|
3110
|
-
expected: "(HiddenValues | undefined)",
|
|
3111
|
-
value: input3.hiddenValues
|
|
3112
|
-
})) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3113
|
-
path: _path2 + ".hiddenValues",
|
|
3114
|
-
expected: "(HiddenValues | undefined)",
|
|
3115
|
-
value: input3.hiddenValues
|
|
3116
|
-
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3117
|
-
path: _path2 + ".isAtomic",
|
|
3118
|
-
expected: "(true | undefined)",
|
|
3119
|
-
value: input3.isAtomic
|
|
3120
|
-
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3121
|
-
path: _path2 + ".name",
|
|
3122
|
-
expected: "(string | undefined)",
|
|
3123
|
-
value: input3.name
|
|
3124
|
-
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3125
|
-
path: _path2 + ".reuseId",
|
|
3126
|
-
expected: "(string | undefined)",
|
|
3127
|
-
value: input3.reuseId
|
|
3128
|
-
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
3129
|
-
path: _path2 + ".cnvGainCutoff",
|
|
3130
|
-
expected: "(number | undefined)",
|
|
3131
|
-
value: input3.cnvGainCutoff
|
|
3132
|
-
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
3133
|
-
path: _path2 + ".cnvMaxLength",
|
|
3134
|
-
expected: "(number | undefined)",
|
|
3135
|
-
value: input3.cnvMaxLength
|
|
3136
|
-
}), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
|
|
3137
|
-
path: _path2 + ".cnvMinAbsValue",
|
|
3138
|
-
expected: "(number | undefined)",
|
|
3139
|
-
value: input3.cnvMinAbsValue
|
|
3140
|
-
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
3141
|
-
path: _path2 + ".cnvLossCutoff",
|
|
3142
|
-
expected: "(number | undefined)",
|
|
3143
|
-
value: input3.cnvLossCutoff
|
|
3144
|
-
}), (Array.isArray(input3.exclude) || $report(_exceptionable2, {
|
|
3145
|
-
path: _path2 + ".exclude",
|
|
3146
|
-
expected: "Array<string>",
|
|
3147
|
-
value: input3.exclude
|
|
3148
|
-
})) && input3.exclude.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3149
|
-
path: _path2 + ".exclude[" + _index57 + "]",
|
|
3150
|
-
expected: "string",
|
|
3151
|
-
value: elem
|
|
3152
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3153
|
-
path: _path2 + ".exclude",
|
|
3154
|
-
expected: "Array<string>",
|
|
3155
|
-
value: input3.exclude
|
|
3156
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3157
|
-
path: _path2 + ".mode",
|
|
3158
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
3159
|
-
value: input3.mode
|
|
3160
|
-
}), "custom-groupset" === input3.type || $report(_exceptionable2, {
|
|
3161
|
-
path: _path2 + ".type",
|
|
3162
|
-
expected: '"custom-groupset"',
|
|
3163
|
-
value: input3.type
|
|
3164
|
-
}), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
|
|
3165
|
-
path: _path2 + ".customset",
|
|
3166
|
-
expected: "BaseGroupSet",
|
|
3167
|
-
value: input3.customset
|
|
3168
|
-
})) && $vo8(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
3169
|
-
path: _path2 + ".customset",
|
|
3170
|
-
expected: "BaseGroupSet",
|
|
3171
|
-
value: input3.customset
|
|
3172
|
-
})].every((flag) => flag);
|
|
3173
|
-
const $vo69 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3174
|
-
path: _path2 + ".hiddenValues",
|
|
3175
|
-
expected: "(HiddenValues | undefined)",
|
|
3176
|
-
value: input3.hiddenValues
|
|
3177
|
-
})) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3178
|
-
path: _path2 + ".hiddenValues",
|
|
3179
|
-
expected: "(HiddenValues | undefined)",
|
|
3180
|
-
value: input3.hiddenValues
|
|
3181
2851
|
}), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
|
|
3182
2852
|
path: _path2 + ".isAtomic",
|
|
3183
2853
|
expected: "(boolean | undefined)",
|
|
@@ -3202,38 +2872,38 @@ var validCategoriesRequest = (input) => {
|
|
|
3202
2872
|
path: _path2 + ".groups",
|
|
3203
2873
|
expected: "SampleLstTermValues",
|
|
3204
2874
|
value: input3.groups
|
|
3205
|
-
})) && $
|
|
2875
|
+
})) && $vo66(input3.groups, _path2 + ".groups", _exceptionable2) || $report(_exceptionable2, {
|
|
3206
2876
|
path: _path2 + ".groups",
|
|
3207
2877
|
expected: "SampleLstTermValues",
|
|
3208
2878
|
value: input3.groups
|
|
3209
2879
|
})].every((flag) => flag);
|
|
3210
|
-
const $
|
|
2880
|
+
const $vo66 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3211
2881
|
const value = input3[key];
|
|
3212
2882
|
if (void 0 === value)
|
|
3213
2883
|
return true;
|
|
3214
2884
|
if (RegExp(/(.*)/).test(key))
|
|
3215
2885
|
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3216
2886
|
path: _path2 + $join(key),
|
|
3217
|
-
expected: "__type.
|
|
2887
|
+
expected: "__type.o11",
|
|
3218
2888
|
value
|
|
3219
|
-
})) && $
|
|
2889
|
+
})) && $vo67(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3220
2890
|
path: _path2 + $join(key),
|
|
3221
|
-
expected: "__type.
|
|
2891
|
+
expected: "__type.o11",
|
|
3222
2892
|
value
|
|
3223
2893
|
});
|
|
3224
2894
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
3225
2895
|
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3226
2896
|
path: _path2 + $join(key),
|
|
3227
|
-
expected: "__type.
|
|
2897
|
+
expected: "__type.o11",
|
|
3228
2898
|
value
|
|
3229
|
-
})) && $
|
|
2899
|
+
})) && $vo67(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3230
2900
|
path: _path2 + $join(key),
|
|
3231
|
-
expected: "__type.
|
|
2901
|
+
expected: "__type.o11",
|
|
3232
2902
|
value
|
|
3233
2903
|
});
|
|
3234
2904
|
return true;
|
|
3235
2905
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3236
|
-
const $
|
|
2906
|
+
const $vo67 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
3237
2907
|
path: _path2 + ".name",
|
|
3238
2908
|
expected: "string",
|
|
3239
2909
|
value: input3.name
|
|
@@ -3243,19 +2913,19 @@ var validCategoriesRequest = (input) => {
|
|
|
3243
2913
|
value: input3.inuse
|
|
3244
2914
|
}), (Array.isArray(input3.list) || $report(_exceptionable2, {
|
|
3245
2915
|
path: _path2 + ".list",
|
|
3246
|
-
expected: "Array<__type>.
|
|
2916
|
+
expected: "Array<__type>.o4",
|
|
3247
2917
|
value: input3.list
|
|
3248
|
-
})) && input3.list.map((elem,
|
|
3249
|
-
path: _path2 + ".list[" +
|
|
3250
|
-
expected: "__type.
|
|
2918
|
+
})) && input3.list.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2919
|
+
path: _path2 + ".list[" + _index45 + "]",
|
|
2920
|
+
expected: "__type.o10",
|
|
3251
2921
|
value: elem
|
|
3252
|
-
})) && $vo62(elem, _path2 + ".list[" +
|
|
3253
|
-
path: _path2 + ".list[" +
|
|
3254
|
-
expected: "__type.
|
|
2922
|
+
})) && $vo62(elem, _path2 + ".list[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2923
|
+
path: _path2 + ".list[" + _index45 + "]",
|
|
2924
|
+
expected: "__type.o10",
|
|
3255
2925
|
value: elem
|
|
3256
2926
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3257
2927
|
path: _path2 + ".list",
|
|
3258
|
-
expected: "Array<__type>.
|
|
2928
|
+
expected: "Array<__type>.o4",
|
|
3259
2929
|
value: input3.list
|
|
3260
2930
|
}), true].every((flag) => flag);
|
|
3261
2931
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
@@ -3270,62 +2940,51 @@ var validCategoriesRequest = (input) => {
|
|
|
3270
2940
|
});
|
|
3271
2941
|
})();
|
|
3272
2942
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3273
|
-
if (
|
|
3274
|
-
return $vo15(input3, _path2, _exceptionable2);
|
|
3275
|
-
if (void 0 !== input3.ranges)
|
|
2943
|
+
if ("tvslst" === input3.type)
|
|
3276
2944
|
return $vo17(input3, _path2, _exceptionable2);
|
|
3277
|
-
|
|
2945
|
+
if ("tvs" === input3.type)
|
|
2946
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
2947
|
+
return $report(_exceptionable2, {
|
|
2948
|
+
path: _path2,
|
|
2949
|
+
expected: "(Filter | __type.o3)",
|
|
2950
|
+
value: input3
|
|
2951
|
+
});
|
|
3278
2952
|
})();
|
|
3279
2953
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3280
2954
|
if (true === input3.startunbounded)
|
|
3281
|
-
return $
|
|
2955
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
3282
2956
|
if (true === input3.stopunbounded)
|
|
3283
|
-
return $
|
|
3284
|
-
return $
|
|
2957
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
2958
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
3285
2959
|
})();
|
|
3286
2960
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3287
|
-
if (2 === input3.dt)
|
|
3288
|
-
return $vo39(input3, _path2, _exceptionable2);
|
|
3289
|
-
if (5 === input3.dt)
|
|
3290
|
-
return $vo38(input3, _path2, _exceptionable2);
|
|
3291
|
-
if (4 === input3.dt)
|
|
3292
|
-
return $vo37(input3, _path2, _exceptionable2);
|
|
3293
|
-
if (1 === input3.dt)
|
|
3294
|
-
return $vo36(input3, _path2, _exceptionable2);
|
|
3295
|
-
return $report(_exceptionable2, {
|
|
3296
|
-
path: _path2,
|
|
3297
|
-
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
3298
|
-
value: input3
|
|
3299
|
-
});
|
|
3300
|
-
})();
|
|
3301
|
-
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3302
2961
|
if (true === input3.startunbounded)
|
|
3303
|
-
return $
|
|
2962
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
3304
2963
|
if (void 0 !== input3.start)
|
|
3305
|
-
return $
|
|
2964
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
3306
2965
|
return $report(_exceptionable2, {
|
|
3307
2966
|
path: _path2,
|
|
3308
2967
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
3309
2968
|
value: input3
|
|
3310
2969
|
});
|
|
3311
2970
|
})();
|
|
3312
|
-
const $
|
|
2971
|
+
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3313
2972
|
if (void 0 !== input3.stop)
|
|
3314
|
-
return $
|
|
2973
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
3315
2974
|
if (true === input3.stopunbounded)
|
|
3316
|
-
return $
|
|
2975
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
3317
2976
|
return $report(_exceptionable2, {
|
|
3318
2977
|
path: _path2,
|
|
3319
2978
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
3320
2979
|
value: input3
|
|
3321
2980
|
});
|
|
3322
2981
|
})();
|
|
3323
|
-
const $
|
|
2982
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3324
2983
|
if (void 0 !== input3.type)
|
|
3325
2984
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3326
2985
|
return $vo52(input3, _path2, false) || $vo45(input3, _path2, false) || $vo40(input3, _path2, false);
|
|
3327
2986
|
})();
|
|
3328
|
-
const $
|
|
2987
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3329
2988
|
if ("values" === input3.type)
|
|
3330
2989
|
return $vo3(input3, _path2, _exceptionable2);
|
|
3331
2990
|
if ("predefined-groupset" === input3.type)
|
|
@@ -3334,16 +2993,21 @@ var validCategoriesRequest = (input) => {
|
|
|
3334
2993
|
return $vo7(input3, _path2, _exceptionable2);
|
|
3335
2994
|
return $vo5(input3, _path2, _exceptionable2);
|
|
3336
2995
|
})();
|
|
2996
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2997
|
+
if (void 0 !== input3.ranges)
|
|
2998
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
2999
|
+
return $vo19(input3, _path2, false) || $vo35(input3, _path2, false) || $vo38(input3, _path2, false);
|
|
3000
|
+
})();
|
|
3337
3001
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3338
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
3339
|
-
return $
|
|
3340
|
-
return $
|
|
3002
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index46) => "object" === typeof elem && null !== elem && $vo23(elem, _path2 + ".lst[" + _index46 + "]", false)).every((flag) => flag))
|
|
3003
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3004
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3341
3005
|
})();
|
|
3342
3006
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3343
3007
|
if ("regular-bin" === input3.type)
|
|
3344
|
-
return $
|
|
3008
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3345
3009
|
if ("custom-bin" === input3.type)
|
|
3346
|
-
return $
|
|
3010
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
3347
3011
|
return $report(_exceptionable2, {
|
|
3348
3012
|
path: _path2,
|
|
3349
3013
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -3351,46 +3015,34 @@ var validCategoriesRequest = (input) => {
|
|
|
3351
3015
|
});
|
|
3352
3016
|
})();
|
|
3353
3017
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3354
|
-
if ("gene" === input3.kind)
|
|
3355
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
3356
|
-
if ("coord" === input3.kind)
|
|
3357
|
-
return $vo35(input3, _path2, _exceptionable2);
|
|
3358
|
-
return $report(_exceptionable2, {
|
|
3359
|
-
path: _path2,
|
|
3360
|
-
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
3361
|
-
value: input3
|
|
3362
|
-
});
|
|
3363
|
-
})();
|
|
3364
|
-
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3365
3018
|
if ("regular-bin" === input3.type)
|
|
3366
|
-
return $
|
|
3019
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3367
3020
|
if ("continuous" === input3.mode)
|
|
3368
3021
|
return $vo42(input3, _path2, _exceptionable2);
|
|
3369
3022
|
if ("spline" === input3.mode)
|
|
3370
3023
|
return $vo43(input3, _path2, _exceptionable2);
|
|
3371
|
-
return $
|
|
3372
|
-
})();
|
|
3373
|
-
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3374
|
-
if (void 0 !== input3.ranges)
|
|
3375
|
-
return $vo17(input3, _path2, _exceptionable2);
|
|
3376
|
-
return $vo16(input3, _path2, false) || $vo27(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
3024
|
+
return $vo32(input3, _path2, false) || $vo41(input3, _path2, false);
|
|
3377
3025
|
})();
|
|
3378
|
-
const $
|
|
3379
|
-
if ("
|
|
3026
|
+
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3027
|
+
if ("gene" === input3.kind)
|
|
3380
3028
|
return $vo53(input3, _path2, _exceptionable2);
|
|
3381
|
-
if ("
|
|
3029
|
+
if ("coord" === input3.kind)
|
|
3382
3030
|
return $vo54(input3, _path2, _exceptionable2);
|
|
3383
|
-
if ("
|
|
3031
|
+
if ("categorical" === input3.type)
|
|
3384
3032
|
return $vo55(input3, _path2, _exceptionable2);
|
|
3385
|
-
if ("
|
|
3033
|
+
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
3386
3034
|
return $vo56(input3, _path2, _exceptionable2);
|
|
3387
|
-
if ("
|
|
3035
|
+
if ("condition" === input3.type)
|
|
3388
3036
|
return $vo57(input3, _path2, _exceptionable2);
|
|
3389
3037
|
return $vo58(input3, _path2, false) || $vo59(input3, _path2, false);
|
|
3390
3038
|
})();
|
|
3391
|
-
const $
|
|
3039
|
+
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3040
|
+
if (void 0 !== input3.predefined_groupset_idx)
|
|
3041
|
+
return $vo6(input3, _path2, _exceptionable2);
|
|
3042
|
+
if (void 0 !== input3.customset)
|
|
3043
|
+
return $vo7(input3, _path2, _exceptionable2);
|
|
3392
3044
|
if (void 0 !== input3.bin_size)
|
|
3393
|
-
return $
|
|
3045
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3394
3046
|
if (void 0 !== input3.knots)
|
|
3395
3047
|
return $vo43(input3, _path2, _exceptionable2);
|
|
3396
3048
|
if (void 0 !== input3.AFcutoff)
|
|
@@ -3399,8 +3051,8 @@ var validCategoriesRequest = (input) => {
|
|
|
3399
3051
|
return $vo64(input3, _path2, _exceptionable2);
|
|
3400
3052
|
return (() => {
|
|
3401
3053
|
if (void 0 !== input3.groups)
|
|
3402
|
-
return $
|
|
3403
|
-
return $vo5(input3, _path2, false) || $vo63(input3, _path2, false) || $vo3(input3, _path2, false) || $
|
|
3054
|
+
return $vo65(input3, _path2, _exceptionable2);
|
|
3055
|
+
return $vo5(input3, _path2, false) || $vo63(input3, _path2, false) || $vo3(input3, _path2, false) || $vo32(input3, _path2, false) || $vo41(input3, _path2, false) || $vo42(input3, _path2, false);
|
|
3404
3056
|
})();
|
|
3405
3057
|
})();
|
|
3406
3058
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|