@sjcrh/proteinpaint-types 2.114.0 → 2.115.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-5HL5BPE5.js +126 -0
- package/dist/{chunk-BEXUBE5A.js → chunk-7GSVLBKZ.js} +10 -14
- package/dist/{chunk-H45GALYV.js → chunk-C7DJDPLP.js} +339 -343
- package/dist/{chunk-PR7XHL4T.js → chunk-EQGBEPDC.js} +10 -14
- package/dist/{chunk-BNOGQYXG.js → chunk-GS37E7DB.js} +339 -343
- package/dist/{chunk-KRHYG2ZZ.js → chunk-I3U2T7HV.js} +337 -341
- package/dist/{chunk-Q5F2XI6A.js → chunk-IJHMCHUT.js} +31 -23
- package/dist/{chunk-XDRUNGOV.js → chunk-KBTAXZM4.js} +286 -290
- package/dist/{chunk-JNEIQWTE.js → chunk-KZIZMP7Y.js} +27 -35
- package/dist/{chunk-7AQB3YHO.js → chunk-M26XQDA4.js} +10 -14
- package/dist/{chunk-66XSFQPI.js → chunk-MDBZCBM2.js} +17 -21
- package/dist/{chunk-OSHG443J.js → chunk-NESPJ4GG.js} +36 -44
- package/dist/{chunk-WVBWDL2B.js → chunk-PTYGGJLG.js} +339 -343
- package/dist/{chunk-T3NOHXOJ.js → chunk-ZPN2DV5E.js} +10 -14
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +45 -37
- 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.topMutatedGenes.js +11 -0
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/dist/wsisamples.js +11 -0
- package/package.json +1 -1
- package/src/dataset.ts +13 -3
- package/src/index.ts +2 -1
- package/src/routes/{gdc.topMutatedGenes.ts → termdb.topMutatedGenes.ts} +9 -7
- package/src/routes/wsisamples.ts +25 -0
- package/src/terms/numeric.ts +2 -2
- package/src/terms/term.ts +2 -1
- package/dist/gdc.topMutatedGenes.js +0 -11
|
@@ -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 && $iu6(input3.tw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $
|
|
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) && $iu7(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $
|
|
61
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu6(input3.tw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io15(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) && "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) && $iu7(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io12(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,63 +83,63 @@ 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) =>
|
|
89
|
-
const $io14 = (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)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
90
|
-
const $io15 = (input3) => Object.keys(input3).every((key) => {
|
|
86
|
+
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && true && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
87
|
+
const $io12 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
88
|
+
const $io13 = (input3) => Object.keys(input3).every((key) => {
|
|
91
89
|
const value = input3[key];
|
|
92
90
|
if (void 0 === value)
|
|
93
91
|
return true;
|
|
94
92
|
if (RegExp(/(.*)/).test(key))
|
|
95
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
93
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io14(value);
|
|
96
94
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
97
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
95
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io14(value);
|
|
98
96
|
return true;
|
|
99
97
|
});
|
|
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 $
|
|
98
|
+
const $io14 = (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 && $io15(input3.filter));
|
|
99
|
+
const $io15 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === 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)));
|
|
100
|
+
const $io16 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io12(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) && $io14(elem)));
|
|
101
|
+
const $io17 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io18(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 && $io26(elem)));
|
|
102
|
+
const $io18 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io19(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io25(input3.continuousColorScale));
|
|
103
|
+
const $io19 = (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);
|
|
104
|
+
const $io20 = (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 && $iu4(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu5(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
105
|
+
const $io21 = (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);
|
|
106
|
+
const $io22 = (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);
|
|
107
|
+
const $io23 = (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);
|
|
108
|
+
const $io24 = (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);
|
|
109
|
+
const $io25 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
110
|
+
const $io26 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
111
|
+
const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(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 && $io29(elem)));
|
|
112
|
+
const $io28 = (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) && $io13(input3.values)) && true;
|
|
113
|
+
const $io29 = (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;
|
|
114
|
+
const $io30 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
115
|
+
const $io31 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io32(input3.groupsetting)) && "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);
|
|
116
|
+
const $io32 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
117
|
+
const $io33 = (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)));
|
|
118
|
+
const $io34 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io32(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
119
|
+
const $io35 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "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)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "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)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
120
|
+
const $io36 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
121
|
+
const $io37 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
122
|
+
const $io38 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
123
|
+
const $io39 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
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
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]))));
|
|
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
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 && $
|
|
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 && $io15(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
131
131
|
const $io47 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu12(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) && $
|
|
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) && $io13(input3.values)) && true && (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
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 && $iu13(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu14(input3.q));
|
|
137
|
-
const $io53 = (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) && $
|
|
138
|
-
const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $
|
|
139
|
-
const $io55 = (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) && $
|
|
140
|
-
const $io56 = (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) && $
|
|
141
|
-
const $io57 = (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) && $
|
|
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) && $
|
|
137
|
+
const $io53 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
138
|
+
const $io54 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io19(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io25(input3.continuousColorScale));
|
|
139
|
+
const $io55 = (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) && $io13(input3.values)) && true;
|
|
140
|
+
const $io56 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io32(input3.groupsetting)) && "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);
|
|
141
|
+
const $io57 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io32(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
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) && $io13(input3.values)) && true && (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
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)) && true;
|
|
144
144
|
const $io60 = (input3) => Object.keys(input3).every((key) => {
|
|
145
145
|
const value = input3[key];
|
|
@@ -151,7 +151,7 @@ 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 && $io15(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;
|
|
@@ -180,49 +180,49 @@ var validCategoriesRequest = (input) => {
|
|
|
180
180
|
})();
|
|
181
181
|
const $iu1 = (input3) => (() => {
|
|
182
182
|
if (void 0 !== input3.type)
|
|
183
|
-
return $
|
|
183
|
+
return $io15(input3);
|
|
184
184
|
if (void 0 !== input3.ranges)
|
|
185
|
-
return $
|
|
185
|
+
return $io17(input3);
|
|
186
186
|
return (() => {
|
|
187
|
-
if ($
|
|
188
|
-
return $
|
|
187
|
+
if ($io16(input3))
|
|
188
|
+
return $io16(input3);
|
|
189
|
+
if ($io27(input3))
|
|
190
|
+
return $io27(input3);
|
|
189
191
|
if ($io30(input3))
|
|
190
192
|
return $io30(input3);
|
|
191
|
-
if ($io33(input3))
|
|
192
|
-
return $io33(input3);
|
|
193
193
|
return false;
|
|
194
194
|
})();
|
|
195
195
|
})();
|
|
196
196
|
const $iu2 = (input3) => (() => {
|
|
197
197
|
if (true === input3.startunbounded)
|
|
198
|
-
return $
|
|
198
|
+
return $io21(input3);
|
|
199
199
|
if (true === input3.stopunbounded)
|
|
200
|
-
return $
|
|
201
|
-
return $
|
|
200
|
+
return $io23(input3);
|
|
201
|
+
return $io22(input3);
|
|
202
202
|
})();
|
|
203
203
|
const $iu3 = (input3) => (() => {
|
|
204
204
|
if (2 === input3.dt)
|
|
205
|
-
return $io39(input3);
|
|
206
|
-
if (5 === input3.dt)
|
|
207
205
|
return $io38(input3);
|
|
208
|
-
if (
|
|
206
|
+
if (5 === input3.dt)
|
|
209
207
|
return $io37(input3);
|
|
210
|
-
if (
|
|
208
|
+
if (4 === input3.dt)
|
|
211
209
|
return $io36(input3);
|
|
210
|
+
if (1 === input3.dt)
|
|
211
|
+
return $io35(input3);
|
|
212
212
|
return false;
|
|
213
213
|
})();
|
|
214
214
|
const $iu4 = (input3) => (() => {
|
|
215
215
|
if (true === input3.startunbounded)
|
|
216
|
-
return $
|
|
216
|
+
return $io21(input3);
|
|
217
217
|
if (void 0 !== input3.start)
|
|
218
|
-
return $
|
|
218
|
+
return $io22(input3);
|
|
219
219
|
return false;
|
|
220
220
|
})();
|
|
221
221
|
const $iu5 = (input3) => (() => {
|
|
222
222
|
if (void 0 !== input3.stop)
|
|
223
|
-
return $
|
|
223
|
+
return $io22(input3);
|
|
224
224
|
if (true === input3.stopunbounded)
|
|
225
|
-
return $
|
|
225
|
+
return $io23(input3);
|
|
226
226
|
return false;
|
|
227
227
|
})();
|
|
228
228
|
const $iu6 = (input3) => (() => {
|
|
@@ -248,34 +248,34 @@ var validCategoriesRequest = (input) => {
|
|
|
248
248
|
return $io5(input3);
|
|
249
249
|
})();
|
|
250
250
|
const $iu8 = (input3) => (() => {
|
|
251
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
252
|
-
return $
|
|
253
|
-
return $
|
|
251
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)))
|
|
252
|
+
return $io32(input3);
|
|
253
|
+
return $io39(input3);
|
|
254
254
|
})();
|
|
255
255
|
const $iu9 = (input3) => (() => {
|
|
256
256
|
if ("regular-bin" === input3.type)
|
|
257
|
-
return $
|
|
257
|
+
return $io20(input3);
|
|
258
258
|
if ("custom-bin" === input3.type)
|
|
259
|
-
return $
|
|
259
|
+
return $io24(input3);
|
|
260
260
|
return false;
|
|
261
261
|
})();
|
|
262
262
|
const $iu10 = (input3) => (() => {
|
|
263
263
|
if ("gene" === input3.kind)
|
|
264
|
-
return $
|
|
264
|
+
return $io31(input3);
|
|
265
265
|
if ("coord" === input3.kind)
|
|
266
|
-
return $
|
|
266
|
+
return $io34(input3);
|
|
267
267
|
return false;
|
|
268
268
|
})();
|
|
269
269
|
const $iu11 = (input3) => (() => {
|
|
270
270
|
if ("regular-bin" === input3.type)
|
|
271
|
-
return $
|
|
271
|
+
return $io20(input3);
|
|
272
272
|
if ("continuous" === input3.mode)
|
|
273
273
|
return $io42(input3);
|
|
274
274
|
if ("spline" === input3.mode)
|
|
275
275
|
return $io43(input3);
|
|
276
276
|
return (() => {
|
|
277
|
-
if ($
|
|
278
|
-
return $
|
|
277
|
+
if ($io24(input3))
|
|
278
|
+
return $io24(input3);
|
|
279
279
|
if ($io41(input3))
|
|
280
280
|
return $io41(input3);
|
|
281
281
|
return false;
|
|
@@ -283,21 +283,21 @@ var validCategoriesRequest = (input) => {
|
|
|
283
283
|
})();
|
|
284
284
|
const $iu12 = (input3) => (() => {
|
|
285
285
|
if (void 0 !== input3.ranges)
|
|
286
|
-
return $
|
|
286
|
+
return $io17(input3);
|
|
287
287
|
return (() => {
|
|
288
|
-
if ($
|
|
289
|
-
return $
|
|
288
|
+
if ($io16(input3))
|
|
289
|
+
return $io16(input3);
|
|
290
|
+
if ($io27(input3))
|
|
291
|
+
return $io27(input3);
|
|
290
292
|
if ($io30(input3))
|
|
291
293
|
return $io30(input3);
|
|
292
|
-
if ($io33(input3))
|
|
293
|
-
return $io33(input3);
|
|
294
294
|
return false;
|
|
295
295
|
})();
|
|
296
296
|
})();
|
|
297
297
|
const $iu13 = (input3) => (() => {
|
|
298
298
|
if ("categorical" === input3.type)
|
|
299
299
|
return $io53(input3);
|
|
300
|
-
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
|
|
300
|
+
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
301
301
|
return $io54(input3);
|
|
302
302
|
if ("condition" === input3.type)
|
|
303
303
|
return $io55(input3);
|
|
@@ -315,7 +315,7 @@ var validCategoriesRequest = (input) => {
|
|
|
315
315
|
})();
|
|
316
316
|
const $iu14 = (input3) => (() => {
|
|
317
317
|
if (void 0 !== input3.bin_size)
|
|
318
|
-
return $
|
|
318
|
+
return $io20(input3);
|
|
319
319
|
if (void 0 !== input3.knots)
|
|
320
320
|
return $io43(input3);
|
|
321
321
|
if (void 0 !== input3.AFcutoff)
|
|
@@ -336,8 +336,8 @@ var validCategoriesRequest = (input) => {
|
|
|
336
336
|
return $io6(input3);
|
|
337
337
|
if ($io7(input3))
|
|
338
338
|
return $io7(input3);
|
|
339
|
-
if ($
|
|
340
|
-
return $
|
|
339
|
+
if ($io24(input3))
|
|
340
|
+
return $io24(input3);
|
|
341
341
|
if ($io41(input3))
|
|
342
342
|
return $io41(input3);
|
|
343
343
|
if ($io42(input3))
|
|
@@ -384,7 +384,7 @@ var validCategoriesRequest = (input) => {
|
|
|
384
384
|
path: _path2 + ".filter",
|
|
385
385
|
expected: "(Filter | undefined)",
|
|
386
386
|
value: input3.filter
|
|
387
|
-
})) && $
|
|
387
|
+
})) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
388
388
|
path: _path2 + ".filter",
|
|
389
389
|
expected: "(Filter | undefined)",
|
|
390
390
|
value: input3.filter
|
|
@@ -441,7 +441,7 @@ var validCategoriesRequest = (input) => {
|
|
|
441
441
|
path: _path2 + ".term",
|
|
442
442
|
expected: "CategoricalTerm",
|
|
443
443
|
value: input3.term
|
|
444
|
-
})) && $
|
|
444
|
+
})) && $vo12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
445
445
|
path: _path2 + ".term",
|
|
446
446
|
expected: "CategoricalTerm",
|
|
447
447
|
value: input3.term
|
|
@@ -657,90 +657,12 @@ var validCategoriesRequest = (input) => {
|
|
|
657
657
|
path: _path2 + ".type",
|
|
658
658
|
expected: '"filter"',
|
|
659
659
|
value: input3.type
|
|
660
|
-
}),
|
|
661
|
-
path: _path2 + ".filter",
|
|
662
|
-
expected: "Filter",
|
|
663
|
-
value: input3.filter
|
|
664
|
-
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
665
|
-
path: _path2 + ".filter",
|
|
666
|
-
expected: "Filter",
|
|
667
|
-
value: input3.filter
|
|
668
|
-
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
660
|
+
}), true, void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
669
661
|
path: _path2 + ".uncomputable",
|
|
670
662
|
expected: "(boolean | undefined)",
|
|
671
663
|
value: input3.uncomputable
|
|
672
664
|
})].every((flag) => flag);
|
|
673
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["
|
|
674
|
-
path: _path2 + ".type",
|
|
675
|
-
expected: '"lst"',
|
|
676
|
-
value: input3.type
|
|
677
|
-
}), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
678
|
-
path: _path2 + '["in"]',
|
|
679
|
-
expected: "(boolean | undefined)",
|
|
680
|
-
value: input3["in"]
|
|
681
|
-
}), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
|
|
682
|
-
path: _path2 + ".join",
|
|
683
|
-
expected: '("and" | "or")',
|
|
684
|
-
value: input3.join
|
|
685
|
-
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
686
|
-
path: _path2 + ".tag",
|
|
687
|
-
expected: "(string | undefined)",
|
|
688
|
-
value: input3.tag
|
|
689
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
690
|
-
path: _path2 + ".lst",
|
|
691
|
-
expected: "Array<Filter | Tvs>",
|
|
692
|
-
value: input3.lst
|
|
693
|
-
})) && input3.lst.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
694
|
-
path: _path2 + ".lst[" + _index4 + "]",
|
|
695
|
-
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
696
|
-
value: elem
|
|
697
|
-
})) && $vu1(elem, _path2 + ".lst[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
698
|
-
path: _path2 + ".lst[" + _index4 + "]",
|
|
699
|
-
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
700
|
-
value: elem
|
|
701
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
702
|
-
path: _path2 + ".lst",
|
|
703
|
-
expected: "Array<Filter | Tvs>",
|
|
704
|
-
value: input3.lst
|
|
705
|
-
})].every((flag) => flag);
|
|
706
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
707
|
-
path: _path2 + ".join",
|
|
708
|
-
expected: "(string | undefined)",
|
|
709
|
-
value: input3.join
|
|
710
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
711
|
-
path: _path2 + ".isnot",
|
|
712
|
-
expected: "(boolean | undefined)",
|
|
713
|
-
value: input3.isnot
|
|
714
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
715
|
-
path: _path2 + ".term",
|
|
716
|
-
expected: "CategoricalTerm",
|
|
717
|
-
value: input3.term
|
|
718
|
-
})) && $vo14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
719
|
-
path: _path2 + ".term",
|
|
720
|
-
expected: "CategoricalTerm",
|
|
721
|
-
value: input3.term
|
|
722
|
-
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
723
|
-
path: _path2 + ".groupset_label",
|
|
724
|
-
expected: "(string | undefined)",
|
|
725
|
-
value: input3.groupset_label
|
|
726
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
727
|
-
path: _path2 + ".values",
|
|
728
|
-
expected: "Array<BaseValue>",
|
|
729
|
-
value: input3.values
|
|
730
|
-
})) && input3.values.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
731
|
-
path: _path2 + ".values[" + _index5 + "]",
|
|
732
|
-
expected: "BaseValue",
|
|
733
|
-
value: elem
|
|
734
|
-
})) && $vo16(elem, _path2 + ".values[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
735
|
-
path: _path2 + ".values[" + _index5 + "]",
|
|
736
|
-
expected: "BaseValue",
|
|
737
|
-
value: elem
|
|
738
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
739
|
-
path: _path2 + ".values",
|
|
740
|
-
expected: "Array<BaseValue>",
|
|
741
|
-
value: input3.values
|
|
742
|
-
})].every((flag) => flag);
|
|
743
|
-
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
665
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
744
666
|
path: _path2 + ".id",
|
|
745
667
|
expected: "string",
|
|
746
668
|
value: input3.id
|
|
@@ -756,8 +678,8 @@ var validCategoriesRequest = (input) => {
|
|
|
756
678
|
path: _path2 + ".child_types",
|
|
757
679
|
expected: "(Array<string> | undefined)",
|
|
758
680
|
value: input3.child_types
|
|
759
|
-
})) && input3.child_types.map((elem,
|
|
760
|
-
path: _path2 + ".child_types[" +
|
|
681
|
+
})) && input3.child_types.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
|
|
682
|
+
path: _path2 + ".child_types[" + _index4 + "]",
|
|
761
683
|
expected: "string",
|
|
762
684
|
value: elem
|
|
763
685
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -772,8 +694,8 @@ var validCategoriesRequest = (input) => {
|
|
|
772
694
|
path: _path2 + ".included_types",
|
|
773
695
|
expected: "(Array<string> | undefined)",
|
|
774
696
|
value: input3.included_types
|
|
775
|
-
})) && input3.included_types.map((elem,
|
|
776
|
-
path: _path2 + ".included_types[" +
|
|
697
|
+
})) && input3.included_types.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
|
|
698
|
+
path: _path2 + ".included_types[" + _index5 + "]",
|
|
777
699
|
expected: "string",
|
|
778
700
|
value: elem
|
|
779
701
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -788,20 +710,20 @@ var validCategoriesRequest = (input) => {
|
|
|
788
710
|
path: _path2 + ".values",
|
|
789
711
|
expected: "(TermValues | undefined)",
|
|
790
712
|
value: input3.values
|
|
791
|
-
})) && $
|
|
713
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
792
714
|
path: _path2 + ".values",
|
|
793
715
|
expected: "(TermValues | undefined)",
|
|
794
716
|
value: input3.values
|
|
795
717
|
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
796
718
|
path: _path2 + ".groupsetting",
|
|
797
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
719
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
798
720
|
value: input3.groupsetting
|
|
799
721
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
800
722
|
path: _path2 + ".groupsetting",
|
|
801
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
723
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
802
724
|
value: input3.groupsetting
|
|
803
725
|
})].every((flag) => flag);
|
|
804
|
-
const $
|
|
726
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
805
727
|
const value = input3[key];
|
|
806
728
|
if (void 0 === value)
|
|
807
729
|
return true;
|
|
@@ -810,7 +732,7 @@ var validCategoriesRequest = (input) => {
|
|
|
810
732
|
path: _path2 + $join(key),
|
|
811
733
|
expected: "BaseValue",
|
|
812
734
|
value
|
|
813
|
-
})) && $
|
|
735
|
+
})) && $vo14(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
814
736
|
path: _path2 + $join(key),
|
|
815
737
|
expected: "BaseValue",
|
|
816
738
|
value
|
|
@@ -820,14 +742,14 @@ var validCategoriesRequest = (input) => {
|
|
|
820
742
|
path: _path2 + $join(key),
|
|
821
743
|
expected: "BaseValue",
|
|
822
744
|
value
|
|
823
|
-
})) && $
|
|
745
|
+
})) && $vo14(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
824
746
|
path: _path2 + $join(key),
|
|
825
747
|
expected: "BaseValue",
|
|
826
748
|
value
|
|
827
749
|
});
|
|
828
750
|
return true;
|
|
829
751
|
}).every((flag) => flag)].every((flag) => flag);
|
|
830
|
-
const $
|
|
752
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
831
753
|
path: _path2 + ".key",
|
|
832
754
|
expected: "(string | undefined)",
|
|
833
755
|
value: input3.key
|
|
@@ -855,79 +777,82 @@ var validCategoriesRequest = (input) => {
|
|
|
855
777
|
path: _path2 + ".filter",
|
|
856
778
|
expected: "(Filter | undefined)",
|
|
857
779
|
value: input3.filter
|
|
858
|
-
})) && $
|
|
780
|
+
})) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
859
781
|
path: _path2 + ".filter",
|
|
860
782
|
expected: "(Filter | undefined)",
|
|
861
783
|
value: input3.filter
|
|
862
784
|
})].every((flag) => flag);
|
|
863
|
-
const $
|
|
864
|
-
path: _path2 + ".
|
|
785
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
|
|
786
|
+
path: _path2 + ".type",
|
|
787
|
+
expected: '"lst"',
|
|
788
|
+
value: input3.type
|
|
789
|
+
}), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
790
|
+
path: _path2 + '["in"]',
|
|
865
791
|
expected: "(boolean | undefined)",
|
|
866
|
-
value: input3
|
|
792
|
+
value: input3["in"]
|
|
793
|
+
}), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
|
|
794
|
+
path: _path2 + ".join",
|
|
795
|
+
expected: '("and" | "or")',
|
|
796
|
+
value: input3.join
|
|
797
|
+
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
798
|
+
path: _path2 + ".tag",
|
|
799
|
+
expected: "(string | undefined)",
|
|
800
|
+
value: input3.tag
|
|
867
801
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
868
802
|
path: _path2 + ".lst",
|
|
869
|
-
expected: "Array<
|
|
803
|
+
expected: "Array<Filter | Tvs>",
|
|
870
804
|
value: input3.lst
|
|
871
|
-
})) && input3.lst.map((elem,
|
|
872
|
-
path: _path2 + ".lst[" +
|
|
873
|
-
expected: "
|
|
805
|
+
})) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
806
|
+
path: _path2 + ".lst[" + _index6 + "]",
|
|
807
|
+
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
874
808
|
value: elem
|
|
875
|
-
})) && $
|
|
876
|
-
path: _path2 + ".lst[" +
|
|
877
|
-
expected: "
|
|
809
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
810
|
+
path: _path2 + ".lst[" + _index6 + "]",
|
|
811
|
+
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
878
812
|
value: elem
|
|
879
813
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
880
814
|
path: _path2 + ".lst",
|
|
881
|
-
expected: "Array<
|
|
815
|
+
expected: "Array<Filter | Tvs>",
|
|
882
816
|
value: input3.lst
|
|
883
817
|
})].every((flag) => flag);
|
|
884
|
-
const $
|
|
885
|
-
path: _path2 + ".
|
|
886
|
-
expected: "string",
|
|
887
|
-
value: input3.
|
|
888
|
-
}), void 0 === input3.
|
|
889
|
-
path: _path2 + ".
|
|
890
|
-
expected: "(boolean | undefined)",
|
|
891
|
-
value: input3.is_grade
|
|
892
|
-
}), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
|
|
893
|
-
path: _path2 + ".is_subcondition",
|
|
818
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
819
|
+
path: _path2 + ".join",
|
|
820
|
+
expected: "(string | undefined)",
|
|
821
|
+
value: input3.join
|
|
822
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
823
|
+
path: _path2 + ".isnot",
|
|
894
824
|
expected: "(boolean | undefined)",
|
|
895
|
-
value: input3.
|
|
896
|
-
}), (
|
|
897
|
-
path: _path2 + ".
|
|
898
|
-
expected: "
|
|
899
|
-
value: input3.
|
|
900
|
-
})) && input3.
|
|
901
|
-
path: _path2 + ".
|
|
902
|
-
expected: "
|
|
825
|
+
value: input3.isnot
|
|
826
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
827
|
+
path: _path2 + ".term",
|
|
828
|
+
expected: "CategoricalTerm",
|
|
829
|
+
value: input3.term
|
|
830
|
+
})) && $vo12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
831
|
+
path: _path2 + ".term",
|
|
832
|
+
expected: "CategoricalTerm",
|
|
833
|
+
value: input3.term
|
|
834
|
+
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
835
|
+
path: _path2 + ".groupset_label",
|
|
836
|
+
expected: "(string | undefined)",
|
|
837
|
+
value: input3.groupset_label
|
|
838
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
839
|
+
path: _path2 + ".values",
|
|
840
|
+
expected: "Array<BaseValue>",
|
|
841
|
+
value: input3.values
|
|
842
|
+
})) && input3.values.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
843
|
+
path: _path2 + ".values[" + _index7 + "]",
|
|
844
|
+
expected: "BaseValue",
|
|
903
845
|
value: elem
|
|
904
|
-
})) && $
|
|
905
|
-
path: _path2 + ".
|
|
906
|
-
expected: "
|
|
846
|
+
})) && $vo14(elem, _path2 + ".values[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
847
|
+
path: _path2 + ".values[" + _index7 + "]",
|
|
848
|
+
expected: "BaseValue",
|
|
907
849
|
value: elem
|
|
908
850
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
909
|
-
path: _path2 + ".
|
|
910
|
-
expected: "Array<
|
|
911
|
-
value: input3.
|
|
912
|
-
})].every((flag) => flag);
|
|
913
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
914
|
-
path: _path2 + ".disabled",
|
|
915
|
-
expected: "boolean",
|
|
916
|
-
value: input3.disabled
|
|
917
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
918
|
-
path: _path2 + ".lst",
|
|
919
|
-
expected: "([] | undefined)",
|
|
920
|
-
value: input3.lst
|
|
921
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
922
|
-
path: _path2 + ".lst",
|
|
923
|
-
expected: "[]",
|
|
924
|
-
value: input3.lst
|
|
925
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
926
|
-
path: _path2 + ".lst",
|
|
927
|
-
expected: "([] | undefined)",
|
|
928
|
-
value: input3.lst
|
|
851
|
+
path: _path2 + ".values",
|
|
852
|
+
expected: "Array<BaseValue>",
|
|
853
|
+
value: input3.values
|
|
929
854
|
})].every((flag) => flag);
|
|
930
|
-
const $
|
|
855
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
931
856
|
path: _path2 + ".join",
|
|
932
857
|
expected: "(string | undefined)",
|
|
933
858
|
value: input3.join
|
|
@@ -939,7 +864,7 @@ var validCategoriesRequest = (input) => {
|
|
|
939
864
|
path: _path2 + ".term",
|
|
940
865
|
expected: "NumericTerm",
|
|
941
866
|
value: input3.term
|
|
942
|
-
})) && $
|
|
867
|
+
})) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
943
868
|
path: _path2 + ".term",
|
|
944
869
|
expected: "NumericTerm",
|
|
945
870
|
value: input3.term
|
|
@@ -947,12 +872,12 @@ var validCategoriesRequest = (input) => {
|
|
|
947
872
|
path: _path2 + ".ranges",
|
|
948
873
|
expected: "Array<NumericBin>",
|
|
949
874
|
value: input3.ranges
|
|
950
|
-
})) && input3.ranges.map((elem,
|
|
951
|
-
path: _path2 + ".ranges[" +
|
|
875
|
+
})) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
876
|
+
path: _path2 + ".ranges[" + _index8 + "]",
|
|
952
877
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
953
878
|
value: elem
|
|
954
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
955
|
-
path: _path2 + ".ranges[" +
|
|
879
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
880
|
+
path: _path2 + ".ranges[" + _index8 + "]",
|
|
956
881
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
957
882
|
value: elem
|
|
958
883
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -963,20 +888,20 @@ var validCategoriesRequest = (input) => {
|
|
|
963
888
|
path: _path2 + ".values",
|
|
964
889
|
expected: "Array<__type>.o1",
|
|
965
890
|
value: input3.values
|
|
966
|
-
})) && input3.values.map((elem,
|
|
967
|
-
path: _path2 + ".values[" +
|
|
968
|
-
expected: "__type.
|
|
891
|
+
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
892
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
893
|
+
expected: "__type.o3",
|
|
969
894
|
value: elem
|
|
970
|
-
})) && $
|
|
971
|
-
path: _path2 + ".values[" +
|
|
972
|
-
expected: "__type.
|
|
895
|
+
})) && $vo26(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
896
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
897
|
+
expected: "__type.o3",
|
|
973
898
|
value: elem
|
|
974
899
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
975
900
|
path: _path2 + ".values",
|
|
976
901
|
expected: "Array<__type>.o1",
|
|
977
902
|
value: input3.values
|
|
978
903
|
})].every((flag) => flag);
|
|
979
|
-
const $
|
|
904
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
980
905
|
path: _path2 + ".id",
|
|
981
906
|
expected: "string",
|
|
982
907
|
value: input3.id
|
|
@@ -984,16 +909,16 @@ var validCategoriesRequest = (input) => {
|
|
|
984
909
|
path: _path2 + ".name",
|
|
985
910
|
expected: "string",
|
|
986
911
|
value: input3.name
|
|
987
|
-
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
912
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
988
913
|
path: _path2 + ".type",
|
|
989
|
-
expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
914
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
990
915
|
value: input3.type
|
|
991
916
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
992
917
|
path: _path2 + ".child_types",
|
|
993
918
|
expected: "(Array<string> | undefined)",
|
|
994
919
|
value: input3.child_types
|
|
995
|
-
})) && input3.child_types.map((elem,
|
|
996
|
-
path: _path2 + ".child_types[" +
|
|
920
|
+
})) && input3.child_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
|
|
921
|
+
path: _path2 + ".child_types[" + _index10 + "]",
|
|
997
922
|
expected: "string",
|
|
998
923
|
value: elem
|
|
999
924
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1008,8 +933,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1008
933
|
path: _path2 + ".included_types",
|
|
1009
934
|
expected: "(Array<string> | undefined)",
|
|
1010
935
|
value: input3.included_types
|
|
1011
|
-
})) && input3.included_types.map((elem,
|
|
1012
|
-
path: _path2 + ".included_types[" +
|
|
936
|
+
})) && input3.included_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
937
|
+
path: _path2 + ".included_types[" + _index11 + "]",
|
|
1013
938
|
expected: "string",
|
|
1014
939
|
value: elem
|
|
1015
940
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1024,7 +949,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1024
949
|
path: _path2 + ".values",
|
|
1025
950
|
expected: "(TermValues | undefined)",
|
|
1026
951
|
value: input3.values
|
|
1027
|
-
})) && $
|
|
952
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1028
953
|
path: _path2 + ".values",
|
|
1029
954
|
expected: "(TermValues | undefined)",
|
|
1030
955
|
value: input3.values
|
|
@@ -1032,7 +957,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1032
957
|
path: _path2 + ".bins",
|
|
1033
958
|
expected: "PresetNumericBins",
|
|
1034
959
|
value: input3.bins
|
|
1035
|
-
})) && $
|
|
960
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1036
961
|
path: _path2 + ".bins",
|
|
1037
962
|
expected: "PresetNumericBins",
|
|
1038
963
|
value: input3.bins
|
|
@@ -1042,14 +967,14 @@ var validCategoriesRequest = (input) => {
|
|
|
1042
967
|
value: input3.unit
|
|
1043
968
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1044
969
|
path: _path2 + ".continuousColorScale",
|
|
1045
|
-
expected: "(__type.
|
|
970
|
+
expected: "(__type.o2 | undefined)",
|
|
1046
971
|
value: input3.continuousColorScale
|
|
1047
|
-
})) && $
|
|
972
|
+
})) && $vo25(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1048
973
|
path: _path2 + ".continuousColorScale",
|
|
1049
|
-
expected: "(__type.
|
|
974
|
+
expected: "(__type.o2 | undefined)",
|
|
1050
975
|
value: input3.continuousColorScale
|
|
1051
976
|
})].every((flag) => flag);
|
|
1052
|
-
const $
|
|
977
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
1053
978
|
path: _path2 + '["default"]',
|
|
1054
979
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1055
980
|
value: input3["default"]
|
|
@@ -1086,7 +1011,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1086
1011
|
expected: "(number | undefined)",
|
|
1087
1012
|
value: input3.max
|
|
1088
1013
|
})].every((flag) => flag);
|
|
1089
|
-
const $
|
|
1014
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1090
1015
|
path: _path2 + ".hiddenValues",
|
|
1091
1016
|
expected: "(HiddenValues | undefined)",
|
|
1092
1017
|
value: input3.hiddenValues
|
|
@@ -1139,7 +1064,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1139
1064
|
expected: "(number | undefined)",
|
|
1140
1065
|
value: input3.label_offset
|
|
1141
1066
|
})].every((flag) => flag);
|
|
1142
|
-
const $
|
|
1067
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1143
1068
|
path: _path2 + ".startunbounded",
|
|
1144
1069
|
expected: "true",
|
|
1145
1070
|
value: input3.startunbounded
|
|
@@ -1164,7 +1089,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1164
1089
|
expected: "(string | undefined)",
|
|
1165
1090
|
value: input3.label
|
|
1166
1091
|
})].every((flag) => flag);
|
|
1167
|
-
const $
|
|
1092
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1168
1093
|
path: _path2 + ".startunbounded",
|
|
1169
1094
|
expected: "(false | undefined)",
|
|
1170
1095
|
value: input3.startunbounded
|
|
@@ -1193,7 +1118,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1193
1118
|
expected: "(string | undefined)",
|
|
1194
1119
|
value: input3.label
|
|
1195
1120
|
})].every((flag) => flag);
|
|
1196
|
-
const $
|
|
1121
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1197
1122
|
path: _path2 + ".start",
|
|
1198
1123
|
expected: "number",
|
|
1199
1124
|
value: input3.start
|
|
@@ -1218,7 +1143,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1218
1143
|
expected: "(string | undefined)",
|
|
1219
1144
|
value: input3.label
|
|
1220
1145
|
})].every((flag) => flag);
|
|
1221
|
-
const $
|
|
1146
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1222
1147
|
path: _path2 + ".hiddenValues",
|
|
1223
1148
|
expected: "(HiddenValues | undefined)",
|
|
1224
1149
|
value: input3.hiddenValues
|
|
@@ -1264,12 +1189,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1264
1189
|
path: _path2 + ".lst",
|
|
1265
1190
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1266
1191
|
value: input3.lst.slice(1)
|
|
1267
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1268
|
-
path: _path2 + ".lst[" + (1 +
|
|
1192
|
+
})) && input3.lst.slice(1).map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1193
|
+
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
1269
1194
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1270
1195
|
value: elem
|
|
1271
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1272
|
-
path: _path2 + ".lst[" + (1 +
|
|
1196
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1197
|
+
path: _path2 + ".lst[" + (1 + _index12) + "]",
|
|
1273
1198
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1274
1199
|
value: elem
|
|
1275
1200
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1285,7 +1210,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1285
1210
|
expected: '("median" | undefined)',
|
|
1286
1211
|
value: input3.preferredBins
|
|
1287
1212
|
})].every((flag) => flag);
|
|
1288
|
-
const $
|
|
1213
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1289
1214
|
path: _path2 + ".minColor",
|
|
1290
1215
|
expected: "string",
|
|
1291
1216
|
value: input3.minColor
|
|
@@ -1294,7 +1219,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1294
1219
|
expected: "string",
|
|
1295
1220
|
value: input3.maxColor
|
|
1296
1221
|
})].every((flag) => flag);
|
|
1297
|
-
const $
|
|
1222
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1298
1223
|
path: _path2 + ".key",
|
|
1299
1224
|
expected: "string",
|
|
1300
1225
|
value: input3.key
|
|
@@ -1311,7 +1236,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1311
1236
|
expected: "(string | undefined)",
|
|
1312
1237
|
value: input3.label
|
|
1313
1238
|
})].every((flag) => flag);
|
|
1314
|
-
const $
|
|
1239
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1315
1240
|
path: _path2 + ".join",
|
|
1316
1241
|
expected: "(string | undefined)",
|
|
1317
1242
|
value: input3.join
|
|
@@ -1323,7 +1248,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1323
1248
|
path: _path2 + ".term",
|
|
1324
1249
|
expected: "ConditionTerm",
|
|
1325
1250
|
value: input3.term
|
|
1326
|
-
})) && $
|
|
1251
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1327
1252
|
path: _path2 + ".term",
|
|
1328
1253
|
expected: "ConditionTerm",
|
|
1329
1254
|
value: input3.term
|
|
@@ -1343,12 +1268,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1343
1268
|
path: _path2 + ".grade_and_child",
|
|
1344
1269
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1345
1270
|
value: input3.grade_and_child
|
|
1346
|
-
})) && input3.grade_and_child.map((elem,
|
|
1347
|
-
path: _path2 + ".grade_and_child[" +
|
|
1271
|
+
})) && input3.grade_and_child.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1272
|
+
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
1348
1273
|
expected: "GradeAndChildEntry",
|
|
1349
1274
|
value: elem
|
|
1350
|
-
})) && $
|
|
1351
|
-
path: _path2 + ".grade_and_child[" +
|
|
1275
|
+
})) && $vo29(elem, _path2 + ".grade_and_child[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1276
|
+
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
1352
1277
|
expected: "GradeAndChildEntry",
|
|
1353
1278
|
value: elem
|
|
1354
1279
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1356,7 +1281,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1356
1281
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1357
1282
|
value: input3.grade_and_child
|
|
1358
1283
|
})].every((flag) => flag);
|
|
1359
|
-
const $
|
|
1284
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1360
1285
|
path: _path2 + ".id",
|
|
1361
1286
|
expected: "string",
|
|
1362
1287
|
value: input3.id
|
|
@@ -1372,8 +1297,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1372
1297
|
path: _path2 + ".child_types",
|
|
1373
1298
|
expected: "(Array<string> | undefined)",
|
|
1374
1299
|
value: input3.child_types
|
|
1375
|
-
})) && input3.child_types.map((elem,
|
|
1376
|
-
path: _path2 + ".child_types[" +
|
|
1300
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1301
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
1377
1302
|
expected: "string",
|
|
1378
1303
|
value: elem
|
|
1379
1304
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1388,8 +1313,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1388
1313
|
path: _path2 + ".included_types",
|
|
1389
1314
|
expected: "(Array<string> | undefined)",
|
|
1390
1315
|
value: input3.included_types
|
|
1391
|
-
})) && input3.included_types.map((elem,
|
|
1392
|
-
path: _path2 + ".included_types[" +
|
|
1316
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1317
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
1393
1318
|
expected: "string",
|
|
1394
1319
|
value: elem
|
|
1395
1320
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1404,12 +1329,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1404
1329
|
path: _path2 + ".values",
|
|
1405
1330
|
expected: "(TermValues | undefined)",
|
|
1406
1331
|
value: input3.values
|
|
1407
|
-
})) && $
|
|
1332
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1408
1333
|
path: _path2 + ".values",
|
|
1409
1334
|
expected: "(TermValues | undefined)",
|
|
1410
1335
|
value: input3.values
|
|
1411
1336
|
}), true].every((flag) => flag);
|
|
1412
|
-
const $
|
|
1337
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1413
1338
|
path: _path2 + ".grade",
|
|
1414
1339
|
expected: "number",
|
|
1415
1340
|
value: input3.grade
|
|
@@ -1426,7 +1351,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1426
1351
|
expected: "string",
|
|
1427
1352
|
value: input3.child_label
|
|
1428
1353
|
})].every((flag) => flag);
|
|
1429
|
-
const $
|
|
1354
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1430
1355
|
path: _path2 + ".join",
|
|
1431
1356
|
expected: "(string | undefined)",
|
|
1432
1357
|
value: input3.join
|
|
@@ -1446,12 +1371,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1446
1371
|
path: _path2 + ".values",
|
|
1447
1372
|
expected: "Array<GeneVariantTvsValue>",
|
|
1448
1373
|
value: input3.values
|
|
1449
|
-
})) && input3.values.map((elem,
|
|
1450
|
-
path: _path2 + ".values[" +
|
|
1374
|
+
})) && input3.values.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1375
|
+
path: _path2 + ".values[" + _index16 + "]",
|
|
1451
1376
|
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1452
1377
|
value: elem
|
|
1453
|
-
})) && $vu3(elem, _path2 + ".values[" +
|
|
1454
|
-
path: _path2 + ".values[" +
|
|
1378
|
+
})) && $vu3(elem, _path2 + ".values[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1379
|
+
path: _path2 + ".values[" + _index16 + "]",
|
|
1455
1380
|
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1456
1381
|
value: elem
|
|
1457
1382
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1459,7 +1384,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1459
1384
|
expected: "Array<GeneVariantTvsValue>",
|
|
1460
1385
|
value: input3.values
|
|
1461
1386
|
})].every((flag) => flag);
|
|
1462
|
-
const $
|
|
1387
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1463
1388
|
path: _path2 + ".id",
|
|
1464
1389
|
expected: "string",
|
|
1465
1390
|
value: input3.id
|
|
@@ -1475,8 +1400,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1475
1400
|
path: _path2 + ".child_types",
|
|
1476
1401
|
expected: "(Array<string> | undefined)",
|
|
1477
1402
|
value: input3.child_types
|
|
1478
|
-
})) && input3.child_types.map((elem,
|
|
1479
|
-
path: _path2 + ".child_types[" +
|
|
1403
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1404
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1480
1405
|
expected: "string",
|
|
1481
1406
|
value: elem
|
|
1482
1407
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1491,8 +1416,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1491
1416
|
path: _path2 + ".included_types",
|
|
1492
1417
|
expected: "(Array<string> | undefined)",
|
|
1493
1418
|
value: input3.included_types
|
|
1494
|
-
})) && input3.included_types.map((elem,
|
|
1495
|
-
path: _path2 + ".included_types[" +
|
|
1419
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1420
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1496
1421
|
expected: "string",
|
|
1497
1422
|
value: elem
|
|
1498
1423
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1507,7 +1432,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1507
1432
|
path: _path2 + ".values",
|
|
1508
1433
|
expected: "(TermValues | undefined)",
|
|
1509
1434
|
value: input3.values
|
|
1510
|
-
})) && $
|
|
1435
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1511
1436
|
path: _path2 + ".values",
|
|
1512
1437
|
expected: "(TermValues | undefined)",
|
|
1513
1438
|
value: input3.values
|
|
@@ -1515,7 +1440,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1515
1440
|
path: _path2 + ".groupsetting",
|
|
1516
1441
|
expected: "EnabledTermGroupSetting",
|
|
1517
1442
|
value: input3.groupsetting
|
|
1518
|
-
})) && $
|
|
1443
|
+
})) && $vo32(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1519
1444
|
path: _path2 + ".groupsetting",
|
|
1520
1445
|
expected: "EnabledTermGroupSetting",
|
|
1521
1446
|
value: input3.groupsetting
|
|
@@ -1540,7 +1465,61 @@ var validCategoriesRequest = (input) => {
|
|
|
1540
1465
|
expected: "(number | undefined)",
|
|
1541
1466
|
value: input3.stop
|
|
1542
1467
|
})].every((flag) => flag);
|
|
1543
|
-
const $
|
|
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) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1544
1523
|
path: _path2 + ".id",
|
|
1545
1524
|
expected: "string",
|
|
1546
1525
|
value: input3.id
|
|
@@ -1588,7 +1567,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1588
1567
|
path: _path2 + ".values",
|
|
1589
1568
|
expected: "(TermValues | undefined)",
|
|
1590
1569
|
value: input3.values
|
|
1591
|
-
})) && $
|
|
1570
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1592
1571
|
path: _path2 + ".values",
|
|
1593
1572
|
expected: "(TermValues | undefined)",
|
|
1594
1573
|
value: input3.values
|
|
@@ -1596,7 +1575,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1596
1575
|
path: _path2 + ".groupsetting",
|
|
1597
1576
|
expected: "EnabledTermGroupSetting",
|
|
1598
1577
|
value: input3.groupsetting
|
|
1599
|
-
})) && $
|
|
1578
|
+
})) && $vo32(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1600
1579
|
path: _path2 + ".groupsetting",
|
|
1601
1580
|
expected: "EnabledTermGroupSetting",
|
|
1602
1581
|
value: input3.groupsetting
|
|
@@ -1617,7 +1596,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1617
1596
|
expected: "number",
|
|
1618
1597
|
value: input3.stop
|
|
1619
1598
|
})].every((flag) => flag);
|
|
1620
|
-
const $
|
|
1599
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1621
1600
|
path: _path2 + ".dt",
|
|
1622
1601
|
expected: "1",
|
|
1623
1602
|
value: input3.dt
|
|
@@ -1650,7 +1629,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1650
1629
|
expected: '("germline" | "somatic" | undefined)',
|
|
1651
1630
|
value: input3.origin
|
|
1652
1631
|
})].every((flag) => flag);
|
|
1653
|
-
const $
|
|
1632
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1654
1633
|
path: _path2 + ".dt",
|
|
1655
1634
|
expected: "4",
|
|
1656
1635
|
value: input3.dt
|
|
@@ -1683,7 +1662,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1683
1662
|
expected: '("germline" | "somatic" | undefined)',
|
|
1684
1663
|
value: input3.origin
|
|
1685
1664
|
})].every((flag) => flag);
|
|
1686
|
-
const $
|
|
1665
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1687
1666
|
path: _path2 + ".dt",
|
|
1688
1667
|
expected: "5",
|
|
1689
1668
|
value: input3.dt
|
|
@@ -1716,7 +1695,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1716
1695
|
expected: '("germline" | "somatic" | undefined)',
|
|
1717
1696
|
value: input3.origin
|
|
1718
1697
|
})].every((flag) => flag);
|
|
1719
|
-
const $
|
|
1698
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1720
1699
|
path: _path2 + ".dt",
|
|
1721
1700
|
expected: "2",
|
|
1722
1701
|
value: input3.dt
|
|
@@ -1749,6 +1728,23 @@ var validCategoriesRequest = (input) => {
|
|
|
1749
1728
|
expected: '("germline" | "somatic" | undefined)',
|
|
1750
1729
|
value: input3.origin
|
|
1751
1730
|
})].every((flag) => flag);
|
|
1731
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1732
|
+
path: _path2 + ".disabled",
|
|
1733
|
+
expected: "boolean",
|
|
1734
|
+
value: input3.disabled
|
|
1735
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1736
|
+
path: _path2 + ".lst",
|
|
1737
|
+
expected: "([] | undefined)",
|
|
1738
|
+
value: input3.lst
|
|
1739
|
+
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
1740
|
+
path: _path2 + ".lst",
|
|
1741
|
+
expected: "[]",
|
|
1742
|
+
value: input3.lst
|
|
1743
|
+
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
1744
|
+
path: _path2 + ".lst",
|
|
1745
|
+
expected: "([] | undefined)",
|
|
1746
|
+
value: input3.lst
|
|
1747
|
+
})].every((flag) => flag);
|
|
1752
1748
|
const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1753
1749
|
path: _path2 + ".id",
|
|
1754
1750
|
expected: "(string | undefined)",
|
|
@@ -1777,7 +1773,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1777
1773
|
path: _path2 + ".term",
|
|
1778
1774
|
expected: "NumericTerm",
|
|
1779
1775
|
value: input3.term
|
|
1780
|
-
})) && $
|
|
1776
|
+
})) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1781
1777
|
path: _path2 + ".term",
|
|
1782
1778
|
expected: "NumericTerm",
|
|
1783
1779
|
value: input3.term
|
|
@@ -2046,7 +2042,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2046
2042
|
path: _path2 + ".variant_filter",
|
|
2047
2043
|
expected: "Filter",
|
|
2048
2044
|
value: input3.variant_filter
|
|
2049
|
-
})) && $
|
|
2045
|
+
})) && $vo15(input3.variant_filter, _path2 + ".variant_filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2050
2046
|
path: _path2 + ".variant_filter",
|
|
2051
2047
|
expected: "Filter",
|
|
2052
2048
|
value: input3.variant_filter
|
|
@@ -2124,7 +2120,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2124
2120
|
path: _path2 + ".values",
|
|
2125
2121
|
expected: "(TermValues | undefined)",
|
|
2126
2122
|
value: input3.values
|
|
2127
|
-
})) && $
|
|
2123
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2128
2124
|
path: _path2 + ".values",
|
|
2129
2125
|
expected: "(TermValues | undefined)",
|
|
2130
2126
|
value: input3.values
|
|
@@ -2262,11 +2258,11 @@ var validCategoriesRequest = (input) => {
|
|
|
2262
2258
|
value: input3.minNumSamples
|
|
2263
2259
|
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2264
2260
|
path: _path2 + ".term",
|
|
2265
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; 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"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
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"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2266
2262
|
value: input3.term
|
|
2267
2263
|
})) && $vu13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2268
2264
|
path: _path2 + ".term",
|
|
2269
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; 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"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
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"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2270
2266
|
value: input3.term
|
|
2271
2267
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2272
2268
|
path: _path2 + ".q",
|
|
@@ -2325,17 +2321,17 @@ var validCategoriesRequest = (input) => {
|
|
|
2325
2321
|
path: _path2 + ".values",
|
|
2326
2322
|
expected: "(TermValues | undefined)",
|
|
2327
2323
|
value: input3.values
|
|
2328
|
-
})) && $
|
|
2324
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2329
2325
|
path: _path2 + ".values",
|
|
2330
2326
|
expected: "(TermValues | undefined)",
|
|
2331
2327
|
value: input3.values
|
|
2332
2328
|
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2333
2329
|
path: _path2 + ".groupsetting",
|
|
2334
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2330
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2335
2331
|
value: input3.groupsetting
|
|
2336
2332
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2337
2333
|
path: _path2 + ".groupsetting",
|
|
2338
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2334
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2339
2335
|
value: input3.groupsetting
|
|
2340
2336
|
})].every((flag) => flag);
|
|
2341
2337
|
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2346,9 +2342,9 @@ var validCategoriesRequest = (input) => {
|
|
|
2346
2342
|
path: _path2 + ".name",
|
|
2347
2343
|
expected: "string",
|
|
2348
2344
|
value: input3.name
|
|
2349
|
-
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
2345
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
2350
2346
|
path: _path2 + ".type",
|
|
2351
|
-
expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
2347
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
2352
2348
|
value: input3.type
|
|
2353
2349
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2354
2350
|
path: _path2 + ".child_types",
|
|
@@ -2386,7 +2382,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2386
2382
|
path: _path2 + ".values",
|
|
2387
2383
|
expected: "(TermValues | undefined)",
|
|
2388
2384
|
value: input3.values
|
|
2389
|
-
})) && $
|
|
2385
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2390
2386
|
path: _path2 + ".values",
|
|
2391
2387
|
expected: "(TermValues | undefined)",
|
|
2392
2388
|
value: input3.values
|
|
@@ -2394,7 +2390,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2394
2390
|
path: _path2 + ".bins",
|
|
2395
2391
|
expected: "PresetNumericBins",
|
|
2396
2392
|
value: input3.bins
|
|
2397
|
-
})) && $
|
|
2393
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2398
2394
|
path: _path2 + ".bins",
|
|
2399
2395
|
expected: "PresetNumericBins",
|
|
2400
2396
|
value: input3.bins
|
|
@@ -2404,11 +2400,11 @@ var validCategoriesRequest = (input) => {
|
|
|
2404
2400
|
value: input3.unit
|
|
2405
2401
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2406
2402
|
path: _path2 + ".continuousColorScale",
|
|
2407
|
-
expected: "(__type.
|
|
2403
|
+
expected: "(__type.o2 | undefined)",
|
|
2408
2404
|
value: input3.continuousColorScale
|
|
2409
|
-
})) && $
|
|
2405
|
+
})) && $vo25(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2410
2406
|
path: _path2 + ".continuousColorScale",
|
|
2411
|
-
expected: "(__type.
|
|
2407
|
+
expected: "(__type.o2 | undefined)",
|
|
2412
2408
|
value: input3.continuousColorScale
|
|
2413
2409
|
})].every((flag) => flag);
|
|
2414
2410
|
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2459,7 +2455,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2459
2455
|
path: _path2 + ".values",
|
|
2460
2456
|
expected: "(TermValues | undefined)",
|
|
2461
2457
|
value: input3.values
|
|
2462
|
-
})) && $
|
|
2458
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2463
2459
|
path: _path2 + ".values",
|
|
2464
2460
|
expected: "(TermValues | undefined)",
|
|
2465
2461
|
value: input3.values
|
|
@@ -2512,7 +2508,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2512
2508
|
path: _path2 + ".values",
|
|
2513
2509
|
expected: "(TermValues | undefined)",
|
|
2514
2510
|
value: input3.values
|
|
2515
|
-
})) && $
|
|
2511
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2516
2512
|
path: _path2 + ".values",
|
|
2517
2513
|
expected: "(TermValues | undefined)",
|
|
2518
2514
|
value: input3.values
|
|
@@ -2520,7 +2516,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2520
2516
|
path: _path2 + ".groupsetting",
|
|
2521
2517
|
expected: "EnabledTermGroupSetting",
|
|
2522
2518
|
value: input3.groupsetting
|
|
2523
|
-
})) && $
|
|
2519
|
+
})) && $vo32(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2524
2520
|
path: _path2 + ".groupsetting",
|
|
2525
2521
|
expected: "EnabledTermGroupSetting",
|
|
2526
2522
|
value: input3.groupsetting
|
|
@@ -2593,7 +2589,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2593
2589
|
path: _path2 + ".values",
|
|
2594
2590
|
expected: "(TermValues | undefined)",
|
|
2595
2591
|
value: input3.values
|
|
2596
|
-
})) && $
|
|
2592
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2597
2593
|
path: _path2 + ".values",
|
|
2598
2594
|
expected: "(TermValues | undefined)",
|
|
2599
2595
|
value: input3.values
|
|
@@ -2601,7 +2597,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2601
2597
|
path: _path2 + ".groupsetting",
|
|
2602
2598
|
expected: "EnabledTermGroupSetting",
|
|
2603
2599
|
value: input3.groupsetting
|
|
2604
|
-
})) && $
|
|
2600
|
+
})) && $vo32(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2605
2601
|
path: _path2 + ".groupsetting",
|
|
2606
2602
|
expected: "EnabledTermGroupSetting",
|
|
2607
2603
|
value: input3.groupsetting
|
|
@@ -2670,7 +2666,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2670
2666
|
path: _path2 + ".values",
|
|
2671
2667
|
expected: "(TermValues | undefined)",
|
|
2672
2668
|
value: input3.values
|
|
2673
|
-
})) && $
|
|
2669
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2674
2670
|
path: _path2 + ".values",
|
|
2675
2671
|
expected: "(TermValues | undefined)",
|
|
2676
2672
|
value: input3.values
|
|
@@ -2802,7 +2798,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2802
2798
|
path: _path2 + ".filter",
|
|
2803
2799
|
expected: "(Filter | undefined)",
|
|
2804
2800
|
value: input3.filter
|
|
2805
|
-
})) && $
|
|
2801
|
+
})) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2806
2802
|
path: _path2 + ".filter",
|
|
2807
2803
|
expected: "(Filter | undefined)",
|
|
2808
2804
|
value: input3.filter
|
|
@@ -3307,27 +3303,27 @@ var validCategoriesRequest = (input) => {
|
|
|
3307
3303
|
})();
|
|
3308
3304
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3309
3305
|
if (void 0 !== input3.type)
|
|
3310
|
-
return $
|
|
3306
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
3311
3307
|
if (void 0 !== input3.ranges)
|
|
3312
|
-
return $
|
|
3313
|
-
return $
|
|
3308
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
3309
|
+
return $vo16(input3, _path2, false) || $vo27(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
3314
3310
|
})();
|
|
3315
3311
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3316
3312
|
if (true === input3.startunbounded)
|
|
3317
|
-
return $
|
|
3313
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3318
3314
|
if (true === input3.stopunbounded)
|
|
3319
|
-
return $
|
|
3320
|
-
return $
|
|
3315
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3316
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3321
3317
|
})();
|
|
3322
3318
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3323
3319
|
if (2 === input3.dt)
|
|
3324
|
-
return $vo39(input3, _path2, _exceptionable2);
|
|
3325
|
-
if (5 === input3.dt)
|
|
3326
3320
|
return $vo38(input3, _path2, _exceptionable2);
|
|
3327
|
-
if (
|
|
3321
|
+
if (5 === input3.dt)
|
|
3328
3322
|
return $vo37(input3, _path2, _exceptionable2);
|
|
3329
|
-
if (
|
|
3323
|
+
if (4 === input3.dt)
|
|
3330
3324
|
return $vo36(input3, _path2, _exceptionable2);
|
|
3325
|
+
if (1 === input3.dt)
|
|
3326
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
3331
3327
|
return $report(_exceptionable2, {
|
|
3332
3328
|
path: _path2,
|
|
3333
3329
|
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
@@ -3336,9 +3332,9 @@ var validCategoriesRequest = (input) => {
|
|
|
3336
3332
|
})();
|
|
3337
3333
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3338
3334
|
if (true === input3.startunbounded)
|
|
3339
|
-
return $
|
|
3335
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3340
3336
|
if (void 0 !== input3.start)
|
|
3341
|
-
return $
|
|
3337
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3342
3338
|
return $report(_exceptionable2, {
|
|
3343
3339
|
path: _path2,
|
|
3344
3340
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -3347,9 +3343,9 @@ var validCategoriesRequest = (input) => {
|
|
|
3347
3343
|
})();
|
|
3348
3344
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3349
3345
|
if (void 0 !== input3.stop)
|
|
3350
|
-
return $
|
|
3346
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3351
3347
|
if (true === input3.stopunbounded)
|
|
3352
|
-
return $
|
|
3348
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3353
3349
|
return $report(_exceptionable2, {
|
|
3354
3350
|
path: _path2,
|
|
3355
3351
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -3371,15 +3367,15 @@ var validCategoriesRequest = (input) => {
|
|
|
3371
3367
|
return $vo5(input3, _path2, _exceptionable2);
|
|
3372
3368
|
})();
|
|
3373
3369
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3374
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index59) => "object" === typeof elem && null !== elem && $
|
|
3375
|
-
return $
|
|
3376
|
-
return $
|
|
3370
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index59) => "object" === typeof elem && null !== elem && $vo33(elem, _path2 + ".lst[" + _index59 + "]", false)).every((flag) => flag))
|
|
3371
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
3372
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
3377
3373
|
})();
|
|
3378
3374
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3379
3375
|
if ("regular-bin" === input3.type)
|
|
3380
|
-
return $
|
|
3376
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3381
3377
|
if ("custom-bin" === input3.type)
|
|
3382
|
-
return $
|
|
3378
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3383
3379
|
return $report(_exceptionable2, {
|
|
3384
3380
|
path: _path2,
|
|
3385
3381
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -3388,9 +3384,9 @@ var validCategoriesRequest = (input) => {
|
|
|
3388
3384
|
})();
|
|
3389
3385
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3390
3386
|
if ("gene" === input3.kind)
|
|
3391
|
-
return $
|
|
3387
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
3392
3388
|
if ("coord" === input3.kind)
|
|
3393
|
-
return $
|
|
3389
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
3394
3390
|
return $report(_exceptionable2, {
|
|
3395
3391
|
path: _path2,
|
|
3396
3392
|
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
@@ -3399,22 +3395,22 @@ var validCategoriesRequest = (input) => {
|
|
|
3399
3395
|
})();
|
|
3400
3396
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3401
3397
|
if ("regular-bin" === input3.type)
|
|
3402
|
-
return $
|
|
3398
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3403
3399
|
if ("continuous" === input3.mode)
|
|
3404
3400
|
return $vo42(input3, _path2, _exceptionable2);
|
|
3405
3401
|
if ("spline" === input3.mode)
|
|
3406
3402
|
return $vo43(input3, _path2, _exceptionable2);
|
|
3407
|
-
return $
|
|
3403
|
+
return $vo24(input3, _path2, false) || $vo41(input3, _path2, false);
|
|
3408
3404
|
})();
|
|
3409
3405
|
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3410
3406
|
if (void 0 !== input3.ranges)
|
|
3411
|
-
return $
|
|
3412
|
-
return $
|
|
3407
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
3408
|
+
return $vo16(input3, _path2, false) || $vo27(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
3413
3409
|
})();
|
|
3414
3410
|
const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3415
3411
|
if ("categorical" === input3.type)
|
|
3416
3412
|
return $vo53(input3, _path2, _exceptionable2);
|
|
3417
|
-
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
|
|
3413
|
+
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
3418
3414
|
return $vo54(input3, _path2, _exceptionable2);
|
|
3419
3415
|
if ("condition" === input3.type)
|
|
3420
3416
|
return $vo55(input3, _path2, _exceptionable2);
|
|
@@ -3426,7 +3422,7 @@ var validCategoriesRequest = (input) => {
|
|
|
3426
3422
|
})();
|
|
3427
3423
|
const $vu14 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3428
3424
|
if (void 0 !== input3.bin_size)
|
|
3429
|
-
return $
|
|
3425
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3430
3426
|
if (void 0 !== input3.knots)
|
|
3431
3427
|
return $vo43(input3, _path2, _exceptionable2);
|
|
3432
3428
|
if (void 0 !== input3.AFcutoff)
|
|
@@ -3436,7 +3432,7 @@ var validCategoriesRequest = (input) => {
|
|
|
3436
3432
|
return (() => {
|
|
3437
3433
|
if (void 0 !== input3.groups)
|
|
3438
3434
|
return $vo69(input3, _path2, _exceptionable2);
|
|
3439
|
-
return $vo5(input3, _path2, false) || $vo63(input3, _path2, false) || $vo3(input3, _path2, false) || $vo6(input3, _path2, false) || $vo7(input3, _path2, false) || $
|
|
3435
|
+
return $vo5(input3, _path2, false) || $vo63(input3, _path2, false) || $vo3(input3, _path2, false) || $vo6(input3, _path2, false) || $vo7(input3, _path2, false) || $vo24(input3, _path2, false) || $vo41(input3, _path2, false) || $vo42(input3, _path2, false) || $vo66(input3, _path2, false) || $vo65(input3, _path2, false) || $vo67(input3, _path2, false) || $vo68(input3, _path2, false);
|
|
3440
3436
|
})();
|
|
3441
3437
|
})();
|
|
3442
3438
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|