@sjcrh/proteinpaint-types 2.137.2-0 → 2.137.2-1
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-OQVYIYZL.js → chunk-657TS66W.js} +338 -394
- package/dist/{chunk-UG7RYMCA.js → chunk-6H6TQ3MA.js} +117 -145
- package/dist/{chunk-DA6B77HN.js → chunk-6LRQCE3E.js} +117 -145
- package/dist/{chunk-AKJWBIUV.js → chunk-7YFANJ2A.js} +268 -296
- package/dist/{chunk-HF2D3UVQ.js → chunk-CBPDONEQ.js} +268 -296
- package/dist/{chunk-B2FSTXLW.js → chunk-FMSTAFII.js} +117 -145
- package/dist/{chunk-3P6M5ZNJ.js → chunk-IE3MSHTB.js} +268 -296
- package/dist/{chunk-MLAGM7F5.js → chunk-MDPMNCMV.js} +268 -296
- package/dist/{chunk-M7HKDHB3.js → chunk-PAQX4HYF.js} +329 -357
- package/dist/{chunk-BS7BYTYZ.js → chunk-QCGBPQ7S.js} +113 -141
- package/dist/{chunk-C32XALTH.js → chunk-SUL2XLYM.js} +304 -360
- package/dist/{chunk-G5SBQR25.js → chunk-YGOZU46P.js} +117 -145
- 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/geneVariant.ts +29 -19
- package/src/terms/term.ts +4 -12
|
@@ -50,7 +50,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
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
51
|
const $io13 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(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
|
-
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 && $
|
|
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) => {
|
|
55
55
|
const value = input3[key];
|
|
56
56
|
if (void 0 === value)
|
|
@@ -62,27 +62,26 @@ var validBrainImagingRequest = (input) => {
|
|
|
62
62
|
return true;
|
|
63
63
|
});
|
|
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
|
-
const $io18 = (input3) =>
|
|
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.
|
|
67
|
-
const $io20 = (input3) => "
|
|
68
|
-
const $io21 = (input3) => (void 0 === input3.
|
|
69
|
-
const $io22 = (input3) => "
|
|
70
|
-
const $io23 = (input3) => "object" === typeof input3
|
|
71
|
-
const $io24 = (input3) =>
|
|
72
|
-
const $io25 = (input3) =>
|
|
73
|
-
const $io26 = (input3) =>
|
|
74
|
-
const $io27 = (input3) => "
|
|
75
|
-
const $io28 = (input3) =>
|
|
76
|
-
const $io29 = (input3) => "string" === typeof input3.
|
|
77
|
-
const $io30 = (input3) => "string" === typeof input3.
|
|
78
|
-
const $io31 = (input3) =>
|
|
79
|
-
const $io32 = (input3) => "
|
|
80
|
-
const $io33 = (input3) => "
|
|
81
|
-
const $io34 = (input3) =>
|
|
82
|
-
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
83
|
-
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "
|
|
84
|
-
const $io37 = (input3) => "string" === typeof input3.
|
|
85
|
-
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
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
|
+
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 && $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
|
+
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"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
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 && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
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
|
+
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
|
+
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);
|
|
74
|
+
const $io27 = (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);
|
|
75
|
+
const $io28 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
76
|
+
const $io29 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
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
|
+
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
|
+
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 && $io37(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 && $iu8(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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) && (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 && "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 && (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)));
|
|
84
|
+
const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
86
85
|
const $iu0 = (input3) => (() => {
|
|
87
86
|
if ("string" === typeof input3.type)
|
|
88
87
|
return $io9(input3);
|
|
@@ -99,10 +98,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
99
98
|
})();
|
|
100
99
|
const $iu2 = (input3) => (() => {
|
|
101
100
|
if (true === input3.startunbounded)
|
|
102
|
-
return $
|
|
101
|
+
return $io24(input3);
|
|
103
102
|
if (true === input3.stopunbounded)
|
|
104
|
-
return $
|
|
105
|
-
return $
|
|
103
|
+
return $io26(input3);
|
|
104
|
+
return $io25(input3);
|
|
106
105
|
})();
|
|
107
106
|
const $iu3 = (input3) => (() => {
|
|
108
107
|
if ("values" === input3.type)
|
|
@@ -115,48 +114,43 @@ var validBrainImagingRequest = (input) => {
|
|
|
115
114
|
})();
|
|
116
115
|
const $iu4 = (input3) => (() => {
|
|
117
116
|
if (void 0 !== input3.ranges)
|
|
118
|
-
return $
|
|
117
|
+
return $io20(input3);
|
|
119
118
|
return (() => {
|
|
120
119
|
if ($io14(input3))
|
|
121
120
|
return $io14(input3);
|
|
122
|
-
if ($
|
|
123
|
-
return $
|
|
124
|
-
if ($
|
|
125
|
-
return $
|
|
121
|
+
if ($io30(input3))
|
|
122
|
+
return $io30(input3);
|
|
123
|
+
if ($io33(input3))
|
|
124
|
+
return $io33(input3);
|
|
126
125
|
return false;
|
|
127
126
|
})();
|
|
128
127
|
})();
|
|
129
128
|
const $iu5 = (input3) => (() => {
|
|
130
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)))
|
|
131
|
-
return $io18(input3);
|
|
132
|
-
return $io20(input3);
|
|
133
|
-
})();
|
|
134
|
-
const $iu6 = (input3) => (() => {
|
|
135
129
|
if ("regular-bin" === input3.type)
|
|
136
|
-
return $
|
|
130
|
+
return $io23(input3);
|
|
137
131
|
if ("custom-bin" === input3.type)
|
|
138
|
-
return $
|
|
132
|
+
return $io27(input3);
|
|
139
133
|
return false;
|
|
140
134
|
})();
|
|
141
|
-
const $
|
|
135
|
+
const $iu6 = (input3) => (() => {
|
|
142
136
|
if (true === input3.startunbounded)
|
|
143
|
-
return $
|
|
137
|
+
return $io24(input3);
|
|
144
138
|
if (void 0 !== input3.start)
|
|
145
|
-
return $
|
|
139
|
+
return $io25(input3);
|
|
146
140
|
return false;
|
|
147
141
|
})();
|
|
148
|
-
const $
|
|
142
|
+
const $iu7 = (input3) => (() => {
|
|
149
143
|
if (void 0 !== input3.stop)
|
|
150
|
-
return $
|
|
144
|
+
return $io25(input3);
|
|
151
145
|
if (true === input3.stopunbounded)
|
|
152
|
-
return $
|
|
146
|
+
return $io26(input3);
|
|
153
147
|
return false;
|
|
154
148
|
})();
|
|
155
|
-
const $
|
|
149
|
+
const $iu8 = (input3) => (() => {
|
|
156
150
|
if ("gene" === input3.kind)
|
|
157
|
-
return $
|
|
151
|
+
return $io35(input3);
|
|
158
152
|
if ("coord" === input3.kind)
|
|
159
|
-
return $
|
|
153
|
+
return $io36(input3);
|
|
160
154
|
return false;
|
|
161
155
|
})();
|
|
162
156
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -640,11 +634,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
640
634
|
value: input3.skipValuesBuild
|
|
641
635
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
642
636
|
path: _path2 + ".groupsetting",
|
|
643
|
-
expected: "
|
|
637
|
+
expected: "TermGroupSetting",
|
|
644
638
|
value: input3.groupsetting
|
|
645
|
-
})) && $
|
|
639
|
+
})) && $vo18(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
646
640
|
path: _path2 + ".groupsetting",
|
|
647
|
-
expected: "
|
|
641
|
+
expected: "TermGroupSetting",
|
|
648
642
|
value: input3.groupsetting
|
|
649
643
|
})].every((flag) => flag);
|
|
650
644
|
const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -706,13 +700,13 @@ var validBrainImagingRequest = (input) => {
|
|
|
706
700
|
expected: "(Filter | undefined)",
|
|
707
701
|
value: input3.filter
|
|
708
702
|
})].every((flag) => flag);
|
|
709
|
-
const $vo18 = (input3, _path2, _exceptionable2 = true) => [
|
|
703
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
710
704
|
path: _path2 + ".disabled",
|
|
711
|
-
expected: "
|
|
705
|
+
expected: "boolean",
|
|
712
706
|
value: input3.disabled
|
|
713
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
707
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
714
708
|
path: _path2 + ".lst",
|
|
715
|
-
expected: "Array<Groupset>",
|
|
709
|
+
expected: "(Array<Groupset> | undefined)",
|
|
716
710
|
value: input3.lst
|
|
717
711
|
})) && input3.lst.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
718
712
|
path: _path2 + ".lst[" + _index9 + "]",
|
|
@@ -724,7 +718,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
724
718
|
value: elem
|
|
725
719
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
726
720
|
path: _path2 + ".lst",
|
|
727
|
-
expected: "Array<Groupset>",
|
|
721
|
+
expected: "(Array<Groupset> | undefined)",
|
|
728
722
|
value: input3.lst
|
|
729
723
|
})].every((flag) => flag);
|
|
730
724
|
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
@@ -739,10 +733,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
739
733
|
path: _path2 + ".is_subcondition",
|
|
740
734
|
expected: "(boolean | undefined)",
|
|
741
735
|
value: input3.is_subcondition
|
|
742
|
-
}), void 0 === input3.
|
|
743
|
-
path: _path2 + ".
|
|
744
|
-
expected: "(
|
|
745
|
-
value: input3.
|
|
736
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
737
|
+
path: _path2 + ".dt",
|
|
738
|
+
expected: "(number | undefined)",
|
|
739
|
+
value: input3.dt
|
|
746
740
|
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
747
741
|
path: _path2 + ".groups",
|
|
748
742
|
expected: "Array<GroupEntry>",
|
|
@@ -760,24 +754,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
760
754
|
expected: "Array<GroupEntry>",
|
|
761
755
|
value: input3.groups
|
|
762
756
|
})].every((flag) => flag);
|
|
763
|
-
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["
|
|
764
|
-
path: _path2 + ".disabled",
|
|
765
|
-
expected: "boolean",
|
|
766
|
-
value: input3.disabled
|
|
767
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
768
|
-
path: _path2 + ".lst",
|
|
769
|
-
expected: "([] | undefined)",
|
|
770
|
-
value: input3.lst
|
|
771
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
772
|
-
path: _path2 + ".lst",
|
|
773
|
-
expected: "[]",
|
|
774
|
-
value: input3.lst
|
|
775
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
776
|
-
path: _path2 + ".lst",
|
|
777
|
-
expected: "([] | undefined)",
|
|
778
|
-
value: input3.lst
|
|
779
|
-
})].every((flag) => flag);
|
|
780
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
757
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
781
758
|
path: _path2 + ".join",
|
|
782
759
|
expected: "(string | undefined)",
|
|
783
760
|
value: input3.join
|
|
@@ -789,7 +766,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
789
766
|
path: _path2 + ".term",
|
|
790
767
|
expected: "NumericTerm",
|
|
791
768
|
value: input3.term
|
|
792
|
-
})) && $
|
|
769
|
+
})) && $vo21(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
793
770
|
path: _path2 + ".term",
|
|
794
771
|
expected: "NumericTerm",
|
|
795
772
|
value: input3.term
|
|
@@ -815,18 +792,18 @@ var validBrainImagingRequest = (input) => {
|
|
|
815
792
|
value: input3.values
|
|
816
793
|
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
817
794
|
path: _path2 + ".values[" + _index12 + "]",
|
|
818
|
-
expected: "__type.
|
|
795
|
+
expected: "__type.o4",
|
|
819
796
|
value: elem
|
|
820
|
-
})) && $
|
|
797
|
+
})) && $vo29(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
821
798
|
path: _path2 + ".values[" + _index12 + "]",
|
|
822
|
-
expected: "__type.
|
|
799
|
+
expected: "__type.o4",
|
|
823
800
|
value: elem
|
|
824
801
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
825
802
|
path: _path2 + ".values",
|
|
826
803
|
expected: "Array<__type>.o1",
|
|
827
804
|
value: input3.values
|
|
828
805
|
})].every((flag) => flag);
|
|
829
|
-
const $
|
|
806
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
830
807
|
path: _path2 + ".id",
|
|
831
808
|
expected: "string",
|
|
832
809
|
value: input3.id
|
|
@@ -886,7 +863,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
886
863
|
path: _path2 + ".bins",
|
|
887
864
|
expected: "PresetNumericBins",
|
|
888
865
|
value: input3.bins
|
|
889
|
-
})) && $
|
|
866
|
+
})) && $vo22(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
890
867
|
path: _path2 + ".bins",
|
|
891
868
|
expected: "PresetNumericBins",
|
|
892
869
|
value: input3.bins
|
|
@@ -896,18 +873,18 @@ var validBrainImagingRequest = (input) => {
|
|
|
896
873
|
value: input3.unit
|
|
897
874
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
898
875
|
path: _path2 + ".continuousColorScale",
|
|
899
|
-
expected: "(__type.
|
|
876
|
+
expected: "(__type.o3 | undefined)",
|
|
900
877
|
value: input3.continuousColorScale
|
|
901
|
-
})) && $
|
|
878
|
+
})) && $vo28(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
902
879
|
path: _path2 + ".continuousColorScale",
|
|
903
|
-
expected: "(__type.
|
|
880
|
+
expected: "(__type.o3 | undefined)",
|
|
904
881
|
value: input3.continuousColorScale
|
|
905
882
|
})].every((flag) => flag);
|
|
906
|
-
const $
|
|
883
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
907
884
|
path: _path2 + '["default"]',
|
|
908
885
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
909
886
|
value: input3["default"]
|
|
910
|
-
})) && $
|
|
887
|
+
})) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
911
888
|
path: _path2 + '["default"]',
|
|
912
889
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
913
890
|
value: input3["default"]
|
|
@@ -915,7 +892,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
915
892
|
path: _path2 + ".less",
|
|
916
893
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
917
894
|
value: input3.less
|
|
918
|
-
})) && $
|
|
895
|
+
})) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
919
896
|
path: _path2 + ".less",
|
|
920
897
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
921
898
|
value: input3.less
|
|
@@ -940,7 +917,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
940
917
|
expected: "(number | undefined)",
|
|
941
918
|
value: input3.max
|
|
942
919
|
})].every((flag) => flag);
|
|
943
|
-
const $
|
|
920
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
944
921
|
path: _path2 + ".hiddenValues",
|
|
945
922
|
expected: "(HiddenValues | undefined)",
|
|
946
923
|
value: input3.hiddenValues
|
|
@@ -976,7 +953,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
976
953
|
path: _path2 + ".first_bin",
|
|
977
954
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
978
955
|
value: input3.first_bin
|
|
979
|
-
})) && $
|
|
956
|
+
})) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
980
957
|
path: _path2 + ".first_bin",
|
|
981
958
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
982
959
|
value: input3.first_bin
|
|
@@ -984,7 +961,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
984
961
|
path: _path2 + ".last_bin",
|
|
985
962
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
986
963
|
value: input3.last_bin
|
|
987
|
-
})) && $
|
|
964
|
+
})) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
988
965
|
path: _path2 + ".last_bin",
|
|
989
966
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
990
967
|
value: input3.last_bin
|
|
@@ -993,7 +970,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
993
970
|
expected: "(number | undefined)",
|
|
994
971
|
value: input3.label_offset
|
|
995
972
|
})].every((flag) => flag);
|
|
996
|
-
const $
|
|
973
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
997
974
|
path: _path2 + ".startunbounded",
|
|
998
975
|
expected: "true",
|
|
999
976
|
value: input3.startunbounded
|
|
@@ -1018,7 +995,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1018
995
|
expected: "(string | undefined)",
|
|
1019
996
|
value: input3.label
|
|
1020
997
|
})].every((flag) => flag);
|
|
1021
|
-
const $
|
|
998
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1022
999
|
path: _path2 + ".startunbounded",
|
|
1023
1000
|
expected: "(false | undefined)",
|
|
1024
1001
|
value: input3.startunbounded
|
|
@@ -1047,7 +1024,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1047
1024
|
expected: "(string | undefined)",
|
|
1048
1025
|
value: input3.label
|
|
1049
1026
|
})].every((flag) => flag);
|
|
1050
|
-
const $
|
|
1027
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1051
1028
|
path: _path2 + ".start",
|
|
1052
1029
|
expected: "number",
|
|
1053
1030
|
value: input3.start
|
|
@@ -1072,7 +1049,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1072
1049
|
expected: "(string | undefined)",
|
|
1073
1050
|
value: input3.label
|
|
1074
1051
|
})].every((flag) => flag);
|
|
1075
|
-
const $
|
|
1052
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1076
1053
|
path: _path2 + ".hiddenValues",
|
|
1077
1054
|
expected: "(HiddenValues | undefined)",
|
|
1078
1055
|
value: input3.hiddenValues
|
|
@@ -1139,7 +1116,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1139
1116
|
expected: '("median" | undefined)',
|
|
1140
1117
|
value: input3.preferredBins
|
|
1141
1118
|
})].every((flag) => flag);
|
|
1142
|
-
const $
|
|
1119
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1143
1120
|
path: _path2 + ".minColor",
|
|
1144
1121
|
expected: "string",
|
|
1145
1122
|
value: input3.minColor
|
|
@@ -1148,7 +1125,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1148
1125
|
expected: "string",
|
|
1149
1126
|
value: input3.maxColor
|
|
1150
1127
|
})].every((flag) => flag);
|
|
1151
|
-
const $
|
|
1128
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1152
1129
|
path: _path2 + ".key",
|
|
1153
1130
|
expected: "string",
|
|
1154
1131
|
value: input3.key
|
|
@@ -1165,7 +1142,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1165
1142
|
expected: "(string | undefined)",
|
|
1166
1143
|
value: input3.label
|
|
1167
1144
|
})].every((flag) => flag);
|
|
1168
|
-
const $
|
|
1145
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1169
1146
|
path: _path2 + ".join",
|
|
1170
1147
|
expected: "(string | undefined)",
|
|
1171
1148
|
value: input3.join
|
|
@@ -1177,7 +1154,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1177
1154
|
path: _path2 + ".term",
|
|
1178
1155
|
expected: "ConditionTerm",
|
|
1179
1156
|
value: input3.term
|
|
1180
|
-
})) && $
|
|
1157
|
+
})) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1181
1158
|
path: _path2 + ".term",
|
|
1182
1159
|
expected: "ConditionTerm",
|
|
1183
1160
|
value: input3.term
|
|
@@ -1201,7 +1178,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1201
1178
|
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
1202
1179
|
expected: "GradeAndChildEntry",
|
|
1203
1180
|
value: elem
|
|
1204
|
-
})) && $
|
|
1181
|
+
})) && $vo32(elem, _path2 + ".grade_and_child[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1205
1182
|
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
1206
1183
|
expected: "GradeAndChildEntry",
|
|
1207
1184
|
value: elem
|
|
@@ -1210,7 +1187,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1210
1187
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1211
1188
|
value: input3.grade_and_child
|
|
1212
1189
|
})].every((flag) => flag);
|
|
1213
|
-
const $
|
|
1190
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1214
1191
|
path: _path2 + ".id",
|
|
1215
1192
|
expected: "string",
|
|
1216
1193
|
value: input3.id
|
|
@@ -1267,7 +1244,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1267
1244
|
expected: "(boolean | undefined)",
|
|
1268
1245
|
value: input3.skipValuesBuild
|
|
1269
1246
|
})].every((flag) => flag);
|
|
1270
|
-
const $
|
|
1247
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1271
1248
|
path: _path2 + ".grade",
|
|
1272
1249
|
expected: "number",
|
|
1273
1250
|
value: input3.grade
|
|
@@ -1284,7 +1261,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1284
1261
|
expected: "string",
|
|
1285
1262
|
value: input3.child_label
|
|
1286
1263
|
})].every((flag) => flag);
|
|
1287
|
-
const $
|
|
1264
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1288
1265
|
path: _path2 + ".join",
|
|
1289
1266
|
expected: "(string | undefined)",
|
|
1290
1267
|
value: input3.join
|
|
@@ -1296,7 +1273,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1296
1273
|
path: _path2 + ".term",
|
|
1297
1274
|
expected: "DtTerm",
|
|
1298
1275
|
value: input3.term
|
|
1299
|
-
})) && $
|
|
1276
|
+
})) && $vo34(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1300
1277
|
path: _path2 + ".term",
|
|
1301
1278
|
expected: "DtTerm",
|
|
1302
1279
|
value: input3.term
|
|
@@ -1306,11 +1283,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1306
1283
|
value: input3.values
|
|
1307
1284
|
})) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1308
1285
|
path: _path2 + ".values[" + _index19 + "]",
|
|
1309
|
-
expected: "__type.
|
|
1286
|
+
expected: "__type.o5",
|
|
1310
1287
|
value: elem
|
|
1311
|
-
})) && $
|
|
1288
|
+
})) && $vo37(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1312
1289
|
path: _path2 + ".values[" + _index19 + "]",
|
|
1313
|
-
expected: "__type.
|
|
1290
|
+
expected: "__type.o5",
|
|
1314
1291
|
value: elem
|
|
1315
1292
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1316
1293
|
path: _path2 + ".values",
|
|
@@ -1325,7 +1302,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1325
1302
|
expected: "(boolean | undefined)",
|
|
1326
1303
|
value: input3.excludeGeneName
|
|
1327
1304
|
})].every((flag) => flag);
|
|
1328
|
-
const $
|
|
1305
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1329
1306
|
path: _path2 + ".id",
|
|
1330
1307
|
expected: "string",
|
|
1331
1308
|
value: input3.id
|
|
@@ -1345,7 +1322,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1345
1322
|
path: _path2 + ".parentTerm",
|
|
1346
1323
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1347
1324
|
value: input3.parentTerm
|
|
1348
|
-
})) && $
|
|
1325
|
+
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1349
1326
|
path: _path2 + ".parentTerm",
|
|
1350
1327
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1351
1328
|
value: input3.parentTerm
|
|
@@ -1374,7 +1351,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1374
1351
|
expected: "TermValues",
|
|
1375
1352
|
value: input3.values
|
|
1376
1353
|
})].every((flag) => flag);
|
|
1377
|
-
const $
|
|
1354
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1378
1355
|
path: _path2 + ".id",
|
|
1379
1356
|
expected: "string",
|
|
1380
1357
|
value: input3.id
|
|
@@ -1452,11 +1429,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1452
1429
|
value: input3.stop
|
|
1453
1430
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1454
1431
|
path: _path2 + ".groupsetting",
|
|
1455
|
-
expected: "(
|
|
1432
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1456
1433
|
value: input3.groupsetting
|
|
1457
|
-
})) && $
|
|
1434
|
+
})) && $vo18(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1458
1435
|
path: _path2 + ".groupsetting",
|
|
1459
|
-
expected: "(
|
|
1436
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1460
1437
|
value: input3.groupsetting
|
|
1461
1438
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1462
1439
|
path: _path2 + ".childTerms",
|
|
@@ -1466,7 +1443,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1466
1443
|
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1467
1444
|
expected: "DtTerm",
|
|
1468
1445
|
value: elem
|
|
1469
|
-
})) && $
|
|
1446
|
+
})) && $vo34(elem, _path2 + ".childTerms[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1470
1447
|
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1471
1448
|
expected: "DtTerm",
|
|
1472
1449
|
value: elem
|
|
@@ -1475,7 +1452,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1475
1452
|
expected: "(Array<DtTerm> | undefined)",
|
|
1476
1453
|
value: input3.childTerms
|
|
1477
1454
|
})].every((flag) => flag);
|
|
1478
|
-
const $
|
|
1455
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1479
1456
|
path: _path2 + ".id",
|
|
1480
1457
|
expected: "string",
|
|
1481
1458
|
value: input3.id
|
|
@@ -1549,11 +1526,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1549
1526
|
value: input3.stop
|
|
1550
1527
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1551
1528
|
path: _path2 + ".groupsetting",
|
|
1552
|
-
expected: "(
|
|
1529
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1553
1530
|
value: input3.groupsetting
|
|
1554
|
-
})) && $
|
|
1531
|
+
})) && $vo18(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1555
1532
|
path: _path2 + ".groupsetting",
|
|
1556
|
-
expected: "(
|
|
1533
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1557
1534
|
value: input3.groupsetting
|
|
1558
1535
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1559
1536
|
path: _path2 + ".childTerms",
|
|
@@ -1563,7 +1540,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1563
1540
|
path: _path2 + ".childTerms[" + _index25 + "]",
|
|
1564
1541
|
expected: "DtTerm",
|
|
1565
1542
|
value: elem
|
|
1566
|
-
})) && $
|
|
1543
|
+
})) && $vo34(elem, _path2 + ".childTerms[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1567
1544
|
path: _path2 + ".childTerms[" + _index25 + "]",
|
|
1568
1545
|
expected: "DtTerm",
|
|
1569
1546
|
value: elem
|
|
@@ -1572,7 +1549,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1572
1549
|
expected: "(Array<DtTerm> | undefined)",
|
|
1573
1550
|
value: input3.childTerms
|
|
1574
1551
|
})].every((flag) => flag);
|
|
1575
|
-
const $
|
|
1552
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1576
1553
|
path: _path2 + ".key",
|
|
1577
1554
|
expected: "string",
|
|
1578
1555
|
value: input3.key
|
|
@@ -1609,10 +1586,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1609
1586
|
})();
|
|
1610
1587
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1611
1588
|
if (true === input3.startunbounded)
|
|
1612
|
-
return $
|
|
1589
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1613
1590
|
if (true === input3.stopunbounded)
|
|
1614
|
-
return $
|
|
1615
|
-
return $
|
|
1591
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1592
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1616
1593
|
})();
|
|
1617
1594
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1618
1595
|
if ("values" === input3.type)
|
|
@@ -1625,52 +1602,47 @@ var validBrainImagingRequest = (input) => {
|
|
|
1625
1602
|
})();
|
|
1626
1603
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1627
1604
|
if (void 0 !== input3.ranges)
|
|
1628
|
-
return $
|
|
1629
|
-
return $vo14(input3, _path2, false) || $
|
|
1605
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1606
|
+
return $vo14(input3, _path2, false) || $vo30(input3, _path2, false) || $vo33(input3, _path2, false);
|
|
1630
1607
|
})();
|
|
1631
1608
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1632
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index26) => "object" === typeof elem && null !== elem && $vo19(elem, _path2 + ".lst[" + _index26 + "]", false)).every((flag) => flag))
|
|
1633
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
1634
|
-
return $vo20(input3, _path2, _exceptionable2);
|
|
1635
|
-
})();
|
|
1636
|
-
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1637
1609
|
if ("regular-bin" === input3.type)
|
|
1638
|
-
return $
|
|
1610
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1639
1611
|
if ("custom-bin" === input3.type)
|
|
1640
|
-
return $
|
|
1612
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
1641
1613
|
return $report(_exceptionable2, {
|
|
1642
1614
|
path: _path2,
|
|
1643
1615
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1644
1616
|
value: input3
|
|
1645
1617
|
});
|
|
1646
1618
|
})();
|
|
1647
|
-
const $
|
|
1619
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1648
1620
|
if (true === input3.startunbounded)
|
|
1649
|
-
return $
|
|
1621
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1650
1622
|
if (void 0 !== input3.start)
|
|
1651
|
-
return $
|
|
1623
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1652
1624
|
return $report(_exceptionable2, {
|
|
1653
1625
|
path: _path2,
|
|
1654
1626
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1655
1627
|
value: input3
|
|
1656
1628
|
});
|
|
1657
1629
|
})();
|
|
1658
|
-
const $
|
|
1630
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1659
1631
|
if (void 0 !== input3.stop)
|
|
1660
|
-
return $
|
|
1632
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1661
1633
|
if (true === input3.stopunbounded)
|
|
1662
|
-
return $
|
|
1634
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1663
1635
|
return $report(_exceptionable2, {
|
|
1664
1636
|
path: _path2,
|
|
1665
1637
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1666
1638
|
value: input3
|
|
1667
1639
|
});
|
|
1668
1640
|
})();
|
|
1669
|
-
const $
|
|
1641
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1670
1642
|
if ("gene" === input3.kind)
|
|
1671
|
-
return $
|
|
1643
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1672
1644
|
if ("coord" === input3.kind)
|
|
1673
|
-
return $
|
|
1645
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1674
1646
|
return $report(_exceptionable2, {
|
|
1675
1647
|
path: _path2,
|
|
1676
1648
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|