@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
|
@@ -24,7 +24,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
25
25
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && "string" === typeof input3.tid && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
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 validNumericCategoriesRequest = (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,11 +64,13 @@ var validNumericCategoriesRequest = (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.
|
|
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;
|
|
72
74
|
const $iu0 = (input3) => (() => {
|
|
73
75
|
if ("tvslst" === input3.type)
|
|
74
76
|
return $io1(input3);
|
|
@@ -91,6 +93,13 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
91
93
|
return $io18(input3);
|
|
92
94
|
})();
|
|
93
95
|
const $iu3 = (input3) => (() => {
|
|
96
|
+
if ("gene" === input3.kind)
|
|
97
|
+
return $io29(input3);
|
|
98
|
+
if ("coord" === input3.kind)
|
|
99
|
+
return $io30(input3);
|
|
100
|
+
return false;
|
|
101
|
+
})();
|
|
102
|
+
const $iu4 = (input3) => (() => {
|
|
94
103
|
if (void 0 !== input3.ranges)
|
|
95
104
|
return $io12(input3);
|
|
96
105
|
return (() => {
|
|
@@ -103,32 +112,32 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
103
112
|
return false;
|
|
104
113
|
})();
|
|
105
114
|
})();
|
|
106
|
-
const $
|
|
115
|
+
const $iu5 = (input3) => (() => {
|
|
107
116
|
if ("regular-bin" === input3.type)
|
|
108
117
|
return $io15(input3);
|
|
109
118
|
if ("custom-bin" === input3.type)
|
|
110
119
|
return $io20(input3);
|
|
111
120
|
return false;
|
|
112
121
|
})();
|
|
113
|
-
const $
|
|
122
|
+
const $iu6 = (input3) => (() => {
|
|
114
123
|
if (true === input3.startunbounded)
|
|
115
124
|
return $io17(input3);
|
|
116
125
|
if (void 0 !== input3.start)
|
|
117
126
|
return $io18(input3);
|
|
118
127
|
return false;
|
|
119
128
|
})();
|
|
120
|
-
const $
|
|
129
|
+
const $iu7 = (input3) => (() => {
|
|
121
130
|
if (void 0 !== input3.stop)
|
|
122
131
|
return $io18(input3);
|
|
123
132
|
if (true === input3.stopunbounded)
|
|
124
133
|
return $io19(input3);
|
|
125
134
|
return false;
|
|
126
135
|
})();
|
|
127
|
-
const $
|
|
136
|
+
const $iu8 = (input3) => (() => {
|
|
128
137
|
if ("gene" === input3.kind)
|
|
129
138
|
return $io28(input3);
|
|
130
139
|
if ("coord" === input3.kind)
|
|
131
|
-
return $
|
|
140
|
+
return $io31(input3);
|
|
132
141
|
return false;
|
|
133
142
|
})();
|
|
134
143
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -203,7 +212,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
203
212
|
path: _path2 + ".tvs",
|
|
204
213
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
205
214
|
value: input3.tvs
|
|
206
|
-
})) && $
|
|
215
|
+
})) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
207
216
|
path: _path2 + ".tvs",
|
|
208
217
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
209
218
|
value: input3.tvs
|
|
@@ -612,7 +621,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
612
621
|
path: _path2 + '["default"]',
|
|
613
622
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
614
623
|
value: input3["default"]
|
|
615
|
-
})) && $
|
|
624
|
+
})) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
616
625
|
path: _path2 + '["default"]',
|
|
617
626
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
618
627
|
value: input3["default"]
|
|
@@ -620,7 +629,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
620
629
|
path: _path2 + ".less",
|
|
621
630
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
622
631
|
value: input3.less
|
|
623
|
-
})) && $
|
|
632
|
+
})) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
624
633
|
path: _path2 + ".less",
|
|
625
634
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
626
635
|
value: input3.less
|
|
@@ -681,7 +690,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
681
690
|
path: _path2 + ".first_bin",
|
|
682
691
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
683
692
|
value: input3.first_bin
|
|
684
|
-
})) && $
|
|
693
|
+
})) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
685
694
|
path: _path2 + ".first_bin",
|
|
686
695
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
687
696
|
value: input3.first_bin
|
|
@@ -689,7 +698,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
689
698
|
path: _path2 + ".last_bin",
|
|
690
699
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
691
700
|
value: input3.last_bin
|
|
692
|
-
})) && $
|
|
701
|
+
})) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
693
702
|
path: _path2 + ".last_bin",
|
|
694
703
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
695
704
|
value: input3.last_bin
|
|
@@ -1025,7 +1034,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1025
1034
|
path: _path2 + ".values[" + _index16 + "]",
|
|
1026
1035
|
expected: "__type.o4",
|
|
1027
1036
|
value: elem
|
|
1028
|
-
})) && $
|
|
1037
|
+
})) && $vo32(elem, _path2 + ".values[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1029
1038
|
path: _path2 + ".values[" + _index16 + "]",
|
|
1030
1039
|
expected: "__type.o4",
|
|
1031
1040
|
value: elem
|
|
@@ -1060,11 +1069,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1060
1069
|
value: input3.name_noOrigin
|
|
1061
1070
|
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1062
1071
|
path: _path2 + ".parentTerm",
|
|
1063
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
1072
|
+
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)',
|
|
1064
1073
|
value: input3.parentTerm
|
|
1065
|
-
})) && $
|
|
1074
|
+
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1066
1075
|
path: _path2 + ".parentTerm",
|
|
1067
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
1076
|
+
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)',
|
|
1068
1077
|
value: input3.parentTerm
|
|
1069
1078
|
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1070
1079
|
path: _path2 + ".isleaf",
|
|
@@ -1167,6 +1176,22 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1167
1176
|
path: _path2 + ".stop",
|
|
1168
1177
|
expected: "(number | undefined)",
|
|
1169
1178
|
value: input3.stop
|
|
1179
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1180
|
+
path: _path2 + ".genes",
|
|
1181
|
+
expected: "Array<GvGeneTerm>",
|
|
1182
|
+
value: input3.genes
|
|
1183
|
+
})) && input3.genes.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1184
|
+
path: _path2 + ".genes[" + _index19 + "]",
|
|
1185
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1186
|
+
value: elem
|
|
1187
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1188
|
+
path: _path2 + ".genes[" + _index19 + "]",
|
|
1189
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1190
|
+
value: elem
|
|
1191
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1192
|
+
path: _path2 + ".genes",
|
|
1193
|
+
expected: "Array<GvGeneTerm>",
|
|
1194
|
+
value: input3.genes
|
|
1170
1195
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1171
1196
|
path: _path2 + ".groupsetting",
|
|
1172
1197
|
expected: "(TermGroupSetting | undefined)",
|
|
@@ -1179,12 +1204,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1179
1204
|
path: _path2 + ".childTerms",
|
|
1180
1205
|
expected: "(Array<DtTerm> | undefined)",
|
|
1181
1206
|
value: input3.childTerms
|
|
1182
|
-
})) && input3.childTerms.map((elem,
|
|
1183
|
-
path: _path2 + ".childTerms[" +
|
|
1207
|
+
})) && input3.childTerms.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1208
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1184
1209
|
expected: "DtTerm",
|
|
1185
1210
|
value: elem
|
|
1186
|
-
})) && $vo27(elem, _path2 + ".childTerms[" +
|
|
1187
|
-
path: _path2 + ".childTerms[" +
|
|
1211
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1212
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1188
1213
|
expected: "DtTerm",
|
|
1189
1214
|
value: elem
|
|
1190
1215
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1200,6 +1225,156 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1200
1225
|
path: _path2 + ".name",
|
|
1201
1226
|
expected: "string",
|
|
1202
1227
|
value: input3.name
|
|
1228
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1229
|
+
path: _path2 + ".type",
|
|
1230
|
+
expected: "string",
|
|
1231
|
+
value: input3.type
|
|
1232
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1233
|
+
path: _path2 + ".child_types",
|
|
1234
|
+
expected: "(Array<string> | undefined)",
|
|
1235
|
+
value: input3.child_types
|
|
1236
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1237
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1238
|
+
expected: "string",
|
|
1239
|
+
value: elem
|
|
1240
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1241
|
+
path: _path2 + ".child_types",
|
|
1242
|
+
expected: "(Array<string> | undefined)",
|
|
1243
|
+
value: input3.child_types
|
|
1244
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1245
|
+
path: _path2 + ".hashtmldetail",
|
|
1246
|
+
expected: "(boolean | undefined)",
|
|
1247
|
+
value: input3.hashtmldetail
|
|
1248
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1249
|
+
path: _path2 + ".included_types",
|
|
1250
|
+
expected: "(Array<string> | undefined)",
|
|
1251
|
+
value: input3.included_types
|
|
1252
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1253
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1254
|
+
expected: "string",
|
|
1255
|
+
value: elem
|
|
1256
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1257
|
+
path: _path2 + ".included_types",
|
|
1258
|
+
expected: "(Array<string> | undefined)",
|
|
1259
|
+
value: input3.included_types
|
|
1260
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1261
|
+
path: _path2 + ".isleaf",
|
|
1262
|
+
expected: "(boolean | undefined)",
|
|
1263
|
+
value: input3.isleaf
|
|
1264
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1265
|
+
path: _path2 + ".values",
|
|
1266
|
+
expected: "(TermValues | undefined)",
|
|
1267
|
+
value: input3.values
|
|
1268
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1269
|
+
path: _path2 + ".values",
|
|
1270
|
+
expected: "(TermValues | undefined)",
|
|
1271
|
+
value: input3.values
|
|
1272
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1273
|
+
path: _path2 + ".skipValuesBuild",
|
|
1274
|
+
expected: "(boolean | undefined)",
|
|
1275
|
+
value: input3.skipValuesBuild
|
|
1276
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1277
|
+
path: _path2 + ".kind",
|
|
1278
|
+
expected: '"gene"',
|
|
1279
|
+
value: input3.kind
|
|
1280
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1281
|
+
path: _path2 + ".gene",
|
|
1282
|
+
expected: "string",
|
|
1283
|
+
value: input3.gene
|
|
1284
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1285
|
+
path: _path2 + ".chr",
|
|
1286
|
+
expected: "(string | undefined)",
|
|
1287
|
+
value: input3.chr
|
|
1288
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1289
|
+
path: _path2 + ".start",
|
|
1290
|
+
expected: "(number | undefined)",
|
|
1291
|
+
value: input3.start
|
|
1292
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1293
|
+
path: _path2 + ".stop",
|
|
1294
|
+
expected: "(number | undefined)",
|
|
1295
|
+
value: input3.stop
|
|
1296
|
+
})].every((flag) => flag);
|
|
1297
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1298
|
+
path: _path2 + ".id",
|
|
1299
|
+
expected: "string",
|
|
1300
|
+
value: input3.id
|
|
1301
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1302
|
+
path: _path2 + ".name",
|
|
1303
|
+
expected: "string",
|
|
1304
|
+
value: input3.name
|
|
1305
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1306
|
+
path: _path2 + ".type",
|
|
1307
|
+
expected: "string",
|
|
1308
|
+
value: input3.type
|
|
1309
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1310
|
+
path: _path2 + ".child_types",
|
|
1311
|
+
expected: "(Array<string> | undefined)",
|
|
1312
|
+
value: input3.child_types
|
|
1313
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1314
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
1315
|
+
expected: "string",
|
|
1316
|
+
value: elem
|
|
1317
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1318
|
+
path: _path2 + ".child_types",
|
|
1319
|
+
expected: "(Array<string> | undefined)",
|
|
1320
|
+
value: input3.child_types
|
|
1321
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1322
|
+
path: _path2 + ".hashtmldetail",
|
|
1323
|
+
expected: "(boolean | undefined)",
|
|
1324
|
+
value: input3.hashtmldetail
|
|
1325
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1326
|
+
path: _path2 + ".included_types",
|
|
1327
|
+
expected: "(Array<string> | undefined)",
|
|
1328
|
+
value: input3.included_types
|
|
1329
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1330
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
1331
|
+
expected: "string",
|
|
1332
|
+
value: elem
|
|
1333
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1334
|
+
path: _path2 + ".included_types",
|
|
1335
|
+
expected: "(Array<string> | undefined)",
|
|
1336
|
+
value: input3.included_types
|
|
1337
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1338
|
+
path: _path2 + ".isleaf",
|
|
1339
|
+
expected: "(boolean | undefined)",
|
|
1340
|
+
value: input3.isleaf
|
|
1341
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1342
|
+
path: _path2 + ".values",
|
|
1343
|
+
expected: "(TermValues | undefined)",
|
|
1344
|
+
value: input3.values
|
|
1345
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1346
|
+
path: _path2 + ".values",
|
|
1347
|
+
expected: "(TermValues | undefined)",
|
|
1348
|
+
value: input3.values
|
|
1349
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1350
|
+
path: _path2 + ".skipValuesBuild",
|
|
1351
|
+
expected: "(boolean | undefined)",
|
|
1352
|
+
value: input3.skipValuesBuild
|
|
1353
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1354
|
+
path: _path2 + ".kind",
|
|
1355
|
+
expected: '"coord"',
|
|
1356
|
+
value: input3.kind
|
|
1357
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1358
|
+
path: _path2 + ".chr",
|
|
1359
|
+
expected: "string",
|
|
1360
|
+
value: input3.chr
|
|
1361
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1362
|
+
path: _path2 + ".start",
|
|
1363
|
+
expected: "number",
|
|
1364
|
+
value: input3.start
|
|
1365
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1366
|
+
path: _path2 + ".stop",
|
|
1367
|
+
expected: "number",
|
|
1368
|
+
value: input3.stop
|
|
1369
|
+
})].every((flag) => flag);
|
|
1370
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1371
|
+
path: _path2 + ".id",
|
|
1372
|
+
expected: "string",
|
|
1373
|
+
value: input3.id
|
|
1374
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1375
|
+
path: _path2 + ".name",
|
|
1376
|
+
expected: "string",
|
|
1377
|
+
value: input3.name
|
|
1203
1378
|
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1204
1379
|
path: _path2 + ".type",
|
|
1205
1380
|
expected: '"geneVariant"',
|
|
@@ -1208,8 +1383,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1208
1383
|
path: _path2 + ".child_types",
|
|
1209
1384
|
expected: "(Array<string> | undefined)",
|
|
1210
1385
|
value: input3.child_types
|
|
1211
|
-
})) && input3.child_types.map((elem,
|
|
1212
|
-
path: _path2 + ".child_types[" +
|
|
1386
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1387
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1213
1388
|
expected: "string",
|
|
1214
1389
|
value: elem
|
|
1215
1390
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1224,8 +1399,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1224
1399
|
path: _path2 + ".included_types",
|
|
1225
1400
|
expected: "(Array<string> | undefined)",
|
|
1226
1401
|
value: input3.included_types
|
|
1227
|
-
})) && input3.included_types.map((elem,
|
|
1228
|
-
path: _path2 + ".included_types[" +
|
|
1402
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1403
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1229
1404
|
expected: "string",
|
|
1230
1405
|
value: elem
|
|
1231
1406
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1264,6 +1439,22 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1264
1439
|
path: _path2 + ".stop",
|
|
1265
1440
|
expected: "number",
|
|
1266
1441
|
value: input3.stop
|
|
1442
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1443
|
+
path: _path2 + ".genes",
|
|
1444
|
+
expected: "Array<GvGeneTerm>",
|
|
1445
|
+
value: input3.genes
|
|
1446
|
+
})) && input3.genes.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1447
|
+
path: _path2 + ".genes[" + _index27 + "]",
|
|
1448
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1449
|
+
value: elem
|
|
1450
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1451
|
+
path: _path2 + ".genes[" + _index27 + "]",
|
|
1452
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1453
|
+
value: elem
|
|
1454
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1455
|
+
path: _path2 + ".genes",
|
|
1456
|
+
expected: "Array<GvGeneTerm>",
|
|
1457
|
+
value: input3.genes
|
|
1267
1458
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1268
1459
|
path: _path2 + ".groupsetting",
|
|
1269
1460
|
expected: "(TermGroupSetting | undefined)",
|
|
@@ -1276,12 +1467,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1276
1467
|
path: _path2 + ".childTerms",
|
|
1277
1468
|
expected: "(Array<DtTerm> | undefined)",
|
|
1278
1469
|
value: input3.childTerms
|
|
1279
|
-
})) && input3.childTerms.map((elem,
|
|
1280
|
-
path: _path2 + ".childTerms[" +
|
|
1470
|
+
})) && input3.childTerms.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1471
|
+
path: _path2 + ".childTerms[" + _index28 + "]",
|
|
1281
1472
|
expected: "DtTerm",
|
|
1282
1473
|
value: elem
|
|
1283
|
-
})) && $vo27(elem, _path2 + ".childTerms[" +
|
|
1284
|
-
path: _path2 + ".childTerms[" +
|
|
1474
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1475
|
+
path: _path2 + ".childTerms[" + _index28 + "]",
|
|
1285
1476
|
expected: "DtTerm",
|
|
1286
1477
|
value: elem
|
|
1287
1478
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1289,7 +1480,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1289
1480
|
expected: "(Array<DtTerm> | undefined)",
|
|
1290
1481
|
value: input3.childTerms
|
|
1291
1482
|
})].every((flag) => flag);
|
|
1292
|
-
const $
|
|
1483
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1293
1484
|
path: _path2 + ".key",
|
|
1294
1485
|
expected: "string",
|
|
1295
1486
|
value: input3.key
|
|
@@ -1332,11 +1523,22 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1332
1523
|
return $vo18(input3, _path2, _exceptionable2);
|
|
1333
1524
|
})();
|
|
1334
1525
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1526
|
+
if ("gene" === input3.kind)
|
|
1527
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1528
|
+
if ("coord" === input3.kind)
|
|
1529
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1530
|
+
return $report(_exceptionable2, {
|
|
1531
|
+
path: _path2,
|
|
1532
|
+
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
1533
|
+
value: input3
|
|
1534
|
+
});
|
|
1535
|
+
})();
|
|
1536
|
+
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1335
1537
|
if (void 0 !== input3.ranges)
|
|
1336
1538
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1337
1539
|
return $vo3(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
|
|
1338
1540
|
})();
|
|
1339
|
-
const $
|
|
1541
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1340
1542
|
if ("regular-bin" === input3.type)
|
|
1341
1543
|
return $vo15(input3, _path2, _exceptionable2);
|
|
1342
1544
|
if ("custom-bin" === input3.type)
|
|
@@ -1347,7 +1549,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1347
1549
|
value: input3
|
|
1348
1550
|
});
|
|
1349
1551
|
})();
|
|
1350
|
-
const $
|
|
1552
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1351
1553
|
if (true === input3.startunbounded)
|
|
1352
1554
|
return $vo17(input3, _path2, _exceptionable2);
|
|
1353
1555
|
if (void 0 !== input3.start)
|
|
@@ -1358,7 +1560,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1358
1560
|
value: input3
|
|
1359
1561
|
});
|
|
1360
1562
|
})();
|
|
1361
|
-
const $
|
|
1563
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1362
1564
|
if (void 0 !== input3.stop)
|
|
1363
1565
|
return $vo18(input3, _path2, _exceptionable2);
|
|
1364
1566
|
if (true === input3.stopunbounded)
|
|
@@ -1369,14 +1571,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1369
1571
|
value: input3
|
|
1370
1572
|
});
|
|
1371
1573
|
})();
|
|
1372
|
-
const $
|
|
1574
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1373
1575
|
if ("gene" === input3.kind)
|
|
1374
1576
|
return $vo28(input3, _path2, _exceptionable2);
|
|
1375
1577
|
if ("coord" === input3.kind)
|
|
1376
|
-
return $
|
|
1578
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1377
1579
|
return $report(_exceptionable2, {
|
|
1378
1580
|
path: _path2,
|
|
1379
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
1581
|
+
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; })',
|
|
1380
1582
|
value: input3
|
|
1381
1583
|
});
|
|
1382
1584
|
})();
|
|
@@ -74,7 +74,7 @@ var validTermdbSingleSampleMutationResponse = (input) => {
|
|
|
74
74
|
return Array.isArray(value) && value.every((elem) => "object" === typeof elem && null !== elem && $io5(elem));
|
|
75
75
|
return true;
|
|
76
76
|
});
|
|
77
|
-
const $io5 = (input3) => (void 0 === input3.nameHtml || "string" === typeof input3.nameHtml) && (void 0 === input3.name || "string" === typeof input3.name) && (Array.isArray(input3.mlst) && input3.mlst.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem)));
|
|
77
|
+
const $io5 = (input3) => (void 0 === input3.nameHtml || "string" === typeof input3.nameHtml) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.inuse || "boolean" === typeof input3.inuse) && (Array.isArray(input3.mlst) && input3.mlst.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem)));
|
|
78
78
|
const $iu0 = (input3) => (() => {
|
|
79
79
|
if (void 0 !== input3.status)
|
|
80
80
|
return $io0(input3);
|
|
@@ -180,6 +180,10 @@ var validTermdbSingleSampleMutationResponse = (input) => {
|
|
|
180
180
|
path: _path2 + ".name",
|
|
181
181
|
expected: "(string | undefined)",
|
|
182
182
|
value: input3.name
|
|
183
|
+
}), void 0 === input3.inuse || "boolean" === typeof input3.inuse || $report(_exceptionable2, {
|
|
184
|
+
path: _path2 + ".inuse",
|
|
185
|
+
expected: "(boolean | undefined)",
|
|
186
|
+
value: input3.inuse
|
|
183
187
|
}), (Array.isArray(input3.mlst) || $report(_exceptionable2, {
|
|
184
188
|
path: _path2 + ".mlst",
|
|
185
189
|
expected: "Array<object>",
|