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