@sjcrh/proteinpaint-types 2.169.0 → 2.170.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-EBPGV76U.js → chunk-33FYSH3O.js} +130 -2
- package/dist/{chunk-GIPUG4HD.js → chunk-447IAMTQ.js} +130 -2
- package/dist/{chunk-ZXPLL3NT.js → chunk-53QZTLJK.js} +417 -185
- package/dist/{chunk-PZHVYGSD.js → chunk-A5Z4YYMF.js} +492 -236
- package/dist/{chunk-5F24QFE7.js → chunk-BPDR66LV.js} +385 -151
- package/dist/{chunk-C27KCAQH.js → chunk-CUU7POGC.js} +417 -185
- package/dist/{chunk-FTPYJPUB.js → chunk-FK7OCBPT.js} +5 -1
- package/dist/{chunk-OLXOQLZH.js → chunk-GNLX5NQ5.js} +243 -49
- package/dist/{chunk-GZKTMVAU.js → chunk-HDED6K55.js} +515 -153
- package/dist/{chunk-LXW2FSLR.js → chunk-MH3TDIL4.js} +439 -207
- package/dist/{chunk-OLWNM7QP.js → chunk-MJEQEGN4.js} +130 -2
- package/dist/{chunk-5OMJAZK4.js → chunk-QL6YSLN6.js} +171 -43
- package/dist/{chunk-CC32XCET.js → chunk-UQNHLAZN.js} +660 -298
- package/dist/{chunk-VQOCGHP2.js → chunk-YCURJJSC.js} +5 -1
- package/dist/{chunk-MCL6EDOS.js → chunk-ZAMM6EMS.js} +421 -189
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/healthcheck.js +1 -1
- package/dist/index.js +15 -15
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +8 -2
- package/src/filter.ts +7 -1
- package/src/index.ts +1 -0
- package/src/routes/grin2.ts +5 -0
- package/src/routes/healthcheck.ts +1 -0
- package/src/routes/termdb.boxplot.ts +6 -2
- package/src/routes/termdb.violin.ts +12 -4
- package/src/terms/term.ts +3 -1
- package/src/terms/termCollection.ts +52 -0
- package/src/terms/tw.ts +3 -2
|
@@ -77,6 +77,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
77
77
|
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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
78
78
|
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "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 && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
79
79
|
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
80
|
+
const $io39 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io40(input3.term)) && "number" === typeof input3.ratio;
|
|
81
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem)) && (void 0 === input3.termlst || Array.isArray(input3.termlst)) && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs);
|
|
80
82
|
const $iu0 = (input3) => (() => {
|
|
81
83
|
if ("tvslst" === input3.type)
|
|
82
84
|
return $io1(input3);
|
|
@@ -108,6 +110,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
108
110
|
const $iu4 = (input3) => (() => {
|
|
109
111
|
if (void 0 !== input3.ranges)
|
|
110
112
|
return $io13(input3);
|
|
113
|
+
if (void 0 !== input3.ratio)
|
|
114
|
+
return $io39(input3);
|
|
111
115
|
return (() => {
|
|
112
116
|
if ($io3(input3))
|
|
113
117
|
return $io3(input3);
|
|
@@ -233,11 +237,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
233
237
|
value: input3.type
|
|
234
238
|
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
235
239
|
path: _path2 + ".tvs",
|
|
236
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
240
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
237
241
|
value: input3.tvs
|
|
238
242
|
})) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
239
243
|
path: _path2 + ".tvs",
|
|
240
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
244
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
241
245
|
value: input3.tvs
|
|
242
246
|
})].every((flag) => flag);
|
|
243
247
|
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
@@ -2090,6 +2094,128 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2090
2094
|
expected: "string",
|
|
2091
2095
|
value: input3.value
|
|
2092
2096
|
})].every((flag) => flag);
|
|
2097
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2098
|
+
path: _path2 + ".join",
|
|
2099
|
+
expected: "(string | undefined)",
|
|
2100
|
+
value: input3.join
|
|
2101
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
2102
|
+
path: _path2 + ".isnot",
|
|
2103
|
+
expected: "(boolean | undefined)",
|
|
2104
|
+
value: input3.isnot
|
|
2105
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2106
|
+
path: _path2 + ".term",
|
|
2107
|
+
expected: "TermCollection",
|
|
2108
|
+
value: input3.term
|
|
2109
|
+
})) && $vo40(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2110
|
+
path: _path2 + ".term",
|
|
2111
|
+
expected: "TermCollection",
|
|
2112
|
+
value: input3.term
|
|
2113
|
+
}), "number" === typeof input3.ratio || $report(_exceptionable2, {
|
|
2114
|
+
path: _path2 + ".ratio",
|
|
2115
|
+
expected: "number",
|
|
2116
|
+
value: input3.ratio
|
|
2117
|
+
})].every((flag) => flag);
|
|
2118
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2119
|
+
path: _path2 + ".id",
|
|
2120
|
+
expected: "string",
|
|
2121
|
+
value: input3.id
|
|
2122
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2123
|
+
path: _path2 + ".name",
|
|
2124
|
+
expected: "string",
|
|
2125
|
+
value: input3.name
|
|
2126
|
+
}), "termCollection" === input3.type || $report(_exceptionable2, {
|
|
2127
|
+
path: _path2 + ".type",
|
|
2128
|
+
expected: '"termCollection"',
|
|
2129
|
+
value: input3.type
|
|
2130
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2131
|
+
path: _path2 + ".child_types",
|
|
2132
|
+
expected: "(Array<string> | undefined)",
|
|
2133
|
+
value: input3.child_types
|
|
2134
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2135
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
2136
|
+
expected: "string",
|
|
2137
|
+
value: elem
|
|
2138
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2139
|
+
path: _path2 + ".child_types",
|
|
2140
|
+
expected: "(Array<string> | undefined)",
|
|
2141
|
+
value: input3.child_types
|
|
2142
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2143
|
+
path: _path2 + ".hashtmldetail",
|
|
2144
|
+
expected: "(boolean | undefined)",
|
|
2145
|
+
value: input3.hashtmldetail
|
|
2146
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2147
|
+
path: _path2 + ".included_types",
|
|
2148
|
+
expected: "(Array<string> | undefined)",
|
|
2149
|
+
value: input3.included_types
|
|
2150
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2151
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
2152
|
+
expected: "string",
|
|
2153
|
+
value: elem
|
|
2154
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2155
|
+
path: _path2 + ".included_types",
|
|
2156
|
+
expected: "(Array<string> | undefined)",
|
|
2157
|
+
value: input3.included_types
|
|
2158
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2159
|
+
path: _path2 + ".isleaf",
|
|
2160
|
+
expected: "(boolean | undefined)",
|
|
2161
|
+
value: input3.isleaf
|
|
2162
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2163
|
+
path: _path2 + ".values",
|
|
2164
|
+
expected: "(TermValues | undefined)",
|
|
2165
|
+
value: input3.values
|
|
2166
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2167
|
+
path: _path2 + ".values",
|
|
2168
|
+
expected: "(TermValues | undefined)",
|
|
2169
|
+
value: input3.values
|
|
2170
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2171
|
+
path: _path2 + ".skipValuesBuild",
|
|
2172
|
+
expected: "(boolean | undefined)",
|
|
2173
|
+
value: input3.skipValuesBuild
|
|
2174
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2175
|
+
path: _path2 + ".valueConversion",
|
|
2176
|
+
expected: "(__type.o1 | undefined)",
|
|
2177
|
+
value: input3.valueConversion
|
|
2178
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2179
|
+
path: _path2 + ".valueConversion",
|
|
2180
|
+
expected: "(__type.o1 | undefined)",
|
|
2181
|
+
value: input3.valueConversion
|
|
2182
|
+
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2183
|
+
path: _path2 + ".collectionId",
|
|
2184
|
+
expected: "(string | undefined)",
|
|
2185
|
+
value: input3.collectionId
|
|
2186
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
2187
|
+
path: _path2 + ".lst",
|
|
2188
|
+
expected: "(Array<string> | undefined)",
|
|
2189
|
+
value: input3.lst
|
|
2190
|
+
})) && input3.lst.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2191
|
+
path: _path2 + ".lst[" + _index42 + "]",
|
|
2192
|
+
expected: "string",
|
|
2193
|
+
value: elem
|
|
2194
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2195
|
+
path: _path2 + ".lst",
|
|
2196
|
+
expected: "(Array<string> | undefined)",
|
|
2197
|
+
value: input3.lst
|
|
2198
|
+
}), void 0 === input3.termlst || Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2199
|
+
path: _path2 + ".termlst",
|
|
2200
|
+
expected: "(Array<any> | undefined)",
|
|
2201
|
+
value: input3.termlst
|
|
2202
|
+
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2203
|
+
path: _path2 + ".numerators",
|
|
2204
|
+
expected: "(Array<string> | undefined)",
|
|
2205
|
+
value: input3.numerators
|
|
2206
|
+
})) && input3.numerators.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2207
|
+
path: _path2 + ".numerators[" + _index43 + "]",
|
|
2208
|
+
expected: "string",
|
|
2209
|
+
value: elem
|
|
2210
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2211
|
+
path: _path2 + ".numerators",
|
|
2212
|
+
expected: "(Array<string> | undefined)",
|
|
2213
|
+
value: input3.numerators
|
|
2214
|
+
}), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
|
|
2215
|
+
path: _path2 + ".newTvs",
|
|
2216
|
+
expected: "(boolean | undefined)",
|
|
2217
|
+
value: input3.newTvs
|
|
2218
|
+
})].every((flag) => flag);
|
|
2093
2219
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2094
2220
|
if ("tvslst" === input3.type)
|
|
2095
2221
|
return $vo1(input3, _path2, _exceptionable2);
|
|
@@ -2133,6 +2259,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2133
2259
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2134
2260
|
if (void 0 !== input3.ranges)
|
|
2135
2261
|
return $vo13(input3, _path2, _exceptionable2);
|
|
2262
|
+
if (void 0 !== input3.ratio)
|
|
2263
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
2136
2264
|
return $vo3(input3, _path2, false) || $vo29(input3, _path2, false) || $vo32(input3, _path2, false);
|
|
2137
2265
|
})();
|
|
2138
2266
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
@@ -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 && $iu4(input3.divideByTW)) && (void 0 === input3.overlayTW || "object" === typeof input3.overlayTW && null !== input3.overlayTW && $iu4(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 && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== 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 && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io45(input3.q)) && "QualTWValues" === input3.type;
|
|
26
26
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
27
27
|
const value = input3[key];
|
|
28
28
|
if (void 0 === value)
|
|
@@ -85,14 +85,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
85
85
|
const $io38 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter)) && "string" === typeof input3.color;
|
|
86
86
|
const $io39 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "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 && $iu2(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
87
87
|
const $io40 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
88
|
-
const $io41 = (input3) =>
|
|
89
|
-
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
90
|
-
const $io43 = (input3) => (void 0 === input3.
|
|
91
|
-
const $io44 = (input3) => (void 0 === input3.
|
|
92
|
-
const $io45 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "
|
|
93
|
-
const $io46 = (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 && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io47(input3.q)) && "
|
|
94
|
-
const $io47 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "
|
|
95
|
-
const $io48 = (input3) => Array.isArray(input3.
|
|
88
|
+
const $io41 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io42(input3.term)) && "number" === typeof input3.ratio;
|
|
89
|
+
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem)) && (void 0 === input3.termlst || Array.isArray(input3.termlst)) && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs);
|
|
90
|
+
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "snp" === 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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting));
|
|
91
|
+
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellCellType" === 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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "string" === typeof input3.sample && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting));
|
|
92
|
+
const $io45 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
|
|
93
|
+
const $io46 = (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 && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io47(input3.q)) && "QualTWPredefinedGS" === input3.type;
|
|
94
|
+
const $io47 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
95
|
+
const $io48 = (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 && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io49(input3.q)) && "QualTWCustomGS" === input3.type;
|
|
96
|
+
const $io49 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io50(input3.customset));
|
|
97
|
+
const $io50 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem));
|
|
96
98
|
const $iu0 = (input3) => (() => {
|
|
97
99
|
if ("tvslst" === input3.type)
|
|
98
100
|
return $io6(input3);
|
|
@@ -123,9 +125,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
123
125
|
})();
|
|
124
126
|
const $iu4 = (input3) => (() => {
|
|
125
127
|
if ("QualTWCustomGS" === input3.type)
|
|
126
|
-
return $
|
|
128
|
+
return $io48(input3);
|
|
127
129
|
if ("QualTWPredefinedGS" === input3.type)
|
|
128
|
-
return $
|
|
130
|
+
return $io46(input3);
|
|
129
131
|
if ("QualTWValues" === input3.type)
|
|
130
132
|
return $io1(input3);
|
|
131
133
|
return false;
|
|
@@ -134,14 +136,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
134
136
|
if ("categorical" === input3.type)
|
|
135
137
|
return $io3(input3);
|
|
136
138
|
if ("snp" === input3.type)
|
|
137
|
-
return $
|
|
139
|
+
return $io43(input3);
|
|
138
140
|
if ("singleCellCellType" === input3.type)
|
|
139
|
-
return $
|
|
141
|
+
return $io44(input3);
|
|
140
142
|
return false;
|
|
141
143
|
})();
|
|
142
144
|
const $iu6 = (input3) => (() => {
|
|
143
145
|
if (void 0 !== input3.ranges)
|
|
144
146
|
return $io9(input3);
|
|
147
|
+
if (void 0 !== input3.ratio)
|
|
148
|
+
return $io41(input3);
|
|
145
149
|
return (() => {
|
|
146
150
|
if ($io8(input3))
|
|
147
151
|
return $io8(input3);
|
|
@@ -304,7 +308,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
304
308
|
path: _path2 + ".q",
|
|
305
309
|
expected: "ValuesQ",
|
|
306
310
|
value: input3.q
|
|
307
|
-
})) && $
|
|
311
|
+
})) && $vo45(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
308
312
|
path: _path2 + ".q",
|
|
309
313
|
expected: "ValuesQ",
|
|
310
314
|
value: input3.q
|
|
@@ -492,11 +496,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
492
496
|
value: input3.type
|
|
493
497
|
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
494
498
|
path: _path2 + ".tvs",
|
|
495
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
499
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
496
500
|
value: input3.tvs
|
|
497
501
|
})) && $vu6(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
498
502
|
path: _path2 + ".tvs",
|
|
499
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
503
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
500
504
|
value: input3.tvs
|
|
501
505
|
})].every((flag) => flag);
|
|
502
506
|
const $vo8 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
@@ -2217,7 +2221,28 @@ var validBrainImagingRequest = (input) => {
|
|
|
2217
2221
|
expected: "string",
|
|
2218
2222
|
value: input3.value
|
|
2219
2223
|
})].every((flag) => flag);
|
|
2220
|
-
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
2224
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2225
|
+
path: _path2 + ".join",
|
|
2226
|
+
expected: "(string | undefined)",
|
|
2227
|
+
value: input3.join
|
|
2228
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
2229
|
+
path: _path2 + ".isnot",
|
|
2230
|
+
expected: "(boolean | undefined)",
|
|
2231
|
+
value: input3.isnot
|
|
2232
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2233
|
+
path: _path2 + ".term",
|
|
2234
|
+
expected: "TermCollection",
|
|
2235
|
+
value: input3.term
|
|
2236
|
+
})) && $vo42(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2237
|
+
path: _path2 + ".term",
|
|
2238
|
+
expected: "TermCollection",
|
|
2239
|
+
value: input3.term
|
|
2240
|
+
}), "number" === typeof input3.ratio || $report(_exceptionable2, {
|
|
2241
|
+
path: _path2 + ".ratio",
|
|
2242
|
+
expected: "number",
|
|
2243
|
+
value: input3.ratio
|
|
2244
|
+
})].every((flag) => flag);
|
|
2245
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2221
2246
|
path: _path2 + ".id",
|
|
2222
2247
|
expected: "string",
|
|
2223
2248
|
value: input3.id
|
|
@@ -2225,9 +2250,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2225
2250
|
path: _path2 + ".name",
|
|
2226
2251
|
expected: "string",
|
|
2227
2252
|
value: input3.name
|
|
2228
|
-
}), "
|
|
2253
|
+
}), "termCollection" === input3.type || $report(_exceptionable2, {
|
|
2229
2254
|
path: _path2 + ".type",
|
|
2230
|
-
expected: '"
|
|
2255
|
+
expected: '"termCollection"',
|
|
2231
2256
|
value: input3.type
|
|
2232
2257
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2233
2258
|
path: _path2 + ".child_types",
|
|
@@ -2281,6 +2306,107 @@ var validBrainImagingRequest = (input) => {
|
|
|
2281
2306
|
path: _path2 + ".valueConversion",
|
|
2282
2307
|
expected: "(__type.o2 | undefined)",
|
|
2283
2308
|
value: input3.valueConversion
|
|
2309
|
+
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2310
|
+
path: _path2 + ".collectionId",
|
|
2311
|
+
expected: "(string | undefined)",
|
|
2312
|
+
value: input3.collectionId
|
|
2313
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
2314
|
+
path: _path2 + ".lst",
|
|
2315
|
+
expected: "(Array<string> | undefined)",
|
|
2316
|
+
value: input3.lst
|
|
2317
|
+
})) && input3.lst.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2318
|
+
path: _path2 + ".lst[" + _index44 + "]",
|
|
2319
|
+
expected: "string",
|
|
2320
|
+
value: elem
|
|
2321
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2322
|
+
path: _path2 + ".lst",
|
|
2323
|
+
expected: "(Array<string> | undefined)",
|
|
2324
|
+
value: input3.lst
|
|
2325
|
+
}), void 0 === input3.termlst || Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2326
|
+
path: _path2 + ".termlst",
|
|
2327
|
+
expected: "(Array<any> | undefined)",
|
|
2328
|
+
value: input3.termlst
|
|
2329
|
+
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2330
|
+
path: _path2 + ".numerators",
|
|
2331
|
+
expected: "(Array<string> | undefined)",
|
|
2332
|
+
value: input3.numerators
|
|
2333
|
+
})) && input3.numerators.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2334
|
+
path: _path2 + ".numerators[" + _index45 + "]",
|
|
2335
|
+
expected: "string",
|
|
2336
|
+
value: elem
|
|
2337
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2338
|
+
path: _path2 + ".numerators",
|
|
2339
|
+
expected: "(Array<string> | undefined)",
|
|
2340
|
+
value: input3.numerators
|
|
2341
|
+
}), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
|
|
2342
|
+
path: _path2 + ".newTvs",
|
|
2343
|
+
expected: "(boolean | undefined)",
|
|
2344
|
+
value: input3.newTvs
|
|
2345
|
+
})].every((flag) => flag);
|
|
2346
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2347
|
+
path: _path2 + ".id",
|
|
2348
|
+
expected: "string",
|
|
2349
|
+
value: input3.id
|
|
2350
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2351
|
+
path: _path2 + ".name",
|
|
2352
|
+
expected: "string",
|
|
2353
|
+
value: input3.name
|
|
2354
|
+
}), "snp" === input3.type || $report(_exceptionable2, {
|
|
2355
|
+
path: _path2 + ".type",
|
|
2356
|
+
expected: '"snp"',
|
|
2357
|
+
value: input3.type
|
|
2358
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2359
|
+
path: _path2 + ".child_types",
|
|
2360
|
+
expected: "(Array<string> | undefined)",
|
|
2361
|
+
value: input3.child_types
|
|
2362
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2363
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
2364
|
+
expected: "string",
|
|
2365
|
+
value: elem
|
|
2366
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2367
|
+
path: _path2 + ".child_types",
|
|
2368
|
+
expected: "(Array<string> | undefined)",
|
|
2369
|
+
value: input3.child_types
|
|
2370
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2371
|
+
path: _path2 + ".hashtmldetail",
|
|
2372
|
+
expected: "(boolean | undefined)",
|
|
2373
|
+
value: input3.hashtmldetail
|
|
2374
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2375
|
+
path: _path2 + ".included_types",
|
|
2376
|
+
expected: "(Array<string> | undefined)",
|
|
2377
|
+
value: input3.included_types
|
|
2378
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2379
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
2380
|
+
expected: "string",
|
|
2381
|
+
value: elem
|
|
2382
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2383
|
+
path: _path2 + ".included_types",
|
|
2384
|
+
expected: "(Array<string> | undefined)",
|
|
2385
|
+
value: input3.included_types
|
|
2386
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2387
|
+
path: _path2 + ".isleaf",
|
|
2388
|
+
expected: "(boolean | undefined)",
|
|
2389
|
+
value: input3.isleaf
|
|
2390
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2391
|
+
path: _path2 + ".values",
|
|
2392
|
+
expected: "(TermValues | undefined)",
|
|
2393
|
+
value: input3.values
|
|
2394
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2395
|
+
path: _path2 + ".values",
|
|
2396
|
+
expected: "(TermValues | undefined)",
|
|
2397
|
+
value: input3.values
|
|
2398
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2399
|
+
path: _path2 + ".skipValuesBuild",
|
|
2400
|
+
expected: "(boolean | undefined)",
|
|
2401
|
+
value: input3.skipValuesBuild
|
|
2402
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2403
|
+
path: _path2 + ".valueConversion",
|
|
2404
|
+
expected: "(__type.o2 | undefined)",
|
|
2405
|
+
value: input3.valueConversion
|
|
2406
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2407
|
+
path: _path2 + ".valueConversion",
|
|
2408
|
+
expected: "(__type.o2 | undefined)",
|
|
2409
|
+
value: input3.valueConversion
|
|
2284
2410
|
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2285
2411
|
path: _path2 + ".chr",
|
|
2286
2412
|
expected: "string",
|
|
@@ -2301,8 +2427,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2301
2427
|
path: _path2 + ".alt",
|
|
2302
2428
|
expected: "Array<string>",
|
|
2303
2429
|
value: input3.alt
|
|
2304
|
-
})) && input3.alt.map((elem,
|
|
2305
|
-
path: _path2 + ".alt[" +
|
|
2430
|
+
})) && input3.alt.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2431
|
+
path: _path2 + ".alt[" + _index48 + "]",
|
|
2306
2432
|
expected: "string",
|
|
2307
2433
|
value: elem
|
|
2308
2434
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2318,7 +2444,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2318
2444
|
expected: "TermGroupSetting",
|
|
2319
2445
|
value: input3.groupsetting
|
|
2320
2446
|
})].every((flag) => flag);
|
|
2321
|
-
const $
|
|
2447
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2322
2448
|
path: _path2 + ".id",
|
|
2323
2449
|
expected: "string",
|
|
2324
2450
|
value: input3.id
|
|
@@ -2334,8 +2460,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2334
2460
|
path: _path2 + ".child_types",
|
|
2335
2461
|
expected: "(Array<string> | undefined)",
|
|
2336
2462
|
value: input3.child_types
|
|
2337
|
-
})) && input3.child_types.map((elem,
|
|
2338
|
-
path: _path2 + ".child_types[" +
|
|
2463
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2464
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
2339
2465
|
expected: "string",
|
|
2340
2466
|
value: elem
|
|
2341
2467
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2350,8 +2476,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2350
2476
|
path: _path2 + ".included_types",
|
|
2351
2477
|
expected: "(Array<string> | undefined)",
|
|
2352
2478
|
value: input3.included_types
|
|
2353
|
-
})) && input3.included_types.map((elem,
|
|
2354
|
-
path: _path2 + ".included_types[" +
|
|
2479
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2480
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
2355
2481
|
expected: "string",
|
|
2356
2482
|
value: elem
|
|
2357
2483
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2399,7 +2525,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2399
2525
|
expected: "TermGroupSetting",
|
|
2400
2526
|
value: input3.groupsetting
|
|
2401
2527
|
})].every((flag) => flag);
|
|
2402
|
-
const $
|
|
2528
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2403
2529
|
path: _path2 + ".hiddenValues",
|
|
2404
2530
|
expected: "(HiddenValues | undefined)",
|
|
2405
2531
|
value: input3.hiddenValues
|
|
@@ -2428,7 +2554,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2428
2554
|
expected: '"values"',
|
|
2429
2555
|
value: input3.type
|
|
2430
2556
|
})].every((flag) => flag);
|
|
2431
|
-
const $
|
|
2557
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2432
2558
|
path: _path2 + ".id",
|
|
2433
2559
|
expected: "(string | undefined)",
|
|
2434
2560
|
value: input3.id
|
|
@@ -2464,7 +2590,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2464
2590
|
path: _path2 + ".q",
|
|
2465
2591
|
expected: "PredefinedGroupSettingQ",
|
|
2466
2592
|
value: input3.q
|
|
2467
|
-
})) && $
|
|
2593
|
+
})) && $vo47(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2468
2594
|
path: _path2 + ".q",
|
|
2469
2595
|
expected: "PredefinedGroupSettingQ",
|
|
2470
2596
|
value: input3.q
|
|
@@ -2473,7 +2599,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2473
2599
|
expected: '"QualTWPredefinedGS"',
|
|
2474
2600
|
value: input3.type
|
|
2475
2601
|
})].every((flag) => flag);
|
|
2476
|
-
const $
|
|
2602
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2477
2603
|
path: _path2 + ".hiddenValues",
|
|
2478
2604
|
expected: "(HiddenValues | undefined)",
|
|
2479
2605
|
value: input3.hiddenValues
|
|
@@ -2506,7 +2632,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2506
2632
|
expected: "number",
|
|
2507
2633
|
value: input3.predefined_groupset_idx
|
|
2508
2634
|
})].every((flag) => flag);
|
|
2509
|
-
const $
|
|
2635
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2510
2636
|
path: _path2 + ".id",
|
|
2511
2637
|
expected: "(string | undefined)",
|
|
2512
2638
|
value: input3.id
|
|
@@ -2542,7 +2668,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2542
2668
|
path: _path2 + ".q",
|
|
2543
2669
|
expected: "CustomGroupSettingQ",
|
|
2544
2670
|
value: input3.q
|
|
2545
|
-
})) && $
|
|
2671
|
+
})) && $vo49(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2546
2672
|
path: _path2 + ".q",
|
|
2547
2673
|
expected: "CustomGroupSettingQ",
|
|
2548
2674
|
value: input3.q
|
|
@@ -2551,7 +2677,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2551
2677
|
expected: '"QualTWCustomGS"',
|
|
2552
2678
|
value: input3.type
|
|
2553
2679
|
})].every((flag) => flag);
|
|
2554
|
-
const $
|
|
2680
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2555
2681
|
path: _path2 + ".hiddenValues",
|
|
2556
2682
|
expected: "(HiddenValues | undefined)",
|
|
2557
2683
|
value: input3.hiddenValues
|
|
@@ -2583,21 +2709,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
2583
2709
|
path: _path2 + ".customset",
|
|
2584
2710
|
expected: "BaseGroupSet",
|
|
2585
2711
|
value: input3.customset
|
|
2586
|
-
})) && $
|
|
2712
|
+
})) && $vo50(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
2587
2713
|
path: _path2 + ".customset",
|
|
2588
2714
|
expected: "BaseGroupSet",
|
|
2589
2715
|
value: input3.customset
|
|
2590
2716
|
})].every((flag) => flag);
|
|
2591
|
-
const $
|
|
2717
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
2592
2718
|
path: _path2 + ".groups",
|
|
2593
2719
|
expected: "Array<GroupEntry>",
|
|
2594
2720
|
value: input3.groups
|
|
2595
|
-
})) && input3.groups.map((elem,
|
|
2596
|
-
path: _path2 + ".groups[" +
|
|
2721
|
+
})) && input3.groups.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2722
|
+
path: _path2 + ".groups[" + _index51 + "]",
|
|
2597
2723
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2598
2724
|
value: elem
|
|
2599
|
-
})) && $vu3(elem, _path2 + ".groups[" +
|
|
2600
|
-
path: _path2 + ".groups[" +
|
|
2725
|
+
})) && $vu3(elem, _path2 + ".groups[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2726
|
+
path: _path2 + ".groups[" + _index51 + "]",
|
|
2601
2727
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2602
2728
|
value: elem
|
|
2603
2729
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2647,9 +2773,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2647
2773
|
})();
|
|
2648
2774
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2649
2775
|
if ("QualTWCustomGS" === input3.type)
|
|
2650
|
-
return $
|
|
2776
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
2651
2777
|
if ("QualTWPredefinedGS" === input3.type)
|
|
2652
|
-
return $
|
|
2778
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
2653
2779
|
if ("QualTWValues" === input3.type)
|
|
2654
2780
|
return $vo1(input3, _path2, _exceptionable2);
|
|
2655
2781
|
return $report(_exceptionable2, {
|
|
@@ -2662,9 +2788,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2662
2788
|
if ("categorical" === input3.type)
|
|
2663
2789
|
return $vo3(input3, _path2, _exceptionable2);
|
|
2664
2790
|
if ("snp" === input3.type)
|
|
2665
|
-
return $
|
|
2791
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
2666
2792
|
if ("singleCellCellType" === input3.type)
|
|
2667
|
-
return $
|
|
2793
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
2668
2794
|
return $report(_exceptionable2, {
|
|
2669
2795
|
path: _path2,
|
|
2670
2796
|
expected: "(CategoricalTerm | SnpTerm | SingleCellCellTypeTerm)",
|
|
@@ -2674,6 +2800,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2674
2800
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2675
2801
|
if (void 0 !== input3.ranges)
|
|
2676
2802
|
return $vo9(input3, _path2, _exceptionable2);
|
|
2803
|
+
if (void 0 !== input3.ratio)
|
|
2804
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
2677
2805
|
return $vo8(input3, _path2, false) || $vo26(input3, _path2, false) || $vo29(input3, _path2, false);
|
|
2678
2806
|
})();
|
|
2679
2807
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|