@sjcrh/proteinpaint-types 2.176.0 → 2.177.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-CJVAIEUK.js → chunk-2DJFVQUQ.js} +273 -203
- package/dist/{chunk-HJEEUTW3.js → chunk-44LN7YTE.js} +82 -12
- package/dist/{chunk-QYQNPL6O.js → chunk-4SOVPEYQ.js} +125 -55
- package/dist/{chunk-U5H2DV3T.js → chunk-5KF6Z3GL.js} +82 -12
- package/dist/{chunk-GZRRMIZZ.js → chunk-63OD34W2.js} +273 -203
- package/dist/{chunk-CMC3WJO7.js → chunk-7NKZVHIZ.js} +251 -177
- package/dist/{chunk-YIF5KN5P.js → chunk-7WEVNKAM.js} +273 -203
- package/dist/{chunk-ZGX6LDVV.js → chunk-F4YCPOQV.js} +82 -12
- package/dist/{chunk-7LV73FRY.js → chunk-LHJGTOZJ.js} +292 -222
- package/dist/{chunk-Z763D57O.js → chunk-Q6MWNJ2V.js} +469 -325
- package/dist/{chunk-CJKG67B2.js → chunk-TWNJZBZK.js} +61 -17
- package/dist/{chunk-VZNEPZ73.js → chunk-UQEAM7BH.js} +273 -203
- package/dist/{chunk-6VN4YVWP.js → chunk-URHI6FFP.js} +333 -189
- package/dist/{chunk-JVEPTUQN.js → chunk-W7UCAYSF.js} +82 -12
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +14 -14
- 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.runChart.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 +6 -0
- package/src/routes/termdb.runChart.ts +29 -12
- package/src/terms/termCollection.ts +2 -2
|
@@ -78,16 +78,17 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
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
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) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "
|
|
82
|
-
const $io41 = (input3) =>
|
|
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) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io41(elem))) && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io42(input3.propsByTermId));
|
|
82
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
|
|
83
|
+
const $io42 = (input3) => Object.keys(input3).every((key) => {
|
|
83
84
|
const value = input3[key];
|
|
84
85
|
if (void 0 === value)
|
|
85
86
|
return true;
|
|
86
87
|
if (RegExp(/(.*)/).test(key))
|
|
87
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
88
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io43(value);
|
|
88
89
|
return true;
|
|
89
90
|
});
|
|
90
|
-
const $
|
|
91
|
+
const $io43 = (input3) => Object.keys(input3).every((key) => {
|
|
91
92
|
const value = input3[key];
|
|
92
93
|
if (void 0 === value)
|
|
93
94
|
return true;
|
|
@@ -2205,15 +2206,19 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2205
2206
|
value: input3.collectionId
|
|
2206
2207
|
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2207
2208
|
path: _path2 + ".termlst",
|
|
2208
|
-
expected: "Array<
|
|
2209
|
+
expected: "Array<BaseTerm>",
|
|
2209
2210
|
value: input3.termlst
|
|
2210
|
-
})) && input3.termlst.map((elem, _index42) => "
|
|
2211
|
+
})) && input3.termlst.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2211
2212
|
path: _path2 + ".termlst[" + _index42 + "]",
|
|
2212
|
-
expected: "
|
|
2213
|
+
expected: "BaseTerm",
|
|
2214
|
+
value: elem
|
|
2215
|
+
})) && $vo41(elem, _path2 + ".termlst[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2216
|
+
path: _path2 + ".termlst[" + _index42 + "]",
|
|
2217
|
+
expected: "BaseTerm",
|
|
2213
2218
|
value: elem
|
|
2214
2219
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2215
2220
|
path: _path2 + ".termlst",
|
|
2216
|
-
expected: "Array<
|
|
2221
|
+
expected: "Array<BaseTerm>",
|
|
2217
2222
|
value: input3.termlst
|
|
2218
2223
|
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2219
2224
|
path: _path2 + ".numerators",
|
|
@@ -2235,12 +2240,77 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2235
2240
|
path: _path2 + ".propsByTermId",
|
|
2236
2241
|
expected: "__type.o6",
|
|
2237
2242
|
value: input3.propsByTermId
|
|
2238
|
-
})) && $
|
|
2243
|
+
})) && $vo42(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2239
2244
|
path: _path2 + ".propsByTermId",
|
|
2240
2245
|
expected: "__type.o6",
|
|
2241
2246
|
value: input3.propsByTermId
|
|
2242
2247
|
})].every((flag) => flag);
|
|
2243
|
-
const $vo41 = (input3, _path2, _exceptionable2 = true) => [
|
|
2248
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2249
|
+
path: _path2 + ".id",
|
|
2250
|
+
expected: "string",
|
|
2251
|
+
value: input3.id
|
|
2252
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2253
|
+
path: _path2 + ".name",
|
|
2254
|
+
expected: "string",
|
|
2255
|
+
value: input3.name
|
|
2256
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2257
|
+
path: _path2 + ".type",
|
|
2258
|
+
expected: "string",
|
|
2259
|
+
value: input3.type
|
|
2260
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2261
|
+
path: _path2 + ".child_types",
|
|
2262
|
+
expected: "(Array<string> | undefined)",
|
|
2263
|
+
value: input3.child_types
|
|
2264
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2265
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
2266
|
+
expected: "string",
|
|
2267
|
+
value: elem
|
|
2268
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2269
|
+
path: _path2 + ".child_types",
|
|
2270
|
+
expected: "(Array<string> | undefined)",
|
|
2271
|
+
value: input3.child_types
|
|
2272
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2273
|
+
path: _path2 + ".hashtmldetail",
|
|
2274
|
+
expected: "(boolean | undefined)",
|
|
2275
|
+
value: input3.hashtmldetail
|
|
2276
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2277
|
+
path: _path2 + ".included_types",
|
|
2278
|
+
expected: "(Array<string> | undefined)",
|
|
2279
|
+
value: input3.included_types
|
|
2280
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2281
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
2282
|
+
expected: "string",
|
|
2283
|
+
value: elem
|
|
2284
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2285
|
+
path: _path2 + ".included_types",
|
|
2286
|
+
expected: "(Array<string> | undefined)",
|
|
2287
|
+
value: input3.included_types
|
|
2288
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2289
|
+
path: _path2 + ".isleaf",
|
|
2290
|
+
expected: "(boolean | undefined)",
|
|
2291
|
+
value: input3.isleaf
|
|
2292
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2293
|
+
path: _path2 + ".values",
|
|
2294
|
+
expected: "(TermValues | undefined)",
|
|
2295
|
+
value: input3.values
|
|
2296
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2297
|
+
path: _path2 + ".values",
|
|
2298
|
+
expected: "(TermValues | undefined)",
|
|
2299
|
+
value: input3.values
|
|
2300
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2301
|
+
path: _path2 + ".skipValuesBuild",
|
|
2302
|
+
expected: "(boolean | undefined)",
|
|
2303
|
+
value: input3.skipValuesBuild
|
|
2304
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2305
|
+
path: _path2 + ".valueConversion",
|
|
2306
|
+
expected: "(__type.o1 | undefined)",
|
|
2307
|
+
value: input3.valueConversion
|
|
2308
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2309
|
+
path: _path2 + ".valueConversion",
|
|
2310
|
+
expected: "(__type.o1 | undefined)",
|
|
2311
|
+
value: input3.valueConversion
|
|
2312
|
+
})].every((flag) => flag);
|
|
2313
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2244
2314
|
const value = input3[key];
|
|
2245
2315
|
if (void 0 === value)
|
|
2246
2316
|
return true;
|
|
@@ -2249,14 +2319,14 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
2249
2319
|
path: _path2 + $join(key),
|
|
2250
2320
|
expected: "__type.o7",
|
|
2251
2321
|
value
|
|
2252
|
-
})) && $
|
|
2322
|
+
})) && $vo43(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2253
2323
|
path: _path2 + $join(key),
|
|
2254
2324
|
expected: "__type.o7",
|
|
2255
2325
|
value
|
|
2256
2326
|
});
|
|
2257
2327
|
return true;
|
|
2258
2328
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2259
|
-
const $
|
|
2329
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2260
2330
|
const value = input3[key];
|
|
2261
2331
|
if (void 0 === value)
|
|
2262
2332
|
return true;
|
|
@@ -2444,16 +2514,17 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2444
2514
|
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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 && $iu4(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
2445
2515
|
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
2446
2516
|
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;
|
|
2447
|
-
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "
|
|
2448
|
-
const $io41 = (input3) =>
|
|
2517
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io41(elem))) && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io42(input3.propsByTermId));
|
|
2518
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion));
|
|
2519
|
+
const $io42 = (input3) => Object.keys(input3).every((key) => {
|
|
2449
2520
|
const value = input3[key];
|
|
2450
2521
|
if (void 0 === value)
|
|
2451
2522
|
return true;
|
|
2452
2523
|
if (RegExp(/(.*)/).test(key))
|
|
2453
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
2524
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io43(value);
|
|
2454
2525
|
return true;
|
|
2455
2526
|
});
|
|
2456
|
-
const $
|
|
2527
|
+
const $io43 = (input3) => Object.keys(input3).every((key) => {
|
|
2457
2528
|
const value = input3[key];
|
|
2458
2529
|
if (void 0 === value)
|
|
2459
2530
|
return true;
|
|
@@ -2461,66 +2532,66 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2461
2532
|
return true;
|
|
2462
2533
|
return true;
|
|
2463
2534
|
});
|
|
2464
|
-
const $
|
|
2465
|
-
const $
|
|
2466
|
-
const $
|
|
2467
|
-
const $
|
|
2468
|
-
const $
|
|
2469
|
-
const $
|
|
2470
|
-
const $
|
|
2471
|
-
const $
|
|
2472
|
-
const $
|
|
2473
|
-
const $
|
|
2474
|
-
const $
|
|
2475
|
-
const $
|
|
2476
|
-
const $
|
|
2477
|
-
const $
|
|
2478
|
-
const $
|
|
2479
|
-
const $
|
|
2480
|
-
const $
|
|
2535
|
+
const $io44 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
2536
|
+
const $io45 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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 && $iu4(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
2537
|
+
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
|
|
2538
|
+
const $io47 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting));
|
|
2539
|
+
const $io48 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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 && $io9(input3.groupsetting));
|
|
2540
|
+
const $io49 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && "string" === typeof input3.sample && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting));
|
|
2541
|
+
const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
|
|
2542
|
+
const $io51 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
|
|
2543
|
+
const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
|
|
2544
|
+
const $io53 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion));
|
|
2545
|
+
const $io54 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io41(elem))) && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io42(input3.propsByTermId));
|
|
2546
|
+
const $io55 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io56(elem)));
|
|
2547
|
+
const $io56 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io57(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io58(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
2548
|
+
const $io57 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
2549
|
+
const $io58 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
2550
|
+
const $io59 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io60(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion));
|
|
2551
|
+
const $io60 = (input3) => Object.keys(input3).every((key) => {
|
|
2481
2552
|
const value = input3[key];
|
|
2482
2553
|
if (void 0 === value)
|
|
2483
2554
|
return true;
|
|
2484
2555
|
if (RegExp(/(.*)/).test(key))
|
|
2485
|
-
return "object" === typeof value && null !== value && $
|
|
2556
|
+
return "object" === typeof value && null !== value && $io61(value);
|
|
2486
2557
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
2487
|
-
return "object" === typeof value && null !== value && $
|
|
2558
|
+
return "object" === typeof value && null !== value && $io61(value);
|
|
2488
2559
|
return true;
|
|
2489
2560
|
});
|
|
2490
|
-
const $
|
|
2491
|
-
const $
|
|
2561
|
+
const $io61 = (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 && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io62(elem))) && true;
|
|
2562
|
+
const $io62 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
2492
2563
|
const $iu0 = (input3) => (() => {
|
|
2493
2564
|
if ("metaboliteIntensity" === input3.type)
|
|
2494
|
-
return $io45(input3);
|
|
2495
|
-
if ("categorical" === input3.type)
|
|
2496
2565
|
return $io46(input3);
|
|
2497
|
-
if ("
|
|
2566
|
+
if ("categorical" === input3.type)
|
|
2498
2567
|
return $io47(input3);
|
|
2499
|
-
if ("
|
|
2568
|
+
if ("snp" === input3.type)
|
|
2500
2569
|
return $io48(input3);
|
|
2570
|
+
if ("singleCellCellType" === input3.type)
|
|
2571
|
+
return $io49(input3);
|
|
2501
2572
|
if ("date" === input3.type)
|
|
2502
|
-
return $
|
|
2573
|
+
return $io51(input3);
|
|
2503
2574
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2504
|
-
return $
|
|
2575
|
+
return $io50(input3);
|
|
2505
2576
|
if ("ssGSEA" === input3.type)
|
|
2506
|
-
return $io51(input3);
|
|
2507
|
-
if ("condition" === input3.type)
|
|
2508
2577
|
return $io52(input3);
|
|
2509
|
-
if ("
|
|
2578
|
+
if ("condition" === input3.type)
|
|
2510
2579
|
return $io53(input3);
|
|
2580
|
+
if ("termCollection" === input3.type)
|
|
2581
|
+
return $io54(input3);
|
|
2511
2582
|
return (() => {
|
|
2512
2583
|
if ($io24(input3))
|
|
2513
2584
|
return $io24(input3);
|
|
2514
2585
|
if ($io1(input3))
|
|
2515
2586
|
return $io1(input3);
|
|
2516
|
-
if ($io43(input3))
|
|
2517
|
-
return $io43(input3);
|
|
2518
2587
|
if ($io44(input3))
|
|
2519
2588
|
return $io44(input3);
|
|
2520
|
-
if ($
|
|
2521
|
-
return $
|
|
2522
|
-
if ($
|
|
2523
|
-
return $
|
|
2589
|
+
if ($io45(input3))
|
|
2590
|
+
return $io45(input3);
|
|
2591
|
+
if ($io59(input3))
|
|
2592
|
+
return $io59(input3);
|
|
2593
|
+
if ($io55(input3))
|
|
2594
|
+
return $io55(input3);
|
|
2524
2595
|
return false;
|
|
2525
2596
|
})();
|
|
2526
2597
|
})();
|
|
@@ -2624,11 +2695,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2624
2695
|
value: input3.terms
|
|
2625
2696
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2626
2697
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
2627
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name: string; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id: string; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { id: string; name?: string | undefined; type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { name: string; collectionId?: string | undefined; type: "termCollection"; termlst:
|
|
2698
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name: string; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id: string; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { id: string; name?: string | undefined; type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { name: string; collectionId?: string | undefined; type: "termCollection"; termlst: BaseTerm[]; numerators?: string[] | undefined; newTvs?: boolean | undefined; propsByTermId: { ...; }; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "singleCellCellType"; sample: string; plot: string; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { type: "snp"; id: string; name: string; chr: string; start: number; stop: number; ref: string; alt: string[]; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2628
2699
|
value: elem
|
|
2629
2700
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2630
2701
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
2631
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name: string; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id: string; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { id: string; name?: string | undefined; type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { name: string; collectionId?: string | undefined; type: "termCollection"; termlst:
|
|
2702
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name: string; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id: string; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { id: string; name?: string | undefined; type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { name: string; collectionId?: string | undefined; type: "termCollection"; termlst: BaseTerm[]; numerators?: string[] | undefined; newTvs?: boolean | undefined; propsByTermId: { ...; }; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "singleCellCellType"; sample: string; plot: string; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { type: "snp"; id: string; name: string; chr: string; start: number; stop: number; ref: string; alt: string[]; groupsetting: TermGroupSetting; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2632
2703
|
value: elem
|
|
2633
2704
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2634
2705
|
path: _path2 + ".terms",
|
|
@@ -4630,15 +4701,19 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4630
4701
|
value: input3.collectionId
|
|
4631
4702
|
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
4632
4703
|
path: _path2 + ".termlst",
|
|
4633
|
-
expected: "Array<
|
|
4704
|
+
expected: "Array<BaseTerm>",
|
|
4634
4705
|
value: input3.termlst
|
|
4635
|
-
})) && input3.termlst.map((elem, _index43) => "
|
|
4706
|
+
})) && input3.termlst.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4636
4707
|
path: _path2 + ".termlst[" + _index43 + "]",
|
|
4637
|
-
expected: "
|
|
4708
|
+
expected: "BaseTerm",
|
|
4709
|
+
value: elem
|
|
4710
|
+
})) && $vo41(elem, _path2 + ".termlst[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4711
|
+
path: _path2 + ".termlst[" + _index43 + "]",
|
|
4712
|
+
expected: "BaseTerm",
|
|
4638
4713
|
value: elem
|
|
4639
4714
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4640
4715
|
path: _path2 + ".termlst",
|
|
4641
|
-
expected: "Array<
|
|
4716
|
+
expected: "Array<BaseTerm>",
|
|
4642
4717
|
value: input3.termlst
|
|
4643
4718
|
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
4644
4719
|
path: _path2 + ".numerators",
|
|
@@ -4660,12 +4735,77 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4660
4735
|
path: _path2 + ".propsByTermId",
|
|
4661
4736
|
expected: "__type.o6",
|
|
4662
4737
|
value: input3.propsByTermId
|
|
4663
|
-
})) && $
|
|
4738
|
+
})) && $vo42(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
4664
4739
|
path: _path2 + ".propsByTermId",
|
|
4665
4740
|
expected: "__type.o6",
|
|
4666
4741
|
value: input3.propsByTermId
|
|
4667
4742
|
})].every((flag) => flag);
|
|
4668
|
-
const $vo41 = (input3, _path2, _exceptionable2 = true) => [
|
|
4743
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4744
|
+
path: _path2 + ".id",
|
|
4745
|
+
expected: "string",
|
|
4746
|
+
value: input3.id
|
|
4747
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
4748
|
+
path: _path2 + ".name",
|
|
4749
|
+
expected: "string",
|
|
4750
|
+
value: input3.name
|
|
4751
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
4752
|
+
path: _path2 + ".type",
|
|
4753
|
+
expected: "string",
|
|
4754
|
+
value: input3.type
|
|
4755
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
4756
|
+
path: _path2 + ".child_types",
|
|
4757
|
+
expected: "(Array<string> | undefined)",
|
|
4758
|
+
value: input3.child_types
|
|
4759
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4760
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
4761
|
+
expected: "string",
|
|
4762
|
+
value: elem
|
|
4763
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4764
|
+
path: _path2 + ".child_types",
|
|
4765
|
+
expected: "(Array<string> | undefined)",
|
|
4766
|
+
value: input3.child_types
|
|
4767
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
4768
|
+
path: _path2 + ".hashtmldetail",
|
|
4769
|
+
expected: "(boolean | undefined)",
|
|
4770
|
+
value: input3.hashtmldetail
|
|
4771
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
4772
|
+
path: _path2 + ".included_types",
|
|
4773
|
+
expected: "(Array<string> | undefined)",
|
|
4774
|
+
value: input3.included_types
|
|
4775
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4776
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
4777
|
+
expected: "string",
|
|
4778
|
+
value: elem
|
|
4779
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4780
|
+
path: _path2 + ".included_types",
|
|
4781
|
+
expected: "(Array<string> | undefined)",
|
|
4782
|
+
value: input3.included_types
|
|
4783
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
4784
|
+
path: _path2 + ".isleaf",
|
|
4785
|
+
expected: "(boolean | undefined)",
|
|
4786
|
+
value: input3.isleaf
|
|
4787
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4788
|
+
path: _path2 + ".values",
|
|
4789
|
+
expected: "(TermValues | undefined)",
|
|
4790
|
+
value: input3.values
|
|
4791
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4792
|
+
path: _path2 + ".values",
|
|
4793
|
+
expected: "(TermValues | undefined)",
|
|
4794
|
+
value: input3.values
|
|
4795
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
4796
|
+
path: _path2 + ".skipValuesBuild",
|
|
4797
|
+
expected: "(boolean | undefined)",
|
|
4798
|
+
value: input3.skipValuesBuild
|
|
4799
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
4800
|
+
path: _path2 + ".valueConversion",
|
|
4801
|
+
expected: "(__type.o1 | undefined)",
|
|
4802
|
+
value: input3.valueConversion
|
|
4803
|
+
})) && $vo8(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
4804
|
+
path: _path2 + ".valueConversion",
|
|
4805
|
+
expected: "(__type.o1 | undefined)",
|
|
4806
|
+
value: input3.valueConversion
|
|
4807
|
+
})].every((flag) => flag);
|
|
4808
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
4669
4809
|
const value = input3[key];
|
|
4670
4810
|
if (void 0 === value)
|
|
4671
4811
|
return true;
|
|
@@ -4674,14 +4814,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4674
4814
|
path: _path2 + $join(key),
|
|
4675
4815
|
expected: "__type.o7",
|
|
4676
4816
|
value
|
|
4677
|
-
})) && $
|
|
4817
|
+
})) && $vo43(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4678
4818
|
path: _path2 + $join(key),
|
|
4679
4819
|
expected: "__type.o7",
|
|
4680
4820
|
value
|
|
4681
4821
|
});
|
|
4682
4822
|
return true;
|
|
4683
4823
|
}).every((flag) => flag)].every((flag) => flag);
|
|
4684
|
-
const $
|
|
4824
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
4685
4825
|
const value = input3[key];
|
|
4686
4826
|
if (void 0 === value)
|
|
4687
4827
|
return true;
|
|
@@ -4689,7 +4829,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4689
4829
|
return true;
|
|
4690
4830
|
return true;
|
|
4691
4831
|
}).every((flag) => flag)].every((flag) => flag);
|
|
4692
|
-
const $
|
|
4832
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4693
4833
|
path: _path2 + ".id",
|
|
4694
4834
|
expected: "string",
|
|
4695
4835
|
value: input3.id
|
|
@@ -4705,8 +4845,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4705
4845
|
path: _path2 + ".child_types",
|
|
4706
4846
|
expected: "(Array<string> | undefined)",
|
|
4707
4847
|
value: input3.child_types
|
|
4708
|
-
})) && input3.child_types.map((elem,
|
|
4709
|
-
path: _path2 + ".child_types[" +
|
|
4848
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4849
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
4710
4850
|
expected: "string",
|
|
4711
4851
|
value: elem
|
|
4712
4852
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4721,8 +4861,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4721
4861
|
path: _path2 + ".included_types",
|
|
4722
4862
|
expected: "(Array<string> | undefined)",
|
|
4723
4863
|
value: input3.included_types
|
|
4724
|
-
})) && input3.included_types.map((elem,
|
|
4725
|
-
path: _path2 + ".included_types[" +
|
|
4864
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4865
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
4726
4866
|
expected: "string",
|
|
4727
4867
|
value: elem
|
|
4728
4868
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4777,12 +4917,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4777
4917
|
path: _path2 + ".genes",
|
|
4778
4918
|
expected: "Array<GvGeneTerm>",
|
|
4779
4919
|
value: input3.genes
|
|
4780
|
-
})) && input3.genes.map((elem,
|
|
4781
|
-
path: _path2 + ".genes[" +
|
|
4920
|
+
})) && input3.genes.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4921
|
+
path: _path2 + ".genes[" + _index49 + "]",
|
|
4782
4922
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4783
4923
|
value: elem
|
|
4784
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
4785
|
-
path: _path2 + ".genes[" +
|
|
4924
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4925
|
+
path: _path2 + ".genes[" + _index49 + "]",
|
|
4786
4926
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4787
4927
|
value: elem
|
|
4788
4928
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4801,12 +4941,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4801
4941
|
path: _path2 + ".childTerms",
|
|
4802
4942
|
expected: "Array<DtTerm>",
|
|
4803
4943
|
value: input3.childTerms
|
|
4804
|
-
})) && input3.childTerms.map((elem,
|
|
4805
|
-
path: _path2 + ".childTerms[" +
|
|
4944
|
+
})) && input3.childTerms.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4945
|
+
path: _path2 + ".childTerms[" + _index50 + "]",
|
|
4806
4946
|
expected: "DtTerm",
|
|
4807
4947
|
value: elem
|
|
4808
|
-
})) && $vo33(elem, _path2 + ".childTerms[" +
|
|
4809
|
-
path: _path2 + ".childTerms[" +
|
|
4948
|
+
})) && $vo33(elem, _path2 + ".childTerms[" + _index50 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4949
|
+
path: _path2 + ".childTerms[" + _index50 + "]",
|
|
4810
4950
|
expected: "DtTerm",
|
|
4811
4951
|
value: elem
|
|
4812
4952
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4814,7 +4954,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4814
4954
|
expected: "Array<DtTerm>",
|
|
4815
4955
|
value: input3.childTerms
|
|
4816
4956
|
})].every((flag) => flag);
|
|
4817
|
-
const $
|
|
4957
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4818
4958
|
path: _path2 + ".id",
|
|
4819
4959
|
expected: "string",
|
|
4820
4960
|
value: input3.id
|
|
@@ -4830,8 +4970,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4830
4970
|
path: _path2 + ".child_types",
|
|
4831
4971
|
expected: "(Array<string> | undefined)",
|
|
4832
4972
|
value: input3.child_types
|
|
4833
|
-
})) && input3.child_types.map((elem,
|
|
4834
|
-
path: _path2 + ".child_types[" +
|
|
4973
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4974
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
4835
4975
|
expected: "string",
|
|
4836
4976
|
value: elem
|
|
4837
4977
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4846,8 +4986,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4846
4986
|
path: _path2 + ".included_types",
|
|
4847
4987
|
expected: "(Array<string> | undefined)",
|
|
4848
4988
|
value: input3.included_types
|
|
4849
|
-
})) && input3.included_types.map((elem,
|
|
4850
|
-
path: _path2 + ".included_types[" +
|
|
4989
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4990
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
4851
4991
|
expected: "string",
|
|
4852
4992
|
value: elem
|
|
4853
4993
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4898,12 +5038,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4898
5038
|
path: _path2 + ".genes",
|
|
4899
5039
|
expected: "Array<GvGeneTerm>",
|
|
4900
5040
|
value: input3.genes
|
|
4901
|
-
})) && input3.genes.map((elem,
|
|
4902
|
-
path: _path2 + ".genes[" +
|
|
5041
|
+
})) && input3.genes.map((elem, _index53) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5042
|
+
path: _path2 + ".genes[" + _index53 + "]",
|
|
4903
5043
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4904
5044
|
value: elem
|
|
4905
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
4906
|
-
path: _path2 + ".genes[" +
|
|
5045
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index53 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5046
|
+
path: _path2 + ".genes[" + _index53 + "]",
|
|
4907
5047
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4908
5048
|
value: elem
|
|
4909
5049
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4922,12 +5062,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4922
5062
|
path: _path2 + ".childTerms",
|
|
4923
5063
|
expected: "Array<DtTerm>",
|
|
4924
5064
|
value: input3.childTerms
|
|
4925
|
-
})) && input3.childTerms.map((elem,
|
|
4926
|
-
path: _path2 + ".childTerms[" +
|
|
5065
|
+
})) && input3.childTerms.map((elem, _index54) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5066
|
+
path: _path2 + ".childTerms[" + _index54 + "]",
|
|
4927
5067
|
expected: "DtTerm",
|
|
4928
5068
|
value: elem
|
|
4929
|
-
})) && $vo33(elem, _path2 + ".childTerms[" +
|
|
4930
|
-
path: _path2 + ".childTerms[" +
|
|
5069
|
+
})) && $vo33(elem, _path2 + ".childTerms[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5070
|
+
path: _path2 + ".childTerms[" + _index54 + "]",
|
|
4931
5071
|
expected: "DtTerm",
|
|
4932
5072
|
value: elem
|
|
4933
5073
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4935,7 +5075,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4935
5075
|
expected: "Array<DtTerm>",
|
|
4936
5076
|
value: input3.childTerms
|
|
4937
5077
|
})].every((flag) => flag);
|
|
4938
|
-
const $
|
|
5078
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4939
5079
|
path: _path2 + ".id",
|
|
4940
5080
|
expected: "string",
|
|
4941
5081
|
value: input3.id
|
|
@@ -4951,8 +5091,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4951
5091
|
path: _path2 + ".child_types",
|
|
4952
5092
|
expected: "(Array<string> | undefined)",
|
|
4953
5093
|
value: input3.child_types
|
|
4954
|
-
})) && input3.child_types.map((elem,
|
|
4955
|
-
path: _path2 + ".child_types[" +
|
|
5094
|
+
})) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5095
|
+
path: _path2 + ".child_types[" + _index55 + "]",
|
|
4956
5096
|
expected: "string",
|
|
4957
5097
|
value: elem
|
|
4958
5098
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4967,8 +5107,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4967
5107
|
path: _path2 + ".included_types",
|
|
4968
5108
|
expected: "(Array<string> | undefined)",
|
|
4969
5109
|
value: input3.included_types
|
|
4970
|
-
})) && input3.included_types.map((elem,
|
|
4971
|
-
path: _path2 + ".included_types[" +
|
|
5110
|
+
})) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5111
|
+
path: _path2 + ".included_types[" + _index56 + "]",
|
|
4972
5112
|
expected: "string",
|
|
4973
5113
|
value: elem
|
|
4974
5114
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5024,7 +5164,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5024
5164
|
expected: "(PresetNumericBins | undefined)",
|
|
5025
5165
|
value: input3.bins
|
|
5026
5166
|
})].every((flag) => flag);
|
|
5027
|
-
const $
|
|
5167
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5028
5168
|
path: _path2 + ".id",
|
|
5029
5169
|
expected: "string",
|
|
5030
5170
|
value: input3.id
|
|
@@ -5040,8 +5180,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5040
5180
|
path: _path2 + ".child_types",
|
|
5041
5181
|
expected: "(Array<string> | undefined)",
|
|
5042
5182
|
value: input3.child_types
|
|
5043
|
-
})) && input3.child_types.map((elem,
|
|
5044
|
-
path: _path2 + ".child_types[" +
|
|
5183
|
+
})) && input3.child_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5184
|
+
path: _path2 + ".child_types[" + _index57 + "]",
|
|
5045
5185
|
expected: "string",
|
|
5046
5186
|
value: elem
|
|
5047
5187
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5056,8 +5196,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5056
5196
|
path: _path2 + ".included_types",
|
|
5057
5197
|
expected: "(Array<string> | undefined)",
|
|
5058
5198
|
value: input3.included_types
|
|
5059
|
-
})) && input3.included_types.map((elem,
|
|
5060
|
-
path: _path2 + ".included_types[" +
|
|
5199
|
+
})) && input3.included_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5200
|
+
path: _path2 + ".included_types[" + _index58 + "]",
|
|
5061
5201
|
expected: "string",
|
|
5062
5202
|
value: elem
|
|
5063
5203
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5097,7 +5237,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5097
5237
|
expected: "TermGroupSetting",
|
|
5098
5238
|
value: input3.groupsetting
|
|
5099
5239
|
})].every((flag) => flag);
|
|
5100
|
-
const $
|
|
5240
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5101
5241
|
path: _path2 + ".id",
|
|
5102
5242
|
expected: "string",
|
|
5103
5243
|
value: input3.id
|
|
@@ -5113,8 +5253,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5113
5253
|
path: _path2 + ".child_types",
|
|
5114
5254
|
expected: "(Array<string> | undefined)",
|
|
5115
5255
|
value: input3.child_types
|
|
5116
|
-
})) && input3.child_types.map((elem,
|
|
5117
|
-
path: _path2 + ".child_types[" +
|
|
5256
|
+
})) && input3.child_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5257
|
+
path: _path2 + ".child_types[" + _index59 + "]",
|
|
5118
5258
|
expected: "string",
|
|
5119
5259
|
value: elem
|
|
5120
5260
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5129,8 +5269,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5129
5269
|
path: _path2 + ".included_types",
|
|
5130
5270
|
expected: "(Array<string> | undefined)",
|
|
5131
5271
|
value: input3.included_types
|
|
5132
|
-
})) && input3.included_types.map((elem,
|
|
5133
|
-
path: _path2 + ".included_types[" +
|
|
5272
|
+
})) && input3.included_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5273
|
+
path: _path2 + ".included_types[" + _index60 + "]",
|
|
5134
5274
|
expected: "string",
|
|
5135
5275
|
value: elem
|
|
5136
5276
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5181,8 +5321,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5181
5321
|
path: _path2 + ".alt",
|
|
5182
5322
|
expected: "Array<string>",
|
|
5183
5323
|
value: input3.alt
|
|
5184
|
-
})) && input3.alt.map((elem,
|
|
5185
|
-
path: _path2 + ".alt[" +
|
|
5324
|
+
})) && input3.alt.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5325
|
+
path: _path2 + ".alt[" + _index61 + "]",
|
|
5186
5326
|
expected: "string",
|
|
5187
5327
|
value: elem
|
|
5188
5328
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5198,7 +5338,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5198
5338
|
expected: "TermGroupSetting",
|
|
5199
5339
|
value: input3.groupsetting
|
|
5200
5340
|
})].every((flag) => flag);
|
|
5201
|
-
const $
|
|
5341
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5202
5342
|
path: _path2 + ".id",
|
|
5203
5343
|
expected: "string",
|
|
5204
5344
|
value: input3.id
|
|
@@ -5214,8 +5354,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5214
5354
|
path: _path2 + ".child_types",
|
|
5215
5355
|
expected: "(Array<string> | undefined)",
|
|
5216
5356
|
value: input3.child_types
|
|
5217
|
-
})) && input3.child_types.map((elem,
|
|
5218
|
-
path: _path2 + ".child_types[" +
|
|
5357
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5358
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
5219
5359
|
expected: "string",
|
|
5220
5360
|
value: elem
|
|
5221
5361
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5230,8 +5370,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5230
5370
|
path: _path2 + ".included_types",
|
|
5231
5371
|
expected: "(Array<string> | undefined)",
|
|
5232
5372
|
value: input3.included_types
|
|
5233
|
-
})) && input3.included_types.map((elem,
|
|
5234
|
-
path: _path2 + ".included_types[" +
|
|
5373
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5374
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
5235
5375
|
expected: "string",
|
|
5236
5376
|
value: elem
|
|
5237
5377
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5279,7 +5419,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5279
5419
|
expected: "TermGroupSetting",
|
|
5280
5420
|
value: input3.groupsetting
|
|
5281
5421
|
})].every((flag) => flag);
|
|
5282
|
-
const $
|
|
5422
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5283
5423
|
path: _path2 + ".id",
|
|
5284
5424
|
expected: "string",
|
|
5285
5425
|
value: input3.id
|
|
@@ -5295,8 +5435,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5295
5435
|
path: _path2 + ".child_types",
|
|
5296
5436
|
expected: "(Array<string> | undefined)",
|
|
5297
5437
|
value: input3.child_types
|
|
5298
|
-
})) && input3.child_types.map((elem,
|
|
5299
|
-
path: _path2 + ".child_types[" +
|
|
5438
|
+
})) && input3.child_types.map((elem, _index64) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5439
|
+
path: _path2 + ".child_types[" + _index64 + "]",
|
|
5300
5440
|
expected: "string",
|
|
5301
5441
|
value: elem
|
|
5302
5442
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5311,8 +5451,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5311
5451
|
path: _path2 + ".included_types",
|
|
5312
5452
|
expected: "(Array<string> | undefined)",
|
|
5313
5453
|
value: input3.included_types
|
|
5314
|
-
})) && input3.included_types.map((elem,
|
|
5315
|
-
path: _path2 + ".included_types[" +
|
|
5454
|
+
})) && input3.included_types.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5455
|
+
path: _path2 + ".included_types[" + _index65 + "]",
|
|
5316
5456
|
expected: "string",
|
|
5317
5457
|
value: elem
|
|
5318
5458
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5364,7 +5504,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5364
5504
|
expected: "PresetNumericBins",
|
|
5365
5505
|
value: input3.bins
|
|
5366
5506
|
})].every((flag) => flag);
|
|
5367
|
-
const $
|
|
5507
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5368
5508
|
path: _path2 + ".id",
|
|
5369
5509
|
expected: "string",
|
|
5370
5510
|
value: input3.id
|
|
@@ -5380,8 +5520,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5380
5520
|
path: _path2 + ".child_types",
|
|
5381
5521
|
expected: "(Array<string> | undefined)",
|
|
5382
5522
|
value: input3.child_types
|
|
5383
|
-
})) && input3.child_types.map((elem,
|
|
5384
|
-
path: _path2 + ".child_types[" +
|
|
5523
|
+
})) && input3.child_types.map((elem, _index66) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5524
|
+
path: _path2 + ".child_types[" + _index66 + "]",
|
|
5385
5525
|
expected: "string",
|
|
5386
5526
|
value: elem
|
|
5387
5527
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5396,8 +5536,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5396
5536
|
path: _path2 + ".included_types",
|
|
5397
5537
|
expected: "(Array<string> | undefined)",
|
|
5398
5538
|
value: input3.included_types
|
|
5399
|
-
})) && input3.included_types.map((elem,
|
|
5400
|
-
path: _path2 + ".included_types[" +
|
|
5539
|
+
})) && input3.included_types.map((elem, _index67) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5540
|
+
path: _path2 + ".included_types[" + _index67 + "]",
|
|
5401
5541
|
expected: "string",
|
|
5402
5542
|
value: elem
|
|
5403
5543
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5449,7 +5589,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5449
5589
|
expected: "(PresetNumericBins | undefined)",
|
|
5450
5590
|
value: input3.bins
|
|
5451
5591
|
})].every((flag) => flag);
|
|
5452
|
-
const $
|
|
5592
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5453
5593
|
path: _path2 + ".id",
|
|
5454
5594
|
expected: "string",
|
|
5455
5595
|
value: input3.id
|
|
@@ -5465,8 +5605,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5465
5605
|
path: _path2 + ".child_types",
|
|
5466
5606
|
expected: "(Array<string> | undefined)",
|
|
5467
5607
|
value: input3.child_types
|
|
5468
|
-
})) && input3.child_types.map((elem,
|
|
5469
|
-
path: _path2 + ".child_types[" +
|
|
5608
|
+
})) && input3.child_types.map((elem, _index68) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5609
|
+
path: _path2 + ".child_types[" + _index68 + "]",
|
|
5470
5610
|
expected: "string",
|
|
5471
5611
|
value: elem
|
|
5472
5612
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5481,8 +5621,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5481
5621
|
path: _path2 + ".included_types",
|
|
5482
5622
|
expected: "(Array<string> | undefined)",
|
|
5483
5623
|
value: input3.included_types
|
|
5484
|
-
})) && input3.included_types.map((elem,
|
|
5485
|
-
path: _path2 + ".included_types[" +
|
|
5624
|
+
})) && input3.included_types.map((elem, _index69) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5625
|
+
path: _path2 + ".included_types[" + _index69 + "]",
|
|
5486
5626
|
expected: "string",
|
|
5487
5627
|
value: elem
|
|
5488
5628
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5529,8 +5669,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5529
5669
|
path: _path2 + ".genes",
|
|
5530
5670
|
expected: "(Array<string> | undefined)",
|
|
5531
5671
|
value: input3.genes
|
|
5532
|
-
})) && input3.genes.map((elem,
|
|
5533
|
-
path: _path2 + ".genes[" +
|
|
5672
|
+
})) && input3.genes.map((elem, _index70) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5673
|
+
path: _path2 + ".genes[" + _index70 + "]",
|
|
5534
5674
|
expected: "string",
|
|
5535
5675
|
value: elem
|
|
5536
5676
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5546,7 +5686,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5546
5686
|
expected: "(PresetNumericBins | undefined)",
|
|
5547
5687
|
value: input3.bins
|
|
5548
5688
|
})].every((flag) => flag);
|
|
5549
|
-
const $
|
|
5689
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5550
5690
|
path: _path2 + ".id",
|
|
5551
5691
|
expected: "string",
|
|
5552
5692
|
value: input3.id
|
|
@@ -5562,8 +5702,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5562
5702
|
path: _path2 + ".child_types",
|
|
5563
5703
|
expected: "(Array<string> | undefined)",
|
|
5564
5704
|
value: input3.child_types
|
|
5565
|
-
})) && input3.child_types.map((elem,
|
|
5566
|
-
path: _path2 + ".child_types[" +
|
|
5705
|
+
})) && input3.child_types.map((elem, _index71) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5706
|
+
path: _path2 + ".child_types[" + _index71 + "]",
|
|
5567
5707
|
expected: "string",
|
|
5568
5708
|
value: elem
|
|
5569
5709
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5578,8 +5718,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5578
5718
|
path: _path2 + ".included_types",
|
|
5579
5719
|
expected: "(Array<string> | undefined)",
|
|
5580
5720
|
value: input3.included_types
|
|
5581
|
-
})) && input3.included_types.map((elem,
|
|
5582
|
-
path: _path2 + ".included_types[" +
|
|
5721
|
+
})) && input3.included_types.map((elem, _index72) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5722
|
+
path: _path2 + ".included_types[" + _index72 + "]",
|
|
5583
5723
|
expected: "string",
|
|
5584
5724
|
value: elem
|
|
5585
5725
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5611,7 +5751,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5611
5751
|
expected: "(__type.o1 | undefined)",
|
|
5612
5752
|
value: input3.valueConversion
|
|
5613
5753
|
})].every((flag) => flag);
|
|
5614
|
-
const $
|
|
5754
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5615
5755
|
path: _path2 + ".id",
|
|
5616
5756
|
expected: "string",
|
|
5617
5757
|
value: input3.id
|
|
@@ -5627,8 +5767,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5627
5767
|
path: _path2 + ".child_types",
|
|
5628
5768
|
expected: "(Array<string> | undefined)",
|
|
5629
5769
|
value: input3.child_types
|
|
5630
|
-
})) && input3.child_types.map((elem,
|
|
5631
|
-
path: _path2 + ".child_types[" +
|
|
5770
|
+
})) && input3.child_types.map((elem, _index73) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5771
|
+
path: _path2 + ".child_types[" + _index73 + "]",
|
|
5632
5772
|
expected: "string",
|
|
5633
5773
|
value: elem
|
|
5634
5774
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5643,8 +5783,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5643
5783
|
path: _path2 + ".included_types",
|
|
5644
5784
|
expected: "(Array<string> | undefined)",
|
|
5645
5785
|
value: input3.included_types
|
|
5646
|
-
})) && input3.included_types.map((elem,
|
|
5647
|
-
path: _path2 + ".included_types[" +
|
|
5786
|
+
})) && input3.included_types.map((elem, _index74) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5787
|
+
path: _path2 + ".included_types[" + _index74 + "]",
|
|
5648
5788
|
expected: "string",
|
|
5649
5789
|
value: elem
|
|
5650
5790
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5681,22 +5821,26 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5681
5821
|
value: input3.collectionId
|
|
5682
5822
|
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
5683
5823
|
path: _path2 + ".termlst",
|
|
5684
|
-
expected: "Array<
|
|
5824
|
+
expected: "Array<BaseTerm>",
|
|
5685
5825
|
value: input3.termlst
|
|
5686
|
-
})) && input3.termlst.map((elem,
|
|
5687
|
-
path: _path2 + ".termlst[" +
|
|
5688
|
-
expected: "
|
|
5826
|
+
})) && input3.termlst.map((elem, _index75) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5827
|
+
path: _path2 + ".termlst[" + _index75 + "]",
|
|
5828
|
+
expected: "BaseTerm",
|
|
5829
|
+
value: elem
|
|
5830
|
+
})) && $vo41(elem, _path2 + ".termlst[" + _index75 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5831
|
+
path: _path2 + ".termlst[" + _index75 + "]",
|
|
5832
|
+
expected: "BaseTerm",
|
|
5689
5833
|
value: elem
|
|
5690
5834
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
5691
5835
|
path: _path2 + ".termlst",
|
|
5692
|
-
expected: "Array<
|
|
5836
|
+
expected: "Array<BaseTerm>",
|
|
5693
5837
|
value: input3.termlst
|
|
5694
5838
|
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
5695
5839
|
path: _path2 + ".numerators",
|
|
5696
5840
|
expected: "(Array<string> | undefined)",
|
|
5697
5841
|
value: input3.numerators
|
|
5698
|
-
})) && input3.numerators.map((elem,
|
|
5699
|
-
path: _path2 + ".numerators[" +
|
|
5842
|
+
})) && input3.numerators.map((elem, _index76) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5843
|
+
path: _path2 + ".numerators[" + _index76 + "]",
|
|
5700
5844
|
expected: "string",
|
|
5701
5845
|
value: elem
|
|
5702
5846
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5711,12 +5855,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5711
5855
|
path: _path2 + ".propsByTermId",
|
|
5712
5856
|
expected: "__type.o6",
|
|
5713
5857
|
value: input3.propsByTermId
|
|
5714
|
-
})) && $
|
|
5858
|
+
})) && $vo42(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
5715
5859
|
path: _path2 + ".propsByTermId",
|
|
5716
5860
|
expected: "__type.o6",
|
|
5717
5861
|
value: input3.propsByTermId
|
|
5718
5862
|
})].every((flag) => flag);
|
|
5719
|
-
const $
|
|
5863
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5720
5864
|
path: _path2 + ".id",
|
|
5721
5865
|
expected: "string",
|
|
5722
5866
|
value: input3.id
|
|
@@ -5732,8 +5876,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5732
5876
|
path: _path2 + ".child_types",
|
|
5733
5877
|
expected: "(Array<string> | undefined)",
|
|
5734
5878
|
value: input3.child_types
|
|
5735
|
-
})) && input3.child_types.map((elem,
|
|
5736
|
-
path: _path2 + ".child_types[" +
|
|
5879
|
+
})) && input3.child_types.map((elem, _index77) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5880
|
+
path: _path2 + ".child_types[" + _index77 + "]",
|
|
5737
5881
|
expected: "string",
|
|
5738
5882
|
value: elem
|
|
5739
5883
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5748,8 +5892,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5748
5892
|
path: _path2 + ".included_types",
|
|
5749
5893
|
expected: "(Array<string> | undefined)",
|
|
5750
5894
|
value: input3.included_types
|
|
5751
|
-
})) && input3.included_types.map((elem,
|
|
5752
|
-
path: _path2 + ".included_types[" +
|
|
5895
|
+
})) && input3.included_types.map((elem, _index78) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5896
|
+
path: _path2 + ".included_types[" + _index78 + "]",
|
|
5753
5897
|
expected: "string",
|
|
5754
5898
|
value: elem
|
|
5755
5899
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5788,12 +5932,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5788
5932
|
path: _path2 + ".snps",
|
|
5789
5933
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
5790
5934
|
value: input3.snps
|
|
5791
|
-
})) && input3.snps.map((elem,
|
|
5792
|
-
path: _path2 + ".snps[" +
|
|
5935
|
+
})) && input3.snps.map((elem, _index79) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5936
|
+
path: _path2 + ".snps[" + _index79 + "]",
|
|
5793
5937
|
expected: "SnpsEntry",
|
|
5794
5938
|
value: elem
|
|
5795
|
-
})) && $
|
|
5796
|
-
path: _path2 + ".snps[" +
|
|
5939
|
+
})) && $vo56(elem, _path2 + ".snps[" + _index79 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5940
|
+
path: _path2 + ".snps[" + _index79 + "]",
|
|
5797
5941
|
expected: "SnpsEntry",
|
|
5798
5942
|
value: elem
|
|
5799
5943
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5801,12 +5945,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5801
5945
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
5802
5946
|
value: input3.snps
|
|
5803
5947
|
})].every((flag) => flag);
|
|
5804
|
-
const $
|
|
5948
|
+
const $vo56 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
5805
5949
|
path: _path2 + ".altAlleles",
|
|
5806
5950
|
expected: "(Array<string> | undefined)",
|
|
5807
5951
|
value: input3.altAlleles
|
|
5808
|
-
})) && input3.altAlleles.map((elem,
|
|
5809
|
-
path: _path2 + ".altAlleles[" +
|
|
5952
|
+
})) && input3.altAlleles.map((elem, _index80) => "string" === typeof elem || $report(_exceptionable2, {
|
|
5953
|
+
path: _path2 + ".altAlleles[" + _index80 + "]",
|
|
5810
5954
|
expected: "string",
|
|
5811
5955
|
value: elem
|
|
5812
5956
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5817,12 +5961,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5817
5961
|
path: _path2 + ".alleles",
|
|
5818
5962
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
5819
5963
|
value: input3.alleles
|
|
5820
|
-
})) && input3.alleles.map((elem,
|
|
5821
|
-
path: _path2 + ".alleles[" +
|
|
5964
|
+
})) && input3.alleles.map((elem, _index81) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
5965
|
+
path: _path2 + ".alleles[" + _index81 + "]",
|
|
5822
5966
|
expected: "AllelesEntry",
|
|
5823
5967
|
value: elem
|
|
5824
|
-
})) && $
|
|
5825
|
-
path: _path2 + ".alleles[" +
|
|
5968
|
+
})) && $vo57(elem, _path2 + ".alleles[" + _index81 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
5969
|
+
path: _path2 + ".alleles[" + _index81 + "]",
|
|
5826
5970
|
expected: "AllelesEntry",
|
|
5827
5971
|
value: elem
|
|
5828
5972
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5837,7 +5981,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5837
5981
|
path: _path2 + ".gt2count",
|
|
5838
5982
|
expected: "(__type.o8 | undefined)",
|
|
5839
5983
|
value: input3.gt2count
|
|
5840
|
-
})) && $
|
|
5984
|
+
})) && $vo58(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
5841
5985
|
path: _path2 + ".gt2count",
|
|
5842
5986
|
expected: "(__type.o8 | undefined)",
|
|
5843
5987
|
value: input3.gt2count
|
|
@@ -5866,7 +6010,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5866
6010
|
expected: "(number | undefined)",
|
|
5867
6011
|
value: input3.pos
|
|
5868
6012
|
})].every((flag) => flag);
|
|
5869
|
-
const $
|
|
6013
|
+
const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
5870
6014
|
path: _path2 + ".allele",
|
|
5871
6015
|
expected: "string",
|
|
5872
6016
|
value: input3.allele
|
|
@@ -5879,7 +6023,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5879
6023
|
expected: "boolean",
|
|
5880
6024
|
value: input3.isRef
|
|
5881
6025
|
})].every((flag) => flag);
|
|
5882
|
-
const $
|
|
6026
|
+
const $vo58 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
5883
6027
|
path: _path2 + ".k",
|
|
5884
6028
|
expected: "string",
|
|
5885
6029
|
value: input3.k
|
|
@@ -5888,7 +6032,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5888
6032
|
expected: "(number | string)",
|
|
5889
6033
|
value: input3.v
|
|
5890
6034
|
})].every((flag) => flag);
|
|
5891
|
-
const $
|
|
6035
|
+
const $vo59 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
5892
6036
|
path: _path2 + ".id",
|
|
5893
6037
|
expected: "string",
|
|
5894
6038
|
value: input3.id
|
|
@@ -5904,8 +6048,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5904
6048
|
path: _path2 + ".child_types",
|
|
5905
6049
|
expected: "(Array<string> | undefined)",
|
|
5906
6050
|
value: input3.child_types
|
|
5907
|
-
})) && input3.child_types.map((elem,
|
|
5908
|
-
path: _path2 + ".child_types[" +
|
|
6051
|
+
})) && input3.child_types.map((elem, _index82) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6052
|
+
path: _path2 + ".child_types[" + _index82 + "]",
|
|
5909
6053
|
expected: "string",
|
|
5910
6054
|
value: elem
|
|
5911
6055
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5920,8 +6064,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5920
6064
|
path: _path2 + ".included_types",
|
|
5921
6065
|
expected: "(Array<string> | undefined)",
|
|
5922
6066
|
value: input3.included_types
|
|
5923
|
-
})) && input3.included_types.map((elem,
|
|
5924
|
-
path: _path2 + ".included_types[" +
|
|
6067
|
+
})) && input3.included_types.map((elem, _index83) => "string" === typeof elem || $report(_exceptionable2, {
|
|
6068
|
+
path: _path2 + ".included_types[" + _index83 + "]",
|
|
5925
6069
|
expected: "string",
|
|
5926
6070
|
value: elem
|
|
5927
6071
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -5936,7 +6080,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5936
6080
|
path: _path2 + ".values",
|
|
5937
6081
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
5938
6082
|
value: input3.values
|
|
5939
|
-
})) && $
|
|
6083
|
+
})) && $vo60(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
5940
6084
|
path: _path2 + ".values",
|
|
5941
6085
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
5942
6086
|
value: input3.values
|
|
@@ -5953,7 +6097,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5953
6097
|
expected: "(__type.o1 | undefined)",
|
|
5954
6098
|
value: input3.valueConversion
|
|
5955
6099
|
})].every((flag) => flag);
|
|
5956
|
-
const $
|
|
6100
|
+
const $vo60 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
5957
6101
|
const value = input3[key];
|
|
5958
6102
|
if (void 0 === value)
|
|
5959
6103
|
return true;
|
|
@@ -5962,7 +6106,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5962
6106
|
path: _path2 + $join(key),
|
|
5963
6107
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
5964
6108
|
value
|
|
5965
|
-
})) && $
|
|
6109
|
+
})) && $vo61(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
5966
6110
|
path: _path2 + $join(key),
|
|
5967
6111
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
5968
6112
|
value
|
|
@@ -5972,14 +6116,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
5972
6116
|
path: _path2 + $join(key),
|
|
5973
6117
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
5974
6118
|
value
|
|
5975
|
-
})) && $
|
|
6119
|
+
})) && $vo61(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
5976
6120
|
path: _path2 + $join(key),
|
|
5977
6121
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
5978
6122
|
value
|
|
5979
6123
|
});
|
|
5980
6124
|
return true;
|
|
5981
6125
|
}).every((flag) => flag)].every((flag) => flag);
|
|
5982
|
-
const $
|
|
6126
|
+
const $vo61 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
5983
6127
|
path: _path2 + ".key",
|
|
5984
6128
|
expected: "(string | undefined)",
|
|
5985
6129
|
value: input3.key
|
|
@@ -6023,12 +6167,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6023
6167
|
path: _path2 + ".list",
|
|
6024
6168
|
expected: "Array<__type>.o3",
|
|
6025
6169
|
value: input3.list
|
|
6026
|
-
})) && input3.list.map((elem,
|
|
6027
|
-
path: _path2 + ".list[" +
|
|
6170
|
+
})) && input3.list.map((elem, _index84) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
6171
|
+
path: _path2 + ".list[" + _index84 + "]",
|
|
6028
6172
|
expected: "__type.o9",
|
|
6029
6173
|
value: elem
|
|
6030
|
-
})) && $
|
|
6031
|
-
path: _path2 + ".list[" +
|
|
6174
|
+
})) && $vo62(elem, _path2 + ".list[" + _index84 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
6175
|
+
path: _path2 + ".list[" + _index84 + "]",
|
|
6032
6176
|
expected: "__type.o9",
|
|
6033
6177
|
value: elem
|
|
6034
6178
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -6036,7 +6180,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6036
6180
|
expected: "Array<__type>.o3",
|
|
6037
6181
|
value: input3.list
|
|
6038
6182
|
}), true].every((flag) => flag);
|
|
6039
|
-
const $
|
|
6183
|
+
const $vo62 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
6040
6184
|
path: _path2 + ".sampleId",
|
|
6041
6185
|
expected: "string",
|
|
6042
6186
|
value: input3.sampleId
|
|
@@ -6047,24 +6191,24 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
6047
6191
|
})].every((flag) => flag);
|
|
6048
6192
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
6049
6193
|
if ("metaboliteIntensity" === input3.type)
|
|
6050
|
-
return $vo45(input3, _path2, _exceptionable2);
|
|
6051
|
-
if ("categorical" === input3.type)
|
|
6052
6194
|
return $vo46(input3, _path2, _exceptionable2);
|
|
6053
|
-
if ("
|
|
6195
|
+
if ("categorical" === input3.type)
|
|
6054
6196
|
return $vo47(input3, _path2, _exceptionable2);
|
|
6055
|
-
if ("
|
|
6197
|
+
if ("snp" === input3.type)
|
|
6056
6198
|
return $vo48(input3, _path2, _exceptionable2);
|
|
6199
|
+
if ("singleCellCellType" === input3.type)
|
|
6200
|
+
return $vo49(input3, _path2, _exceptionable2);
|
|
6057
6201
|
if ("date" === input3.type)
|
|
6058
|
-
return $
|
|
6202
|
+
return $vo51(input3, _path2, _exceptionable2);
|
|
6059
6203
|
if ("integer" === input3.type || "float" === input3.type)
|
|
6060
|
-
return $
|
|
6204
|
+
return $vo50(input3, _path2, _exceptionable2);
|
|
6061
6205
|
if ("ssGSEA" === input3.type)
|
|
6062
|
-
return $vo51(input3, _path2, _exceptionable2);
|
|
6063
|
-
if ("condition" === input3.type)
|
|
6064
6206
|
return $vo52(input3, _path2, _exceptionable2);
|
|
6065
|
-
if ("
|
|
6207
|
+
if ("condition" === input3.type)
|
|
6066
6208
|
return $vo53(input3, _path2, _exceptionable2);
|
|
6067
|
-
|
|
6209
|
+
if ("termCollection" === input3.type)
|
|
6210
|
+
return $vo54(input3, _path2, _exceptionable2);
|
|
6211
|
+
return $vo24(input3, _path2, false) || $vo1(input3, _path2, false) || $vo44(input3, _path2, false) || $vo45(input3, _path2, false) || $vo59(input3, _path2, false) || $vo55(input3, _path2, false);
|
|
6068
6212
|
})();
|
|
6069
6213
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
6070
6214
|
if ("tvslst" === input3.type)
|