@sjcrh/proteinpaint-types 2.137.2-2 → 2.137.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-SUL2XLYM.js → chunk-2YASZMH3.js} +665 -229
- package/dist/{chunk-6LRQCE3E.js → chunk-6HAS5WRS.js} +243 -41
- package/dist/{chunk-6H6TQ3MA.js → chunk-7FTOFTNK.js} +243 -41
- package/dist/{chunk-PAQX4HYF.js → chunk-AL4VFH5I.js} +520 -286
- package/dist/{chunk-7YFANJ2A.js → chunk-CC3OBRKE.js} +479 -245
- package/dist/{chunk-FMSTAFII.js → chunk-DD2RLZHC.js} +243 -41
- package/dist/{chunk-G36XAK7Y.js → chunk-GGZUN2GE.js} +73 -1
- package/dist/{chunk-CBPDONEQ.js → chunk-HCBXL376.js} +494 -246
- package/dist/{chunk-MDPMNCMV.js → chunk-HWRFIXJA.js} +480 -246
- package/dist/{chunk-IE3MSHTB.js → chunk-I2BMMKPN.js} +480 -246
- package/dist/{chunk-QCGBPQ7S.js → chunk-JKBVXIRQ.js} +247 -45
- package/dist/{chunk-657TS66W.js → chunk-LTGT4NK4.js} +713 -277
- package/dist/{chunk-YGOZU46P.js → chunk-S2M5SN7Q.js} +243 -41
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +13 -13
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.singleSampleMutation.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +9 -8
- package/src/routes/termdb.categories.ts +5 -0
- package/src/routes/termdb.descrstats.ts +1 -0
- package/src/routes/termdb.singleSampleMutation.ts +19 -1
- package/src/terms/geneVariant.ts +11 -3
|
@@ -22,7 +22,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
24
24
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.refKey && (void 0 === input3.l || "string" === typeof input3.l) && (void 0 === input3.f || "string" === typeof input3.f) && (void 0 === input3.t || "string" === typeof input3.t) && (Array.isArray(input3.selectedSampleFileNames) && input3.selectedSampleFileNames.every((elem) => "string" === typeof elem)) && (void 0 === input3.divideByTW || "object" === typeof input3.divideByTW && null !== input3.divideByTW && $io1(input3.divideByTW)) && (void 0 === input3.overlayTW || "object" === typeof input3.overlayTW && null !== input3.overlayTW && $io1(input3.overlayTW)) && (void 0 === input3.legendFilter || Array.isArray(input3.legendFilter) && input3.legendFilter.every((elem) => "string" === typeof elem));
|
|
25
|
-
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $
|
|
25
|
+
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu4(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term));
|
|
26
26
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
27
27
|
const value = input3[key];
|
|
28
28
|
if (void 0 === value)
|
|
@@ -48,7 +48,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
48
48
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
49
49
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && "string" === typeof input3.color;
|
|
50
50
|
const $io12 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
51
|
-
const $io13 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
51
|
+
const $io13 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
52
52
|
const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io17(elem)));
|
|
53
53
|
const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting));
|
|
54
54
|
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
@@ -66,8 +66,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
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
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 && $io21(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 && $io29(elem)));
|
|
68
68
|
const $io21 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io22(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io28(input3.continuousColorScale));
|
|
69
|
-
const $io22 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $
|
|
70
|
-
const $io23 = (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) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $
|
|
69
|
+
const $io22 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
70
|
+
const $io23 = (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) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
71
71
|
const $io24 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
72
72
|
const $io25 = (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);
|
|
73
73
|
const $io26 = (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);
|
|
@@ -77,11 +77,13 @@ var validBrainImagingRequest = (input) => {
|
|
|
77
77
|
const $io30 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io31(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 && $io32(elem)));
|
|
78
78
|
const $io31 = (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);
|
|
79
79
|
const $io32 = (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;
|
|
80
|
-
const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io34(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
81
|
-
const $io34 = (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 && $
|
|
82
|
-
const $io35 = (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) && (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 && $io34(elem)));
|
|
83
|
-
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
84
|
-
const $io37 = (input3) => "string" === typeof input3.
|
|
80
|
+
const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io34(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io39(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
81
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values));
|
|
82
|
+
const $io35 = (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 && $io34(elem)));
|
|
83
|
+
const $io36 = (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);
|
|
84
|
+
const $io37 = (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;
|
|
85
|
+
const $io38 = (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 && $io34(elem)));
|
|
86
|
+
const $io39 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
85
87
|
const $iu0 = (input3) => (() => {
|
|
86
88
|
if ("string" === typeof input3.type)
|
|
87
89
|
return $io9(input3);
|
|
@@ -104,6 +106,13 @@ var validBrainImagingRequest = (input) => {
|
|
|
104
106
|
return $io25(input3);
|
|
105
107
|
})();
|
|
106
108
|
const $iu3 = (input3) => (() => {
|
|
109
|
+
if ("gene" === input3.kind)
|
|
110
|
+
return $io36(input3);
|
|
111
|
+
if ("coord" === input3.kind)
|
|
112
|
+
return $io37(input3);
|
|
113
|
+
return false;
|
|
114
|
+
})();
|
|
115
|
+
const $iu4 = (input3) => (() => {
|
|
107
116
|
if ("values" === input3.type)
|
|
108
117
|
return $io3(input3);
|
|
109
118
|
if ("predefined-groupset" === input3.type)
|
|
@@ -112,7 +121,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
112
121
|
return $io7(input3);
|
|
113
122
|
return $io5(input3);
|
|
114
123
|
})();
|
|
115
|
-
const $
|
|
124
|
+
const $iu5 = (input3) => (() => {
|
|
116
125
|
if (void 0 !== input3.ranges)
|
|
117
126
|
return $io20(input3);
|
|
118
127
|
return (() => {
|
|
@@ -125,32 +134,32 @@ var validBrainImagingRequest = (input) => {
|
|
|
125
134
|
return false;
|
|
126
135
|
})();
|
|
127
136
|
})();
|
|
128
|
-
const $
|
|
137
|
+
const $iu6 = (input3) => (() => {
|
|
129
138
|
if ("regular-bin" === input3.type)
|
|
130
139
|
return $io23(input3);
|
|
131
140
|
if ("custom-bin" === input3.type)
|
|
132
141
|
return $io27(input3);
|
|
133
142
|
return false;
|
|
134
143
|
})();
|
|
135
|
-
const $
|
|
144
|
+
const $iu7 = (input3) => (() => {
|
|
136
145
|
if (true === input3.startunbounded)
|
|
137
146
|
return $io24(input3);
|
|
138
147
|
if (void 0 !== input3.start)
|
|
139
148
|
return $io25(input3);
|
|
140
149
|
return false;
|
|
141
150
|
})();
|
|
142
|
-
const $
|
|
151
|
+
const $iu8 = (input3) => (() => {
|
|
143
152
|
if (void 0 !== input3.stop)
|
|
144
153
|
return $io25(input3);
|
|
145
154
|
if (true === input3.stopunbounded)
|
|
146
155
|
return $io26(input3);
|
|
147
156
|
return false;
|
|
148
157
|
})();
|
|
149
|
-
const $
|
|
158
|
+
const $iu9 = (input3) => (() => {
|
|
150
159
|
if ("gene" === input3.kind)
|
|
151
160
|
return $io35(input3);
|
|
152
161
|
if ("coord" === input3.kind)
|
|
153
|
-
return $
|
|
162
|
+
return $io38(input3);
|
|
154
163
|
return false;
|
|
155
164
|
})();
|
|
156
165
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -256,7 +265,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
256
265
|
path: _path2 + ".q",
|
|
257
266
|
expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
258
267
|
value: input3.q
|
|
259
|
-
})) && $
|
|
268
|
+
})) && $vu4(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
260
269
|
path: _path2 + ".q",
|
|
261
270
|
expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
262
271
|
value: input3.q
|
|
@@ -534,7 +543,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
534
543
|
path: _path2 + ".tvs",
|
|
535
544
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
536
545
|
value: input3.tvs
|
|
537
|
-
})) && $
|
|
546
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
538
547
|
path: _path2 + ".tvs",
|
|
539
548
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
540
549
|
value: input3.tvs
|
|
@@ -884,7 +893,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
884
893
|
path: _path2 + '["default"]',
|
|
885
894
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
886
895
|
value: input3["default"]
|
|
887
|
-
})) && $
|
|
896
|
+
})) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
888
897
|
path: _path2 + '["default"]',
|
|
889
898
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
890
899
|
value: input3["default"]
|
|
@@ -892,7 +901,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
892
901
|
path: _path2 + ".less",
|
|
893
902
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
894
903
|
value: input3.less
|
|
895
|
-
})) && $
|
|
904
|
+
})) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
896
905
|
path: _path2 + ".less",
|
|
897
906
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
898
907
|
value: input3.less
|
|
@@ -953,7 +962,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
953
962
|
path: _path2 + ".first_bin",
|
|
954
963
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
955
964
|
value: input3.first_bin
|
|
956
|
-
})) && $
|
|
965
|
+
})) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
957
966
|
path: _path2 + ".first_bin",
|
|
958
967
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
959
968
|
value: input3.first_bin
|
|
@@ -961,7 +970,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
961
970
|
path: _path2 + ".last_bin",
|
|
962
971
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
963
972
|
value: input3.last_bin
|
|
964
|
-
})) && $
|
|
973
|
+
})) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
965
974
|
path: _path2 + ".last_bin",
|
|
966
975
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
967
976
|
value: input3.last_bin
|
|
@@ -1285,7 +1294,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1285
1294
|
path: _path2 + ".values[" + _index19 + "]",
|
|
1286
1295
|
expected: "__type.o5",
|
|
1287
1296
|
value: elem
|
|
1288
|
-
})) && $
|
|
1297
|
+
})) && $vo39(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1289
1298
|
path: _path2 + ".values[" + _index19 + "]",
|
|
1290
1299
|
expected: "__type.o5",
|
|
1291
1300
|
value: elem
|
|
@@ -1320,11 +1329,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1320
1329
|
value: input3.name_noOrigin
|
|
1321
1330
|
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1322
1331
|
path: _path2 + ".parentTerm",
|
|
1323
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
1332
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1324
1333
|
value: input3.parentTerm
|
|
1325
|
-
})) && $
|
|
1334
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1326
1335
|
path: _path2 + ".parentTerm",
|
|
1327
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
1336
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1328
1337
|
value: input3.parentTerm
|
|
1329
1338
|
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1330
1339
|
path: _path2 + ".isleaf",
|
|
@@ -1427,6 +1436,22 @@ var validBrainImagingRequest = (input) => {
|
|
|
1427
1436
|
path: _path2 + ".stop",
|
|
1428
1437
|
expected: "(number | undefined)",
|
|
1429
1438
|
value: input3.stop
|
|
1439
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1440
|
+
path: _path2 + ".genes",
|
|
1441
|
+
expected: "Array<GvGeneTerm>",
|
|
1442
|
+
value: input3.genes
|
|
1443
|
+
})) && input3.genes.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1444
|
+
path: _path2 + ".genes[" + _index22 + "]",
|
|
1445
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1446
|
+
value: elem
|
|
1447
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1448
|
+
path: _path2 + ".genes[" + _index22 + "]",
|
|
1449
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1450
|
+
value: elem
|
|
1451
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1452
|
+
path: _path2 + ".genes",
|
|
1453
|
+
expected: "Array<GvGeneTerm>",
|
|
1454
|
+
value: input3.genes
|
|
1430
1455
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1431
1456
|
path: _path2 + ".groupsetting",
|
|
1432
1457
|
expected: "(TermGroupSetting | undefined)",
|
|
@@ -1439,12 +1464,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1439
1464
|
path: _path2 + ".childTerms",
|
|
1440
1465
|
expected: "(Array<DtTerm> | undefined)",
|
|
1441
1466
|
value: input3.childTerms
|
|
1442
|
-
})) && input3.childTerms.map((elem,
|
|
1443
|
-
path: _path2 + ".childTerms[" +
|
|
1467
|
+
})) && input3.childTerms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1468
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1444
1469
|
expected: "DtTerm",
|
|
1445
1470
|
value: elem
|
|
1446
|
-
})) && $vo34(elem, _path2 + ".childTerms[" +
|
|
1447
|
-
path: _path2 + ".childTerms[" +
|
|
1471
|
+
})) && $vo34(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1472
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1448
1473
|
expected: "DtTerm",
|
|
1449
1474
|
value: elem
|
|
1450
1475
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1460,6 +1485,156 @@ var validBrainImagingRequest = (input) => {
|
|
|
1460
1485
|
path: _path2 + ".name",
|
|
1461
1486
|
expected: "string",
|
|
1462
1487
|
value: input3.name
|
|
1488
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1489
|
+
path: _path2 + ".type",
|
|
1490
|
+
expected: "string",
|
|
1491
|
+
value: input3.type
|
|
1492
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".child_types",
|
|
1494
|
+
expected: "(Array<string> | undefined)",
|
|
1495
|
+
value: input3.child_types
|
|
1496
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1497
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1498
|
+
expected: "string",
|
|
1499
|
+
value: elem
|
|
1500
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1501
|
+
path: _path2 + ".child_types",
|
|
1502
|
+
expected: "(Array<string> | undefined)",
|
|
1503
|
+
value: input3.child_types
|
|
1504
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1505
|
+
path: _path2 + ".hashtmldetail",
|
|
1506
|
+
expected: "(boolean | undefined)",
|
|
1507
|
+
value: input3.hashtmldetail
|
|
1508
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1509
|
+
path: _path2 + ".included_types",
|
|
1510
|
+
expected: "(Array<string> | undefined)",
|
|
1511
|
+
value: input3.included_types
|
|
1512
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1513
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1514
|
+
expected: "string",
|
|
1515
|
+
value: elem
|
|
1516
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1517
|
+
path: _path2 + ".included_types",
|
|
1518
|
+
expected: "(Array<string> | undefined)",
|
|
1519
|
+
value: input3.included_types
|
|
1520
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1521
|
+
path: _path2 + ".isleaf",
|
|
1522
|
+
expected: "(boolean | undefined)",
|
|
1523
|
+
value: input3.isleaf
|
|
1524
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1525
|
+
path: _path2 + ".values",
|
|
1526
|
+
expected: "(TermValues | undefined)",
|
|
1527
|
+
value: input3.values
|
|
1528
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1529
|
+
path: _path2 + ".values",
|
|
1530
|
+
expected: "(TermValues | undefined)",
|
|
1531
|
+
value: input3.values
|
|
1532
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1533
|
+
path: _path2 + ".skipValuesBuild",
|
|
1534
|
+
expected: "(boolean | undefined)",
|
|
1535
|
+
value: input3.skipValuesBuild
|
|
1536
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1537
|
+
path: _path2 + ".kind",
|
|
1538
|
+
expected: '"gene"',
|
|
1539
|
+
value: input3.kind
|
|
1540
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1541
|
+
path: _path2 + ".gene",
|
|
1542
|
+
expected: "string",
|
|
1543
|
+
value: input3.gene
|
|
1544
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".chr",
|
|
1546
|
+
expected: "(string | undefined)",
|
|
1547
|
+
value: input3.chr
|
|
1548
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1549
|
+
path: _path2 + ".start",
|
|
1550
|
+
expected: "(number | undefined)",
|
|
1551
|
+
value: input3.start
|
|
1552
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".stop",
|
|
1554
|
+
expected: "(number | undefined)",
|
|
1555
|
+
value: input3.stop
|
|
1556
|
+
})].every((flag) => flag);
|
|
1557
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1558
|
+
path: _path2 + ".id",
|
|
1559
|
+
expected: "string",
|
|
1560
|
+
value: input3.id
|
|
1561
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1562
|
+
path: _path2 + ".name",
|
|
1563
|
+
expected: "string",
|
|
1564
|
+
value: input3.name
|
|
1565
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1566
|
+
path: _path2 + ".type",
|
|
1567
|
+
expected: "string",
|
|
1568
|
+
value: input3.type
|
|
1569
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1570
|
+
path: _path2 + ".child_types",
|
|
1571
|
+
expected: "(Array<string> | undefined)",
|
|
1572
|
+
value: input3.child_types
|
|
1573
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1574
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1575
|
+
expected: "string",
|
|
1576
|
+
value: elem
|
|
1577
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1578
|
+
path: _path2 + ".child_types",
|
|
1579
|
+
expected: "(Array<string> | undefined)",
|
|
1580
|
+
value: input3.child_types
|
|
1581
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1582
|
+
path: _path2 + ".hashtmldetail",
|
|
1583
|
+
expected: "(boolean | undefined)",
|
|
1584
|
+
value: input3.hashtmldetail
|
|
1585
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1586
|
+
path: _path2 + ".included_types",
|
|
1587
|
+
expected: "(Array<string> | undefined)",
|
|
1588
|
+
value: input3.included_types
|
|
1589
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1590
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1591
|
+
expected: "string",
|
|
1592
|
+
value: elem
|
|
1593
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1594
|
+
path: _path2 + ".included_types",
|
|
1595
|
+
expected: "(Array<string> | undefined)",
|
|
1596
|
+
value: input3.included_types
|
|
1597
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1598
|
+
path: _path2 + ".isleaf",
|
|
1599
|
+
expected: "(boolean | undefined)",
|
|
1600
|
+
value: input3.isleaf
|
|
1601
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1602
|
+
path: _path2 + ".values",
|
|
1603
|
+
expected: "(TermValues | undefined)",
|
|
1604
|
+
value: input3.values
|
|
1605
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1606
|
+
path: _path2 + ".values",
|
|
1607
|
+
expected: "(TermValues | undefined)",
|
|
1608
|
+
value: input3.values
|
|
1609
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1610
|
+
path: _path2 + ".skipValuesBuild",
|
|
1611
|
+
expected: "(boolean | undefined)",
|
|
1612
|
+
value: input3.skipValuesBuild
|
|
1613
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1614
|
+
path: _path2 + ".kind",
|
|
1615
|
+
expected: '"coord"',
|
|
1616
|
+
value: input3.kind
|
|
1617
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1618
|
+
path: _path2 + ".chr",
|
|
1619
|
+
expected: "string",
|
|
1620
|
+
value: input3.chr
|
|
1621
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1622
|
+
path: _path2 + ".start",
|
|
1623
|
+
expected: "number",
|
|
1624
|
+
value: input3.start
|
|
1625
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1626
|
+
path: _path2 + ".stop",
|
|
1627
|
+
expected: "number",
|
|
1628
|
+
value: input3.stop
|
|
1629
|
+
})].every((flag) => flag);
|
|
1630
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1631
|
+
path: _path2 + ".id",
|
|
1632
|
+
expected: "string",
|
|
1633
|
+
value: input3.id
|
|
1634
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1635
|
+
path: _path2 + ".name",
|
|
1636
|
+
expected: "string",
|
|
1637
|
+
value: input3.name
|
|
1463
1638
|
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1464
1639
|
path: _path2 + ".type",
|
|
1465
1640
|
expected: '"geneVariant"',
|
|
@@ -1468,8 +1643,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1468
1643
|
path: _path2 + ".child_types",
|
|
1469
1644
|
expected: "(Array<string> | undefined)",
|
|
1470
1645
|
value: input3.child_types
|
|
1471
|
-
})) && input3.child_types.map((elem,
|
|
1472
|
-
path: _path2 + ".child_types[" +
|
|
1646
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1647
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1473
1648
|
expected: "string",
|
|
1474
1649
|
value: elem
|
|
1475
1650
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1484,8 +1659,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1484
1659
|
path: _path2 + ".included_types",
|
|
1485
1660
|
expected: "(Array<string> | undefined)",
|
|
1486
1661
|
value: input3.included_types
|
|
1487
|
-
})) && input3.included_types.map((elem,
|
|
1488
|
-
path: _path2 + ".included_types[" +
|
|
1662
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1663
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1489
1664
|
expected: "string",
|
|
1490
1665
|
value: elem
|
|
1491
1666
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1524,6 +1699,22 @@ var validBrainImagingRequest = (input) => {
|
|
|
1524
1699
|
path: _path2 + ".stop",
|
|
1525
1700
|
expected: "number",
|
|
1526
1701
|
value: input3.stop
|
|
1702
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1703
|
+
path: _path2 + ".genes",
|
|
1704
|
+
expected: "Array<GvGeneTerm>",
|
|
1705
|
+
value: input3.genes
|
|
1706
|
+
})) && input3.genes.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1707
|
+
path: _path2 + ".genes[" + _index30 + "]",
|
|
1708
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1709
|
+
value: elem
|
|
1710
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1711
|
+
path: _path2 + ".genes[" + _index30 + "]",
|
|
1712
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1713
|
+
value: elem
|
|
1714
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1715
|
+
path: _path2 + ".genes",
|
|
1716
|
+
expected: "Array<GvGeneTerm>",
|
|
1717
|
+
value: input3.genes
|
|
1527
1718
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1528
1719
|
path: _path2 + ".groupsetting",
|
|
1529
1720
|
expected: "(TermGroupSetting | undefined)",
|
|
@@ -1536,12 +1727,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1536
1727
|
path: _path2 + ".childTerms",
|
|
1537
1728
|
expected: "(Array<DtTerm> | undefined)",
|
|
1538
1729
|
value: input3.childTerms
|
|
1539
|
-
})) && input3.childTerms.map((elem,
|
|
1540
|
-
path: _path2 + ".childTerms[" +
|
|
1730
|
+
})) && input3.childTerms.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1731
|
+
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1541
1732
|
expected: "DtTerm",
|
|
1542
1733
|
value: elem
|
|
1543
|
-
})) && $vo34(elem, _path2 + ".childTerms[" +
|
|
1544
|
-
path: _path2 + ".childTerms[" +
|
|
1734
|
+
})) && $vo34(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1735
|
+
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1545
1736
|
expected: "DtTerm",
|
|
1546
1737
|
value: elem
|
|
1547
1738
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1549,7 +1740,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1549
1740
|
expected: "(Array<DtTerm> | undefined)",
|
|
1550
1741
|
value: input3.childTerms
|
|
1551
1742
|
})].every((flag) => flag);
|
|
1552
|
-
const $
|
|
1743
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1553
1744
|
path: _path2 + ".key",
|
|
1554
1745
|
expected: "string",
|
|
1555
1746
|
value: input3.key
|
|
@@ -1592,6 +1783,17 @@ var validBrainImagingRequest = (input) => {
|
|
|
1592
1783
|
return $vo25(input3, _path2, _exceptionable2);
|
|
1593
1784
|
})();
|
|
1594
1785
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1786
|
+
if ("gene" === input3.kind)
|
|
1787
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1788
|
+
if ("coord" === input3.kind)
|
|
1789
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
1790
|
+
return $report(_exceptionable2, {
|
|
1791
|
+
path: _path2,
|
|
1792
|
+
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
1793
|
+
value: input3
|
|
1794
|
+
});
|
|
1795
|
+
})();
|
|
1796
|
+
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1595
1797
|
if ("values" === input3.type)
|
|
1596
1798
|
return $vo3(input3, _path2, _exceptionable2);
|
|
1597
1799
|
if ("predefined-groupset" === input3.type)
|
|
@@ -1600,12 +1802,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1600
1802
|
return $vo7(input3, _path2, _exceptionable2);
|
|
1601
1803
|
return $vo5(input3, _path2, _exceptionable2);
|
|
1602
1804
|
})();
|
|
1603
|
-
const $
|
|
1805
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1604
1806
|
if (void 0 !== input3.ranges)
|
|
1605
1807
|
return $vo20(input3, _path2, _exceptionable2);
|
|
1606
1808
|
return $vo14(input3, _path2, false) || $vo30(input3, _path2, false) || $vo33(input3, _path2, false);
|
|
1607
1809
|
})();
|
|
1608
|
-
const $
|
|
1810
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1609
1811
|
if ("regular-bin" === input3.type)
|
|
1610
1812
|
return $vo23(input3, _path2, _exceptionable2);
|
|
1611
1813
|
if ("custom-bin" === input3.type)
|
|
@@ -1616,7 +1818,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1616
1818
|
value: input3
|
|
1617
1819
|
});
|
|
1618
1820
|
})();
|
|
1619
|
-
const $
|
|
1821
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1620
1822
|
if (true === input3.startunbounded)
|
|
1621
1823
|
return $vo24(input3, _path2, _exceptionable2);
|
|
1622
1824
|
if (void 0 !== input3.start)
|
|
@@ -1627,7 +1829,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1627
1829
|
value: input3
|
|
1628
1830
|
});
|
|
1629
1831
|
})();
|
|
1630
|
-
const $
|
|
1832
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1631
1833
|
if (void 0 !== input3.stop)
|
|
1632
1834
|
return $vo25(input3, _path2, _exceptionable2);
|
|
1633
1835
|
if (true === input3.stopunbounded)
|
|
@@ -1638,14 +1840,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
1638
1840
|
value: input3
|
|
1639
1841
|
});
|
|
1640
1842
|
})();
|
|
1641
|
-
const $
|
|
1843
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1642
1844
|
if ("gene" === input3.kind)
|
|
1643
1845
|
return $vo35(input3, _path2, _exceptionable2);
|
|
1644
1846
|
if ("coord" === input3.kind)
|
|
1645
|
-
return $
|
|
1847
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
1646
1848
|
return $report(_exceptionable2, {
|
|
1647
1849
|
path: _path2,
|
|
1648
|
-
expected: '(BaseTerm & { type: "geneVariant";
|
|
1850
|
+
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; })',
|
|
1649
1851
|
value: input3
|
|
1650
1852
|
});
|
|
1651
1853
|
})();
|