@sjcrh/proteinpaint-types 2.116.1-1 → 2.117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-PTYGGJLG.js → chunk-4U546XOJ.js} +57 -57
- package/dist/{chunk-MDBZCBM2.js → chunk-53UNFIIG.js} +22 -22
- package/dist/{chunk-ZPN2DV5E.js → chunk-DL4UYYVE.js} +8 -8
- package/dist/{chunk-KBTAXZM4.js → chunk-GD3KAF6V.js} +47 -47
- package/dist/{chunk-M26XQDA4.js → chunk-GI4NNB34.js} +8 -8
- package/dist/{chunk-NESPJ4GG.js → chunk-J6SJ4M3S.js} +26 -26
- package/dist/{chunk-C7DJDPLP.js → chunk-JOGEIPHA.js} +57 -57
- package/dist/{chunk-I3U2T7HV.js → chunk-JYO2T4HZ.js} +57 -57
- package/dist/{chunk-GS37E7DB.js → chunk-KG7UDG6M.js} +57 -57
- package/dist/{chunk-KZIZMP7Y.js → chunk-OL4OMJSP.js} +26 -26
- package/dist/{chunk-7GSVLBKZ.js → chunk-ROPNHRVV.js} +8 -8
- package/dist/{chunk-EQGBEPDC.js → chunk-T2CSA2MC.js} +8 -8
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +27 -0
- package/src/routes/correlationVolcano.ts +14 -12
- package/src/terms/geneVariant.ts +2 -10
- package/src/vocab.ts +5 -5
|
@@ -136,15 +136,15 @@ var validTermsByIdsResponse = (input) => {
|
|
|
136
136
|
const $io29 = (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) && $io14(input3.values)) && true;
|
|
137
137
|
const $io30 = (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;
|
|
138
138
|
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
139
|
-
const $io32 = (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) && $io14(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
139
|
+
const $io32 = (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) && $io14(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
140
140
|
const $io33 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
|
|
141
141
|
const $io34 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
142
|
-
const $io35 = (input3) => "
|
|
143
|
-
const $io36 = (input3) =>
|
|
144
|
-
const $io37 = (input3) =>
|
|
145
|
-
const $io38 = (input3) =>
|
|
146
|
-
const $io39 = (input3) =>
|
|
147
|
-
const $io40 = (input3) =>
|
|
142
|
+
const $io35 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
143
|
+
const $io36 = (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) && $io14(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
144
|
+
const $io37 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
145
|
+
const $io38 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
146
|
+
const $io39 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
147
|
+
const $io40 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
148
148
|
const $io41 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && "string" === typeof input3.$id && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io19(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu11(input3.q));
|
|
149
149
|
const $io42 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu4(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu5(input3.lst[1]))));
|
|
150
150
|
const $io43 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "continuous" === input3.mode && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type);
|
|
@@ -161,8 +161,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
161
161
|
const $io54 = (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) && $io14(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
162
162
|
const $io55 = (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) && $io14(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io20(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io26(input3.continuousColorScale));
|
|
163
163
|
const $io56 = (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) && $io14(input3.values)) && true;
|
|
164
|
-
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
165
|
-
const $io58 = (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) && $io14(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
164
|
+
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
165
|
+
const $io58 = (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) && $io14(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
166
166
|
const $io59 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && true && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io50(elem)));
|
|
167
167
|
const $io60 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io61(input3.values)) && true;
|
|
168
168
|
const $io61 = (input3) => Object.keys(input3).every((key) => {
|
|
@@ -226,13 +226,13 @@ var validTermsByIdsResponse = (input) => {
|
|
|
226
226
|
})();
|
|
227
227
|
const $iu3 = (input3) => (() => {
|
|
228
228
|
if (2 === input3.dt)
|
|
229
|
-
return $
|
|
229
|
+
return $io40(input3);
|
|
230
230
|
if (5 === input3.dt)
|
|
231
|
-
return $
|
|
231
|
+
return $io39(input3);
|
|
232
232
|
if (4 === input3.dt)
|
|
233
|
-
return $
|
|
233
|
+
return $io38(input3);
|
|
234
234
|
if (1 === input3.dt)
|
|
235
|
-
return $
|
|
235
|
+
return $io37(input3);
|
|
236
236
|
return false;
|
|
237
237
|
})();
|
|
238
238
|
const $iu4 = (input3) => (() => {
|
|
@@ -274,7 +274,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
274
274
|
const $iu8 = (input3) => (() => {
|
|
275
275
|
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)))
|
|
276
276
|
return $io33(input3);
|
|
277
|
-
return $
|
|
277
|
+
return $io35(input3);
|
|
278
278
|
})();
|
|
279
279
|
const $iu9 = (input3) => (() => {
|
|
280
280
|
if ("regular-bin" === input3.type)
|
|
@@ -287,7 +287,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
287
287
|
if ("gene" === input3.kind)
|
|
288
288
|
return $io32(input3);
|
|
289
289
|
if ("coord" === input3.kind)
|
|
290
|
-
return $
|
|
290
|
+
return $io36(input3);
|
|
291
291
|
return false;
|
|
292
292
|
})();
|
|
293
293
|
const $iu11 = (input3) => (() => {
|
|
@@ -1446,11 +1446,11 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1446
1446
|
value: input3.values
|
|
1447
1447
|
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1448
1448
|
path: _path2 + ".groupsetting",
|
|
1449
|
-
expected: "EnabledTermGroupSetting",
|
|
1449
|
+
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
1450
1450
|
value: input3.groupsetting
|
|
1451
|
-
})) && $
|
|
1451
|
+
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1452
1452
|
path: _path2 + ".groupsetting",
|
|
1453
|
-
expected: "EnabledTermGroupSetting",
|
|
1453
|
+
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
1454
1454
|
value: input3.groupsetting
|
|
1455
1455
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1456
1456
|
path: _path2 + ".kind",
|
|
@@ -1527,7 +1527,24 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1527
1527
|
expected: "Array<GroupEntry>",
|
|
1528
1528
|
value: input3.groups
|
|
1529
1529
|
})].every((flag) => flag);
|
|
1530
|
-
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["
|
|
1530
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1531
|
+
path: _path2 + ".disabled",
|
|
1532
|
+
expected: "boolean",
|
|
1533
|
+
value: input3.disabled
|
|
1534
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1535
|
+
path: _path2 + ".lst",
|
|
1536
|
+
expected: "([] | undefined)",
|
|
1537
|
+
value: input3.lst
|
|
1538
|
+
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
1539
|
+
path: _path2 + ".lst",
|
|
1540
|
+
expected: "[]",
|
|
1541
|
+
value: input3.lst
|
|
1542
|
+
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
1543
|
+
path: _path2 + ".lst",
|
|
1544
|
+
expected: "([] | undefined)",
|
|
1545
|
+
value: input3.lst
|
|
1546
|
+
})].every((flag) => flag);
|
|
1547
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1531
1548
|
path: _path2 + ".id",
|
|
1532
1549
|
expected: "string",
|
|
1533
1550
|
value: input3.id
|
|
@@ -1581,11 +1598,11 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1581
1598
|
value: input3.values
|
|
1582
1599
|
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1583
1600
|
path: _path2 + ".groupsetting",
|
|
1584
|
-
expected: "EnabledTermGroupSetting",
|
|
1601
|
+
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
1585
1602
|
value: input3.groupsetting
|
|
1586
|
-
})) && $
|
|
1603
|
+
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1587
1604
|
path: _path2 + ".groupsetting",
|
|
1588
|
-
expected: "EnabledTermGroupSetting",
|
|
1605
|
+
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
1589
1606
|
value: input3.groupsetting
|
|
1590
1607
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1591
1608
|
path: _path2 + ".kind",
|
|
@@ -1604,7 +1621,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1604
1621
|
expected: "number",
|
|
1605
1622
|
value: input3.stop
|
|
1606
1623
|
})].every((flag) => flag);
|
|
1607
|
-
const $
|
|
1624
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1608
1625
|
path: _path2 + ".dt",
|
|
1609
1626
|
expected: "1",
|
|
1610
1627
|
value: input3.dt
|
|
@@ -1637,7 +1654,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1637
1654
|
expected: '("germline" | "somatic" | undefined)',
|
|
1638
1655
|
value: input3.origin
|
|
1639
1656
|
})].every((flag) => flag);
|
|
1640
|
-
const $
|
|
1657
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1641
1658
|
path: _path2 + ".dt",
|
|
1642
1659
|
expected: "4",
|
|
1643
1660
|
value: input3.dt
|
|
@@ -1670,7 +1687,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1670
1687
|
expected: '("germline" | "somatic" | undefined)',
|
|
1671
1688
|
value: input3.origin
|
|
1672
1689
|
})].every((flag) => flag);
|
|
1673
|
-
const $
|
|
1690
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1674
1691
|
path: _path2 + ".dt",
|
|
1675
1692
|
expected: "5",
|
|
1676
1693
|
value: input3.dt
|
|
@@ -1703,7 +1720,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1703
1720
|
expected: '("germline" | "somatic" | undefined)',
|
|
1704
1721
|
value: input3.origin
|
|
1705
1722
|
})].every((flag) => flag);
|
|
1706
|
-
const $
|
|
1723
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1707
1724
|
path: _path2 + ".dt",
|
|
1708
1725
|
expected: "2",
|
|
1709
1726
|
value: input3.dt
|
|
@@ -1736,23 +1753,6 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1736
1753
|
expected: '("germline" | "somatic" | undefined)',
|
|
1737
1754
|
value: input3.origin
|
|
1738
1755
|
})].every((flag) => flag);
|
|
1739
|
-
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1740
|
-
path: _path2 + ".disabled",
|
|
1741
|
-
expected: "boolean",
|
|
1742
|
-
value: input3.disabled
|
|
1743
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1744
|
-
path: _path2 + ".lst",
|
|
1745
|
-
expected: "([] | undefined)",
|
|
1746
|
-
value: input3.lst
|
|
1747
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
1748
|
-
path: _path2 + ".lst",
|
|
1749
|
-
expected: "[]",
|
|
1750
|
-
value: input3.lst
|
|
1751
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
1752
|
-
path: _path2 + ".lst",
|
|
1753
|
-
expected: "([] | undefined)",
|
|
1754
|
-
value: input3.lst
|
|
1755
|
-
})].every((flag) => flag);
|
|
1756
1756
|
const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1757
1757
|
path: _path2 + ".id",
|
|
1758
1758
|
expected: "(string | undefined)",
|
|
@@ -2266,11 +2266,11 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2266
2266
|
value: input3.minNumSamples
|
|
2267
2267
|
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2268
2268
|
path: _path2 + ".term",
|
|
2269
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting:
|
|
2269
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: TermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: TermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2270
2270
|
value: input3.term
|
|
2271
2271
|
})) && $vu13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2272
2272
|
path: _path2 + ".term",
|
|
2273
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting:
|
|
2273
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: TermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: TermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2274
2274
|
value: input3.term
|
|
2275
2275
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2276
2276
|
path: _path2 + ".q",
|
|
@@ -2522,11 +2522,11 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2522
2522
|
value: input3.values
|
|
2523
2523
|
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2524
2524
|
path: _path2 + ".groupsetting",
|
|
2525
|
-
expected: "EnabledTermGroupSetting",
|
|
2525
|
+
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
2526
2526
|
value: input3.groupsetting
|
|
2527
|
-
})) && $
|
|
2527
|
+
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2528
2528
|
path: _path2 + ".groupsetting",
|
|
2529
|
-
expected: "EnabledTermGroupSetting",
|
|
2529
|
+
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
2530
2530
|
value: input3.groupsetting
|
|
2531
2531
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2532
2532
|
path: _path2 + ".kind",
|
|
@@ -2603,11 +2603,11 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2603
2603
|
value: input3.values
|
|
2604
2604
|
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2605
2605
|
path: _path2 + ".groupsetting",
|
|
2606
|
-
expected: "EnabledTermGroupSetting",
|
|
2606
|
+
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
2607
2607
|
value: input3.groupsetting
|
|
2608
|
-
})) && $
|
|
2608
|
+
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2609
2609
|
path: _path2 + ".groupsetting",
|
|
2610
|
-
expected: "EnabledTermGroupSetting",
|
|
2610
|
+
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
2611
2611
|
value: input3.groupsetting
|
|
2612
2612
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2613
2613
|
path: _path2 + ".kind",
|
|
@@ -3325,13 +3325,13 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3325
3325
|
})();
|
|
3326
3326
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3327
3327
|
if (2 === input3.dt)
|
|
3328
|
-
return $
|
|
3328
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
3329
3329
|
if (5 === input3.dt)
|
|
3330
|
-
return $
|
|
3330
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
3331
3331
|
if (4 === input3.dt)
|
|
3332
|
-
return $
|
|
3332
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
3333
3333
|
if (1 === input3.dt)
|
|
3334
|
-
return $
|
|
3334
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
3335
3335
|
return $report(_exceptionable2, {
|
|
3336
3336
|
path: _path2,
|
|
3337
3337
|
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
@@ -3377,7 +3377,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3377
3377
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3378
3378
|
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index58) => "object" === typeof elem && null !== elem && $vo34(elem, _path2 + ".lst[" + _index58 + "]", false)).every((flag) => flag))
|
|
3379
3379
|
return $vo33(input3, _path2, _exceptionable2);
|
|
3380
|
-
return $
|
|
3380
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
3381
3381
|
})();
|
|
3382
3382
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3383
3383
|
if ("regular-bin" === input3.type)
|
|
@@ -3394,7 +3394,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3394
3394
|
if ("gene" === input3.kind)
|
|
3395
3395
|
return $vo32(input3, _path2, _exceptionable2);
|
|
3396
3396
|
if ("coord" === input3.kind)
|
|
3397
|
-
return $
|
|
3397
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
3398
3398
|
return $report(_exceptionable2, {
|
|
3399
3399
|
path: _path2,
|
|
3400
3400
|
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|