@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
|
@@ -115,16 +115,17 @@ var validViolinRequest = (input) => {
|
|
|
115
115
|
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)));
|
|
116
116
|
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
117
117
|
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;
|
|
118
|
-
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) => "
|
|
119
|
-
const $io41 = (input3) =>
|
|
118
|
+
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));
|
|
119
|
+
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));
|
|
120
|
+
const $io42 = (input3) => Object.keys(input3).every((key) => {
|
|
120
121
|
const value = input3[key];
|
|
121
122
|
if (void 0 === value)
|
|
122
123
|
return true;
|
|
123
124
|
if (RegExp(/(.*)/).test(key))
|
|
124
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
125
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io43(value);
|
|
125
126
|
return true;
|
|
126
127
|
});
|
|
127
|
-
const $
|
|
128
|
+
const $io43 = (input3) => Object.keys(input3).every((key) => {
|
|
128
129
|
const value = input3[key];
|
|
129
130
|
if (void 0 === value)
|
|
130
131
|
return true;
|
|
@@ -2294,15 +2295,19 @@ var validViolinRequest = (input) => {
|
|
|
2294
2295
|
value: input3.collectionId
|
|
2295
2296
|
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2296
2297
|
path: _path2 + ".termlst",
|
|
2297
|
-
expected: "Array<
|
|
2298
|
+
expected: "Array<BaseTerm>",
|
|
2298
2299
|
value: input3.termlst
|
|
2299
|
-
})) && input3.termlst.map((elem, _index43) => "
|
|
2300
|
+
})) && input3.termlst.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2300
2301
|
path: _path2 + ".termlst[" + _index43 + "]",
|
|
2301
|
-
expected: "
|
|
2302
|
+
expected: "BaseTerm",
|
|
2303
|
+
value: elem
|
|
2304
|
+
})) && $vo41(elem, _path2 + ".termlst[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2305
|
+
path: _path2 + ".termlst[" + _index43 + "]",
|
|
2306
|
+
expected: "BaseTerm",
|
|
2302
2307
|
value: elem
|
|
2303
2308
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2304
2309
|
path: _path2 + ".termlst",
|
|
2305
|
-
expected: "Array<
|
|
2310
|
+
expected: "Array<BaseTerm>",
|
|
2306
2311
|
value: input3.termlst
|
|
2307
2312
|
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2308
2313
|
path: _path2 + ".numerators",
|
|
@@ -2324,12 +2329,77 @@ var validViolinRequest = (input) => {
|
|
|
2324
2329
|
path: _path2 + ".propsByTermId",
|
|
2325
2330
|
expected: "__type.o6",
|
|
2326
2331
|
value: input3.propsByTermId
|
|
2327
|
-
})) && $
|
|
2332
|
+
})) && $vo42(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2328
2333
|
path: _path2 + ".propsByTermId",
|
|
2329
2334
|
expected: "__type.o6",
|
|
2330
2335
|
value: input3.propsByTermId
|
|
2331
2336
|
})].every((flag) => flag);
|
|
2332
|
-
const $vo41 = (input3, _path2, _exceptionable2 = true) => [
|
|
2337
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2338
|
+
path: _path2 + ".id",
|
|
2339
|
+
expected: "string",
|
|
2340
|
+
value: input3.id
|
|
2341
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2342
|
+
path: _path2 + ".name",
|
|
2343
|
+
expected: "string",
|
|
2344
|
+
value: input3.name
|
|
2345
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2346
|
+
path: _path2 + ".type",
|
|
2347
|
+
expected: "string",
|
|
2348
|
+
value: input3.type
|
|
2349
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2350
|
+
path: _path2 + ".child_types",
|
|
2351
|
+
expected: "(Array<string> | undefined)",
|
|
2352
|
+
value: input3.child_types
|
|
2353
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2354
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2355
|
+
expected: "string",
|
|
2356
|
+
value: elem
|
|
2357
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2358
|
+
path: _path2 + ".child_types",
|
|
2359
|
+
expected: "(Array<string> | undefined)",
|
|
2360
|
+
value: input3.child_types
|
|
2361
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2362
|
+
path: _path2 + ".hashtmldetail",
|
|
2363
|
+
expected: "(boolean | undefined)",
|
|
2364
|
+
value: input3.hashtmldetail
|
|
2365
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2366
|
+
path: _path2 + ".included_types",
|
|
2367
|
+
expected: "(Array<string> | undefined)",
|
|
2368
|
+
value: input3.included_types
|
|
2369
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2370
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2371
|
+
expected: "string",
|
|
2372
|
+
value: elem
|
|
2373
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2374
|
+
path: _path2 + ".included_types",
|
|
2375
|
+
expected: "(Array<string> | undefined)",
|
|
2376
|
+
value: input3.included_types
|
|
2377
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2378
|
+
path: _path2 + ".isleaf",
|
|
2379
|
+
expected: "(boolean | undefined)",
|
|
2380
|
+
value: input3.isleaf
|
|
2381
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2382
|
+
path: _path2 + ".values",
|
|
2383
|
+
expected: "(TermValues | undefined)",
|
|
2384
|
+
value: input3.values
|
|
2385
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2386
|
+
path: _path2 + ".values",
|
|
2387
|
+
expected: "(TermValues | undefined)",
|
|
2388
|
+
value: input3.values
|
|
2389
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2390
|
+
path: _path2 + ".skipValuesBuild",
|
|
2391
|
+
expected: "(boolean | undefined)",
|
|
2392
|
+
value: input3.skipValuesBuild
|
|
2393
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2394
|
+
path: _path2 + ".valueConversion",
|
|
2395
|
+
expected: "(__type.o1 | undefined)",
|
|
2396
|
+
value: input3.valueConversion
|
|
2397
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2398
|
+
path: _path2 + ".valueConversion",
|
|
2399
|
+
expected: "(__type.o1 | undefined)",
|
|
2400
|
+
value: input3.valueConversion
|
|
2401
|
+
})].every((flag) => flag);
|
|
2402
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2333
2403
|
const value = input3[key];
|
|
2334
2404
|
if (void 0 === value)
|
|
2335
2405
|
return true;
|
|
@@ -2338,14 +2408,14 @@ var validViolinRequest = (input) => {
|
|
|
2338
2408
|
path: _path2 + $join(key),
|
|
2339
2409
|
expected: "__type.o7",
|
|
2340
2410
|
value
|
|
2341
|
-
})) && $
|
|
2411
|
+
})) && $vo43(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2342
2412
|
path: _path2 + $join(key),
|
|
2343
2413
|
expected: "__type.o7",
|
|
2344
2414
|
value
|
|
2345
2415
|
});
|
|
2346
2416
|
return true;
|
|
2347
2417
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2348
|
-
const $
|
|
2418
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2349
2419
|
const value = input3[key];
|
|
2350
2420
|
if (void 0 === value)
|
|
2351
2421
|
return true;
|
|
@@ -22,7 +22,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
24
24
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.refKey && (void 0 === input3.l || "string" === typeof input3.l) && (void 0 === input3.f || "string" === typeof input3.f) && (void 0 === input3.t || "string" === typeof input3.t) && (Array.isArray(input3.selectedSampleFileNames) && input3.selectedSampleFileNames.every((elem) => "string" === typeof elem)) && (void 0 === input3.divideByTW || "object" === typeof input3.divideByTW && null !== input3.divideByTW && $iu4(input3.divideByTW)) && (void 0 === input3.overlayTW || "object" === typeof input3.overlayTW && null !== input3.overlayTW && $iu4(input3.overlayTW)) && (void 0 === input3.legendFilter || Array.isArray(input3.legendFilter) && input3.legendFilter.every((elem) => "string" === typeof elem));
|
|
25
|
-
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $
|
|
25
|
+
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io48(input3.q)) && "QualTWValues" === input3.type;
|
|
26
26
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
27
27
|
const value = input3[key];
|
|
28
28
|
if (void 0 === value)
|
|
@@ -86,16 +86,17 @@ var validBrainImagingRequest = (input) => {
|
|
|
86
86
|
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
87
87
|
const $io40 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
88
88
|
const $io41 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io42(input3.term)) && "number" === typeof input3.ratio;
|
|
89
|
-
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "
|
|
90
|
-
const $io43 = (input3) =>
|
|
89
|
+
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io43(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) && $io44(input3.propsByTermId));
|
|
90
|
+
const $io43 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion));
|
|
91
|
+
const $io44 = (input3) => Object.keys(input3).every((key) => {
|
|
91
92
|
const value = input3[key];
|
|
92
93
|
if (void 0 === value)
|
|
93
94
|
return true;
|
|
94
95
|
if (RegExp(/(.*)/).test(key))
|
|
95
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
96
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io45(value);
|
|
96
97
|
return true;
|
|
97
98
|
});
|
|
98
|
-
const $
|
|
99
|
+
const $io45 = (input3) => Object.keys(input3).every((key) => {
|
|
99
100
|
const value = input3[key];
|
|
100
101
|
if (void 0 === value)
|
|
101
102
|
return true;
|
|
@@ -103,14 +104,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
103
104
|
return true;
|
|
104
105
|
return true;
|
|
105
106
|
});
|
|
106
|
-
const $
|
|
107
|
-
const $
|
|
108
|
-
const $
|
|
109
|
-
const $
|
|
110
|
-
const $
|
|
111
|
-
const $
|
|
112
|
-
const $
|
|
113
|
-
const $
|
|
107
|
+
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "snp" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting));
|
|
108
|
+
const $io47 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellCellType" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && "string" === typeof input3.sample && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting));
|
|
109
|
+
const $io48 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
|
|
110
|
+
const $io49 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io50(input3.q)) && "QualTWPredefinedGS" === input3.type;
|
|
111
|
+
const $io50 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
112
|
+
const $io51 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io52(input3.q)) && "QualTWCustomGS" === input3.type;
|
|
113
|
+
const $io52 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io53(input3.customset));
|
|
114
|
+
const $io53 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem));
|
|
114
115
|
const $iu0 = (input3) => (() => {
|
|
115
116
|
if ("tvslst" === input3.type)
|
|
116
117
|
return $io6(input3);
|
|
@@ -141,9 +142,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
141
142
|
})();
|
|
142
143
|
const $iu4 = (input3) => (() => {
|
|
143
144
|
if ("QualTWCustomGS" === input3.type)
|
|
144
|
-
return $
|
|
145
|
+
return $io51(input3);
|
|
145
146
|
if ("QualTWPredefinedGS" === input3.type)
|
|
146
|
-
return $
|
|
147
|
+
return $io49(input3);
|
|
147
148
|
if ("QualTWValues" === input3.type)
|
|
148
149
|
return $io1(input3);
|
|
149
150
|
return false;
|
|
@@ -152,9 +153,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
152
153
|
if ("categorical" === input3.type)
|
|
153
154
|
return $io3(input3);
|
|
154
155
|
if ("snp" === input3.type)
|
|
155
|
-
return $io45(input3);
|
|
156
|
-
if ("singleCellCellType" === input3.type)
|
|
157
156
|
return $io46(input3);
|
|
157
|
+
if ("singleCellCellType" === input3.type)
|
|
158
|
+
return $io47(input3);
|
|
158
159
|
return false;
|
|
159
160
|
})();
|
|
160
161
|
const $iu6 = (input3) => (() => {
|
|
@@ -324,7 +325,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
324
325
|
path: _path2 + ".q",
|
|
325
326
|
expected: "ValuesQ",
|
|
326
327
|
value: input3.q
|
|
327
|
-
})) && $
|
|
328
|
+
})) && $vo48(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
328
329
|
path: _path2 + ".q",
|
|
329
330
|
expected: "ValuesQ",
|
|
330
331
|
value: input3.q
|
|
@@ -2336,15 +2337,19 @@ var validBrainImagingRequest = (input) => {
|
|
|
2336
2337
|
value: input3.collectionId
|
|
2337
2338
|
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2338
2339
|
path: _path2 + ".termlst",
|
|
2339
|
-
expected: "Array<
|
|
2340
|
+
expected: "Array<BaseTerm>",
|
|
2340
2341
|
value: input3.termlst
|
|
2341
|
-
})) && input3.termlst.map((elem, _index44) => "
|
|
2342
|
+
})) && input3.termlst.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2342
2343
|
path: _path2 + ".termlst[" + _index44 + "]",
|
|
2343
|
-
expected: "
|
|
2344
|
+
expected: "BaseTerm",
|
|
2345
|
+
value: elem
|
|
2346
|
+
})) && $vo43(elem, _path2 + ".termlst[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2347
|
+
path: _path2 + ".termlst[" + _index44 + "]",
|
|
2348
|
+
expected: "BaseTerm",
|
|
2344
2349
|
value: elem
|
|
2345
2350
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2346
2351
|
path: _path2 + ".termlst",
|
|
2347
|
-
expected: "Array<
|
|
2352
|
+
expected: "Array<BaseTerm>",
|
|
2348
2353
|
value: input3.termlst
|
|
2349
2354
|
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2350
2355
|
path: _path2 + ".numerators",
|
|
@@ -2366,12 +2371,77 @@ var validBrainImagingRequest = (input) => {
|
|
|
2366
2371
|
path: _path2 + ".propsByTermId",
|
|
2367
2372
|
expected: "__type.o7",
|
|
2368
2373
|
value: input3.propsByTermId
|
|
2369
|
-
})) && $
|
|
2374
|
+
})) && $vo44(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2370
2375
|
path: _path2 + ".propsByTermId",
|
|
2371
2376
|
expected: "__type.o7",
|
|
2372
2377
|
value: input3.propsByTermId
|
|
2373
2378
|
})].every((flag) => flag);
|
|
2374
|
-
const $vo43 = (input3, _path2, _exceptionable2 = true) => [
|
|
2379
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2380
|
+
path: _path2 + ".id",
|
|
2381
|
+
expected: "string",
|
|
2382
|
+
value: input3.id
|
|
2383
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2384
|
+
path: _path2 + ".name",
|
|
2385
|
+
expected: "string",
|
|
2386
|
+
value: input3.name
|
|
2387
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2388
|
+
path: _path2 + ".type",
|
|
2389
|
+
expected: "string",
|
|
2390
|
+
value: input3.type
|
|
2391
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2392
|
+
path: _path2 + ".child_types",
|
|
2393
|
+
expected: "(Array<string> | undefined)",
|
|
2394
|
+
value: input3.child_types
|
|
2395
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2396
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
2397
|
+
expected: "string",
|
|
2398
|
+
value: elem
|
|
2399
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2400
|
+
path: _path2 + ".child_types",
|
|
2401
|
+
expected: "(Array<string> | undefined)",
|
|
2402
|
+
value: input3.child_types
|
|
2403
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2404
|
+
path: _path2 + ".hashtmldetail",
|
|
2405
|
+
expected: "(boolean | undefined)",
|
|
2406
|
+
value: input3.hashtmldetail
|
|
2407
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2408
|
+
path: _path2 + ".included_types",
|
|
2409
|
+
expected: "(Array<string> | undefined)",
|
|
2410
|
+
value: input3.included_types
|
|
2411
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2412
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
2413
|
+
expected: "string",
|
|
2414
|
+
value: elem
|
|
2415
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2416
|
+
path: _path2 + ".included_types",
|
|
2417
|
+
expected: "(Array<string> | undefined)",
|
|
2418
|
+
value: input3.included_types
|
|
2419
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2420
|
+
path: _path2 + ".isleaf",
|
|
2421
|
+
expected: "(boolean | undefined)",
|
|
2422
|
+
value: input3.isleaf
|
|
2423
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2424
|
+
path: _path2 + ".values",
|
|
2425
|
+
expected: "(TermValues | undefined)",
|
|
2426
|
+
value: input3.values
|
|
2427
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2428
|
+
path: _path2 + ".values",
|
|
2429
|
+
expected: "(TermValues | undefined)",
|
|
2430
|
+
value: input3.values
|
|
2431
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2432
|
+
path: _path2 + ".skipValuesBuild",
|
|
2433
|
+
expected: "(boolean | undefined)",
|
|
2434
|
+
value: input3.skipValuesBuild
|
|
2435
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2436
|
+
path: _path2 + ".valueConversion",
|
|
2437
|
+
expected: "(__type.o2 | undefined)",
|
|
2438
|
+
value: input3.valueConversion
|
|
2439
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2440
|
+
path: _path2 + ".valueConversion",
|
|
2441
|
+
expected: "(__type.o2 | undefined)",
|
|
2442
|
+
value: input3.valueConversion
|
|
2443
|
+
})].every((flag) => flag);
|
|
2444
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2375
2445
|
const value = input3[key];
|
|
2376
2446
|
if (void 0 === value)
|
|
2377
2447
|
return true;
|
|
@@ -2380,14 +2450,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
2380
2450
|
path: _path2 + $join(key),
|
|
2381
2451
|
expected: "__type.o8",
|
|
2382
2452
|
value
|
|
2383
|
-
})) && $
|
|
2453
|
+
})) && $vo45(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2384
2454
|
path: _path2 + $join(key),
|
|
2385
2455
|
expected: "__type.o8",
|
|
2386
2456
|
value
|
|
2387
2457
|
});
|
|
2388
2458
|
return true;
|
|
2389
2459
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2390
|
-
const $
|
|
2460
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2391
2461
|
const value = input3[key];
|
|
2392
2462
|
if (void 0 === value)
|
|
2393
2463
|
return true;
|
|
@@ -2395,7 +2465,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2395
2465
|
return true;
|
|
2396
2466
|
return true;
|
|
2397
2467
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2398
|
-
const $
|
|
2468
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2399
2469
|
path: _path2 + ".id",
|
|
2400
2470
|
expected: "string",
|
|
2401
2471
|
value: input3.id
|
|
@@ -2411,8 +2481,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2411
2481
|
path: _path2 + ".child_types",
|
|
2412
2482
|
expected: "(Array<string> | undefined)",
|
|
2413
2483
|
value: input3.child_types
|
|
2414
|
-
})) && input3.child_types.map((elem,
|
|
2415
|
-
path: _path2 + ".child_types[" +
|
|
2484
|
+
})) && input3.child_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2485
|
+
path: _path2 + ".child_types[" + _index48 + "]",
|
|
2416
2486
|
expected: "string",
|
|
2417
2487
|
value: elem
|
|
2418
2488
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2427,8 +2497,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2427
2497
|
path: _path2 + ".included_types",
|
|
2428
2498
|
expected: "(Array<string> | undefined)",
|
|
2429
2499
|
value: input3.included_types
|
|
2430
|
-
})) && input3.included_types.map((elem,
|
|
2431
|
-
path: _path2 + ".included_types[" +
|
|
2500
|
+
})) && input3.included_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2501
|
+
path: _path2 + ".included_types[" + _index49 + "]",
|
|
2432
2502
|
expected: "string",
|
|
2433
2503
|
value: elem
|
|
2434
2504
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2479,8 +2549,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2479
2549
|
path: _path2 + ".alt",
|
|
2480
2550
|
expected: "Array<string>",
|
|
2481
2551
|
value: input3.alt
|
|
2482
|
-
})) && input3.alt.map((elem,
|
|
2483
|
-
path: _path2 + ".alt[" +
|
|
2552
|
+
})) && input3.alt.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2553
|
+
path: _path2 + ".alt[" + _index50 + "]",
|
|
2484
2554
|
expected: "string",
|
|
2485
2555
|
value: elem
|
|
2486
2556
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2496,7 +2566,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2496
2566
|
expected: "TermGroupSetting",
|
|
2497
2567
|
value: input3.groupsetting
|
|
2498
2568
|
})].every((flag) => flag);
|
|
2499
|
-
const $
|
|
2569
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2500
2570
|
path: _path2 + ".id",
|
|
2501
2571
|
expected: "string",
|
|
2502
2572
|
value: input3.id
|
|
@@ -2512,8 +2582,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2512
2582
|
path: _path2 + ".child_types",
|
|
2513
2583
|
expected: "(Array<string> | undefined)",
|
|
2514
2584
|
value: input3.child_types
|
|
2515
|
-
})) && input3.child_types.map((elem,
|
|
2516
|
-
path: _path2 + ".child_types[" +
|
|
2585
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2586
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
2517
2587
|
expected: "string",
|
|
2518
2588
|
value: elem
|
|
2519
2589
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2528,8 +2598,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2528
2598
|
path: _path2 + ".included_types",
|
|
2529
2599
|
expected: "(Array<string> | undefined)",
|
|
2530
2600
|
value: input3.included_types
|
|
2531
|
-
})) && input3.included_types.map((elem,
|
|
2532
|
-
path: _path2 + ".included_types[" +
|
|
2601
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2602
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
2533
2603
|
expected: "string",
|
|
2534
2604
|
value: elem
|
|
2535
2605
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2577,7 +2647,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2577
2647
|
expected: "TermGroupSetting",
|
|
2578
2648
|
value: input3.groupsetting
|
|
2579
2649
|
})].every((flag) => flag);
|
|
2580
|
-
const $
|
|
2650
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2581
2651
|
path: _path2 + ".hiddenValues",
|
|
2582
2652
|
expected: "(HiddenValues | undefined)",
|
|
2583
2653
|
value: input3.hiddenValues
|
|
@@ -2606,7 +2676,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2606
2676
|
expected: '"values"',
|
|
2607
2677
|
value: input3.type
|
|
2608
2678
|
})].every((flag) => flag);
|
|
2609
|
-
const $
|
|
2679
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2610
2680
|
path: _path2 + ".id",
|
|
2611
2681
|
expected: "(string | undefined)",
|
|
2612
2682
|
value: input3.id
|
|
@@ -2642,7 +2712,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2642
2712
|
path: _path2 + ".q",
|
|
2643
2713
|
expected: "PredefinedGroupSettingQ",
|
|
2644
2714
|
value: input3.q
|
|
2645
|
-
})) && $
|
|
2715
|
+
})) && $vo50(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2646
2716
|
path: _path2 + ".q",
|
|
2647
2717
|
expected: "PredefinedGroupSettingQ",
|
|
2648
2718
|
value: input3.q
|
|
@@ -2651,7 +2721,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2651
2721
|
expected: '"QualTWPredefinedGS"',
|
|
2652
2722
|
value: input3.type
|
|
2653
2723
|
})].every((flag) => flag);
|
|
2654
|
-
const $
|
|
2724
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2655
2725
|
path: _path2 + ".hiddenValues",
|
|
2656
2726
|
expected: "(HiddenValues | undefined)",
|
|
2657
2727
|
value: input3.hiddenValues
|
|
@@ -2684,7 +2754,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2684
2754
|
expected: "number",
|
|
2685
2755
|
value: input3.predefined_groupset_idx
|
|
2686
2756
|
})].every((flag) => flag);
|
|
2687
|
-
const $
|
|
2757
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2688
2758
|
path: _path2 + ".id",
|
|
2689
2759
|
expected: "(string | undefined)",
|
|
2690
2760
|
value: input3.id
|
|
@@ -2720,7 +2790,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2720
2790
|
path: _path2 + ".q",
|
|
2721
2791
|
expected: "CustomGroupSettingQ",
|
|
2722
2792
|
value: input3.q
|
|
2723
|
-
})) && $
|
|
2793
|
+
})) && $vo52(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2724
2794
|
path: _path2 + ".q",
|
|
2725
2795
|
expected: "CustomGroupSettingQ",
|
|
2726
2796
|
value: input3.q
|
|
@@ -2729,7 +2799,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2729
2799
|
expected: '"QualTWCustomGS"',
|
|
2730
2800
|
value: input3.type
|
|
2731
2801
|
})].every((flag) => flag);
|
|
2732
|
-
const $
|
|
2802
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2733
2803
|
path: _path2 + ".hiddenValues",
|
|
2734
2804
|
expected: "(HiddenValues | undefined)",
|
|
2735
2805
|
value: input3.hiddenValues
|
|
@@ -2761,21 +2831,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
2761
2831
|
path: _path2 + ".customset",
|
|
2762
2832
|
expected: "BaseGroupSet",
|
|
2763
2833
|
value: input3.customset
|
|
2764
|
-
})) && $
|
|
2834
|
+
})) && $vo53(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
2765
2835
|
path: _path2 + ".customset",
|
|
2766
2836
|
expected: "BaseGroupSet",
|
|
2767
2837
|
value: input3.customset
|
|
2768
2838
|
})].every((flag) => flag);
|
|
2769
|
-
const $
|
|
2839
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
2770
2840
|
path: _path2 + ".groups",
|
|
2771
2841
|
expected: "Array<GroupEntry>",
|
|
2772
2842
|
value: input3.groups
|
|
2773
|
-
})) && input3.groups.map((elem,
|
|
2774
|
-
path: _path2 + ".groups[" +
|
|
2843
|
+
})) && input3.groups.map((elem, _index53) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2844
|
+
path: _path2 + ".groups[" + _index53 + "]",
|
|
2775
2845
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2776
2846
|
value: elem
|
|
2777
|
-
})) && $vu3(elem, _path2 + ".groups[" +
|
|
2778
|
-
path: _path2 + ".groups[" +
|
|
2847
|
+
})) && $vu3(elem, _path2 + ".groups[" + _index53 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2848
|
+
path: _path2 + ".groups[" + _index53 + "]",
|
|
2779
2849
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2780
2850
|
value: elem
|
|
2781
2851
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2825,9 +2895,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2825
2895
|
})();
|
|
2826
2896
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2827
2897
|
if ("QualTWCustomGS" === input3.type)
|
|
2828
|
-
return $
|
|
2898
|
+
return $vo51(input3, _path2, _exceptionable2);
|
|
2829
2899
|
if ("QualTWPredefinedGS" === input3.type)
|
|
2830
|
-
return $
|
|
2900
|
+
return $vo49(input3, _path2, _exceptionable2);
|
|
2831
2901
|
if ("QualTWValues" === input3.type)
|
|
2832
2902
|
return $vo1(input3, _path2, _exceptionable2);
|
|
2833
2903
|
return $report(_exceptionable2, {
|
|
@@ -2840,9 +2910,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2840
2910
|
if ("categorical" === input3.type)
|
|
2841
2911
|
return $vo3(input3, _path2, _exceptionable2);
|
|
2842
2912
|
if ("snp" === input3.type)
|
|
2843
|
-
return $vo45(input3, _path2, _exceptionable2);
|
|
2844
|
-
if ("singleCellCellType" === input3.type)
|
|
2845
2913
|
return $vo46(input3, _path2, _exceptionable2);
|
|
2914
|
+
if ("singleCellCellType" === input3.type)
|
|
2915
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
2846
2916
|
return $report(_exceptionable2, {
|
|
2847
2917
|
path: _path2,
|
|
2848
2918
|
expected: "(CategoricalTerm | SnpTerm | SingleCellCellTypeTerm)",
|