@sjcrh/proteinpaint-types 2.141.0 → 2.142.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-77RH7U6G.js → chunk-2VDOPTRV.js} +474 -384
- package/dist/{chunk-WCWYMCZD.js → chunk-3BQ57P2P.js} +219 -123
- package/dist/{chunk-EOBFYFLQ.js → chunk-3L3ASC3B.js} +449 -353
- package/dist/{chunk-T3GTEGQN.js → chunk-4R265LDJ.js} +219 -123
- package/dist/{chunk-QWAPDNYB.js → chunk-CEDL2QZT.js} +453 -357
- package/dist/{chunk-424IUJWR.js → chunk-DMJFOII6.js} +219 -123
- package/dist/{chunk-S6OBK4RE.js → chunk-FVBXC7SY.js} +219 -123
- package/dist/{chunk-VMQUAU5V.js → chunk-GDM7YUXH.js} +449 -353
- package/dist/{chunk-UYBVE3DL.js → chunk-IR4QSJI7.js} +449 -353
- package/dist/{chunk-I7FTK55B.js → chunk-MVMUZSLL.js} +435 -339
- package/dist/{chunk-56JQGGZJ.js → chunk-SMVDKR2O.js} +781 -561
- package/dist/{chunk-KEJROUTM.js → chunk-SOM5WKDM.js} +255 -261
- 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/terms/date.ts +7 -5
- package/src/terms/geneExpression.ts +22 -8
- package/src/terms/metaboliteIntensity.ts +13 -3
- package/src/terms/numeric.ts +1 -1
- package/src/terms/ssGSEA.ts +4 -2
- package/src/terms/tw.ts +2 -2
|
@@ -64,7 +64,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
64
64
|
const $io17 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter));
|
|
65
65
|
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)));
|
|
66
66
|
const $io19 = (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.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
67
|
-
const $io20 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu6(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 && $
|
|
67
|
+
const $io20 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu6(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 && $io34(elem)));
|
|
68
68
|
const $io21 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
|
|
69
69
|
const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
70
70
|
const $io23 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(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);
|
|
@@ -73,21 +73,22 @@ var validBrainImagingRequest = (input) => {
|
|
|
73
73
|
const $io26 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
74
74
|
const $io27 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
75
75
|
const $io28 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
76
|
-
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) &&
|
|
77
|
-
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
78
|
-
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
79
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
80
|
-
const $io33 = (input3) => "string" === typeof input3.
|
|
81
|
-
const $io34 = (input3) =>
|
|
82
|
-
const $io35 = (input3) =>
|
|
83
|
-
const $io36 = (input3) => "
|
|
84
|
-
const $io37 = (input3) =>
|
|
85
|
-
const $io38 = (input3) =>
|
|
86
|
-
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
87
|
-
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
88
|
-
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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "
|
|
89
|
-
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
90
|
-
const $io43 = (input3) => "string" === typeof input3.
|
|
76
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.kind || "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);
|
|
77
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
78
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
|
|
79
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
|
|
80
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
|
|
81
|
+
const $io34 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
82
|
+
const $io35 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io36(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 && $io37(elem)));
|
|
83
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
84
|
+
const $io37 = (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;
|
|
85
|
+
const $io38 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io39(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io44(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
86
|
+
const $io39 = (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 && $iu10(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) && $io16(input3.values));
|
|
87
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.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 && $io39(elem)));
|
|
88
|
+
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) && $io16(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);
|
|
89
|
+
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
90
|
+
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.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 && $io39(elem)));
|
|
91
|
+
const $io44 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
91
92
|
const $iu0 = (input3) => (() => {
|
|
92
93
|
if ("string" === typeof input3.type)
|
|
93
94
|
return $io9(input3);
|
|
@@ -111,9 +112,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
111
112
|
})();
|
|
112
113
|
const $iu3 = (input3) => (() => {
|
|
113
114
|
if ("gene" === input3.kind)
|
|
114
|
-
return $io40(input3);
|
|
115
|
-
if ("coord" === input3.kind)
|
|
116
115
|
return $io41(input3);
|
|
116
|
+
if ("coord" === input3.kind)
|
|
117
|
+
return $io42(input3);
|
|
117
118
|
return false;
|
|
118
119
|
})();
|
|
119
120
|
const $iu4 = (input3) => (() => {
|
|
@@ -131,25 +132,29 @@ var validBrainImagingRequest = (input) => {
|
|
|
131
132
|
return (() => {
|
|
132
133
|
if ($io14(input3))
|
|
133
134
|
return $io14(input3);
|
|
134
|
-
if ($
|
|
135
|
-
return $
|
|
136
|
-
if ($
|
|
137
|
-
return $
|
|
135
|
+
if ($io35(input3))
|
|
136
|
+
return $io35(input3);
|
|
137
|
+
if ($io38(input3))
|
|
138
|
+
return $io38(input3);
|
|
138
139
|
return false;
|
|
139
140
|
})();
|
|
140
141
|
})();
|
|
141
142
|
const $iu6 = (input3) => (() => {
|
|
142
143
|
if ("integer" === input3.type || "float" === input3.type)
|
|
143
144
|
return $io21(input3);
|
|
144
|
-
if ("geneExpression" === input3.type)
|
|
145
|
-
return $io29(input3);
|
|
146
|
-
if ("date" === input3.type)
|
|
147
|
-
return $io31(input3);
|
|
148
145
|
if ("metaboliteIntensity" === input3.type)
|
|
149
|
-
return $
|
|
150
|
-
if ("
|
|
146
|
+
return $io31(input3);
|
|
147
|
+
if ("date" === input3.type)
|
|
151
148
|
return $io32(input3);
|
|
152
|
-
|
|
149
|
+
if ("ssGSEA" === input3.type)
|
|
150
|
+
return $io33(input3);
|
|
151
|
+
return (() => {
|
|
152
|
+
if ($io30(input3))
|
|
153
|
+
return $io30(input3);
|
|
154
|
+
if ($io29(input3))
|
|
155
|
+
return $io29(input3);
|
|
156
|
+
return false;
|
|
157
|
+
})();
|
|
153
158
|
})();
|
|
154
159
|
const $iu7 = (input3) => (() => {
|
|
155
160
|
if ("regular-bin" === input3.type)
|
|
@@ -174,9 +179,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
174
179
|
})();
|
|
175
180
|
const $iu10 = (input3) => (() => {
|
|
176
181
|
if ("gene" === input3.kind)
|
|
177
|
-
return $
|
|
182
|
+
return $io40(input3);
|
|
178
183
|
if ("coord" === input3.kind)
|
|
179
|
-
return $
|
|
184
|
+
return $io43(input3);
|
|
180
185
|
return false;
|
|
181
186
|
})();
|
|
182
187
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -790,11 +795,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
790
795
|
value: input3.isnot
|
|
791
796
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
792
797
|
path: _path2 + ".term",
|
|
793
|
-
expected:
|
|
798
|
+
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
794
799
|
value: input3.term
|
|
795
800
|
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
796
801
|
path: _path2 + ".term",
|
|
797
|
-
expected:
|
|
802
|
+
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
798
803
|
value: input3.term
|
|
799
804
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
800
805
|
path: _path2 + ".ranges",
|
|
@@ -820,7 +825,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
820
825
|
path: _path2 + ".values[" + _index12 + "]",
|
|
821
826
|
expected: "__type.o4",
|
|
822
827
|
value: elem
|
|
823
|
-
})) && $
|
|
828
|
+
})) && $vo34(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
824
829
|
path: _path2 + ".values[" + _index12 + "]",
|
|
825
830
|
expected: "__type.o4",
|
|
826
831
|
value: elem
|
|
@@ -1219,10 +1224,6 @@ var validBrainImagingRequest = (input) => {
|
|
|
1219
1224
|
path: _path2 + ".unit",
|
|
1220
1225
|
expected: "(string | undefined)",
|
|
1221
1226
|
value: input3.unit
|
|
1222
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1223
|
-
path: _path2 + ".gene",
|
|
1224
|
-
expected: "string",
|
|
1225
|
-
value: input3.gene
|
|
1226
1227
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1227
1228
|
path: _path2 + ".bins",
|
|
1228
1229
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1231,6 +1232,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
1231
1232
|
path: _path2 + ".bins",
|
|
1232
1233
|
expected: "(PresetNumericBins | undefined)",
|
|
1233
1234
|
value: input3.bins
|
|
1235
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
1236
|
+
path: _path2 + ".kind",
|
|
1237
|
+
expected: '("gene" | undefined)',
|
|
1238
|
+
value: input3.kind
|
|
1239
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1240
|
+
path: _path2 + ".gene",
|
|
1241
|
+
expected: "string",
|
|
1242
|
+
value: input3.gene
|
|
1234
1243
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1235
1244
|
path: _path2 + ".chr",
|
|
1236
1245
|
expected: "(string | undefined)",
|
|
@@ -1252,9 +1261,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1252
1261
|
path: _path2 + ".name",
|
|
1253
1262
|
expected: "string",
|
|
1254
1263
|
value: input3.name
|
|
1255
|
-
}), "
|
|
1264
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
1256
1265
|
path: _path2 + ".type",
|
|
1257
|
-
expected: '"
|
|
1266
|
+
expected: '"geneExpression"',
|
|
1258
1267
|
value: input3.type
|
|
1259
1268
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1260
1269
|
path: _path2 + ".child_types",
|
|
@@ -1312,10 +1321,6 @@ var validBrainImagingRequest = (input) => {
|
|
|
1312
1321
|
path: _path2 + ".unit",
|
|
1313
1322
|
expected: "(string | undefined)",
|
|
1314
1323
|
value: input3.unit
|
|
1315
|
-
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1316
|
-
path: _path2 + ".metabolite",
|
|
1317
|
-
expected: "string",
|
|
1318
|
-
value: input3.metabolite
|
|
1319
1324
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1320
1325
|
path: _path2 + ".bins",
|
|
1321
1326
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1324,6 +1329,26 @@ var validBrainImagingRequest = (input) => {
|
|
|
1324
1329
|
path: _path2 + ".bins",
|
|
1325
1330
|
expected: "(PresetNumericBins | undefined)",
|
|
1326
1331
|
value: input3.bins
|
|
1332
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1333
|
+
path: _path2 + ".kind",
|
|
1334
|
+
expected: '("coord" | undefined)',
|
|
1335
|
+
value: input3.kind
|
|
1336
|
+
}), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1337
|
+
path: _path2 + ".gene",
|
|
1338
|
+
expected: "(string | undefined)",
|
|
1339
|
+
value: input3.gene
|
|
1340
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1341
|
+
path: _path2 + ".chr",
|
|
1342
|
+
expected: "string",
|
|
1343
|
+
value: input3.chr
|
|
1344
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1345
|
+
path: _path2 + ".start",
|
|
1346
|
+
expected: "number",
|
|
1347
|
+
value: input3.start
|
|
1348
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1349
|
+
path: _path2 + ".stop",
|
|
1350
|
+
expected: "number",
|
|
1351
|
+
value: input3.stop
|
|
1327
1352
|
})].every((flag) => flag);
|
|
1328
1353
|
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1329
1354
|
path: _path2 + ".id",
|
|
@@ -1333,9 +1358,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1333
1358
|
path: _path2 + ".name",
|
|
1334
1359
|
expected: "string",
|
|
1335
1360
|
value: input3.name
|
|
1336
|
-
}), "
|
|
1361
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1337
1362
|
path: _path2 + ".type",
|
|
1338
|
-
expected: '"
|
|
1363
|
+
expected: '"metaboliteIntensity"',
|
|
1339
1364
|
value: input3.type
|
|
1340
1365
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1341
1366
|
path: _path2 + ".child_types",
|
|
@@ -1414,9 +1439,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1414
1439
|
path: _path2 + ".name",
|
|
1415
1440
|
expected: "string",
|
|
1416
1441
|
value: input3.name
|
|
1417
|
-
}), "
|
|
1442
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1418
1443
|
path: _path2 + ".type",
|
|
1419
|
-
expected: '"
|
|
1444
|
+
expected: '"date"',
|
|
1420
1445
|
value: input3.type
|
|
1421
1446
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1422
1447
|
path: _path2 + ".child_types",
|
|
@@ -1474,12 +1499,89 @@ var validBrainImagingRequest = (input) => {
|
|
|
1474
1499
|
path: _path2 + ".unit",
|
|
1475
1500
|
expected: "(string | undefined)",
|
|
1476
1501
|
value: input3.unit
|
|
1502
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1503
|
+
path: _path2 + ".bins",
|
|
1504
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1505
|
+
value: input3.bins
|
|
1506
|
+
})) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1507
|
+
path: _path2 + ".bins",
|
|
1508
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1509
|
+
value: input3.bins
|
|
1510
|
+
})].every((flag) => flag);
|
|
1511
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1512
|
+
path: _path2 + ".id",
|
|
1513
|
+
expected: "string",
|
|
1514
|
+
value: input3.id
|
|
1515
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1516
|
+
path: _path2 + ".name",
|
|
1517
|
+
expected: "string",
|
|
1518
|
+
value: input3.name
|
|
1519
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1520
|
+
path: _path2 + ".type",
|
|
1521
|
+
expected: '"ssGSEA"',
|
|
1522
|
+
value: input3.type
|
|
1523
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1524
|
+
path: _path2 + ".child_types",
|
|
1525
|
+
expected: "(Array<string> | undefined)",
|
|
1526
|
+
value: input3.child_types
|
|
1527
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1528
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1529
|
+
expected: "string",
|
|
1530
|
+
value: elem
|
|
1531
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1532
|
+
path: _path2 + ".child_types",
|
|
1533
|
+
expected: "(Array<string> | undefined)",
|
|
1534
|
+
value: input3.child_types
|
|
1535
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1536
|
+
path: _path2 + ".hashtmldetail",
|
|
1537
|
+
expected: "(boolean | undefined)",
|
|
1538
|
+
value: input3.hashtmldetail
|
|
1539
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1540
|
+
path: _path2 + ".included_types",
|
|
1541
|
+
expected: "(Array<string> | undefined)",
|
|
1542
|
+
value: input3.included_types
|
|
1543
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1544
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1545
|
+
expected: "string",
|
|
1546
|
+
value: elem
|
|
1547
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1548
|
+
path: _path2 + ".included_types",
|
|
1549
|
+
expected: "(Array<string> | undefined)",
|
|
1550
|
+
value: input3.included_types
|
|
1551
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1552
|
+
path: _path2 + ".isleaf",
|
|
1553
|
+
expected: "(boolean | undefined)",
|
|
1554
|
+
value: input3.isleaf
|
|
1555
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1556
|
+
path: _path2 + ".values",
|
|
1557
|
+
expected: "(TermValues | undefined)",
|
|
1558
|
+
value: input3.values
|
|
1559
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1560
|
+
path: _path2 + ".values",
|
|
1561
|
+
expected: "(TermValues | undefined)",
|
|
1562
|
+
value: input3.values
|
|
1563
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1564
|
+
path: _path2 + ".skipValuesBuild",
|
|
1565
|
+
expected: "(boolean | undefined)",
|
|
1566
|
+
value: input3.skipValuesBuild
|
|
1567
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1568
|
+
path: _path2 + ".continuousColorScale",
|
|
1569
|
+
expected: "(__type.o3 | undefined)",
|
|
1570
|
+
value: input3.continuousColorScale
|
|
1571
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1572
|
+
path: _path2 + ".continuousColorScale",
|
|
1573
|
+
expected: "(__type.o3 | undefined)",
|
|
1574
|
+
value: input3.continuousColorScale
|
|
1575
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1576
|
+
path: _path2 + ".unit",
|
|
1577
|
+
expected: "(string | undefined)",
|
|
1578
|
+
value: input3.unit
|
|
1477
1579
|
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1478
1580
|
path: _path2 + ".genes",
|
|
1479
1581
|
expected: "(Array<string> | undefined)",
|
|
1480
1582
|
value: input3.genes
|
|
1481
|
-
})) && input3.genes.map((elem,
|
|
1482
|
-
path: _path2 + ".genes[" +
|
|
1583
|
+
})) && input3.genes.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1584
|
+
path: _path2 + ".genes[" + _index26 + "]",
|
|
1483
1585
|
expected: "string",
|
|
1484
1586
|
value: elem
|
|
1485
1587
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1495,7 +1597,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1495
1597
|
expected: "(PresetNumericBins | undefined)",
|
|
1496
1598
|
value: input3.bins
|
|
1497
1599
|
})].every((flag) => flag);
|
|
1498
|
-
const $
|
|
1600
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1499
1601
|
path: _path2 + ".key",
|
|
1500
1602
|
expected: "string",
|
|
1501
1603
|
value: input3.key
|
|
@@ -1512,7 +1614,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1512
1614
|
expected: "(string | undefined)",
|
|
1513
1615
|
value: input3.label
|
|
1514
1616
|
})].every((flag) => flag);
|
|
1515
|
-
const $
|
|
1617
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1516
1618
|
path: _path2 + ".join",
|
|
1517
1619
|
expected: "(string | undefined)",
|
|
1518
1620
|
value: input3.join
|
|
@@ -1524,7 +1626,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1524
1626
|
path: _path2 + ".term",
|
|
1525
1627
|
expected: "ConditionTerm",
|
|
1526
1628
|
value: input3.term
|
|
1527
|
-
})) && $
|
|
1629
|
+
})) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1528
1630
|
path: _path2 + ".term",
|
|
1529
1631
|
expected: "ConditionTerm",
|
|
1530
1632
|
value: input3.term
|
|
@@ -1544,12 +1646,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1544
1646
|
path: _path2 + ".grade_and_child",
|
|
1545
1647
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1546
1648
|
value: input3.grade_and_child
|
|
1547
|
-
})) && input3.grade_and_child.map((elem,
|
|
1548
|
-
path: _path2 + ".grade_and_child[" +
|
|
1649
|
+
})) && input3.grade_and_child.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1650
|
+
path: _path2 + ".grade_and_child[" + _index27 + "]",
|
|
1549
1651
|
expected: "GradeAndChildEntry",
|
|
1550
1652
|
value: elem
|
|
1551
|
-
})) && $
|
|
1552
|
-
path: _path2 + ".grade_and_child[" +
|
|
1653
|
+
})) && $vo37(elem, _path2 + ".grade_and_child[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1654
|
+
path: _path2 + ".grade_and_child[" + _index27 + "]",
|
|
1553
1655
|
expected: "GradeAndChildEntry",
|
|
1554
1656
|
value: elem
|
|
1555
1657
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1557,7 +1659,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1557
1659
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1558
1660
|
value: input3.grade_and_child
|
|
1559
1661
|
})].every((flag) => flag);
|
|
1560
|
-
const $
|
|
1662
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1561
1663
|
path: _path2 + ".id",
|
|
1562
1664
|
expected: "string",
|
|
1563
1665
|
value: input3.id
|
|
@@ -1573,8 +1675,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1573
1675
|
path: _path2 + ".child_types",
|
|
1574
1676
|
expected: "(Array<string> | undefined)",
|
|
1575
1677
|
value: input3.child_types
|
|
1576
|
-
})) && input3.child_types.map((elem,
|
|
1577
|
-
path: _path2 + ".child_types[" +
|
|
1678
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1679
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1578
1680
|
expected: "string",
|
|
1579
1681
|
value: elem
|
|
1580
1682
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1589,8 +1691,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1589
1691
|
path: _path2 + ".included_types",
|
|
1590
1692
|
expected: "(Array<string> | undefined)",
|
|
1591
1693
|
value: input3.included_types
|
|
1592
|
-
})) && input3.included_types.map((elem,
|
|
1593
|
-
path: _path2 + ".included_types[" +
|
|
1694
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1695
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1594
1696
|
expected: "string",
|
|
1595
1697
|
value: elem
|
|
1596
1698
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1614,7 +1716,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1614
1716
|
expected: "(boolean | undefined)",
|
|
1615
1717
|
value: input3.skipValuesBuild
|
|
1616
1718
|
})].every((flag) => flag);
|
|
1617
|
-
const $
|
|
1719
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1618
1720
|
path: _path2 + ".grade",
|
|
1619
1721
|
expected: "number",
|
|
1620
1722
|
value: input3.grade
|
|
@@ -1631,7 +1733,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1631
1733
|
expected: "string",
|
|
1632
1734
|
value: input3.child_label
|
|
1633
1735
|
})].every((flag) => flag);
|
|
1634
|
-
const $
|
|
1736
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1635
1737
|
path: _path2 + ".join",
|
|
1636
1738
|
expected: "(string | undefined)",
|
|
1637
1739
|
value: input3.join
|
|
@@ -1643,7 +1745,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1643
1745
|
path: _path2 + ".term",
|
|
1644
1746
|
expected: "DtTerm",
|
|
1645
1747
|
value: input3.term
|
|
1646
|
-
})) && $
|
|
1748
|
+
})) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1647
1749
|
path: _path2 + ".term",
|
|
1648
1750
|
expected: "DtTerm",
|
|
1649
1751
|
value: input3.term
|
|
@@ -1651,12 +1753,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1651
1753
|
path: _path2 + ".values",
|
|
1652
1754
|
expected: "Array<__type>.o2",
|
|
1653
1755
|
value: input3.values
|
|
1654
|
-
})) && input3.values.map((elem,
|
|
1655
|
-
path: _path2 + ".values[" +
|
|
1756
|
+
})) && input3.values.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1757
|
+
path: _path2 + ".values[" + _index30 + "]",
|
|
1656
1758
|
expected: "__type.o5",
|
|
1657
1759
|
value: elem
|
|
1658
|
-
})) && $
|
|
1659
|
-
path: _path2 + ".values[" +
|
|
1760
|
+
})) && $vo44(elem, _path2 + ".values[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1761
|
+
path: _path2 + ".values[" + _index30 + "]",
|
|
1660
1762
|
expected: "__type.o5",
|
|
1661
1763
|
value: elem
|
|
1662
1764
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1672,7 +1774,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1672
1774
|
expected: "(boolean | undefined)",
|
|
1673
1775
|
value: input3.excludeGeneName
|
|
1674
1776
|
})].every((flag) => flag);
|
|
1675
|
-
const $
|
|
1777
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1676
1778
|
path: _path2 + ".id",
|
|
1677
1779
|
expected: "string",
|
|
1678
1780
|
value: input3.id
|
|
@@ -1721,7 +1823,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1721
1823
|
expected: "TermValues",
|
|
1722
1824
|
value: input3.values
|
|
1723
1825
|
})].every((flag) => flag);
|
|
1724
|
-
const $
|
|
1826
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1725
1827
|
path: _path2 + ".id",
|
|
1726
1828
|
expected: "string",
|
|
1727
1829
|
value: input3.id
|
|
@@ -1737,8 +1839,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1737
1839
|
path: _path2 + ".child_types",
|
|
1738
1840
|
expected: "(Array<string> | undefined)",
|
|
1739
1841
|
value: input3.child_types
|
|
1740
|
-
})) && input3.child_types.map((elem,
|
|
1741
|
-
path: _path2 + ".child_types[" +
|
|
1842
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1843
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
1742
1844
|
expected: "string",
|
|
1743
1845
|
value: elem
|
|
1744
1846
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1753,8 +1855,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1753
1855
|
path: _path2 + ".included_types",
|
|
1754
1856
|
expected: "(Array<string> | undefined)",
|
|
1755
1857
|
value: input3.included_types
|
|
1756
|
-
})) && input3.included_types.map((elem,
|
|
1757
|
-
path: _path2 + ".included_types[" +
|
|
1858
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1859
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
1758
1860
|
expected: "string",
|
|
1759
1861
|
value: elem
|
|
1760
1862
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1801,12 +1903,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1801
1903
|
path: _path2 + ".genes",
|
|
1802
1904
|
expected: "Array<GvGeneTerm>",
|
|
1803
1905
|
value: input3.genes
|
|
1804
|
-
})) && input3.genes.map((elem,
|
|
1805
|
-
path: _path2 + ".genes[" +
|
|
1906
|
+
})) && input3.genes.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1907
|
+
path: _path2 + ".genes[" + _index33 + "]",
|
|
1806
1908
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1807
1909
|
value: elem
|
|
1808
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1809
|
-
path: _path2 + ".genes[" +
|
|
1910
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1911
|
+
path: _path2 + ".genes[" + _index33 + "]",
|
|
1810
1912
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1811
1913
|
value: elem
|
|
1812
1914
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1825,12 +1927,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1825
1927
|
path: _path2 + ".childTerms",
|
|
1826
1928
|
expected: "(Array<DtTerm> | undefined)",
|
|
1827
1929
|
value: input3.childTerms
|
|
1828
|
-
})) && input3.childTerms.map((elem,
|
|
1829
|
-
path: _path2 + ".childTerms[" +
|
|
1930
|
+
})) && input3.childTerms.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1931
|
+
path: _path2 + ".childTerms[" + _index34 + "]",
|
|
1830
1932
|
expected: "DtTerm",
|
|
1831
1933
|
value: elem
|
|
1832
|
-
})) && $
|
|
1833
|
-
path: _path2 + ".childTerms[" +
|
|
1934
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1935
|
+
path: _path2 + ".childTerms[" + _index34 + "]",
|
|
1834
1936
|
expected: "DtTerm",
|
|
1835
1937
|
value: elem
|
|
1836
1938
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1838,7 +1940,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1838
1940
|
expected: "(Array<DtTerm> | undefined)",
|
|
1839
1941
|
value: input3.childTerms
|
|
1840
1942
|
})].every((flag) => flag);
|
|
1841
|
-
const $
|
|
1943
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1842
1944
|
path: _path2 + ".id",
|
|
1843
1945
|
expected: "string",
|
|
1844
1946
|
value: input3.id
|
|
@@ -1854,8 +1956,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1854
1956
|
path: _path2 + ".child_types",
|
|
1855
1957
|
expected: "(Array<string> | undefined)",
|
|
1856
1958
|
value: input3.child_types
|
|
1857
|
-
})) && input3.child_types.map((elem,
|
|
1858
|
-
path: _path2 + ".child_types[" +
|
|
1959
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1960
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
1859
1961
|
expected: "string",
|
|
1860
1962
|
value: elem
|
|
1861
1963
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1870,8 +1972,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1870
1972
|
path: _path2 + ".included_types",
|
|
1871
1973
|
expected: "(Array<string> | undefined)",
|
|
1872
1974
|
value: input3.included_types
|
|
1873
|
-
})) && input3.included_types.map((elem,
|
|
1874
|
-
path: _path2 + ".included_types[" +
|
|
1975
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1976
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
1875
1977
|
expected: "string",
|
|
1876
1978
|
value: elem
|
|
1877
1979
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1915,7 +2017,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1915
2017
|
expected: "(number | undefined)",
|
|
1916
2018
|
value: input3.stop
|
|
1917
2019
|
})].every((flag) => flag);
|
|
1918
|
-
const $
|
|
2020
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1919
2021
|
path: _path2 + ".id",
|
|
1920
2022
|
expected: "string",
|
|
1921
2023
|
value: input3.id
|
|
@@ -1931,8 +2033,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1931
2033
|
path: _path2 + ".child_types",
|
|
1932
2034
|
expected: "(Array<string> | undefined)",
|
|
1933
2035
|
value: input3.child_types
|
|
1934
|
-
})) && input3.child_types.map((elem,
|
|
1935
|
-
path: _path2 + ".child_types[" +
|
|
2036
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2037
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
1936
2038
|
expected: "string",
|
|
1937
2039
|
value: elem
|
|
1938
2040
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1947,8 +2049,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1947
2049
|
path: _path2 + ".included_types",
|
|
1948
2050
|
expected: "(Array<string> | undefined)",
|
|
1949
2051
|
value: input3.included_types
|
|
1950
|
-
})) && input3.included_types.map((elem,
|
|
1951
|
-
path: _path2 + ".included_types[" +
|
|
2052
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2053
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
1952
2054
|
expected: "string",
|
|
1953
2055
|
value: elem
|
|
1954
2056
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1988,7 +2090,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1988
2090
|
expected: "number",
|
|
1989
2091
|
value: input3.stop
|
|
1990
2092
|
})].every((flag) => flag);
|
|
1991
|
-
const $
|
|
2093
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1992
2094
|
path: _path2 + ".id",
|
|
1993
2095
|
expected: "string",
|
|
1994
2096
|
value: input3.id
|
|
@@ -2004,8 +2106,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2004
2106
|
path: _path2 + ".child_types",
|
|
2005
2107
|
expected: "(Array<string> | undefined)",
|
|
2006
2108
|
value: input3.child_types
|
|
2007
|
-
})) && input3.child_types.map((elem,
|
|
2008
|
-
path: _path2 + ".child_types[" +
|
|
2109
|
+
})) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2110
|
+
path: _path2 + ".child_types[" + _index39 + "]",
|
|
2009
2111
|
expected: "string",
|
|
2010
2112
|
value: elem
|
|
2011
2113
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2020,8 +2122,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2020
2122
|
path: _path2 + ".included_types",
|
|
2021
2123
|
expected: "(Array<string> | undefined)",
|
|
2022
2124
|
value: input3.included_types
|
|
2023
|
-
})) && input3.included_types.map((elem,
|
|
2024
|
-
path: _path2 + ".included_types[" +
|
|
2125
|
+
})) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2126
|
+
path: _path2 + ".included_types[" + _index40 + "]",
|
|
2025
2127
|
expected: "string",
|
|
2026
2128
|
value: elem
|
|
2027
2129
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2064,12 +2166,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2064
2166
|
path: _path2 + ".genes",
|
|
2065
2167
|
expected: "Array<GvGeneTerm>",
|
|
2066
2168
|
value: input3.genes
|
|
2067
|
-
})) && input3.genes.map((elem,
|
|
2068
|
-
path: _path2 + ".genes[" +
|
|
2169
|
+
})) && input3.genes.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2170
|
+
path: _path2 + ".genes[" + _index41 + "]",
|
|
2069
2171
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2070
2172
|
value: elem
|
|
2071
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2072
|
-
path: _path2 + ".genes[" +
|
|
2173
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2174
|
+
path: _path2 + ".genes[" + _index41 + "]",
|
|
2073
2175
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2074
2176
|
value: elem
|
|
2075
2177
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2088,12 +2190,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2088
2190
|
path: _path2 + ".childTerms",
|
|
2089
2191
|
expected: "(Array<DtTerm> | undefined)",
|
|
2090
2192
|
value: input3.childTerms
|
|
2091
|
-
})) && input3.childTerms.map((elem,
|
|
2092
|
-
path: _path2 + ".childTerms[" +
|
|
2193
|
+
})) && input3.childTerms.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2194
|
+
path: _path2 + ".childTerms[" + _index42 + "]",
|
|
2093
2195
|
expected: "DtTerm",
|
|
2094
2196
|
value: elem
|
|
2095
|
-
})) && $
|
|
2096
|
-
path: _path2 + ".childTerms[" +
|
|
2197
|
+
})) && $vo39(elem, _path2 + ".childTerms[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2198
|
+
path: _path2 + ".childTerms[" + _index42 + "]",
|
|
2097
2199
|
expected: "DtTerm",
|
|
2098
2200
|
value: elem
|
|
2099
2201
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2101,7 +2203,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2101
2203
|
expected: "(Array<DtTerm> | undefined)",
|
|
2102
2204
|
value: input3.childTerms
|
|
2103
2205
|
})].every((flag) => flag);
|
|
2104
|
-
const $
|
|
2206
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2105
2207
|
path: _path2 + ".key",
|
|
2106
2208
|
expected: "string",
|
|
2107
2209
|
value: input3.key
|
|
@@ -2145,9 +2247,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2145
2247
|
})();
|
|
2146
2248
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2147
2249
|
if ("gene" === input3.kind)
|
|
2148
|
-
return $vo40(input3, _path2, _exceptionable2);
|
|
2149
|
-
if ("coord" === input3.kind)
|
|
2150
2250
|
return $vo41(input3, _path2, _exceptionable2);
|
|
2251
|
+
if ("coord" === input3.kind)
|
|
2252
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
2151
2253
|
return $report(_exceptionable2, {
|
|
2152
2254
|
path: _path2,
|
|
2153
2255
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2166,24 +2268,18 @@ var validBrainImagingRequest = (input) => {
|
|
|
2166
2268
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2167
2269
|
if (void 0 !== input3.ranges)
|
|
2168
2270
|
return $vo20(input3, _path2, _exceptionable2);
|
|
2169
|
-
return $vo14(input3, _path2, false) || $
|
|
2271
|
+
return $vo14(input3, _path2, false) || $vo35(input3, _path2, false) || $vo38(input3, _path2, false);
|
|
2170
2272
|
})();
|
|
2171
2273
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2172
2274
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2173
2275
|
return $vo21(input3, _path2, _exceptionable2);
|
|
2174
|
-
if ("geneExpression" === input3.type)
|
|
2175
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
2176
|
-
if ("date" === input3.type)
|
|
2177
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
2178
2276
|
if ("metaboliteIntensity" === input3.type)
|
|
2179
|
-
return $
|
|
2180
|
-
if ("
|
|
2277
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
2278
|
+
if ("date" === input3.type)
|
|
2181
2279
|
return $vo32(input3, _path2, _exceptionable2);
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
value: input3
|
|
2186
|
-
});
|
|
2280
|
+
if ("ssGSEA" === input3.type)
|
|
2281
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
2282
|
+
return $vo30(input3, _path2, false) || $vo29(input3, _path2, false);
|
|
2187
2283
|
})();
|
|
2188
2284
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2189
2285
|
if ("regular-bin" === input3.type)
|
|
@@ -2220,9 +2316,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2220
2316
|
})();
|
|
2221
2317
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2222
2318
|
if ("gene" === input3.kind)
|
|
2223
|
-
return $
|
|
2319
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
2224
2320
|
if ("coord" === input3.kind)
|
|
2225
|
-
return $
|
|
2321
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
2226
2322
|
return $report(_exceptionable2, {
|
|
2227
2323
|
path: _path2,
|
|
2228
2324
|
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; })',
|