@sjcrh/proteinpaint-types 2.137.2 → 2.137.3
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-SUL2XLYM.js → chunk-2YASZMH3.js} +665 -229
- package/dist/{chunk-6LRQCE3E.js → chunk-6HAS5WRS.js} +243 -41
- package/dist/{chunk-6H6TQ3MA.js → chunk-7FTOFTNK.js} +243 -41
- package/dist/{chunk-PAQX4HYF.js → chunk-AL4VFH5I.js} +520 -286
- package/dist/{chunk-7YFANJ2A.js → chunk-CC3OBRKE.js} +479 -245
- package/dist/{chunk-FMSTAFII.js → chunk-DD2RLZHC.js} +243 -41
- package/dist/{chunk-YW6G7WTF.js → chunk-GGZUN2GE.js} +5 -1
- package/dist/{chunk-CBPDONEQ.js → chunk-HCBXL376.js} +494 -246
- package/dist/{chunk-MDPMNCMV.js → chunk-HWRFIXJA.js} +480 -246
- package/dist/{chunk-IE3MSHTB.js → chunk-I2BMMKPN.js} +480 -246
- package/dist/{chunk-QCGBPQ7S.js → chunk-JKBVXIRQ.js} +247 -45
- package/dist/{chunk-657TS66W.js → chunk-LTGT4NK4.js} +713 -277
- package/dist/{chunk-YGOZU46P.js → chunk-S2M5SN7Q.js} +243 -41
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +13 -13
- 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.singleSampleMutation.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +5 -7
- package/src/routes/termdb.categories.ts +5 -0
- package/src/routes/termdb.descrstats.ts +1 -0
- package/src/routes/termdb.singleSampleMutation.ts +3 -1
- package/src/terms/geneVariant.ts +11 -3
|
@@ -22,9 +22,9 @@ var validTermdbClusterRequest = (input) => {
|
|
|
22
22
|
const errors = [];
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
25
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $
|
|
25
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
26
26
|
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
27
|
-
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
27
|
+
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
|
|
28
28
|
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
|
|
29
29
|
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting));
|
|
30
30
|
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
@@ -45,8 +45,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
45
45
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
46
46
|
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(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 && $io22(elem)));
|
|
47
47
|
const $io13 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale));
|
|
48
|
-
const $io14 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $
|
|
49
|
-
const $io15 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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 && $
|
|
48
|
+
const $io14 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(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);
|
|
49
|
+
const $io15 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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 && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
50
50
|
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
51
51
|
const value = input3[key];
|
|
52
52
|
if (void 0 === value)
|
|
@@ -64,16 +64,18 @@ var validTermdbClusterRequest = (input) => {
|
|
|
64
64
|
const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(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 && $io25(elem)));
|
|
65
65
|
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
66
66
|
const $io25 = (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;
|
|
67
|
-
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.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
68
|
-
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $
|
|
69
|
-
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
70
|
-
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
71
|
-
const $io30 = (input3) => "string" === typeof input3.
|
|
72
|
-
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
73
|
-
const $io32 = (input3) => "string" === typeof input3.
|
|
74
|
-
const $io33 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) &&
|
|
75
|
-
const $io34 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "
|
|
76
|
-
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.
|
|
67
|
+
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.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
68
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu8(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
69
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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);
|
|
71
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
72
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
74
|
+
const $io33 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "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);
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "metaboliteIntensity" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
76
|
+
const $io35 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && true && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "string" === typeof input3.metabolite;
|
|
77
|
+
const $io36 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "numericDictTerm" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
78
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
77
79
|
const $iu0 = (input3) => (() => {
|
|
78
80
|
if ("tvslst" === input3.type)
|
|
79
81
|
return $io1(input3);
|
|
@@ -96,6 +98,13 @@ var validTermdbClusterRequest = (input) => {
|
|
|
96
98
|
return $io18(input3);
|
|
97
99
|
})();
|
|
98
100
|
const $iu3 = (input3) => (() => {
|
|
101
|
+
if ("gene" === input3.kind)
|
|
102
|
+
return $io29(input3);
|
|
103
|
+
if ("coord" === input3.kind)
|
|
104
|
+
return $io30(input3);
|
|
105
|
+
return false;
|
|
106
|
+
})();
|
|
107
|
+
const $iu4 = (input3) => (() => {
|
|
99
108
|
if (void 0 !== input3.ranges)
|
|
100
109
|
return $io12(input3);
|
|
101
110
|
return (() => {
|
|
@@ -108,44 +117,44 @@ var validTermdbClusterRequest = (input) => {
|
|
|
108
117
|
return false;
|
|
109
118
|
})();
|
|
110
119
|
})();
|
|
111
|
-
const $
|
|
120
|
+
const $iu5 = (input3) => (() => {
|
|
112
121
|
if ("regular-bin" === input3.type)
|
|
113
122
|
return $io15(input3);
|
|
114
123
|
if ("custom-bin" === input3.type)
|
|
115
124
|
return $io20(input3);
|
|
116
125
|
return false;
|
|
117
126
|
})();
|
|
118
|
-
const $
|
|
127
|
+
const $iu6 = (input3) => (() => {
|
|
119
128
|
if (true === input3.startunbounded)
|
|
120
129
|
return $io17(input3);
|
|
121
130
|
if (void 0 !== input3.start)
|
|
122
131
|
return $io18(input3);
|
|
123
132
|
return false;
|
|
124
133
|
})();
|
|
125
|
-
const $
|
|
134
|
+
const $iu7 = (input3) => (() => {
|
|
126
135
|
if (void 0 !== input3.stop)
|
|
127
136
|
return $io18(input3);
|
|
128
137
|
if (true === input3.stopunbounded)
|
|
129
138
|
return $io19(input3);
|
|
130
139
|
return false;
|
|
131
140
|
})();
|
|
132
|
-
const $
|
|
141
|
+
const $iu8 = (input3) => (() => {
|
|
133
142
|
if ("gene" === input3.kind)
|
|
134
143
|
return $io28(input3);
|
|
135
144
|
if ("coord" === input3.kind)
|
|
136
|
-
return $
|
|
145
|
+
return $io31(input3);
|
|
137
146
|
return false;
|
|
138
147
|
})();
|
|
139
|
-
const $
|
|
148
|
+
const $iu9 = (input3) => (() => {
|
|
140
149
|
if ("numericDictTerm" === input3.dataType)
|
|
141
|
-
return $
|
|
150
|
+
return $io36(input3);
|
|
142
151
|
if ("metaboliteIntensity" === input3.dataType)
|
|
143
|
-
return $
|
|
152
|
+
return $io34(input3);
|
|
144
153
|
if ("geneExpression" === input3.dataType)
|
|
145
154
|
return $io0(input3);
|
|
146
155
|
return false;
|
|
147
156
|
})();
|
|
148
|
-
return "object" === typeof input2 && null !== input2 && $
|
|
157
|
+
return "object" === typeof input2 && null !== input2 && $iu9(input2);
|
|
149
158
|
};
|
|
150
159
|
if (false === __is(input)) {
|
|
151
160
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -187,7 +196,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
187
196
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
188
197
|
expected: "GeneExpressionTerm",
|
|
189
198
|
value: elem
|
|
190
|
-
})) && $
|
|
199
|
+
})) && $vo33(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
191
200
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
192
201
|
expected: "GeneExpressionTerm",
|
|
193
202
|
value: elem
|
|
@@ -241,7 +250,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
241
250
|
path: _path2 + ".tvs",
|
|
242
251
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
243
252
|
value: input3.tvs
|
|
244
|
-
})) && $
|
|
253
|
+
})) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
245
254
|
path: _path2 + ".tvs",
|
|
246
255
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
247
256
|
value: input3.tvs
|
|
@@ -650,7 +659,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
650
659
|
path: _path2 + '["default"]',
|
|
651
660
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
652
661
|
value: input3["default"]
|
|
653
|
-
})) && $
|
|
662
|
+
})) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
654
663
|
path: _path2 + '["default"]',
|
|
655
664
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
656
665
|
value: input3["default"]
|
|
@@ -658,7 +667,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
658
667
|
path: _path2 + ".less",
|
|
659
668
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
660
669
|
value: input3.less
|
|
661
|
-
})) && $
|
|
670
|
+
})) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
662
671
|
path: _path2 + ".less",
|
|
663
672
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
664
673
|
value: input3.less
|
|
@@ -719,7 +728,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
719
728
|
path: _path2 + ".first_bin",
|
|
720
729
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
721
730
|
value: input3.first_bin
|
|
722
|
-
})) && $
|
|
731
|
+
})) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
723
732
|
path: _path2 + ".first_bin",
|
|
724
733
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
725
734
|
value: input3.first_bin
|
|
@@ -727,7 +736,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
727
736
|
path: _path2 + ".last_bin",
|
|
728
737
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
729
738
|
value: input3.last_bin
|
|
730
|
-
})) && $
|
|
739
|
+
})) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
731
740
|
path: _path2 + ".last_bin",
|
|
732
741
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
733
742
|
value: input3.last_bin
|
|
@@ -1063,7 +1072,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1063
1072
|
path: _path2 + ".values[" + _index17 + "]",
|
|
1064
1073
|
expected: "__type.o4",
|
|
1065
1074
|
value: elem
|
|
1066
|
-
})) && $
|
|
1075
|
+
})) && $vo32(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1067
1076
|
path: _path2 + ".values[" + _index17 + "]",
|
|
1068
1077
|
expected: "__type.o4",
|
|
1069
1078
|
value: elem
|
|
@@ -1098,11 +1107,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1098
1107
|
value: input3.name_noOrigin
|
|
1099
1108
|
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1100
1109
|
path: _path2 + ".parentTerm",
|
|
1101
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
1110
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1102
1111
|
value: input3.parentTerm
|
|
1103
|
-
})) && $
|
|
1112
|
+
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1104
1113
|
path: _path2 + ".parentTerm",
|
|
1105
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
1114
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1106
1115
|
value: input3.parentTerm
|
|
1107
1116
|
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1108
1117
|
path: _path2 + ".isleaf",
|
|
@@ -1205,6 +1214,22 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1205
1214
|
path: _path2 + ".stop",
|
|
1206
1215
|
expected: "(number | undefined)",
|
|
1207
1216
|
value: input3.stop
|
|
1217
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1218
|
+
path: _path2 + ".genes",
|
|
1219
|
+
expected: "Array<GvGeneTerm>",
|
|
1220
|
+
value: input3.genes
|
|
1221
|
+
})) && input3.genes.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1222
|
+
path: _path2 + ".genes[" + _index20 + "]",
|
|
1223
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1224
|
+
value: elem
|
|
1225
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1226
|
+
path: _path2 + ".genes[" + _index20 + "]",
|
|
1227
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1228
|
+
value: elem
|
|
1229
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1230
|
+
path: _path2 + ".genes",
|
|
1231
|
+
expected: "Array<GvGeneTerm>",
|
|
1232
|
+
value: input3.genes
|
|
1208
1233
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1209
1234
|
path: _path2 + ".groupsetting",
|
|
1210
1235
|
expected: "(TermGroupSetting | undefined)",
|
|
@@ -1217,12 +1242,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1217
1242
|
path: _path2 + ".childTerms",
|
|
1218
1243
|
expected: "(Array<DtTerm> | undefined)",
|
|
1219
1244
|
value: input3.childTerms
|
|
1220
|
-
})) && input3.childTerms.map((elem,
|
|
1221
|
-
path: _path2 + ".childTerms[" +
|
|
1245
|
+
})) && input3.childTerms.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1246
|
+
path: _path2 + ".childTerms[" + _index21 + "]",
|
|
1222
1247
|
expected: "DtTerm",
|
|
1223
1248
|
value: elem
|
|
1224
|
-
})) && $vo27(elem, _path2 + ".childTerms[" +
|
|
1225
|
-
path: _path2 + ".childTerms[" +
|
|
1249
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1250
|
+
path: _path2 + ".childTerms[" + _index21 + "]",
|
|
1226
1251
|
expected: "DtTerm",
|
|
1227
1252
|
value: elem
|
|
1228
1253
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1238,6 +1263,156 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1238
1263
|
path: _path2 + ".name",
|
|
1239
1264
|
expected: "string",
|
|
1240
1265
|
value: input3.name
|
|
1266
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1267
|
+
path: _path2 + ".type",
|
|
1268
|
+
expected: "string",
|
|
1269
|
+
value: input3.type
|
|
1270
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1271
|
+
path: _path2 + ".child_types",
|
|
1272
|
+
expected: "(Array<string> | undefined)",
|
|
1273
|
+
value: input3.child_types
|
|
1274
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1275
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1276
|
+
expected: "string",
|
|
1277
|
+
value: elem
|
|
1278
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1279
|
+
path: _path2 + ".child_types",
|
|
1280
|
+
expected: "(Array<string> | undefined)",
|
|
1281
|
+
value: input3.child_types
|
|
1282
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1283
|
+
path: _path2 + ".hashtmldetail",
|
|
1284
|
+
expected: "(boolean | undefined)",
|
|
1285
|
+
value: input3.hashtmldetail
|
|
1286
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1287
|
+
path: _path2 + ".included_types",
|
|
1288
|
+
expected: "(Array<string> | undefined)",
|
|
1289
|
+
value: input3.included_types
|
|
1290
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1291
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1292
|
+
expected: "string",
|
|
1293
|
+
value: elem
|
|
1294
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1295
|
+
path: _path2 + ".included_types",
|
|
1296
|
+
expected: "(Array<string> | undefined)",
|
|
1297
|
+
value: input3.included_types
|
|
1298
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1299
|
+
path: _path2 + ".isleaf",
|
|
1300
|
+
expected: "(boolean | undefined)",
|
|
1301
|
+
value: input3.isleaf
|
|
1302
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1303
|
+
path: _path2 + ".values",
|
|
1304
|
+
expected: "(TermValues | undefined)",
|
|
1305
|
+
value: input3.values
|
|
1306
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1307
|
+
path: _path2 + ".values",
|
|
1308
|
+
expected: "(TermValues | undefined)",
|
|
1309
|
+
value: input3.values
|
|
1310
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1311
|
+
path: _path2 + ".skipValuesBuild",
|
|
1312
|
+
expected: "(boolean | undefined)",
|
|
1313
|
+
value: input3.skipValuesBuild
|
|
1314
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1315
|
+
path: _path2 + ".kind",
|
|
1316
|
+
expected: '"gene"',
|
|
1317
|
+
value: input3.kind
|
|
1318
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1319
|
+
path: _path2 + ".gene",
|
|
1320
|
+
expected: "string",
|
|
1321
|
+
value: input3.gene
|
|
1322
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1323
|
+
path: _path2 + ".chr",
|
|
1324
|
+
expected: "(string | undefined)",
|
|
1325
|
+
value: input3.chr
|
|
1326
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1327
|
+
path: _path2 + ".start",
|
|
1328
|
+
expected: "(number | undefined)",
|
|
1329
|
+
value: input3.start
|
|
1330
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1331
|
+
path: _path2 + ".stop",
|
|
1332
|
+
expected: "(number | undefined)",
|
|
1333
|
+
value: input3.stop
|
|
1334
|
+
})].every((flag) => flag);
|
|
1335
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1336
|
+
path: _path2 + ".id",
|
|
1337
|
+
expected: "string",
|
|
1338
|
+
value: input3.id
|
|
1339
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1340
|
+
path: _path2 + ".name",
|
|
1341
|
+
expected: "string",
|
|
1342
|
+
value: input3.name
|
|
1343
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1344
|
+
path: _path2 + ".type",
|
|
1345
|
+
expected: "string",
|
|
1346
|
+
value: input3.type
|
|
1347
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1348
|
+
path: _path2 + ".child_types",
|
|
1349
|
+
expected: "(Array<string> | undefined)",
|
|
1350
|
+
value: input3.child_types
|
|
1351
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1352
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1353
|
+
expected: "string",
|
|
1354
|
+
value: elem
|
|
1355
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1356
|
+
path: _path2 + ".child_types",
|
|
1357
|
+
expected: "(Array<string> | undefined)",
|
|
1358
|
+
value: input3.child_types
|
|
1359
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1360
|
+
path: _path2 + ".hashtmldetail",
|
|
1361
|
+
expected: "(boolean | undefined)",
|
|
1362
|
+
value: input3.hashtmldetail
|
|
1363
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1364
|
+
path: _path2 + ".included_types",
|
|
1365
|
+
expected: "(Array<string> | undefined)",
|
|
1366
|
+
value: input3.included_types
|
|
1367
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1368
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1369
|
+
expected: "string",
|
|
1370
|
+
value: elem
|
|
1371
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1372
|
+
path: _path2 + ".included_types",
|
|
1373
|
+
expected: "(Array<string> | undefined)",
|
|
1374
|
+
value: input3.included_types
|
|
1375
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1376
|
+
path: _path2 + ".isleaf",
|
|
1377
|
+
expected: "(boolean | undefined)",
|
|
1378
|
+
value: input3.isleaf
|
|
1379
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1380
|
+
path: _path2 + ".values",
|
|
1381
|
+
expected: "(TermValues | undefined)",
|
|
1382
|
+
value: input3.values
|
|
1383
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1384
|
+
path: _path2 + ".values",
|
|
1385
|
+
expected: "(TermValues | undefined)",
|
|
1386
|
+
value: input3.values
|
|
1387
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1388
|
+
path: _path2 + ".skipValuesBuild",
|
|
1389
|
+
expected: "(boolean | undefined)",
|
|
1390
|
+
value: input3.skipValuesBuild
|
|
1391
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1392
|
+
path: _path2 + ".kind",
|
|
1393
|
+
expected: '"coord"',
|
|
1394
|
+
value: input3.kind
|
|
1395
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1396
|
+
path: _path2 + ".chr",
|
|
1397
|
+
expected: "string",
|
|
1398
|
+
value: input3.chr
|
|
1399
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1400
|
+
path: _path2 + ".start",
|
|
1401
|
+
expected: "number",
|
|
1402
|
+
value: input3.start
|
|
1403
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1404
|
+
path: _path2 + ".stop",
|
|
1405
|
+
expected: "number",
|
|
1406
|
+
value: input3.stop
|
|
1407
|
+
})].every((flag) => flag);
|
|
1408
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1409
|
+
path: _path2 + ".id",
|
|
1410
|
+
expected: "string",
|
|
1411
|
+
value: input3.id
|
|
1412
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1413
|
+
path: _path2 + ".name",
|
|
1414
|
+
expected: "string",
|
|
1415
|
+
value: input3.name
|
|
1241
1416
|
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1242
1417
|
path: _path2 + ".type",
|
|
1243
1418
|
expected: '"geneVariant"',
|
|
@@ -1246,8 +1421,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1246
1421
|
path: _path2 + ".child_types",
|
|
1247
1422
|
expected: "(Array<string> | undefined)",
|
|
1248
1423
|
value: input3.child_types
|
|
1249
|
-
})) && input3.child_types.map((elem,
|
|
1250
|
-
path: _path2 + ".child_types[" +
|
|
1424
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1425
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1251
1426
|
expected: "string",
|
|
1252
1427
|
value: elem
|
|
1253
1428
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1262,8 +1437,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1262
1437
|
path: _path2 + ".included_types",
|
|
1263
1438
|
expected: "(Array<string> | undefined)",
|
|
1264
1439
|
value: input3.included_types
|
|
1265
|
-
})) && input3.included_types.map((elem,
|
|
1266
|
-
path: _path2 + ".included_types[" +
|
|
1440
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1441
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1267
1442
|
expected: "string",
|
|
1268
1443
|
value: elem
|
|
1269
1444
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1302,6 +1477,22 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1302
1477
|
path: _path2 + ".stop",
|
|
1303
1478
|
expected: "number",
|
|
1304
1479
|
value: input3.stop
|
|
1480
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1481
|
+
path: _path2 + ".genes",
|
|
1482
|
+
expected: "Array<GvGeneTerm>",
|
|
1483
|
+
value: input3.genes
|
|
1484
|
+
})) && input3.genes.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1485
|
+
path: _path2 + ".genes[" + _index28 + "]",
|
|
1486
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1487
|
+
value: elem
|
|
1488
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1489
|
+
path: _path2 + ".genes[" + _index28 + "]",
|
|
1490
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1491
|
+
value: elem
|
|
1492
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".genes",
|
|
1494
|
+
expected: "Array<GvGeneTerm>",
|
|
1495
|
+
value: input3.genes
|
|
1305
1496
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1306
1497
|
path: _path2 + ".groupsetting",
|
|
1307
1498
|
expected: "(TermGroupSetting | undefined)",
|
|
@@ -1314,12 +1505,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1314
1505
|
path: _path2 + ".childTerms",
|
|
1315
1506
|
expected: "(Array<DtTerm> | undefined)",
|
|
1316
1507
|
value: input3.childTerms
|
|
1317
|
-
})) && input3.childTerms.map((elem,
|
|
1318
|
-
path: _path2 + ".childTerms[" +
|
|
1508
|
+
})) && input3.childTerms.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1509
|
+
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
1319
1510
|
expected: "DtTerm",
|
|
1320
1511
|
value: elem
|
|
1321
|
-
})) && $vo27(elem, _path2 + ".childTerms[" +
|
|
1322
|
-
path: _path2 + ".childTerms[" +
|
|
1512
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1513
|
+
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
1323
1514
|
expected: "DtTerm",
|
|
1324
1515
|
value: elem
|
|
1325
1516
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1327,7 +1518,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1327
1518
|
expected: "(Array<DtTerm> | undefined)",
|
|
1328
1519
|
value: input3.childTerms
|
|
1329
1520
|
})].every((flag) => flag);
|
|
1330
|
-
const $
|
|
1521
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1331
1522
|
path: _path2 + ".key",
|
|
1332
1523
|
expected: "string",
|
|
1333
1524
|
value: input3.key
|
|
@@ -1340,7 +1531,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1340
1531
|
expected: "string",
|
|
1341
1532
|
value: input3.value
|
|
1342
1533
|
})].every((flag) => flag);
|
|
1343
|
-
const $
|
|
1534
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1344
1535
|
path: _path2 + ".id",
|
|
1345
1536
|
expected: "string",
|
|
1346
1537
|
value: input3.id
|
|
@@ -1356,8 +1547,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1356
1547
|
path: _path2 + ".child_types",
|
|
1357
1548
|
expected: "(Array<string> | undefined)",
|
|
1358
1549
|
value: input3.child_types
|
|
1359
|
-
})) && input3.child_types.map((elem,
|
|
1360
|
-
path: _path2 + ".child_types[" +
|
|
1550
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1551
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
1361
1552
|
expected: "string",
|
|
1362
1553
|
value: elem
|
|
1363
1554
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1372,8 +1563,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1372
1563
|
path: _path2 + ".included_types",
|
|
1373
1564
|
expected: "(Array<string> | undefined)",
|
|
1374
1565
|
value: input3.included_types
|
|
1375
|
-
})) && input3.included_types.map((elem,
|
|
1376
|
-
path: _path2 + ".included_types[" +
|
|
1566
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1567
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
1377
1568
|
expected: "string",
|
|
1378
1569
|
value: elem
|
|
1379
1570
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1433,7 +1624,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1433
1624
|
expected: "(number | undefined)",
|
|
1434
1625
|
value: input3.stop
|
|
1435
1626
|
})].every((flag) => flag);
|
|
1436
|
-
const $
|
|
1627
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1437
1628
|
path: _path2 + ".genome",
|
|
1438
1629
|
expected: "string",
|
|
1439
1630
|
value: input3.genome
|
|
@@ -1465,12 +1656,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1465
1656
|
path: _path2 + ".terms",
|
|
1466
1657
|
expected: "Array<MetaboliteIntensityTerm>",
|
|
1467
1658
|
value: input3.terms
|
|
1468
|
-
})) && input3.terms.map((elem,
|
|
1469
|
-
path: _path2 + ".terms[" +
|
|
1659
|
+
})) && input3.terms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1660
|
+
path: _path2 + ".terms[" + _index32 + "]",
|
|
1470
1661
|
expected: "MetaboliteIntensityTerm",
|
|
1471
1662
|
value: elem
|
|
1472
|
-
})) && $
|
|
1473
|
-
path: _path2 + ".terms[" +
|
|
1663
|
+
})) && $vo35(elem, _path2 + ".terms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1664
|
+
path: _path2 + ".terms[" + _index32 + "]",
|
|
1474
1665
|
expected: "MetaboliteIntensityTerm",
|
|
1475
1666
|
value: elem
|
|
1476
1667
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1482,7 +1673,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1482
1673
|
expected: "(string | undefined)",
|
|
1483
1674
|
value: input3.zScoreTransformation
|
|
1484
1675
|
})].every((flag) => flag);
|
|
1485
|
-
const $
|
|
1676
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1486
1677
|
path: _path2 + ".id",
|
|
1487
1678
|
expected: "string",
|
|
1488
1679
|
value: input3.id
|
|
@@ -1498,8 +1689,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1498
1689
|
path: _path2 + ".child_types",
|
|
1499
1690
|
expected: "(Array<string> | undefined)",
|
|
1500
1691
|
value: input3.child_types
|
|
1501
|
-
})) && input3.child_types.map((elem,
|
|
1502
|
-
path: _path2 + ".child_types[" +
|
|
1692
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1693
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
1503
1694
|
expected: "string",
|
|
1504
1695
|
value: elem
|
|
1505
1696
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1514,8 +1705,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1514
1705
|
path: _path2 + ".included_types",
|
|
1515
1706
|
expected: "(Array<string> | undefined)",
|
|
1516
1707
|
value: input3.included_types
|
|
1517
|
-
})) && input3.included_types.map((elem,
|
|
1518
|
-
path: _path2 + ".included_types[" +
|
|
1708
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1709
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
1519
1710
|
expected: "string",
|
|
1520
1711
|
value: elem
|
|
1521
1712
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1555,7 +1746,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1555
1746
|
expected: "string",
|
|
1556
1747
|
value: input3.metabolite
|
|
1557
1748
|
})].every((flag) => flag);
|
|
1558
|
-
const $
|
|
1749
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1559
1750
|
path: _path2 + ".genome",
|
|
1560
1751
|
expected: "string",
|
|
1561
1752
|
value: input3.genome
|
|
@@ -1587,12 +1778,12 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1587
1778
|
path: _path2 + ".terms",
|
|
1588
1779
|
expected: "Array<NumericDictTerm>",
|
|
1589
1780
|
value: input3.terms
|
|
1590
|
-
})) && input3.terms.map((elem,
|
|
1591
|
-
path: _path2 + ".terms[" +
|
|
1781
|
+
})) && input3.terms.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1782
|
+
path: _path2 + ".terms[" + _index35 + "]",
|
|
1592
1783
|
expected: "NumericDictTerm",
|
|
1593
1784
|
value: elem
|
|
1594
|
-
})) && $
|
|
1595
|
-
path: _path2 + ".terms[" +
|
|
1785
|
+
})) && $vo37(elem, _path2 + ".terms[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1786
|
+
path: _path2 + ".terms[" + _index35 + "]",
|
|
1596
1787
|
expected: "NumericDictTerm",
|
|
1597
1788
|
value: elem
|
|
1598
1789
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1604,7 +1795,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1604
1795
|
expected: "(string | undefined)",
|
|
1605
1796
|
value: input3.zScoreTransformation
|
|
1606
1797
|
})].every((flag) => flag);
|
|
1607
|
-
const $
|
|
1798
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1608
1799
|
path: _path2 + ".id",
|
|
1609
1800
|
expected: "string",
|
|
1610
1801
|
value: input3.id
|
|
@@ -1620,8 +1811,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1620
1811
|
path: _path2 + ".child_types",
|
|
1621
1812
|
expected: "(Array<string> | undefined)",
|
|
1622
1813
|
value: input3.child_types
|
|
1623
|
-
})) && input3.child_types.map((elem,
|
|
1624
|
-
path: _path2 + ".child_types[" +
|
|
1814
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1815
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
1625
1816
|
expected: "string",
|
|
1626
1817
|
value: elem
|
|
1627
1818
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1636,8 +1827,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1636
1827
|
path: _path2 + ".included_types",
|
|
1637
1828
|
expected: "(Array<string> | undefined)",
|
|
1638
1829
|
value: input3.included_types
|
|
1639
|
-
})) && input3.included_types.map((elem,
|
|
1640
|
-
path: _path2 + ".included_types[" +
|
|
1830
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1831
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
1641
1832
|
expected: "string",
|
|
1642
1833
|
value: elem
|
|
1643
1834
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1703,11 +1894,22 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1703
1894
|
return $vo18(input3, _path2, _exceptionable2);
|
|
1704
1895
|
})();
|
|
1705
1896
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1897
|
+
if ("gene" === input3.kind)
|
|
1898
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1899
|
+
if ("coord" === input3.kind)
|
|
1900
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1901
|
+
return $report(_exceptionable2, {
|
|
1902
|
+
path: _path2,
|
|
1903
|
+
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
1904
|
+
value: input3
|
|
1905
|
+
});
|
|
1906
|
+
})();
|
|
1907
|
+
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1706
1908
|
if (void 0 !== input3.ranges)
|
|
1707
1909
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1708
1910
|
return $vo3(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
|
|
1709
1911
|
})();
|
|
1710
|
-
const $
|
|
1912
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1711
1913
|
if ("regular-bin" === input3.type)
|
|
1712
1914
|
return $vo15(input3, _path2, _exceptionable2);
|
|
1713
1915
|
if ("custom-bin" === input3.type)
|
|
@@ -1718,7 +1920,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1718
1920
|
value: input3
|
|
1719
1921
|
});
|
|
1720
1922
|
})();
|
|
1721
|
-
const $
|
|
1923
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1722
1924
|
if (true === input3.startunbounded)
|
|
1723
1925
|
return $vo17(input3, _path2, _exceptionable2);
|
|
1724
1926
|
if (void 0 !== input3.start)
|
|
@@ -1729,7 +1931,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1729
1931
|
value: input3
|
|
1730
1932
|
});
|
|
1731
1933
|
})();
|
|
1732
|
-
const $
|
|
1934
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1733
1935
|
if (void 0 !== input3.stop)
|
|
1734
1936
|
return $vo18(input3, _path2, _exceptionable2);
|
|
1735
1937
|
if (true === input3.stopunbounded)
|
|
@@ -1740,22 +1942,22 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1740
1942
|
value: input3
|
|
1741
1943
|
});
|
|
1742
1944
|
})();
|
|
1743
|
-
const $
|
|
1945
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1744
1946
|
if ("gene" === input3.kind)
|
|
1745
1947
|
return $vo28(input3, _path2, _exceptionable2);
|
|
1746
1948
|
if ("coord" === input3.kind)
|
|
1747
|
-
return $
|
|
1949
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1748
1950
|
return $report(_exceptionable2, {
|
|
1749
1951
|
path: _path2,
|
|
1750
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
1952
|
+
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
1751
1953
|
value: input3
|
|
1752
1954
|
});
|
|
1753
1955
|
})();
|
|
1754
|
-
const $
|
|
1956
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1755
1957
|
if ("numericDictTerm" === input3.dataType)
|
|
1756
|
-
return $
|
|
1958
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1757
1959
|
if ("metaboliteIntensity" === input3.dataType)
|
|
1758
|
-
return $
|
|
1960
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
1759
1961
|
if ("geneExpression" === input3.dataType)
|
|
1760
1962
|
return $vo0(input3, _path2, _exceptionable2);
|
|
1761
1963
|
return $report(_exceptionable2, {
|
|
@@ -1768,7 +1970,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1768
1970
|
path: _path + "",
|
|
1769
1971
|
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
|
|
1770
1972
|
value: input2
|
|
1771
|
-
})) && $
|
|
1973
|
+
})) && $vu9(input2, _path + "", true) || $report(true, {
|
|
1772
1974
|
path: _path + "",
|
|
1773
1975
|
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
|
|
1774
1976
|
value: input2
|
|
@@ -1810,8 +2012,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1810
2012
|
return true;
|
|
1811
2013
|
});
|
|
1812
2014
|
const $io9 = (input3) => "string" === typeof input3.text && (Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem));
|
|
1813
|
-
const $io10 = (input3) => "object" === typeof input3.term && null !== input3.term && $
|
|
1814
|
-
const $io11 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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 && $io18(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
2015
|
+
const $io10 = (input3) => "object" === typeof input3.term && null !== input3.term && $iu4(input3.term) && true;
|
|
2016
|
+
const $io11 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
1815
2017
|
const $io12 = (input3) => Object.keys(input3).every((key) => {
|
|
1816
2018
|
const value = input3[key];
|
|
1817
2019
|
if (void 0 === value)
|
|
@@ -1824,7 +2026,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1824
2026
|
});
|
|
1825
2027
|
const $io13 = (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 && $io14(input3.filter));
|
|
1826
2028
|
const $io14 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
1827
|
-
const $io15 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
2029
|
+
const $io15 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
1828
2030
|
const $io16 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io17(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) && $io13(elem)));
|
|
1829
2031
|
const $io17 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting));
|
|
1830
2032
|
const $io18 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)));
|
|
@@ -1834,8 +2036,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1834
2036
|
const $io22 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io14(input3.filter)) && "string" === typeof input3.color;
|
|
1835
2037
|
const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(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 && $io33(elem)));
|
|
1836
2038
|
const $io24 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io25(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io32(input3.continuousColorScale));
|
|
1837
|
-
const $io25 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $
|
|
1838
|
-
const $io26 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io27(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 && $
|
|
2039
|
+
const $io25 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(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);
|
|
2040
|
+
const $io26 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io27(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 && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
1839
2041
|
const $io27 = (input3) => Object.keys(input3).every((key) => {
|
|
1840
2042
|
const value = input3[key];
|
|
1841
2043
|
if (void 0 === value)
|
|
@@ -1853,32 +2055,34 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1853
2055
|
const $io34 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io35(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 && $io36(elem)));
|
|
1854
2056
|
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
1855
2057
|
const $io36 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
1856
|
-
const $io37 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io38(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
1857
|
-
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $
|
|
1858
|
-
const $io39 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
1859
|
-
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1860
|
-
const $io41 = (input3) => "string" === typeof input3.
|
|
1861
|
-
const $io42 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
1862
|
-
const $io43 = (input3) => "string" === typeof input3.
|
|
1863
|
-
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
1864
|
-
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1865
|
-
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1866
|
-
const $io47 = (input3) =>
|
|
1867
|
-
const $io48 = (input3) => "string" === typeof input3.
|
|
1868
|
-
const $io49 = (input3) => "string" === typeof input3.
|
|
1869
|
-
const $io50 = (input3) => "string" === typeof input3.
|
|
1870
|
-
const $io51 = (input3) =>
|
|
2058
|
+
const $io37 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io38(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io43(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
2059
|
+
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values));
|
|
2060
|
+
const $io39 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
2061
|
+
const $io40 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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);
|
|
2062
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
2063
|
+
const $io42 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
2064
|
+
const $io43 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
2065
|
+
const $io44 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
2066
|
+
const $io45 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting));
|
|
2067
|
+
const $io46 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io25(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io32(input3.continuousColorScale));
|
|
2068
|
+
const $io47 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
2069
|
+
const $io48 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io49(elem)));
|
|
2070
|
+
const $io49 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io51(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
2071
|
+
const $io50 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
2072
|
+
const $io51 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
2073
|
+
const $io52 = (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) && $io53(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
2074
|
+
const $io53 = (input3) => Object.keys(input3).every((key) => {
|
|
1871
2075
|
const value = input3[key];
|
|
1872
2076
|
if (void 0 === value)
|
|
1873
2077
|
return true;
|
|
1874
2078
|
if (RegExp(/(.*)/).test(key))
|
|
1875
|
-
return "object" === typeof value && null !== value && $
|
|
2079
|
+
return "object" === typeof value && null !== value && $io54(value);
|
|
1876
2080
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1877
|
-
return "object" === typeof value && null !== value && $
|
|
2081
|
+
return "object" === typeof value && null !== value && $io54(value);
|
|
1878
2082
|
return true;
|
|
1879
2083
|
});
|
|
1880
|
-
const $
|
|
1881
|
-
const $
|
|
2084
|
+
const $io54 = (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 && $io14(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io55(elem))) && true;
|
|
2085
|
+
const $io55 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1882
2086
|
const $iu0 = (input3) => (() => {
|
|
1883
2087
|
if ("tvslst" === input3.type)
|
|
1884
2088
|
return $io14(input3);
|
|
@@ -1901,25 +2105,32 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1901
2105
|
return $io29(input3);
|
|
1902
2106
|
})();
|
|
1903
2107
|
const $iu3 = (input3) => (() => {
|
|
2108
|
+
if ("gene" === input3.kind)
|
|
2109
|
+
return $io40(input3);
|
|
2110
|
+
if ("coord" === input3.kind)
|
|
2111
|
+
return $io41(input3);
|
|
2112
|
+
return false;
|
|
2113
|
+
})();
|
|
2114
|
+
const $iu4 = (input3) => (() => {
|
|
1904
2115
|
if ("gene" === input3.kind)
|
|
1905
2116
|
return $io11(input3);
|
|
1906
2117
|
if ("coord" === input3.kind)
|
|
1907
|
-
return $
|
|
2118
|
+
return $io44(input3);
|
|
1908
2119
|
if ("categorical" === input3.type)
|
|
1909
|
-
return $
|
|
2120
|
+
return $io45(input3);
|
|
1910
2121
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
1911
|
-
return $
|
|
2122
|
+
return $io46(input3);
|
|
1912
2123
|
if ("condition" === input3.type)
|
|
1913
|
-
return $
|
|
2124
|
+
return $io47(input3);
|
|
1914
2125
|
return (() => {
|
|
1915
|
-
if ($
|
|
1916
|
-
return $
|
|
1917
|
-
if ($
|
|
1918
|
-
return $
|
|
2126
|
+
if ($io48(input3))
|
|
2127
|
+
return $io48(input3);
|
|
2128
|
+
if ($io52(input3))
|
|
2129
|
+
return $io52(input3);
|
|
1919
2130
|
return false;
|
|
1920
2131
|
})();
|
|
1921
2132
|
})();
|
|
1922
|
-
const $
|
|
2133
|
+
const $iu5 = (input3) => (() => {
|
|
1923
2134
|
if (void 0 !== input3.ranges)
|
|
1924
2135
|
return $io23(input3);
|
|
1925
2136
|
return (() => {
|
|
@@ -1932,35 +2143,35 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1932
2143
|
return false;
|
|
1933
2144
|
})();
|
|
1934
2145
|
})();
|
|
1935
|
-
const $
|
|
2146
|
+
const $iu6 = (input3) => (() => {
|
|
1936
2147
|
if ("regular-bin" === input3.type)
|
|
1937
2148
|
return $io26(input3);
|
|
1938
2149
|
if ("custom-bin" === input3.type)
|
|
1939
2150
|
return $io31(input3);
|
|
1940
2151
|
return false;
|
|
1941
2152
|
})();
|
|
1942
|
-
const $
|
|
2153
|
+
const $iu7 = (input3) => (() => {
|
|
1943
2154
|
if (true === input3.startunbounded)
|
|
1944
2155
|
return $io28(input3);
|
|
1945
2156
|
if (void 0 !== input3.start)
|
|
1946
2157
|
return $io29(input3);
|
|
1947
2158
|
return false;
|
|
1948
2159
|
})();
|
|
1949
|
-
const $
|
|
2160
|
+
const $iu8 = (input3) => (() => {
|
|
1950
2161
|
if (void 0 !== input3.stop)
|
|
1951
2162
|
return $io29(input3);
|
|
1952
2163
|
if (true === input3.stopunbounded)
|
|
1953
2164
|
return $io30(input3);
|
|
1954
2165
|
return false;
|
|
1955
2166
|
})();
|
|
1956
|
-
const $
|
|
2167
|
+
const $iu9 = (input3) => (() => {
|
|
1957
2168
|
if ("gene" === input3.kind)
|
|
1958
2169
|
return $io39(input3);
|
|
1959
2170
|
if ("coord" === input3.kind)
|
|
1960
|
-
return $
|
|
2171
|
+
return $io42(input3);
|
|
1961
2172
|
return false;
|
|
1962
2173
|
})();
|
|
1963
|
-
const $
|
|
2174
|
+
const $iu10 = (input3) => (() => {
|
|
1964
2175
|
if (void 0 !== input3.status)
|
|
1965
2176
|
return $io0(input3);
|
|
1966
2177
|
if (void 0 !== input3.clustering)
|
|
@@ -1969,7 +2180,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1969
2180
|
return $io10(input3);
|
|
1970
2181
|
return false;
|
|
1971
2182
|
})();
|
|
1972
|
-
return "object" === typeof input2 && null !== input2 && $
|
|
2183
|
+
return "object" === typeof input2 && null !== input2 && $iu10(input2);
|
|
1973
2184
|
};
|
|
1974
2185
|
if (false === __is(input)) {
|
|
1975
2186
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -2177,11 +2388,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2177
2388
|
})].every((flag) => flag);
|
|
2178
2389
|
const $vo10 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2179
2390
|
path: _path2 + ".term",
|
|
2180
|
-
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 & {
|
|
2391
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | 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 & { values: SampleLstTermValues; })',
|
|
2181
2392
|
value: input3.term
|
|
2182
|
-
})) && $
|
|
2393
|
+
})) && $vu4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2183
2394
|
path: _path2 + ".term",
|
|
2184
|
-
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 & {
|
|
2395
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | 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 & { values: SampleLstTermValues; })',
|
|
2185
2396
|
value: input3.term
|
|
2186
2397
|
}), true].every((flag) => flag);
|
|
2187
2398
|
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2260,6 +2471,22 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2260
2471
|
path: _path2 + ".stop",
|
|
2261
2472
|
expected: "(number | undefined)",
|
|
2262
2473
|
value: input3.stop
|
|
2474
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
2475
|
+
path: _path2 + ".genes",
|
|
2476
|
+
expected: "Array<GvGeneTerm>",
|
|
2477
|
+
value: input3.genes
|
|
2478
|
+
})) && input3.genes.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2479
|
+
path: _path2 + ".genes[" + _index11 + "]",
|
|
2480
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2481
|
+
value: elem
|
|
2482
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2483
|
+
path: _path2 + ".genes[" + _index11 + "]",
|
|
2484
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2485
|
+
value: elem
|
|
2486
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2487
|
+
path: _path2 + ".genes",
|
|
2488
|
+
expected: "Array<GvGeneTerm>",
|
|
2489
|
+
value: input3.genes
|
|
2263
2490
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2264
2491
|
path: _path2 + ".groupsetting",
|
|
2265
2492
|
expected: "TermGroupSetting",
|
|
@@ -2272,12 +2499,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2272
2499
|
path: _path2 + ".childTerms",
|
|
2273
2500
|
expected: "Array<DtTerm>",
|
|
2274
2501
|
value: input3.childTerms
|
|
2275
|
-
})) && input3.childTerms.map((elem,
|
|
2276
|
-
path: _path2 + ".childTerms[" +
|
|
2502
|
+
})) && input3.childTerms.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2503
|
+
path: _path2 + ".childTerms[" + _index12 + "]",
|
|
2277
2504
|
expected: "DtTerm",
|
|
2278
2505
|
value: elem
|
|
2279
|
-
})) && $vo38(elem, _path2 + ".childTerms[" +
|
|
2280
|
-
path: _path2 + ".childTerms[" +
|
|
2506
|
+
})) && $vo38(elem, _path2 + ".childTerms[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2507
|
+
path: _path2 + ".childTerms[" + _index12 + "]",
|
|
2281
2508
|
expected: "DtTerm",
|
|
2282
2509
|
value: elem
|
|
2283
2510
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2364,12 +2591,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2364
2591
|
path: _path2 + ".lst",
|
|
2365
2592
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
2366
2593
|
value: input3.lst
|
|
2367
|
-
})) && input3.lst.map((elem,
|
|
2368
|
-
path: _path2 + ".lst[" +
|
|
2594
|
+
})) && input3.lst.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2595
|
+
path: _path2 + ".lst[" + _index13 + "]",
|
|
2369
2596
|
expected: "(Filter | __type.o6)",
|
|
2370
2597
|
value: elem
|
|
2371
|
-
})) && $vu0(elem, _path2 + ".lst[" +
|
|
2372
|
-
path: _path2 + ".lst[" +
|
|
2598
|
+
})) && $vu0(elem, _path2 + ".lst[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2599
|
+
path: _path2 + ".lst[" + _index13 + "]",
|
|
2373
2600
|
expected: "(Filter | __type.o6)",
|
|
2374
2601
|
value: elem
|
|
2375
2602
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2385,7 +2612,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2385
2612
|
path: _path2 + ".tvs",
|
|
2386
2613
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2387
2614
|
value: input3.tvs
|
|
2388
|
-
})) && $
|
|
2615
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
2389
2616
|
path: _path2 + ".tvs",
|
|
2390
2617
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2391
2618
|
value: input3.tvs
|
|
@@ -2414,12 +2641,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2414
2641
|
path: _path2 + ".values",
|
|
2415
2642
|
expected: "Array<BaseValue>",
|
|
2416
2643
|
value: input3.values
|
|
2417
|
-
})) && input3.values.map((elem,
|
|
2418
|
-
path: _path2 + ".values[" +
|
|
2644
|
+
})) && input3.values.map((elem, _index14) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2645
|
+
path: _path2 + ".values[" + _index14 + "]",
|
|
2419
2646
|
expected: "BaseValue",
|
|
2420
2647
|
value: elem
|
|
2421
|
-
})) && $vo13(elem, _path2 + ".values[" +
|
|
2422
|
-
path: _path2 + ".values[" +
|
|
2648
|
+
})) && $vo13(elem, _path2 + ".values[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2649
|
+
path: _path2 + ".values[" + _index14 + "]",
|
|
2423
2650
|
expected: "BaseValue",
|
|
2424
2651
|
value: elem
|
|
2425
2652
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2443,8 +2670,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2443
2670
|
path: _path2 + ".child_types",
|
|
2444
2671
|
expected: "(Array<string> | undefined)",
|
|
2445
2672
|
value: input3.child_types
|
|
2446
|
-
})) && input3.child_types.map((elem,
|
|
2447
|
-
path: _path2 + ".child_types[" +
|
|
2673
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2674
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
2448
2675
|
expected: "string",
|
|
2449
2676
|
value: elem
|
|
2450
2677
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2459,8 +2686,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2459
2686
|
path: _path2 + ".included_types",
|
|
2460
2687
|
expected: "(Array<string> | undefined)",
|
|
2461
2688
|
value: input3.included_types
|
|
2462
|
-
})) && input3.included_types.map((elem,
|
|
2463
|
-
path: _path2 + ".included_types[" +
|
|
2689
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2690
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
2464
2691
|
expected: "string",
|
|
2465
2692
|
value: elem
|
|
2466
2693
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2500,12 +2727,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2500
2727
|
path: _path2 + ".lst",
|
|
2501
2728
|
expected: "(Array<Groupset> | undefined)",
|
|
2502
2729
|
value: input3.lst
|
|
2503
|
-
})) && input3.lst.map((elem,
|
|
2504
|
-
path: _path2 + ".lst[" +
|
|
2730
|
+
})) && input3.lst.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2731
|
+
path: _path2 + ".lst[" + _index17 + "]",
|
|
2505
2732
|
expected: "Groupset",
|
|
2506
2733
|
value: elem
|
|
2507
|
-
})) && $vo19(elem, _path2 + ".lst[" +
|
|
2508
|
-
path: _path2 + ".lst[" +
|
|
2734
|
+
})) && $vo19(elem, _path2 + ".lst[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2735
|
+
path: _path2 + ".lst[" + _index17 + "]",
|
|
2509
2736
|
expected: "Groupset",
|
|
2510
2737
|
value: elem
|
|
2511
2738
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2533,12 +2760,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2533
2760
|
path: _path2 + ".groups",
|
|
2534
2761
|
expected: "Array<GroupEntry>",
|
|
2535
2762
|
value: input3.groups
|
|
2536
|
-
})) && input3.groups.map((elem,
|
|
2537
|
-
path: _path2 + ".groups[" +
|
|
2763
|
+
})) && input3.groups.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2764
|
+
path: _path2 + ".groups[" + _index18 + "]",
|
|
2538
2765
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2539
2766
|
value: elem
|
|
2540
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
2541
|
-
path: _path2 + ".groups[" +
|
|
2767
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2768
|
+
path: _path2 + ".groups[" + _index18 + "]",
|
|
2542
2769
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2543
2770
|
value: elem
|
|
2544
2771
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2558,12 +2785,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2558
2785
|
path: _path2 + ".values",
|
|
2559
2786
|
expected: "Array<__type>.o4",
|
|
2560
2787
|
value: input3.values
|
|
2561
|
-
})) && input3.values.map((elem,
|
|
2562
|
-
path: _path2 + ".values[" +
|
|
2788
|
+
})) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2789
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
2563
2790
|
expected: "__type.o7",
|
|
2564
2791
|
value: elem
|
|
2565
|
-
})) && $vo21(elem, _path2 + ".values[" +
|
|
2566
|
-
path: _path2 + ".values[" +
|
|
2792
|
+
})) && $vo21(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2793
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
2567
2794
|
expected: "__type.o7",
|
|
2568
2795
|
value: elem
|
|
2569
2796
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2625,12 +2852,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2625
2852
|
path: _path2 + ".ranges",
|
|
2626
2853
|
expected: "Array<NumericBin>",
|
|
2627
2854
|
value: input3.ranges
|
|
2628
|
-
})) && input3.ranges.map((elem,
|
|
2629
|
-
path: _path2 + ".ranges[" +
|
|
2855
|
+
})) && input3.ranges.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2856
|
+
path: _path2 + ".ranges[" + _index20 + "]",
|
|
2630
2857
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2631
2858
|
value: elem
|
|
2632
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
2633
|
-
path: _path2 + ".ranges[" +
|
|
2859
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2860
|
+
path: _path2 + ".ranges[" + _index20 + "]",
|
|
2634
2861
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2635
2862
|
value: elem
|
|
2636
2863
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2641,12 +2868,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2641
2868
|
path: _path2 + ".values",
|
|
2642
2869
|
expected: "Array<__type>.o5",
|
|
2643
2870
|
value: input3.values
|
|
2644
|
-
})) && input3.values.map((elem,
|
|
2645
|
-
path: _path2 + ".values[" +
|
|
2871
|
+
})) && input3.values.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2872
|
+
path: _path2 + ".values[" + _index21 + "]",
|
|
2646
2873
|
expected: "__type.o9",
|
|
2647
2874
|
value: elem
|
|
2648
|
-
})) && $vo33(elem, _path2 + ".values[" +
|
|
2649
|
-
path: _path2 + ".values[" +
|
|
2875
|
+
})) && $vo33(elem, _path2 + ".values[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2876
|
+
path: _path2 + ".values[" + _index21 + "]",
|
|
2650
2877
|
expected: "__type.o9",
|
|
2651
2878
|
value: elem
|
|
2652
2879
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2670,8 +2897,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2670
2897
|
path: _path2 + ".child_types",
|
|
2671
2898
|
expected: "(Array<string> | undefined)",
|
|
2672
2899
|
value: input3.child_types
|
|
2673
|
-
})) && input3.child_types.map((elem,
|
|
2674
|
-
path: _path2 + ".child_types[" +
|
|
2900
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2901
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
2675
2902
|
expected: "string",
|
|
2676
2903
|
value: elem
|
|
2677
2904
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2686,8 +2913,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2686
2913
|
path: _path2 + ".included_types",
|
|
2687
2914
|
expected: "(Array<string> | undefined)",
|
|
2688
2915
|
value: input3.included_types
|
|
2689
|
-
})) && input3.included_types.map((elem,
|
|
2690
|
-
path: _path2 + ".included_types[" +
|
|
2916
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2917
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
2691
2918
|
expected: "string",
|
|
2692
2919
|
value: elem
|
|
2693
2920
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2735,7 +2962,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2735
2962
|
path: _path2 + '["default"]',
|
|
2736
2963
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2737
2964
|
value: input3["default"]
|
|
2738
|
-
})) && $
|
|
2965
|
+
})) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
2739
2966
|
path: _path2 + '["default"]',
|
|
2740
2967
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2741
2968
|
value: input3["default"]
|
|
@@ -2743,7 +2970,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2743
2970
|
path: _path2 + ".less",
|
|
2744
2971
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2745
2972
|
value: input3.less
|
|
2746
|
-
})) && $
|
|
2973
|
+
})) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
2747
2974
|
path: _path2 + ".less",
|
|
2748
2975
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2749
2976
|
value: input3.less
|
|
@@ -2804,7 +3031,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2804
3031
|
path: _path2 + ".first_bin",
|
|
2805
3032
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2806
3033
|
value: input3.first_bin
|
|
2807
|
-
})) && $
|
|
3034
|
+
})) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2808
3035
|
path: _path2 + ".first_bin",
|
|
2809
3036
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2810
3037
|
value: input3.first_bin
|
|
@@ -2812,7 +3039,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2812
3039
|
path: _path2 + ".last_bin",
|
|
2813
3040
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2814
3041
|
value: input3.last_bin
|
|
2815
|
-
})) && $
|
|
3042
|
+
})) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2816
3043
|
path: _path2 + ".last_bin",
|
|
2817
3044
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2818
3045
|
value: input3.last_bin
|
|
@@ -2958,12 +3185,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2958
3185
|
path: _path2 + ".lst",
|
|
2959
3186
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2960
3187
|
value: input3.lst.slice(1)
|
|
2961
|
-
})) && input3.lst.slice(1).map((elem,
|
|
2962
|
-
path: _path2 + ".lst[" + (1 +
|
|
3188
|
+
})) && input3.lst.slice(1).map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3189
|
+
path: _path2 + ".lst[" + (1 + _index24) + "]",
|
|
2963
3190
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2964
3191
|
value: elem
|
|
2965
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
2966
|
-
path: _path2 + ".lst[" + (1 +
|
|
3192
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index24) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3193
|
+
path: _path2 + ".lst[" + (1 + _index24) + "]",
|
|
2967
3194
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2968
3195
|
value: elem
|
|
2969
3196
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3037,12 +3264,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3037
3264
|
path: _path2 + ".grade_and_child",
|
|
3038
3265
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3039
3266
|
value: input3.grade_and_child
|
|
3040
|
-
})) && input3.grade_and_child.map((elem,
|
|
3041
|
-
path: _path2 + ".grade_and_child[" +
|
|
3267
|
+
})) && input3.grade_and_child.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3268
|
+
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
3042
3269
|
expected: "GradeAndChildEntry",
|
|
3043
3270
|
value: elem
|
|
3044
|
-
})) && $vo36(elem, _path2 + ".grade_and_child[" +
|
|
3045
|
-
path: _path2 + ".grade_and_child[" +
|
|
3271
|
+
})) && $vo36(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3272
|
+
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
3046
3273
|
expected: "GradeAndChildEntry",
|
|
3047
3274
|
value: elem
|
|
3048
3275
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3066,8 +3293,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3066
3293
|
path: _path2 + ".child_types",
|
|
3067
3294
|
expected: "(Array<string> | undefined)",
|
|
3068
3295
|
value: input3.child_types
|
|
3069
|
-
})) && input3.child_types.map((elem,
|
|
3070
|
-
path: _path2 + ".child_types[" +
|
|
3296
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3297
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
3071
3298
|
expected: "string",
|
|
3072
3299
|
value: elem
|
|
3073
3300
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3082,8 +3309,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3082
3309
|
path: _path2 + ".included_types",
|
|
3083
3310
|
expected: "(Array<string> | undefined)",
|
|
3084
3311
|
value: input3.included_types
|
|
3085
|
-
})) && input3.included_types.map((elem,
|
|
3086
|
-
path: _path2 + ".included_types[" +
|
|
3312
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3313
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
3087
3314
|
expected: "string",
|
|
3088
3315
|
value: elem
|
|
3089
3316
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3144,12 +3371,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3144
3371
|
path: _path2 + ".values",
|
|
3145
3372
|
expected: "Array<__type>.o6",
|
|
3146
3373
|
value: input3.values
|
|
3147
|
-
})) && input3.values.map((elem,
|
|
3148
|
-
path: _path2 + ".values[" +
|
|
3374
|
+
})) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3375
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
3149
3376
|
expected: "__type.o10",
|
|
3150
3377
|
value: elem
|
|
3151
|
-
})) && $
|
|
3152
|
-
path: _path2 + ".values[" +
|
|
3378
|
+
})) && $vo43(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3379
|
+
path: _path2 + ".values[" + _index28 + "]",
|
|
3153
3380
|
expected: "__type.o10",
|
|
3154
3381
|
value: elem
|
|
3155
3382
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3183,11 +3410,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3183
3410
|
value: input3.name_noOrigin
|
|
3184
3411
|
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
3185
3412
|
path: _path2 + ".parentTerm",
|
|
3186
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
3413
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
3187
3414
|
value: input3.parentTerm
|
|
3188
|
-
})) && $
|
|
3415
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
3189
3416
|
path: _path2 + ".parentTerm",
|
|
3190
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
3417
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
3191
3418
|
value: input3.parentTerm
|
|
3192
3419
|
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3193
3420
|
path: _path2 + ".isleaf",
|
|
@@ -3230,8 +3457,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3230
3457
|
path: _path2 + ".child_types",
|
|
3231
3458
|
expected: "(Array<string> | undefined)",
|
|
3232
3459
|
value: input3.child_types
|
|
3233
|
-
})) && input3.child_types.map((elem,
|
|
3234
|
-
path: _path2 + ".child_types[" +
|
|
3460
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3461
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
3235
3462
|
expected: "string",
|
|
3236
3463
|
value: elem
|
|
3237
3464
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3246,8 +3473,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3246
3473
|
path: _path2 + ".included_types",
|
|
3247
3474
|
expected: "(Array<string> | undefined)",
|
|
3248
3475
|
value: input3.included_types
|
|
3249
|
-
})) && input3.included_types.map((elem,
|
|
3250
|
-
path: _path2 + ".included_types[" +
|
|
3476
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3477
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
3251
3478
|
expected: "string",
|
|
3252
3479
|
value: elem
|
|
3253
3480
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3290,6 +3517,22 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3290
3517
|
path: _path2 + ".stop",
|
|
3291
3518
|
expected: "(number | undefined)",
|
|
3292
3519
|
value: input3.stop
|
|
3520
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3521
|
+
path: _path2 + ".genes",
|
|
3522
|
+
expected: "Array<GvGeneTerm>",
|
|
3523
|
+
value: input3.genes
|
|
3524
|
+
})) && input3.genes.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3525
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
3526
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3527
|
+
value: elem
|
|
3528
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3529
|
+
path: _path2 + ".genes[" + _index31 + "]",
|
|
3530
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3531
|
+
value: elem
|
|
3532
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3533
|
+
path: _path2 + ".genes",
|
|
3534
|
+
expected: "Array<GvGeneTerm>",
|
|
3535
|
+
value: input3.genes
|
|
3293
3536
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3294
3537
|
path: _path2 + ".groupsetting",
|
|
3295
3538
|
expected: "(TermGroupSetting | undefined)",
|
|
@@ -3302,12 +3545,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3302
3545
|
path: _path2 + ".childTerms",
|
|
3303
3546
|
expected: "(Array<DtTerm> | undefined)",
|
|
3304
3547
|
value: input3.childTerms
|
|
3305
|
-
})) && input3.childTerms.map((elem,
|
|
3306
|
-
path: _path2 + ".childTerms[" +
|
|
3548
|
+
})) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3549
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
3307
3550
|
expected: "DtTerm",
|
|
3308
3551
|
value: elem
|
|
3309
|
-
})) && $vo38(elem, _path2 + ".childTerms[" +
|
|
3310
|
-
path: _path2 + ".childTerms[" +
|
|
3552
|
+
})) && $vo38(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3553
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
3311
3554
|
expected: "DtTerm",
|
|
3312
3555
|
value: elem
|
|
3313
3556
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3323,6 +3566,156 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3323
3566
|
path: _path2 + ".name",
|
|
3324
3567
|
expected: "string",
|
|
3325
3568
|
value: input3.name
|
|
3569
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
3570
|
+
path: _path2 + ".type",
|
|
3571
|
+
expected: "string",
|
|
3572
|
+
value: input3.type
|
|
3573
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3574
|
+
path: _path2 + ".child_types",
|
|
3575
|
+
expected: "(Array<string> | undefined)",
|
|
3576
|
+
value: input3.child_types
|
|
3577
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3578
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
3579
|
+
expected: "string",
|
|
3580
|
+
value: elem
|
|
3581
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3582
|
+
path: _path2 + ".child_types",
|
|
3583
|
+
expected: "(Array<string> | undefined)",
|
|
3584
|
+
value: input3.child_types
|
|
3585
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3586
|
+
path: _path2 + ".hashtmldetail",
|
|
3587
|
+
expected: "(boolean | undefined)",
|
|
3588
|
+
value: input3.hashtmldetail
|
|
3589
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3590
|
+
path: _path2 + ".included_types",
|
|
3591
|
+
expected: "(Array<string> | undefined)",
|
|
3592
|
+
value: input3.included_types
|
|
3593
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3594
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
3595
|
+
expected: "string",
|
|
3596
|
+
value: elem
|
|
3597
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3598
|
+
path: _path2 + ".included_types",
|
|
3599
|
+
expected: "(Array<string> | undefined)",
|
|
3600
|
+
value: input3.included_types
|
|
3601
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3602
|
+
path: _path2 + ".isleaf",
|
|
3603
|
+
expected: "(boolean | undefined)",
|
|
3604
|
+
value: input3.isleaf
|
|
3605
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3606
|
+
path: _path2 + ".values",
|
|
3607
|
+
expected: "(TermValues | undefined)",
|
|
3608
|
+
value: input3.values
|
|
3609
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3610
|
+
path: _path2 + ".values",
|
|
3611
|
+
expected: "(TermValues | undefined)",
|
|
3612
|
+
value: input3.values
|
|
3613
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3614
|
+
path: _path2 + ".skipValuesBuild",
|
|
3615
|
+
expected: "(boolean | undefined)",
|
|
3616
|
+
value: input3.skipValuesBuild
|
|
3617
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
3618
|
+
path: _path2 + ".kind",
|
|
3619
|
+
expected: '"gene"',
|
|
3620
|
+
value: input3.kind
|
|
3621
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3622
|
+
path: _path2 + ".gene",
|
|
3623
|
+
expected: "string",
|
|
3624
|
+
value: input3.gene
|
|
3625
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3626
|
+
path: _path2 + ".chr",
|
|
3627
|
+
expected: "(string | undefined)",
|
|
3628
|
+
value: input3.chr
|
|
3629
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3630
|
+
path: _path2 + ".start",
|
|
3631
|
+
expected: "(number | undefined)",
|
|
3632
|
+
value: input3.start
|
|
3633
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3634
|
+
path: _path2 + ".stop",
|
|
3635
|
+
expected: "(number | undefined)",
|
|
3636
|
+
value: input3.stop
|
|
3637
|
+
})].every((flag) => flag);
|
|
3638
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3639
|
+
path: _path2 + ".id",
|
|
3640
|
+
expected: "string",
|
|
3641
|
+
value: input3.id
|
|
3642
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3643
|
+
path: _path2 + ".name",
|
|
3644
|
+
expected: "string",
|
|
3645
|
+
value: input3.name
|
|
3646
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
3647
|
+
path: _path2 + ".type",
|
|
3648
|
+
expected: "string",
|
|
3649
|
+
value: input3.type
|
|
3650
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3651
|
+
path: _path2 + ".child_types",
|
|
3652
|
+
expected: "(Array<string> | undefined)",
|
|
3653
|
+
value: input3.child_types
|
|
3654
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3655
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
3656
|
+
expected: "string",
|
|
3657
|
+
value: elem
|
|
3658
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3659
|
+
path: _path2 + ".child_types",
|
|
3660
|
+
expected: "(Array<string> | undefined)",
|
|
3661
|
+
value: input3.child_types
|
|
3662
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3663
|
+
path: _path2 + ".hashtmldetail",
|
|
3664
|
+
expected: "(boolean | undefined)",
|
|
3665
|
+
value: input3.hashtmldetail
|
|
3666
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3667
|
+
path: _path2 + ".included_types",
|
|
3668
|
+
expected: "(Array<string> | undefined)",
|
|
3669
|
+
value: input3.included_types
|
|
3670
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3671
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
3672
|
+
expected: "string",
|
|
3673
|
+
value: elem
|
|
3674
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3675
|
+
path: _path2 + ".included_types",
|
|
3676
|
+
expected: "(Array<string> | undefined)",
|
|
3677
|
+
value: input3.included_types
|
|
3678
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3679
|
+
path: _path2 + ".isleaf",
|
|
3680
|
+
expected: "(boolean | undefined)",
|
|
3681
|
+
value: input3.isleaf
|
|
3682
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3683
|
+
path: _path2 + ".values",
|
|
3684
|
+
expected: "(TermValues | undefined)",
|
|
3685
|
+
value: input3.values
|
|
3686
|
+
})) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3687
|
+
path: _path2 + ".values",
|
|
3688
|
+
expected: "(TermValues | undefined)",
|
|
3689
|
+
value: input3.values
|
|
3690
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3691
|
+
path: _path2 + ".skipValuesBuild",
|
|
3692
|
+
expected: "(boolean | undefined)",
|
|
3693
|
+
value: input3.skipValuesBuild
|
|
3694
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3695
|
+
path: _path2 + ".kind",
|
|
3696
|
+
expected: '"coord"',
|
|
3697
|
+
value: input3.kind
|
|
3698
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3699
|
+
path: _path2 + ".chr",
|
|
3700
|
+
expected: "string",
|
|
3701
|
+
value: input3.chr
|
|
3702
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3703
|
+
path: _path2 + ".start",
|
|
3704
|
+
expected: "number",
|
|
3705
|
+
value: input3.start
|
|
3706
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3707
|
+
path: _path2 + ".stop",
|
|
3708
|
+
expected: "number",
|
|
3709
|
+
value: input3.stop
|
|
3710
|
+
})].every((flag) => flag);
|
|
3711
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3712
|
+
path: _path2 + ".id",
|
|
3713
|
+
expected: "string",
|
|
3714
|
+
value: input3.id
|
|
3715
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3716
|
+
path: _path2 + ".name",
|
|
3717
|
+
expected: "string",
|
|
3718
|
+
value: input3.name
|
|
3326
3719
|
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3327
3720
|
path: _path2 + ".type",
|
|
3328
3721
|
expected: '"geneVariant"',
|
|
@@ -3331,8 +3724,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3331
3724
|
path: _path2 + ".child_types",
|
|
3332
3725
|
expected: "(Array<string> | undefined)",
|
|
3333
3726
|
value: input3.child_types
|
|
3334
|
-
})) && input3.child_types.map((elem,
|
|
3335
|
-
path: _path2 + ".child_types[" +
|
|
3727
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3728
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
3336
3729
|
expected: "string",
|
|
3337
3730
|
value: elem
|
|
3338
3731
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3347,8 +3740,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3347
3740
|
path: _path2 + ".included_types",
|
|
3348
3741
|
expected: "(Array<string> | undefined)",
|
|
3349
3742
|
value: input3.included_types
|
|
3350
|
-
})) && input3.included_types.map((elem,
|
|
3351
|
-
path: _path2 + ".included_types[" +
|
|
3743
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3744
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
3352
3745
|
expected: "string",
|
|
3353
3746
|
value: elem
|
|
3354
3747
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3387,6 +3780,22 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3387
3780
|
path: _path2 + ".stop",
|
|
3388
3781
|
expected: "number",
|
|
3389
3782
|
value: input3.stop
|
|
3783
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3784
|
+
path: _path2 + ".genes",
|
|
3785
|
+
expected: "Array<GvGeneTerm>",
|
|
3786
|
+
value: input3.genes
|
|
3787
|
+
})) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3788
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
3789
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3790
|
+
value: elem
|
|
3791
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3792
|
+
path: _path2 + ".genes[" + _index39 + "]",
|
|
3793
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3794
|
+
value: elem
|
|
3795
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3796
|
+
path: _path2 + ".genes",
|
|
3797
|
+
expected: "Array<GvGeneTerm>",
|
|
3798
|
+
value: input3.genes
|
|
3390
3799
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3391
3800
|
path: _path2 + ".groupsetting",
|
|
3392
3801
|
expected: "(TermGroupSetting | undefined)",
|
|
@@ -3399,12 +3808,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3399
3808
|
path: _path2 + ".childTerms",
|
|
3400
3809
|
expected: "(Array<DtTerm> | undefined)",
|
|
3401
3810
|
value: input3.childTerms
|
|
3402
|
-
})) && input3.childTerms.map((elem,
|
|
3403
|
-
path: _path2 + ".childTerms[" +
|
|
3811
|
+
})) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3812
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
3404
3813
|
expected: "DtTerm",
|
|
3405
3814
|
value: elem
|
|
3406
|
-
})) && $vo38(elem, _path2 + ".childTerms[" +
|
|
3407
|
-
path: _path2 + ".childTerms[" +
|
|
3815
|
+
})) && $vo38(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3816
|
+
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
3408
3817
|
expected: "DtTerm",
|
|
3409
3818
|
value: elem
|
|
3410
3819
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3412,7 +3821,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3412
3821
|
expected: "(Array<DtTerm> | undefined)",
|
|
3413
3822
|
value: input3.childTerms
|
|
3414
3823
|
})].every((flag) => flag);
|
|
3415
|
-
const $
|
|
3824
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3416
3825
|
path: _path2 + ".key",
|
|
3417
3826
|
expected: "string",
|
|
3418
3827
|
value: input3.key
|
|
@@ -3425,7 +3834,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3425
3834
|
expected: "string",
|
|
3426
3835
|
value: input3.value
|
|
3427
3836
|
})].every((flag) => flag);
|
|
3428
|
-
const $
|
|
3837
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3429
3838
|
path: _path2 + ".id",
|
|
3430
3839
|
expected: "string",
|
|
3431
3840
|
value: input3.id
|
|
@@ -3441,8 +3850,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3441
3850
|
path: _path2 + ".child_types",
|
|
3442
3851
|
expected: "(Array<string> | undefined)",
|
|
3443
3852
|
value: input3.child_types
|
|
3444
|
-
})) && input3.child_types.map((elem,
|
|
3445
|
-
path: _path2 + ".child_types[" +
|
|
3853
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3854
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
3446
3855
|
expected: "string",
|
|
3447
3856
|
value: elem
|
|
3448
3857
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3457,8 +3866,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3457
3866
|
path: _path2 + ".included_types",
|
|
3458
3867
|
expected: "(Array<string> | undefined)",
|
|
3459
3868
|
value: input3.included_types
|
|
3460
|
-
})) && input3.included_types.map((elem,
|
|
3461
|
-
path: _path2 + ".included_types[" +
|
|
3869
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3870
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
3462
3871
|
expected: "string",
|
|
3463
3872
|
value: elem
|
|
3464
3873
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3497,6 +3906,22 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3497
3906
|
path: _path2 + ".stop",
|
|
3498
3907
|
expected: "number",
|
|
3499
3908
|
value: input3.stop
|
|
3909
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3910
|
+
path: _path2 + ".genes",
|
|
3911
|
+
expected: "Array<GvGeneTerm>",
|
|
3912
|
+
value: input3.genes
|
|
3913
|
+
})) && input3.genes.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3914
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
3915
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3916
|
+
value: elem
|
|
3917
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3918
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
3919
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3920
|
+
value: elem
|
|
3921
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3922
|
+
path: _path2 + ".genes",
|
|
3923
|
+
expected: "Array<GvGeneTerm>",
|
|
3924
|
+
value: input3.genes
|
|
3500
3925
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3501
3926
|
path: _path2 + ".groupsetting",
|
|
3502
3927
|
expected: "TermGroupSetting",
|
|
@@ -3509,12 +3934,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3509
3934
|
path: _path2 + ".childTerms",
|
|
3510
3935
|
expected: "Array<DtTerm>",
|
|
3511
3936
|
value: input3.childTerms
|
|
3512
|
-
})) && input3.childTerms.map((elem,
|
|
3513
|
-
path: _path2 + ".childTerms[" +
|
|
3937
|
+
})) && input3.childTerms.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3938
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
3514
3939
|
expected: "DtTerm",
|
|
3515
3940
|
value: elem
|
|
3516
|
-
})) && $vo38(elem, _path2 + ".childTerms[" +
|
|
3517
|
-
path: _path2 + ".childTerms[" +
|
|
3941
|
+
})) && $vo38(elem, _path2 + ".childTerms[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3942
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
3518
3943
|
expected: "DtTerm",
|
|
3519
3944
|
value: elem
|
|
3520
3945
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3522,7 +3947,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3522
3947
|
expected: "Array<DtTerm>",
|
|
3523
3948
|
value: input3.childTerms
|
|
3524
3949
|
})].every((flag) => flag);
|
|
3525
|
-
const $
|
|
3950
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3526
3951
|
path: _path2 + ".id",
|
|
3527
3952
|
expected: "string",
|
|
3528
3953
|
value: input3.id
|
|
@@ -3538,8 +3963,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3538
3963
|
path: _path2 + ".child_types",
|
|
3539
3964
|
expected: "(Array<string> | undefined)",
|
|
3540
3965
|
value: input3.child_types
|
|
3541
|
-
})) && input3.child_types.map((elem,
|
|
3542
|
-
path: _path2 + ".child_types[" +
|
|
3966
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3967
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
3543
3968
|
expected: "string",
|
|
3544
3969
|
value: elem
|
|
3545
3970
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3554,8 +3979,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3554
3979
|
path: _path2 + ".included_types",
|
|
3555
3980
|
expected: "(Array<string> | undefined)",
|
|
3556
3981
|
value: input3.included_types
|
|
3557
|
-
})) && input3.included_types.map((elem,
|
|
3558
|
-
path: _path2 + ".included_types[" +
|
|
3982
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3983
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
3559
3984
|
expected: "string",
|
|
3560
3985
|
value: elem
|
|
3561
3986
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3587,7 +4012,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3587
4012
|
expected: "TermGroupSetting",
|
|
3588
4013
|
value: input3.groupsetting
|
|
3589
4014
|
})].every((flag) => flag);
|
|
3590
|
-
const $
|
|
4015
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3591
4016
|
path: _path2 + ".id",
|
|
3592
4017
|
expected: "string",
|
|
3593
4018
|
value: input3.id
|
|
@@ -3603,8 +4028,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3603
4028
|
path: _path2 + ".child_types",
|
|
3604
4029
|
expected: "(Array<string> | undefined)",
|
|
3605
4030
|
value: input3.child_types
|
|
3606
|
-
})) && input3.child_types.map((elem,
|
|
3607
|
-
path: _path2 + ".child_types[" +
|
|
4031
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4032
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
3608
4033
|
expected: "string",
|
|
3609
4034
|
value: elem
|
|
3610
4035
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3619,8 +4044,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3619
4044
|
path: _path2 + ".included_types",
|
|
3620
4045
|
expected: "(Array<string> | undefined)",
|
|
3621
4046
|
value: input3.included_types
|
|
3622
|
-
})) && input3.included_types.map((elem,
|
|
3623
|
-
path: _path2 + ".included_types[" +
|
|
4047
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4048
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
3624
4049
|
expected: "string",
|
|
3625
4050
|
value: elem
|
|
3626
4051
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3664,7 +4089,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3664
4089
|
expected: "(__type.o8 | undefined)",
|
|
3665
4090
|
value: input3.continuousColorScale
|
|
3666
4091
|
})].every((flag) => flag);
|
|
3667
|
-
const $
|
|
4092
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3668
4093
|
path: _path2 + ".id",
|
|
3669
4094
|
expected: "string",
|
|
3670
4095
|
value: input3.id
|
|
@@ -3680,8 +4105,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3680
4105
|
path: _path2 + ".child_types",
|
|
3681
4106
|
expected: "(Array<string> | undefined)",
|
|
3682
4107
|
value: input3.child_types
|
|
3683
|
-
})) && input3.child_types.map((elem,
|
|
3684
|
-
path: _path2 + ".child_types[" +
|
|
4108
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4109
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
3685
4110
|
expected: "string",
|
|
3686
4111
|
value: elem
|
|
3687
4112
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3696,8 +4121,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3696
4121
|
path: _path2 + ".included_types",
|
|
3697
4122
|
expected: "(Array<string> | undefined)",
|
|
3698
4123
|
value: input3.included_types
|
|
3699
|
-
})) && input3.included_types.map((elem,
|
|
3700
|
-
path: _path2 + ".included_types[" +
|
|
4124
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4125
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
3701
4126
|
expected: "string",
|
|
3702
4127
|
value: elem
|
|
3703
4128
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3721,7 +4146,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3721
4146
|
expected: "(boolean | undefined)",
|
|
3722
4147
|
value: input3.skipValuesBuild
|
|
3723
4148
|
})].every((flag) => flag);
|
|
3724
|
-
const $
|
|
4149
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3725
4150
|
path: _path2 + ".id",
|
|
3726
4151
|
expected: "string",
|
|
3727
4152
|
value: input3.id
|
|
@@ -3737,8 +4162,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3737
4162
|
path: _path2 + ".child_types",
|
|
3738
4163
|
expected: "(Array<string> | undefined)",
|
|
3739
4164
|
value: input3.child_types
|
|
3740
|
-
})) && input3.child_types.map((elem,
|
|
3741
|
-
path: _path2 + ".child_types[" +
|
|
4165
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4166
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
3742
4167
|
expected: "string",
|
|
3743
4168
|
value: elem
|
|
3744
4169
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3753,8 +4178,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3753
4178
|
path: _path2 + ".included_types",
|
|
3754
4179
|
expected: "(Array<string> | undefined)",
|
|
3755
4180
|
value: input3.included_types
|
|
3756
|
-
})) && input3.included_types.map((elem,
|
|
3757
|
-
path: _path2 + ".included_types[" +
|
|
4181
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4182
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
3758
4183
|
expected: "string",
|
|
3759
4184
|
value: elem
|
|
3760
4185
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3785,12 +4210,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3785
4210
|
path: _path2 + ".snps",
|
|
3786
4211
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3787
4212
|
value: input3.snps
|
|
3788
|
-
})) && input3.snps.map((elem,
|
|
3789
|
-
path: _path2 + ".snps[" +
|
|
4213
|
+
})) && input3.snps.map((elem, _index53) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4214
|
+
path: _path2 + ".snps[" + _index53 + "]",
|
|
3790
4215
|
expected: "SnpsEntry",
|
|
3791
4216
|
value: elem
|
|
3792
|
-
})) && $
|
|
3793
|
-
path: _path2 + ".snps[" +
|
|
4217
|
+
})) && $vo49(elem, _path2 + ".snps[" + _index53 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4218
|
+
path: _path2 + ".snps[" + _index53 + "]",
|
|
3794
4219
|
expected: "SnpsEntry",
|
|
3795
4220
|
value: elem
|
|
3796
4221
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3798,12 +4223,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3798
4223
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3799
4224
|
value: input3.snps
|
|
3800
4225
|
})].every((flag) => flag);
|
|
3801
|
-
const $
|
|
4226
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3802
4227
|
path: _path2 + ".altAlleles",
|
|
3803
4228
|
expected: "(Array<string> | undefined)",
|
|
3804
4229
|
value: input3.altAlleles
|
|
3805
|
-
})) && input3.altAlleles.map((elem,
|
|
3806
|
-
path: _path2 + ".altAlleles[" +
|
|
4230
|
+
})) && input3.altAlleles.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4231
|
+
path: _path2 + ".altAlleles[" + _index54 + "]",
|
|
3807
4232
|
expected: "string",
|
|
3808
4233
|
value: elem
|
|
3809
4234
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3814,12 +4239,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3814
4239
|
path: _path2 + ".alleles",
|
|
3815
4240
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3816
4241
|
value: input3.alleles
|
|
3817
|
-
})) && input3.alleles.map((elem,
|
|
3818
|
-
path: _path2 + ".alleles[" +
|
|
4242
|
+
})) && input3.alleles.map((elem, _index55) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4243
|
+
path: _path2 + ".alleles[" + _index55 + "]",
|
|
3819
4244
|
expected: "AllelesEntry",
|
|
3820
4245
|
value: elem
|
|
3821
|
-
})) && $
|
|
3822
|
-
path: _path2 + ".alleles[" +
|
|
4246
|
+
})) && $vo50(elem, _path2 + ".alleles[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4247
|
+
path: _path2 + ".alleles[" + _index55 + "]",
|
|
3823
4248
|
expected: "AllelesEntry",
|
|
3824
4249
|
value: elem
|
|
3825
4250
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3834,7 +4259,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3834
4259
|
path: _path2 + ".gt2count",
|
|
3835
4260
|
expected: "(__type.o11 | undefined)",
|
|
3836
4261
|
value: input3.gt2count
|
|
3837
|
-
})) && $
|
|
4262
|
+
})) && $vo51(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3838
4263
|
path: _path2 + ".gt2count",
|
|
3839
4264
|
expected: "(__type.o11 | undefined)",
|
|
3840
4265
|
value: input3.gt2count
|
|
@@ -3863,7 +4288,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3863
4288
|
expected: "(number | undefined)",
|
|
3864
4289
|
value: input3.pos
|
|
3865
4290
|
})].every((flag) => flag);
|
|
3866
|
-
const $
|
|
4291
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3867
4292
|
path: _path2 + ".allele",
|
|
3868
4293
|
expected: "string",
|
|
3869
4294
|
value: input3.allele
|
|
@@ -3876,7 +4301,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3876
4301
|
expected: "boolean",
|
|
3877
4302
|
value: input3.isRef
|
|
3878
4303
|
})].every((flag) => flag);
|
|
3879
|
-
const $
|
|
4304
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3880
4305
|
path: _path2 + ".k",
|
|
3881
4306
|
expected: "string",
|
|
3882
4307
|
value: input3.k
|
|
@@ -3885,7 +4310,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3885
4310
|
expected: "(number | string)",
|
|
3886
4311
|
value: input3.v
|
|
3887
4312
|
})].every((flag) => flag);
|
|
3888
|
-
const $
|
|
4313
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3889
4314
|
path: _path2 + ".id",
|
|
3890
4315
|
expected: "string",
|
|
3891
4316
|
value: input3.id
|
|
@@ -3901,8 +4326,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3901
4326
|
path: _path2 + ".child_types",
|
|
3902
4327
|
expected: "(Array<string> | undefined)",
|
|
3903
4328
|
value: input3.child_types
|
|
3904
|
-
})) && input3.child_types.map((elem,
|
|
3905
|
-
path: _path2 + ".child_types[" +
|
|
4329
|
+
})) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4330
|
+
path: _path2 + ".child_types[" + _index56 + "]",
|
|
3906
4331
|
expected: "string",
|
|
3907
4332
|
value: elem
|
|
3908
4333
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3917,8 +4342,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3917
4342
|
path: _path2 + ".included_types",
|
|
3918
4343
|
expected: "(Array<string> | undefined)",
|
|
3919
4344
|
value: input3.included_types
|
|
3920
|
-
})) && input3.included_types.map((elem,
|
|
3921
|
-
path: _path2 + ".included_types[" +
|
|
4345
|
+
})) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4346
|
+
path: _path2 + ".included_types[" + _index57 + "]",
|
|
3922
4347
|
expected: "string",
|
|
3923
4348
|
value: elem
|
|
3924
4349
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3933,7 +4358,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3933
4358
|
path: _path2 + ".values",
|
|
3934
4359
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3935
4360
|
value: input3.values
|
|
3936
|
-
})) && $
|
|
4361
|
+
})) && $vo53(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3937
4362
|
path: _path2 + ".values",
|
|
3938
4363
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3939
4364
|
value: input3.values
|
|
@@ -3942,7 +4367,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3942
4367
|
expected: "(boolean | undefined)",
|
|
3943
4368
|
value: input3.skipValuesBuild
|
|
3944
4369
|
})].every((flag) => flag);
|
|
3945
|
-
const $
|
|
4370
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3946
4371
|
const value = input3[key];
|
|
3947
4372
|
if (void 0 === value)
|
|
3948
4373
|
return true;
|
|
@@ -3951,7 +4376,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3951
4376
|
path: _path2 + $join(key),
|
|
3952
4377
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3953
4378
|
value
|
|
3954
|
-
})) && $
|
|
4379
|
+
})) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3955
4380
|
path: _path2 + $join(key),
|
|
3956
4381
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3957
4382
|
value
|
|
@@ -3961,14 +4386,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3961
4386
|
path: _path2 + $join(key),
|
|
3962
4387
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3963
4388
|
value
|
|
3964
|
-
})) && $
|
|
4389
|
+
})) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3965
4390
|
path: _path2 + $join(key),
|
|
3966
4391
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3967
4392
|
value
|
|
3968
4393
|
});
|
|
3969
4394
|
return true;
|
|
3970
4395
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3971
|
-
const $
|
|
4396
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3972
4397
|
path: _path2 + ".key",
|
|
3973
4398
|
expected: "(string | undefined)",
|
|
3974
4399
|
value: input3.key
|
|
@@ -4012,12 +4437,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4012
4437
|
path: _path2 + ".list",
|
|
4013
4438
|
expected: "Array<__type>.o7",
|
|
4014
4439
|
value: input3.list
|
|
4015
|
-
})) && input3.list.map((elem,
|
|
4016
|
-
path: _path2 + ".list[" +
|
|
4440
|
+
})) && input3.list.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4441
|
+
path: _path2 + ".list[" + _index58 + "]",
|
|
4017
4442
|
expected: "__type.o12",
|
|
4018
4443
|
value: elem
|
|
4019
|
-
})) && $
|
|
4020
|
-
path: _path2 + ".list[" +
|
|
4444
|
+
})) && $vo55(elem, _path2 + ".list[" + _index58 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4445
|
+
path: _path2 + ".list[" + _index58 + "]",
|
|
4021
4446
|
expected: "__type.o12",
|
|
4022
4447
|
value: elem
|
|
4023
4448
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4025,7 +4450,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4025
4450
|
expected: "Array<__type>.o7",
|
|
4026
4451
|
value: input3.list
|
|
4027
4452
|
}), true].every((flag) => flag);
|
|
4028
|
-
const $
|
|
4453
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
4029
4454
|
path: _path2 + ".sampleId",
|
|
4030
4455
|
expected: "string",
|
|
4031
4456
|
value: input3.sampleId
|
|
@@ -4064,24 +4489,35 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4064
4489
|
return $vo29(input3, _path2, _exceptionable2);
|
|
4065
4490
|
})();
|
|
4066
4491
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4492
|
+
if ("gene" === input3.kind)
|
|
4493
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
4494
|
+
if ("coord" === input3.kind)
|
|
4495
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
4496
|
+
return $report(_exceptionable2, {
|
|
4497
|
+
path: _path2,
|
|
4498
|
+
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
4499
|
+
value: input3
|
|
4500
|
+
});
|
|
4501
|
+
})();
|
|
4502
|
+
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4067
4503
|
if ("gene" === input3.kind)
|
|
4068
4504
|
return $vo11(input3, _path2, _exceptionable2);
|
|
4069
4505
|
if ("coord" === input3.kind)
|
|
4070
|
-
return $
|
|
4506
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
4071
4507
|
if ("categorical" === input3.type)
|
|
4072
|
-
return $
|
|
4508
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
4073
4509
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
4074
|
-
return $
|
|
4510
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
4075
4511
|
if ("condition" === input3.type)
|
|
4076
|
-
return $
|
|
4077
|
-
return $
|
|
4512
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
4513
|
+
return $vo48(input3, _path2, false) || $vo52(input3, _path2, false);
|
|
4078
4514
|
})();
|
|
4079
|
-
const $
|
|
4515
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4080
4516
|
if (void 0 !== input3.ranges)
|
|
4081
4517
|
return $vo23(input3, _path2, _exceptionable2);
|
|
4082
4518
|
return $vo16(input3, _path2, false) || $vo34(input3, _path2, false) || $vo37(input3, _path2, false);
|
|
4083
4519
|
})();
|
|
4084
|
-
const $
|
|
4520
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4085
4521
|
if ("regular-bin" === input3.type)
|
|
4086
4522
|
return $vo26(input3, _path2, _exceptionable2);
|
|
4087
4523
|
if ("custom-bin" === input3.type)
|
|
@@ -4092,7 +4528,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4092
4528
|
value: input3
|
|
4093
4529
|
});
|
|
4094
4530
|
})();
|
|
4095
|
-
const $
|
|
4531
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4096
4532
|
if (true === input3.startunbounded)
|
|
4097
4533
|
return $vo28(input3, _path2, _exceptionable2);
|
|
4098
4534
|
if (void 0 !== input3.start)
|
|
@@ -4103,7 +4539,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4103
4539
|
value: input3
|
|
4104
4540
|
});
|
|
4105
4541
|
})();
|
|
4106
|
-
const $
|
|
4542
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4107
4543
|
if (void 0 !== input3.stop)
|
|
4108
4544
|
return $vo29(input3, _path2, _exceptionable2);
|
|
4109
4545
|
if (true === input3.stopunbounded)
|
|
@@ -4114,18 +4550,18 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4114
4550
|
value: input3
|
|
4115
4551
|
});
|
|
4116
4552
|
})();
|
|
4117
|
-
const $
|
|
4553
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4118
4554
|
if ("gene" === input3.kind)
|
|
4119
4555
|
return $vo39(input3, _path2, _exceptionable2);
|
|
4120
4556
|
if ("coord" === input3.kind)
|
|
4121
|
-
return $
|
|
4557
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
4122
4558
|
return $report(_exceptionable2, {
|
|
4123
4559
|
path: _path2,
|
|
4124
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
4560
|
+
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
4125
4561
|
value: input3
|
|
4126
4562
|
});
|
|
4127
4563
|
})();
|
|
4128
|
-
const $
|
|
4564
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4129
4565
|
if (void 0 !== input3.status)
|
|
4130
4566
|
return $vo0(input3, _path2, _exceptionable2);
|
|
4131
4567
|
if (void 0 !== input3.clustering)
|
|
@@ -4142,7 +4578,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4142
4578
|
path: _path + "",
|
|
4143
4579
|
expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
|
|
4144
4580
|
value: input2
|
|
4145
|
-
})) && $
|
|
4581
|
+
})) && $vu10(input2, _path + "", true) || $report(true, {
|
|
4146
4582
|
path: _path + "",
|
|
4147
4583
|
expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
|
|
4148
4584
|
value: input2
|