@sjcrh/proteinpaint-types 2.177.0 → 2.178.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-LHJGTOZJ.js → chunk-26UKKPK2.js} +1301 -594
- package/dist/{chunk-4SOVPEYQ.js → chunk-2XQJCZEO.js} +842 -243
- package/dist/{chunk-UQEAM7BH.js → chunk-2Y7WE3JU.js} +1301 -594
- package/dist/chunk-4DCPDZW4.js +143 -0
- package/dist/{chunk-5KF6Z3GL.js → chunk-CX2Y673E.js} +923 -329
- package/dist/chunk-CYQDO4FX.js +3191 -0
- package/dist/{chunk-W7UCAYSF.js → chunk-FQYNRDHB.js} +923 -329
- package/dist/chunk-FRXRNCDV.js +14 -0
- package/dist/{chunk-F4YCPOQV.js → chunk-GAYJUXNZ.js} +947 -353
- package/dist/{chunk-7WEVNKAM.js → chunk-HZEV7D5E.js} +1301 -594
- package/dist/{chunk-4ZMQ5CTL.js → chunk-NIEACU6R.js} +7 -31
- package/dist/{chunk-Q6MWNJ2V.js → chunk-NRV6MPRM.js} +3421 -1378
- package/dist/{chunk-44LN7YTE.js → chunk-PHRILOVX.js} +923 -329
- package/dist/{chunk-URHI6FFP.js → chunk-UFYKXOY2.js} +2233 -690
- package/dist/{chunk-63OD34W2.js → chunk-UWAVSKMD.js} +1301 -594
- package/dist/chunk-VBNF7BRI.js +3492 -0
- package/dist/{chunk-2DJFVQUQ.js → chunk-WXCXZRKP.js} +1305 -598
- package/dist/{chunk-7NKZVHIZ.js → chunk-YHKFJCXG.js} +1445 -496
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +79 -61
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +3122 -5
- package/dist/termdb.chat2.js +13 -0
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.diffMeth.js +11 -0
- package/dist/termdb.dmr.js +11 -0
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.singlecellData.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 +55 -8
- package/src/index.ts +5 -1
- package/src/routes/grin2.ts +5 -11
- package/src/routes/{termdb.chat.ts → termdb.chat2.ts} +42 -15
- package/src/routes/termdb.cluster.ts +11 -0
- package/src/routes/termdb.diffMeth.ts +49 -0
- package/src/routes/termdb.dmr.ts +47 -0
- package/src/routes/termdb.singlecellData.ts +3 -1
- package/src/terms/dnaMethylation.ts +19 -0
- package/src/terms/numeric.ts +13 -2
- package/src/terms/singleCellCellType.ts +1 -1
- package/src/terms/singleCellGeneExpression.ts +25 -19
- package/src/terms/term.ts +1 -1
- package/src/terms/termCollection.ts +93 -21
- package/src/terms/wholeProteomeAbundance.ts +30 -0
- package/dist/chunk-WWE2SDCU.js +0 -494
|
@@ -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 && $io55(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)
|
|
@@ -31,7 +31,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
31
31
|
return true;
|
|
32
32
|
return true;
|
|
33
33
|
});
|
|
34
|
-
const $io3 = (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) && $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)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
34
|
+
const $io3 = (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) && $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)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io38(input3.groupsetting));
|
|
35
35
|
const $io4 = (input3) => Object.keys(input3).every((key) => {
|
|
36
36
|
const value = input3[key];
|
|
37
37
|
if (void 0 === value)
|
|
@@ -46,7 +46,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
46
46
|
const $io6 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
47
47
|
const $io7 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu6(input3.tvs));
|
|
48
48
|
const $io8 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io3(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io5(elem)));
|
|
49
|
-
const $io9 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu7(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
49
|
+
const $io9 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu7(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
50
50
|
const $io10 = (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) && $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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins));
|
|
51
51
|
const $io11 = (input3) => "string" === typeof input3.fromUnit && "string" === typeof input3.toUnit && "string" === typeof input3.scaleFactor;
|
|
52
52
|
const $io12 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
@@ -67,36 +67,40 @@ var validBrainImagingRequest = (input) => {
|
|
|
67
67
|
const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === 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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins)) && (void 0 === input3.kind || "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);
|
|
68
68
|
const $io21 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === 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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
69
69
|
const $io22 = (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) && $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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(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 && $io13(input3.bins));
|
|
70
|
-
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
71
|
-
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
72
|
-
const $io25 = (input3) => "string" === typeof input3.
|
|
73
|
-
const $io26 = (input3) => (void 0 === input3.
|
|
74
|
-
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
75
|
-
const $io28 = (input3) => "
|
|
76
|
-
const $io29 = (input3) =>
|
|
77
|
-
const $io30 = (input3) =>
|
|
78
|
-
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
79
|
-
const $io32 = (input3) => "
|
|
80
|
-
const $io33 = (input3) =>
|
|
81
|
-
const $io34 = (input3) => "
|
|
82
|
-
const $io35 = (input3) => "string" === typeof input3.name && (void 0 === input3.
|
|
83
|
-
const $io36 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.
|
|
84
|
-
const $io37 = (input3) => ("string" === typeof input3.
|
|
85
|
-
const $io38 = (input3) => "
|
|
86
|
-
const $io39 = (input3) => "string" === typeof input3.
|
|
87
|
-
const $io40 = (input3) => "string" === typeof input3.
|
|
88
|
-
const $io41 = (input3) => (
|
|
89
|
-
const $io42 = (input3) => "string" === typeof input3.
|
|
90
|
-
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
91
|
-
const $io44 = (input3) =>
|
|
70
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "wholeProteomeAbundance" === 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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins));
|
|
71
|
+
const $io24 = (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) && $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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins));
|
|
72
|
+
const $io25 = (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) && $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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(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 && $io13(input3.bins));
|
|
73
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins));
|
|
74
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
75
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
76
|
+
const $io29 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
77
|
+
const $io30 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io31(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
78
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
|
|
79
|
+
const $io32 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
80
|
+
const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io34(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io44(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
81
|
+
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu11(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values));
|
|
82
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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)) && "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 && $iu2(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io38(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
|
|
83
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
84
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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;
|
|
85
|
+
const $io38 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
86
|
+
const $io39 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
87
|
+
const $io40 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io41(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
88
|
+
const $io41 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
89
|
+
const $io42 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter)) && "string" === typeof input3.color;
|
|
90
|
+
const $io43 = (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 && $io38(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
|
|
91
|
+
const $io44 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
92
|
+
const $io45 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && "number" === typeof input3.ratio;
|
|
93
|
+
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
94
|
+
const $io47 = (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));
|
|
95
|
+
const $io48 = (input3) => Object.keys(input3).every((key) => {
|
|
92
96
|
const value = input3[key];
|
|
93
97
|
if (void 0 === value)
|
|
94
98
|
return true;
|
|
95
99
|
if (RegExp(/(.*)/).test(key))
|
|
96
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
100
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io49(value);
|
|
97
101
|
return true;
|
|
98
102
|
});
|
|
99
|
-
const $
|
|
103
|
+
const $io49 = (input3) => Object.keys(input3).every((key) => {
|
|
100
104
|
const value = input3[key];
|
|
101
105
|
if (void 0 === value)
|
|
102
106
|
return true;
|
|
@@ -104,14 +108,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
104
108
|
return true;
|
|
105
109
|
return true;
|
|
106
110
|
});
|
|
107
|
-
const $
|
|
108
|
-
const $
|
|
109
|
-
const $
|
|
110
|
-
const $
|
|
111
|
-
const $
|
|
112
|
-
const $
|
|
113
|
-
const $
|
|
114
|
-
const $
|
|
111
|
+
const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io11(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io51(elem)));
|
|
112
|
+
const $io51 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
113
|
+
const $io52 = (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 && $io38(input3.groupsetting));
|
|
114
|
+
const $io53 = (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)) && ("object" === typeof input3.sample && null !== input3.sample && true) && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io38(input3.groupsetting));
|
|
115
|
+
const $io55 = (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;
|
|
116
|
+
const $io56 = (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 && $io57(input3.q)) && "QualTWPredefinedGS" === input3.type;
|
|
117
|
+
const $io57 = (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;
|
|
118
|
+
const $io58 = (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 && $io59(input3.q)) && "QualTWCustomGS" === input3.type;
|
|
119
|
+
const $io59 = (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 && $io60(input3.customset));
|
|
120
|
+
const $io60 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem));
|
|
115
121
|
const $iu0 = (input3) => (() => {
|
|
116
122
|
if ("tvslst" === input3.type)
|
|
117
123
|
return $io6(input3);
|
|
@@ -128,23 +134,23 @@ var validBrainImagingRequest = (input) => {
|
|
|
128
134
|
})();
|
|
129
135
|
const $iu2 = (input3) => (() => {
|
|
130
136
|
if ("gene" === input3.kind)
|
|
131
|
-
return $
|
|
137
|
+
return $io36(input3);
|
|
132
138
|
if ("coord" === input3.kind)
|
|
133
|
-
return $
|
|
139
|
+
return $io37(input3);
|
|
134
140
|
return false;
|
|
135
141
|
})();
|
|
136
142
|
const $iu3 = (input3) => (() => {
|
|
137
143
|
if ("string" === typeof input3.type)
|
|
138
|
-
return $
|
|
144
|
+
return $io40(input3);
|
|
139
145
|
if ("filter" === input3.type)
|
|
140
|
-
return $
|
|
146
|
+
return $io42(input3);
|
|
141
147
|
return false;
|
|
142
148
|
})();
|
|
143
149
|
const $iu4 = (input3) => (() => {
|
|
144
150
|
if ("QualTWCustomGS" === input3.type)
|
|
145
|
-
return $
|
|
151
|
+
return $io58(input3);
|
|
146
152
|
if ("QualTWPredefinedGS" === input3.type)
|
|
147
|
-
return $
|
|
153
|
+
return $io56(input3);
|
|
148
154
|
if ("QualTWValues" === input3.type)
|
|
149
155
|
return $io1(input3);
|
|
150
156
|
return false;
|
|
@@ -153,23 +159,23 @@ var validBrainImagingRequest = (input) => {
|
|
|
153
159
|
if ("categorical" === input3.type)
|
|
154
160
|
return $io3(input3);
|
|
155
161
|
if ("snp" === input3.type)
|
|
156
|
-
return $
|
|
162
|
+
return $io52(input3);
|
|
157
163
|
if ("singleCellCellType" === input3.type)
|
|
158
|
-
return $
|
|
164
|
+
return $io53(input3);
|
|
159
165
|
return false;
|
|
160
166
|
})();
|
|
161
167
|
const $iu6 = (input3) => (() => {
|
|
162
168
|
if (void 0 !== input3.ranges)
|
|
163
169
|
return $io9(input3);
|
|
164
170
|
if (void 0 !== input3.ratio)
|
|
165
|
-
return $
|
|
171
|
+
return $io45(input3);
|
|
166
172
|
return (() => {
|
|
167
173
|
if ($io8(input3))
|
|
168
174
|
return $io8(input3);
|
|
169
|
-
if ($
|
|
170
|
-
return $
|
|
171
|
-
if ($
|
|
172
|
-
return $
|
|
175
|
+
if ($io30(input3))
|
|
176
|
+
return $io30(input3);
|
|
177
|
+
if ($io33(input3))
|
|
178
|
+
return $io33(input3);
|
|
173
179
|
return false;
|
|
174
180
|
})();
|
|
175
181
|
})();
|
|
@@ -178,15 +184,23 @@ var validBrainImagingRequest = (input) => {
|
|
|
178
184
|
return $io10(input3);
|
|
179
185
|
if ("metaboliteIntensity" === input3.type)
|
|
180
186
|
return $io22(input3);
|
|
181
|
-
if ("
|
|
187
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
182
188
|
return $io23(input3);
|
|
183
|
-
if ("
|
|
189
|
+
if ("date" === input3.type)
|
|
184
190
|
return $io24(input3);
|
|
191
|
+
if ("ssGSEA" === input3.type)
|
|
192
|
+
return $io25(input3);
|
|
193
|
+
if ("dnaMethylation" === input3.type)
|
|
194
|
+
return $io26(input3);
|
|
185
195
|
return (() => {
|
|
186
196
|
if ($io21(input3))
|
|
187
197
|
return $io21(input3);
|
|
188
198
|
if ($io20(input3))
|
|
189
199
|
return $io20(input3);
|
|
200
|
+
if ($io28(input3))
|
|
201
|
+
return $io28(input3);
|
|
202
|
+
if ($io27(input3))
|
|
203
|
+
return $io27(input3);
|
|
190
204
|
return false;
|
|
191
205
|
})();
|
|
192
206
|
})();
|
|
@@ -213,9 +227,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
213
227
|
})();
|
|
214
228
|
const $iu11 = (input3) => (() => {
|
|
215
229
|
if ("gene" === input3.kind)
|
|
216
|
-
return $
|
|
230
|
+
return $io35(input3);
|
|
217
231
|
if ("coord" === input3.kind)
|
|
218
|
-
return $
|
|
232
|
+
return $io43(input3);
|
|
233
|
+
return false;
|
|
234
|
+
})();
|
|
235
|
+
const $iu12 = (input3) => (() => {
|
|
236
|
+
if ("numeric" === input3.memberType)
|
|
237
|
+
return $io46(input3);
|
|
238
|
+
if ("categorical" === input3.memberType)
|
|
239
|
+
return $io50(input3);
|
|
219
240
|
return false;
|
|
220
241
|
})();
|
|
221
242
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -325,7 +346,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
325
346
|
path: _path2 + ".q",
|
|
326
347
|
expected: "ValuesQ",
|
|
327
348
|
value: input3.q
|
|
328
|
-
})) && $
|
|
349
|
+
})) && $vo55(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
329
350
|
path: _path2 + ".q",
|
|
330
351
|
expected: "ValuesQ",
|
|
331
352
|
value: input3.q
|
|
@@ -410,7 +431,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
410
431
|
path: _path2 + ".groupsetting",
|
|
411
432
|
expected: "TermGroupSetting",
|
|
412
433
|
value: input3.groupsetting
|
|
413
|
-
})) && $
|
|
434
|
+
})) && $vo38(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
414
435
|
path: _path2 + ".groupsetting",
|
|
415
436
|
expected: "TermGroupSetting",
|
|
416
437
|
value: input3.groupsetting
|
|
@@ -567,11 +588,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
567
588
|
value: input3.isnot
|
|
568
589
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
569
590
|
path: _path2 + ".term",
|
|
570
|
-
expected: '(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 | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
591
|
+
expected: '(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 & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
571
592
|
value: input3.term
|
|
572
593
|
})) && $vu7(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
573
594
|
path: _path2 + ".term",
|
|
574
|
-
expected: '(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 | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
|
|
595
|
+
expected: '(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 & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
575
596
|
value: input3.term
|
|
576
597
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
577
598
|
path: _path2 + ".ranges",
|
|
@@ -597,7 +618,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
597
618
|
path: _path2 + ".values[" + _index8 + "]",
|
|
598
619
|
expected: "__type.o4",
|
|
599
620
|
value: elem
|
|
600
|
-
})) && $
|
|
621
|
+
})) && $vo29(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
601
622
|
path: _path2 + ".values[" + _index8 + "]",
|
|
602
623
|
expected: "__type.o4",
|
|
603
624
|
value: elem
|
|
@@ -1219,8 +1240,368 @@ var validBrainImagingRequest = (input) => {
|
|
|
1219
1240
|
path: _path2 + ".child_types",
|
|
1220
1241
|
expected: "(Array<string> | undefined)",
|
|
1221
1242
|
value: input3.child_types
|
|
1222
|
-
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1223
|
-
path: _path2 + ".child_types[" + _index16 + "]",
|
|
1243
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1244
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
1245
|
+
expected: "string",
|
|
1246
|
+
value: elem
|
|
1247
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1248
|
+
path: _path2 + ".child_types",
|
|
1249
|
+
expected: "(Array<string> | undefined)",
|
|
1250
|
+
value: input3.child_types
|
|
1251
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1252
|
+
path: _path2 + ".hashtmldetail",
|
|
1253
|
+
expected: "(boolean | undefined)",
|
|
1254
|
+
value: input3.hashtmldetail
|
|
1255
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1256
|
+
path: _path2 + ".included_types",
|
|
1257
|
+
expected: "(Array<string> | undefined)",
|
|
1258
|
+
value: input3.included_types
|
|
1259
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1260
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
1261
|
+
expected: "string",
|
|
1262
|
+
value: elem
|
|
1263
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1264
|
+
path: _path2 + ".included_types",
|
|
1265
|
+
expected: "(Array<string> | undefined)",
|
|
1266
|
+
value: input3.included_types
|
|
1267
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1268
|
+
path: _path2 + ".isleaf",
|
|
1269
|
+
expected: "(boolean | undefined)",
|
|
1270
|
+
value: input3.isleaf
|
|
1271
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1272
|
+
path: _path2 + ".values",
|
|
1273
|
+
expected: "(TermValues | undefined)",
|
|
1274
|
+
value: input3.values
|
|
1275
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1276
|
+
path: _path2 + ".values",
|
|
1277
|
+
expected: "(TermValues | undefined)",
|
|
1278
|
+
value: input3.values
|
|
1279
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1280
|
+
path: _path2 + ".skipValuesBuild",
|
|
1281
|
+
expected: "(boolean | undefined)",
|
|
1282
|
+
value: input3.skipValuesBuild
|
|
1283
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1284
|
+
path: _path2 + ".valueConversion",
|
|
1285
|
+
expected: "(__type.o2 | undefined)",
|
|
1286
|
+
value: input3.valueConversion
|
|
1287
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1288
|
+
path: _path2 + ".valueConversion",
|
|
1289
|
+
expected: "(__type.o2 | undefined)",
|
|
1290
|
+
value: input3.valueConversion
|
|
1291
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1292
|
+
path: _path2 + ".continuousColorScale",
|
|
1293
|
+
expected: "(__type.o3 | undefined)",
|
|
1294
|
+
value: input3.continuousColorScale
|
|
1295
|
+
})) && $vo12(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1296
|
+
path: _path2 + ".continuousColorScale",
|
|
1297
|
+
expected: "(__type.o3 | undefined)",
|
|
1298
|
+
value: input3.continuousColorScale
|
|
1299
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1300
|
+
path: _path2 + ".unit",
|
|
1301
|
+
expected: "(string | undefined)",
|
|
1302
|
+
value: input3.unit
|
|
1303
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1304
|
+
path: _path2 + ".metabolite",
|
|
1305
|
+
expected: "string",
|
|
1306
|
+
value: input3.metabolite
|
|
1307
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1308
|
+
path: _path2 + ".bins",
|
|
1309
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1310
|
+
value: input3.bins
|
|
1311
|
+
})) && $vo13(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1312
|
+
path: _path2 + ".bins",
|
|
1313
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1314
|
+
value: input3.bins
|
|
1315
|
+
})].every((flag) => flag);
|
|
1316
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1317
|
+
path: _path2 + ".id",
|
|
1318
|
+
expected: "string",
|
|
1319
|
+
value: input3.id
|
|
1320
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1321
|
+
path: _path2 + ".name",
|
|
1322
|
+
expected: "string",
|
|
1323
|
+
value: input3.name
|
|
1324
|
+
}), "wholeProteomeAbundance" === input3.type || $report(_exceptionable2, {
|
|
1325
|
+
path: _path2 + ".type",
|
|
1326
|
+
expected: '"wholeProteomeAbundance"',
|
|
1327
|
+
value: input3.type
|
|
1328
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1329
|
+
path: _path2 + ".child_types",
|
|
1330
|
+
expected: "(Array<string> | undefined)",
|
|
1331
|
+
value: input3.child_types
|
|
1332
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1333
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1334
|
+
expected: "string",
|
|
1335
|
+
value: elem
|
|
1336
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1337
|
+
path: _path2 + ".child_types",
|
|
1338
|
+
expected: "(Array<string> | undefined)",
|
|
1339
|
+
value: input3.child_types
|
|
1340
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1341
|
+
path: _path2 + ".hashtmldetail",
|
|
1342
|
+
expected: "(boolean | undefined)",
|
|
1343
|
+
value: input3.hashtmldetail
|
|
1344
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1345
|
+
path: _path2 + ".included_types",
|
|
1346
|
+
expected: "(Array<string> | undefined)",
|
|
1347
|
+
value: input3.included_types
|
|
1348
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1349
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1350
|
+
expected: "string",
|
|
1351
|
+
value: elem
|
|
1352
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1353
|
+
path: _path2 + ".included_types",
|
|
1354
|
+
expected: "(Array<string> | undefined)",
|
|
1355
|
+
value: input3.included_types
|
|
1356
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1357
|
+
path: _path2 + ".isleaf",
|
|
1358
|
+
expected: "(boolean | undefined)",
|
|
1359
|
+
value: input3.isleaf
|
|
1360
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1361
|
+
path: _path2 + ".values",
|
|
1362
|
+
expected: "(TermValues | undefined)",
|
|
1363
|
+
value: input3.values
|
|
1364
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1365
|
+
path: _path2 + ".values",
|
|
1366
|
+
expected: "(TermValues | undefined)",
|
|
1367
|
+
value: input3.values
|
|
1368
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1369
|
+
path: _path2 + ".skipValuesBuild",
|
|
1370
|
+
expected: "(boolean | undefined)",
|
|
1371
|
+
value: input3.skipValuesBuild
|
|
1372
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1373
|
+
path: _path2 + ".valueConversion",
|
|
1374
|
+
expected: "(__type.o2 | undefined)",
|
|
1375
|
+
value: input3.valueConversion
|
|
1376
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1377
|
+
path: _path2 + ".valueConversion",
|
|
1378
|
+
expected: "(__type.o2 | undefined)",
|
|
1379
|
+
value: input3.valueConversion
|
|
1380
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1381
|
+
path: _path2 + ".continuousColorScale",
|
|
1382
|
+
expected: "(__type.o3 | undefined)",
|
|
1383
|
+
value: input3.continuousColorScale
|
|
1384
|
+
})) && $vo12(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1385
|
+
path: _path2 + ".continuousColorScale",
|
|
1386
|
+
expected: "(__type.o3 | undefined)",
|
|
1387
|
+
value: input3.continuousColorScale
|
|
1388
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1389
|
+
path: _path2 + ".unit",
|
|
1390
|
+
expected: "(string | undefined)",
|
|
1391
|
+
value: input3.unit
|
|
1392
|
+
}), "string" === typeof input3.protein || $report(_exceptionable2, {
|
|
1393
|
+
path: _path2 + ".protein",
|
|
1394
|
+
expected: "string",
|
|
1395
|
+
value: input3.protein
|
|
1396
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1397
|
+
path: _path2 + ".bins",
|
|
1398
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1399
|
+
value: input3.bins
|
|
1400
|
+
})) && $vo13(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1401
|
+
path: _path2 + ".bins",
|
|
1402
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1403
|
+
value: input3.bins
|
|
1404
|
+
})].every((flag) => flag);
|
|
1405
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1406
|
+
path: _path2 + ".id",
|
|
1407
|
+
expected: "string",
|
|
1408
|
+
value: input3.id
|
|
1409
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1410
|
+
path: _path2 + ".name",
|
|
1411
|
+
expected: "string",
|
|
1412
|
+
value: input3.name
|
|
1413
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1414
|
+
path: _path2 + ".type",
|
|
1415
|
+
expected: '"date"',
|
|
1416
|
+
value: input3.type
|
|
1417
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1418
|
+
path: _path2 + ".child_types",
|
|
1419
|
+
expected: "(Array<string> | undefined)",
|
|
1420
|
+
value: input3.child_types
|
|
1421
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1422
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1423
|
+
expected: "string",
|
|
1424
|
+
value: elem
|
|
1425
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1426
|
+
path: _path2 + ".child_types",
|
|
1427
|
+
expected: "(Array<string> | undefined)",
|
|
1428
|
+
value: input3.child_types
|
|
1429
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1430
|
+
path: _path2 + ".hashtmldetail",
|
|
1431
|
+
expected: "(boolean | undefined)",
|
|
1432
|
+
value: input3.hashtmldetail
|
|
1433
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1434
|
+
path: _path2 + ".included_types",
|
|
1435
|
+
expected: "(Array<string> | undefined)",
|
|
1436
|
+
value: input3.included_types
|
|
1437
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1438
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1439
|
+
expected: "string",
|
|
1440
|
+
value: elem
|
|
1441
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1442
|
+
path: _path2 + ".included_types",
|
|
1443
|
+
expected: "(Array<string> | undefined)",
|
|
1444
|
+
value: input3.included_types
|
|
1445
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1446
|
+
path: _path2 + ".isleaf",
|
|
1447
|
+
expected: "(boolean | undefined)",
|
|
1448
|
+
value: input3.isleaf
|
|
1449
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1450
|
+
path: _path2 + ".values",
|
|
1451
|
+
expected: "(TermValues | undefined)",
|
|
1452
|
+
value: input3.values
|
|
1453
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1454
|
+
path: _path2 + ".values",
|
|
1455
|
+
expected: "(TermValues | undefined)",
|
|
1456
|
+
value: input3.values
|
|
1457
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1458
|
+
path: _path2 + ".skipValuesBuild",
|
|
1459
|
+
expected: "(boolean | undefined)",
|
|
1460
|
+
value: input3.skipValuesBuild
|
|
1461
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1462
|
+
path: _path2 + ".valueConversion",
|
|
1463
|
+
expected: "(__type.o2 | undefined)",
|
|
1464
|
+
value: input3.valueConversion
|
|
1465
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1466
|
+
path: _path2 + ".valueConversion",
|
|
1467
|
+
expected: "(__type.o2 | undefined)",
|
|
1468
|
+
value: input3.valueConversion
|
|
1469
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1470
|
+
path: _path2 + ".continuousColorScale",
|
|
1471
|
+
expected: "(__type.o3 | undefined)",
|
|
1472
|
+
value: input3.continuousColorScale
|
|
1473
|
+
})) && $vo12(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1474
|
+
path: _path2 + ".continuousColorScale",
|
|
1475
|
+
expected: "(__type.o3 | undefined)",
|
|
1476
|
+
value: input3.continuousColorScale
|
|
1477
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1478
|
+
path: _path2 + ".unit",
|
|
1479
|
+
expected: "(string | undefined)",
|
|
1480
|
+
value: input3.unit
|
|
1481
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1482
|
+
path: _path2 + ".bins",
|
|
1483
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1484
|
+
value: input3.bins
|
|
1485
|
+
})) && $vo13(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1486
|
+
path: _path2 + ".bins",
|
|
1487
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1488
|
+
value: input3.bins
|
|
1489
|
+
})].every((flag) => flag);
|
|
1490
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1491
|
+
path: _path2 + ".id",
|
|
1492
|
+
expected: "string",
|
|
1493
|
+
value: input3.id
|
|
1494
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1495
|
+
path: _path2 + ".name",
|
|
1496
|
+
expected: "string",
|
|
1497
|
+
value: input3.name
|
|
1498
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1499
|
+
path: _path2 + ".type",
|
|
1500
|
+
expected: '"ssGSEA"',
|
|
1501
|
+
value: input3.type
|
|
1502
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1503
|
+
path: _path2 + ".child_types",
|
|
1504
|
+
expected: "(Array<string> | undefined)",
|
|
1505
|
+
value: input3.child_types
|
|
1506
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1507
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1508
|
+
expected: "string",
|
|
1509
|
+
value: elem
|
|
1510
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1511
|
+
path: _path2 + ".child_types",
|
|
1512
|
+
expected: "(Array<string> | undefined)",
|
|
1513
|
+
value: input3.child_types
|
|
1514
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1515
|
+
path: _path2 + ".hashtmldetail",
|
|
1516
|
+
expected: "(boolean | undefined)",
|
|
1517
|
+
value: input3.hashtmldetail
|
|
1518
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1519
|
+
path: _path2 + ".included_types",
|
|
1520
|
+
expected: "(Array<string> | undefined)",
|
|
1521
|
+
value: input3.included_types
|
|
1522
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1523
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1524
|
+
expected: "string",
|
|
1525
|
+
value: elem
|
|
1526
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1527
|
+
path: _path2 + ".included_types",
|
|
1528
|
+
expected: "(Array<string> | undefined)",
|
|
1529
|
+
value: input3.included_types
|
|
1530
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1531
|
+
path: _path2 + ".isleaf",
|
|
1532
|
+
expected: "(boolean | undefined)",
|
|
1533
|
+
value: input3.isleaf
|
|
1534
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1535
|
+
path: _path2 + ".values",
|
|
1536
|
+
expected: "(TermValues | undefined)",
|
|
1537
|
+
value: input3.values
|
|
1538
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1539
|
+
path: _path2 + ".values",
|
|
1540
|
+
expected: "(TermValues | undefined)",
|
|
1541
|
+
value: input3.values
|
|
1542
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1543
|
+
path: _path2 + ".skipValuesBuild",
|
|
1544
|
+
expected: "(boolean | undefined)",
|
|
1545
|
+
value: input3.skipValuesBuild
|
|
1546
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1547
|
+
path: _path2 + ".valueConversion",
|
|
1548
|
+
expected: "(__type.o2 | undefined)",
|
|
1549
|
+
value: input3.valueConversion
|
|
1550
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1551
|
+
path: _path2 + ".valueConversion",
|
|
1552
|
+
expected: "(__type.o2 | undefined)",
|
|
1553
|
+
value: input3.valueConversion
|
|
1554
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1555
|
+
path: _path2 + ".continuousColorScale",
|
|
1556
|
+
expected: "(__type.o3 | undefined)",
|
|
1557
|
+
value: input3.continuousColorScale
|
|
1558
|
+
})) && $vo12(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1559
|
+
path: _path2 + ".continuousColorScale",
|
|
1560
|
+
expected: "(__type.o3 | undefined)",
|
|
1561
|
+
value: input3.continuousColorScale
|
|
1562
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1563
|
+
path: _path2 + ".unit",
|
|
1564
|
+
expected: "(string | undefined)",
|
|
1565
|
+
value: input3.unit
|
|
1566
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1567
|
+
path: _path2 + ".genes",
|
|
1568
|
+
expected: "(Array<string> | undefined)",
|
|
1569
|
+
value: input3.genes
|
|
1570
|
+
})) && input3.genes.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1571
|
+
path: _path2 + ".genes[" + _index24 + "]",
|
|
1572
|
+
expected: "string",
|
|
1573
|
+
value: elem
|
|
1574
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1575
|
+
path: _path2 + ".genes",
|
|
1576
|
+
expected: "(Array<string> | undefined)",
|
|
1577
|
+
value: input3.genes
|
|
1578
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1579
|
+
path: _path2 + ".bins",
|
|
1580
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1581
|
+
value: input3.bins
|
|
1582
|
+
})) && $vo13(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1583
|
+
path: _path2 + ".bins",
|
|
1584
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1585
|
+
value: input3.bins
|
|
1586
|
+
})].every((flag) => flag);
|
|
1587
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1588
|
+
path: _path2 + ".id",
|
|
1589
|
+
expected: "string",
|
|
1590
|
+
value: input3.id
|
|
1591
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1592
|
+
path: _path2 + ".name",
|
|
1593
|
+
expected: "string",
|
|
1594
|
+
value: input3.name
|
|
1595
|
+
}), "dnaMethylation" === input3.type || $report(_exceptionable2, {
|
|
1596
|
+
path: _path2 + ".type",
|
|
1597
|
+
expected: '"dnaMethylation"',
|
|
1598
|
+
value: input3.type
|
|
1599
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1600
|
+
path: _path2 + ".child_types",
|
|
1601
|
+
expected: "(Array<string> | undefined)",
|
|
1602
|
+
value: input3.child_types
|
|
1603
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1604
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1224
1605
|
expected: "string",
|
|
1225
1606
|
value: elem
|
|
1226
1607
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1235,8 +1616,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1235
1616
|
path: _path2 + ".included_types",
|
|
1236
1617
|
expected: "(Array<string> | undefined)",
|
|
1237
1618
|
value: input3.included_types
|
|
1238
|
-
})) && input3.included_types.map((elem,
|
|
1239
|
-
path: _path2 + ".included_types[" +
|
|
1619
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1620
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1240
1621
|
expected: "string",
|
|
1241
1622
|
value: elem
|
|
1242
1623
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1279,10 +1660,18 @@ var validBrainImagingRequest = (input) => {
|
|
|
1279
1660
|
path: _path2 + ".unit",
|
|
1280
1661
|
expected: "(string | undefined)",
|
|
1281
1662
|
value: input3.unit
|
|
1282
|
-
}), "string" === typeof input3.
|
|
1283
|
-
path: _path2 + ".
|
|
1663
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1664
|
+
path: _path2 + ".chr",
|
|
1284
1665
|
expected: "string",
|
|
1285
|
-
value: input3.
|
|
1666
|
+
value: input3.chr
|
|
1667
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1668
|
+
path: _path2 + ".start",
|
|
1669
|
+
expected: "number",
|
|
1670
|
+
value: input3.start
|
|
1671
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1672
|
+
path: _path2 + ".stop",
|
|
1673
|
+
expected: "number",
|
|
1674
|
+
value: input3.stop
|
|
1286
1675
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1287
1676
|
path: _path2 + ".bins",
|
|
1288
1677
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1292,7 +1681,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1292
1681
|
expected: "(PresetNumericBins | undefined)",
|
|
1293
1682
|
value: input3.bins
|
|
1294
1683
|
})].every((flag) => flag);
|
|
1295
|
-
const $
|
|
1684
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1296
1685
|
path: _path2 + ".id",
|
|
1297
1686
|
expected: "string",
|
|
1298
1687
|
value: input3.id
|
|
@@ -1300,16 +1689,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
1300
1689
|
path: _path2 + ".name",
|
|
1301
1690
|
expected: "string",
|
|
1302
1691
|
value: input3.name
|
|
1303
|
-
}), "
|
|
1692
|
+
}), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
|
|
1304
1693
|
path: _path2 + ".type",
|
|
1305
|
-
expected: '"
|
|
1694
|
+
expected: '"singleCellGeneExpression"',
|
|
1306
1695
|
value: input3.type
|
|
1307
1696
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1308
1697
|
path: _path2 + ".child_types",
|
|
1309
1698
|
expected: "(Array<string> | undefined)",
|
|
1310
1699
|
value: input3.child_types
|
|
1311
|
-
})) && input3.child_types.map((elem,
|
|
1312
|
-
path: _path2 + ".child_types[" +
|
|
1700
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1701
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1313
1702
|
expected: "string",
|
|
1314
1703
|
value: elem
|
|
1315
1704
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1324,8 +1713,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1324
1713
|
path: _path2 + ".included_types",
|
|
1325
1714
|
expected: "(Array<string> | undefined)",
|
|
1326
1715
|
value: input3.included_types
|
|
1327
|
-
})) && input3.included_types.map((elem,
|
|
1328
|
-
path: _path2 + ".included_types[" +
|
|
1716
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1717
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1329
1718
|
expected: "string",
|
|
1330
1719
|
value: elem
|
|
1331
1720
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1368,6 +1757,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
1368
1757
|
path: _path2 + ".unit",
|
|
1369
1758
|
expected: "(string | undefined)",
|
|
1370
1759
|
value: input3.unit
|
|
1760
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1761
|
+
path: _path2 + ".gene",
|
|
1762
|
+
expected: "string",
|
|
1763
|
+
value: input3.gene
|
|
1764
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
1765
|
+
path: _path2 + ".sample",
|
|
1766
|
+
expected: "string",
|
|
1767
|
+
value: input3.sample
|
|
1371
1768
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1372
1769
|
path: _path2 + ".bins",
|
|
1373
1770
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1376,8 +1773,24 @@ var validBrainImagingRequest = (input) => {
|
|
|
1376
1773
|
path: _path2 + ".bins",
|
|
1377
1774
|
expected: "(PresetNumericBins | undefined)",
|
|
1378
1775
|
value: input3.bins
|
|
1776
|
+
}), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
|
|
1777
|
+
path: _path2 + ".kind",
|
|
1778
|
+
expected: '("gene" | undefined)',
|
|
1779
|
+
value: input3.kind
|
|
1780
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1781
|
+
path: _path2 + ".chr",
|
|
1782
|
+
expected: "(string | undefined)",
|
|
1783
|
+
value: input3.chr
|
|
1784
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1785
|
+
path: _path2 + ".start",
|
|
1786
|
+
expected: "(number | undefined)",
|
|
1787
|
+
value: input3.start
|
|
1788
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1789
|
+
path: _path2 + ".stop",
|
|
1790
|
+
expected: "(number | undefined)",
|
|
1791
|
+
value: input3.stop
|
|
1379
1792
|
})].every((flag) => flag);
|
|
1380
|
-
const $
|
|
1793
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1381
1794
|
path: _path2 + ".id",
|
|
1382
1795
|
expected: "string",
|
|
1383
1796
|
value: input3.id
|
|
@@ -1385,16 +1798,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
1385
1798
|
path: _path2 + ".name",
|
|
1386
1799
|
expected: "string",
|
|
1387
1800
|
value: input3.name
|
|
1388
|
-
}), "
|
|
1801
|
+
}), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
|
|
1389
1802
|
path: _path2 + ".type",
|
|
1390
|
-
expected: '"
|
|
1803
|
+
expected: '"singleCellGeneExpression"',
|
|
1391
1804
|
value: input3.type
|
|
1392
1805
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1393
1806
|
path: _path2 + ".child_types",
|
|
1394
1807
|
expected: "(Array<string> | undefined)",
|
|
1395
1808
|
value: input3.child_types
|
|
1396
|
-
})) && input3.child_types.map((elem,
|
|
1397
|
-
path: _path2 + ".child_types[" +
|
|
1809
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1810
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
1398
1811
|
expected: "string",
|
|
1399
1812
|
value: elem
|
|
1400
1813
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1409,8 +1822,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1409
1822
|
path: _path2 + ".included_types",
|
|
1410
1823
|
expected: "(Array<string> | undefined)",
|
|
1411
1824
|
value: input3.included_types
|
|
1412
|
-
})) && input3.included_types.map((elem,
|
|
1413
|
-
path: _path2 + ".included_types[" +
|
|
1825
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1826
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
1414
1827
|
expected: "string",
|
|
1415
1828
|
value: elem
|
|
1416
1829
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1453,18 +1866,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
1453
1866
|
path: _path2 + ".unit",
|
|
1454
1867
|
expected: "(string | undefined)",
|
|
1455
1868
|
value: input3.unit
|
|
1456
|
-
}),
|
|
1457
|
-
path: _path2 + ".
|
|
1458
|
-
expected: "(Array<string> | undefined)",
|
|
1459
|
-
value: input3.genes
|
|
1460
|
-
})) && input3.genes.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1461
|
-
path: _path2 + ".genes[" + _index22 + "]",
|
|
1869
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1870
|
+
path: _path2 + ".gene",
|
|
1462
1871
|
expected: "string",
|
|
1463
|
-
value:
|
|
1464
|
-
})
|
|
1465
|
-
path: _path2 + ".
|
|
1466
|
-
expected: "
|
|
1467
|
-
value: input3.
|
|
1872
|
+
value: input3.gene
|
|
1873
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
1874
|
+
path: _path2 + ".sample",
|
|
1875
|
+
expected: "string",
|
|
1876
|
+
value: input3.sample
|
|
1468
1877
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1469
1878
|
path: _path2 + ".bins",
|
|
1470
1879
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -1473,8 +1882,24 @@ var validBrainImagingRequest = (input) => {
|
|
|
1473
1882
|
path: _path2 + ".bins",
|
|
1474
1883
|
expected: "(PresetNumericBins | undefined)",
|
|
1475
1884
|
value: input3.bins
|
|
1885
|
+
}), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
|
|
1886
|
+
path: _path2 + ".kind",
|
|
1887
|
+
expected: '("coord" | undefined)',
|
|
1888
|
+
value: input3.kind
|
|
1889
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1890
|
+
path: _path2 + ".chr",
|
|
1891
|
+
expected: "string",
|
|
1892
|
+
value: input3.chr
|
|
1893
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1894
|
+
path: _path2 + ".start",
|
|
1895
|
+
expected: "number",
|
|
1896
|
+
value: input3.start
|
|
1897
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1898
|
+
path: _path2 + ".stop",
|
|
1899
|
+
expected: "number",
|
|
1900
|
+
value: input3.stop
|
|
1476
1901
|
})].every((flag) => flag);
|
|
1477
|
-
const $
|
|
1902
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1478
1903
|
path: _path2 + ".key",
|
|
1479
1904
|
expected: "string",
|
|
1480
1905
|
value: input3.key
|
|
@@ -1491,7 +1916,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1491
1916
|
expected: "(string | undefined)",
|
|
1492
1917
|
value: input3.label
|
|
1493
1918
|
})].every((flag) => flag);
|
|
1494
|
-
const $
|
|
1919
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1495
1920
|
path: _path2 + ".join",
|
|
1496
1921
|
expected: "(string | undefined)",
|
|
1497
1922
|
value: input3.join
|
|
@@ -1503,7 +1928,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1503
1928
|
path: _path2 + ".term",
|
|
1504
1929
|
expected: "ConditionTerm",
|
|
1505
1930
|
value: input3.term
|
|
1506
|
-
})) && $
|
|
1931
|
+
})) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1507
1932
|
path: _path2 + ".term",
|
|
1508
1933
|
expected: "ConditionTerm",
|
|
1509
1934
|
value: input3.term
|
|
@@ -1523,12 +1948,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1523
1948
|
path: _path2 + ".grade_and_child",
|
|
1524
1949
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1525
1950
|
value: input3.grade_and_child
|
|
1526
|
-
})) && input3.grade_and_child.map((elem,
|
|
1527
|
-
path: _path2 + ".grade_and_child[" +
|
|
1951
|
+
})) && input3.grade_and_child.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1952
|
+
path: _path2 + ".grade_and_child[" + _index31 + "]",
|
|
1528
1953
|
expected: "GradeAndChildEntry",
|
|
1529
1954
|
value: elem
|
|
1530
|
-
})) && $
|
|
1531
|
-
path: _path2 + ".grade_and_child[" +
|
|
1955
|
+
})) && $vo32(elem, _path2 + ".grade_and_child[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1956
|
+
path: _path2 + ".grade_and_child[" + _index31 + "]",
|
|
1532
1957
|
expected: "GradeAndChildEntry",
|
|
1533
1958
|
value: elem
|
|
1534
1959
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1536,7 +1961,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1536
1961
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1537
1962
|
value: input3.grade_and_child
|
|
1538
1963
|
})].every((flag) => flag);
|
|
1539
|
-
const $
|
|
1964
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1540
1965
|
path: _path2 + ".id",
|
|
1541
1966
|
expected: "string",
|
|
1542
1967
|
value: input3.id
|
|
@@ -1552,8 +1977,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1552
1977
|
path: _path2 + ".child_types",
|
|
1553
1978
|
expected: "(Array<string> | undefined)",
|
|
1554
1979
|
value: input3.child_types
|
|
1555
|
-
})) && input3.child_types.map((elem,
|
|
1556
|
-
path: _path2 + ".child_types[" +
|
|
1980
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1981
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1557
1982
|
expected: "string",
|
|
1558
1983
|
value: elem
|
|
1559
1984
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1568,8 +1993,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1568
1993
|
path: _path2 + ".included_types",
|
|
1569
1994
|
expected: "(Array<string> | undefined)",
|
|
1570
1995
|
value: input3.included_types
|
|
1571
|
-
})) && input3.included_types.map((elem,
|
|
1572
|
-
path: _path2 + ".included_types[" +
|
|
1996
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1997
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1573
1998
|
expected: "string",
|
|
1574
1999
|
value: elem
|
|
1575
2000
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1601,7 +2026,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1601
2026
|
expected: "(__type.o2 | undefined)",
|
|
1602
2027
|
value: input3.valueConversion
|
|
1603
2028
|
})].every((flag) => flag);
|
|
1604
|
-
const $
|
|
2029
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1605
2030
|
path: _path2 + ".grade",
|
|
1606
2031
|
expected: "number",
|
|
1607
2032
|
value: input3.grade
|
|
@@ -1618,7 +2043,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1618
2043
|
expected: "string",
|
|
1619
2044
|
value: input3.child_label
|
|
1620
2045
|
})].every((flag) => flag);
|
|
1621
|
-
const $
|
|
2046
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1622
2047
|
path: _path2 + ".join",
|
|
1623
2048
|
expected: "(string | undefined)",
|
|
1624
2049
|
value: input3.join
|
|
@@ -1630,7 +2055,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1630
2055
|
path: _path2 + ".term",
|
|
1631
2056
|
expected: "DtTerm",
|
|
1632
2057
|
value: input3.term
|
|
1633
|
-
})) && $
|
|
2058
|
+
})) && $vo34(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1634
2059
|
path: _path2 + ".term",
|
|
1635
2060
|
expected: "DtTerm",
|
|
1636
2061
|
value: input3.term
|
|
@@ -1638,12 +2063,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1638
2063
|
path: _path2 + ".values",
|
|
1639
2064
|
expected: "Array<__type>.o2",
|
|
1640
2065
|
value: input3.values
|
|
1641
|
-
})) && input3.values.map((elem,
|
|
1642
|
-
path: _path2 + ".values[" +
|
|
2066
|
+
})) && input3.values.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2067
|
+
path: _path2 + ".values[" + _index34 + "]",
|
|
1643
2068
|
expected: "__type.o6",
|
|
1644
2069
|
value: elem
|
|
1645
|
-
})) && $
|
|
1646
|
-
path: _path2 + ".values[" +
|
|
2070
|
+
})) && $vo44(elem, _path2 + ".values[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2071
|
+
path: _path2 + ".values[" + _index34 + "]",
|
|
1647
2072
|
expected: "__type.o6",
|
|
1648
2073
|
value: elem
|
|
1649
2074
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1659,7 +2084,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1659
2084
|
expected: "(boolean | undefined)",
|
|
1660
2085
|
value: input3.excludeGeneName
|
|
1661
2086
|
})].every((flag) => flag);
|
|
1662
|
-
const $
|
|
2087
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1663
2088
|
path: _path2 + ".id",
|
|
1664
2089
|
expected: "string",
|
|
1665
2090
|
value: input3.id
|
|
@@ -1708,7 +2133,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1708
2133
|
expected: "TermValues",
|
|
1709
2134
|
value: input3.values
|
|
1710
2135
|
})].every((flag) => flag);
|
|
1711
|
-
const $
|
|
2136
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1712
2137
|
path: _path2 + ".id",
|
|
1713
2138
|
expected: "string",
|
|
1714
2139
|
value: input3.id
|
|
@@ -1724,8 +2149,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1724
2149
|
path: _path2 + ".child_types",
|
|
1725
2150
|
expected: "(Array<string> | undefined)",
|
|
1726
2151
|
value: input3.child_types
|
|
1727
|
-
})) && input3.child_types.map((elem,
|
|
1728
|
-
path: _path2 + ".child_types[" +
|
|
2152
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2153
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
1729
2154
|
expected: "string",
|
|
1730
2155
|
value: elem
|
|
1731
2156
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1740,8 +2165,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1740
2165
|
path: _path2 + ".included_types",
|
|
1741
2166
|
expected: "(Array<string> | undefined)",
|
|
1742
2167
|
value: input3.included_types
|
|
1743
|
-
})) && input3.included_types.map((elem,
|
|
1744
|
-
path: _path2 + ".included_types[" +
|
|
2168
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2169
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
1745
2170
|
expected: "string",
|
|
1746
2171
|
value: elem
|
|
1747
2172
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1796,12 +2221,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1796
2221
|
path: _path2 + ".genes",
|
|
1797
2222
|
expected: "Array<GvGeneTerm>",
|
|
1798
2223
|
value: input3.genes
|
|
1799
|
-
})) && input3.genes.map((elem,
|
|
1800
|
-
path: _path2 + ".genes[" +
|
|
2224
|
+
})) && input3.genes.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2225
|
+
path: _path2 + ".genes[" + _index37 + "]",
|
|
1801
2226
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1802
2227
|
value: elem
|
|
1803
|
-
})) && $vu2(elem, _path2 + ".genes[" +
|
|
1804
|
-
path: _path2 + ".genes[" +
|
|
2228
|
+
})) && $vu2(elem, _path2 + ".genes[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2229
|
+
path: _path2 + ".genes[" + _index37 + "]",
|
|
1805
2230
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1806
2231
|
value: elem
|
|
1807
2232
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1812,7 +2237,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1812
2237
|
path: _path2 + ".groupsetting",
|
|
1813
2238
|
expected: "(TermGroupSetting | undefined)",
|
|
1814
2239
|
value: input3.groupsetting
|
|
1815
|
-
})) && $
|
|
2240
|
+
})) && $vo38(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1816
2241
|
path: _path2 + ".groupsetting",
|
|
1817
2242
|
expected: "(TermGroupSetting | undefined)",
|
|
1818
2243
|
value: input3.groupsetting
|
|
@@ -1820,12 +2245,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1820
2245
|
path: _path2 + ".childTerms",
|
|
1821
2246
|
expected: "(Array<DtTerm> | undefined)",
|
|
1822
2247
|
value: input3.childTerms
|
|
1823
|
-
})) && input3.childTerms.map((elem,
|
|
1824
|
-
path: _path2 + ".childTerms[" +
|
|
2248
|
+
})) && input3.childTerms.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2249
|
+
path: _path2 + ".childTerms[" + _index38 + "]",
|
|
1825
2250
|
expected: "DtTerm",
|
|
1826
2251
|
value: elem
|
|
1827
|
-
})) && $
|
|
1828
|
-
path: _path2 + ".childTerms[" +
|
|
2252
|
+
})) && $vo34(elem, _path2 + ".childTerms[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2253
|
+
path: _path2 + ".childTerms[" + _index38 + "]",
|
|
1829
2254
|
expected: "DtTerm",
|
|
1830
2255
|
value: elem
|
|
1831
2256
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1833,7 +2258,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1833
2258
|
expected: "(Array<DtTerm> | undefined)",
|
|
1834
2259
|
value: input3.childTerms
|
|
1835
2260
|
})].every((flag) => flag);
|
|
1836
|
-
const $
|
|
2261
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1837
2262
|
path: _path2 + ".id",
|
|
1838
2263
|
expected: "string",
|
|
1839
2264
|
value: input3.id
|
|
@@ -1849,8 +2274,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1849
2274
|
path: _path2 + ".child_types",
|
|
1850
2275
|
expected: "(Array<string> | undefined)",
|
|
1851
2276
|
value: input3.child_types
|
|
1852
|
-
})) && input3.child_types.map((elem,
|
|
1853
|
-
path: _path2 + ".child_types[" +
|
|
2277
|
+
})) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2278
|
+
path: _path2 + ".child_types[" + _index39 + "]",
|
|
1854
2279
|
expected: "string",
|
|
1855
2280
|
value: elem
|
|
1856
2281
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1865,8 +2290,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1865
2290
|
path: _path2 + ".included_types",
|
|
1866
2291
|
expected: "(Array<string> | undefined)",
|
|
1867
2292
|
value: input3.included_types
|
|
1868
|
-
})) && input3.included_types.map((elem,
|
|
1869
|
-
path: _path2 + ".included_types[" +
|
|
2293
|
+
})) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2294
|
+
path: _path2 + ".included_types[" + _index40 + "]",
|
|
1870
2295
|
expected: "string",
|
|
1871
2296
|
value: elem
|
|
1872
2297
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1918,7 +2343,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1918
2343
|
expected: "(number | undefined)",
|
|
1919
2344
|
value: input3.stop
|
|
1920
2345
|
})].every((flag) => flag);
|
|
1921
|
-
const $
|
|
2346
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1922
2347
|
path: _path2 + ".id",
|
|
1923
2348
|
expected: "string",
|
|
1924
2349
|
value: input3.id
|
|
@@ -1934,8 +2359,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1934
2359
|
path: _path2 + ".child_types",
|
|
1935
2360
|
expected: "(Array<string> | undefined)",
|
|
1936
2361
|
value: input3.child_types
|
|
1937
|
-
})) && input3.child_types.map((elem,
|
|
1938
|
-
path: _path2 + ".child_types[" +
|
|
2362
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2363
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
1939
2364
|
expected: "string",
|
|
1940
2365
|
value: elem
|
|
1941
2366
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1950,8 +2375,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1950
2375
|
path: _path2 + ".included_types",
|
|
1951
2376
|
expected: "(Array<string> | undefined)",
|
|
1952
2377
|
value: input3.included_types
|
|
1953
|
-
})) && input3.included_types.map((elem,
|
|
1954
|
-
path: _path2 + ".included_types[" +
|
|
2378
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2379
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
1955
2380
|
expected: "string",
|
|
1956
2381
|
value: elem
|
|
1957
2382
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1999,7 +2424,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1999
2424
|
expected: "number",
|
|
2000
2425
|
value: input3.stop
|
|
2001
2426
|
})].every((flag) => flag);
|
|
2002
|
-
const $
|
|
2427
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2003
2428
|
path: _path2 + ".disabled",
|
|
2004
2429
|
expected: "boolean",
|
|
2005
2430
|
value: input3.disabled
|
|
@@ -2007,12 +2432,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2007
2432
|
path: _path2 + ".lst",
|
|
2008
2433
|
expected: "(Array<Groupset> | undefined)",
|
|
2009
2434
|
value: input3.lst
|
|
2010
|
-
})) && input3.lst.map((elem,
|
|
2011
|
-
path: _path2 + ".lst[" +
|
|
2435
|
+
})) && input3.lst.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2436
|
+
path: _path2 + ".lst[" + _index43 + "]",
|
|
2012
2437
|
expected: "Groupset",
|
|
2013
2438
|
value: elem
|
|
2014
|
-
})) && $
|
|
2015
|
-
path: _path2 + ".lst[" +
|
|
2439
|
+
})) && $vo39(elem, _path2 + ".lst[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2440
|
+
path: _path2 + ".lst[" + _index43 + "]",
|
|
2016
2441
|
expected: "Groupset",
|
|
2017
2442
|
value: elem
|
|
2018
2443
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2020,7 +2445,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2020
2445
|
expected: "(Array<Groupset> | undefined)",
|
|
2021
2446
|
value: input3.lst
|
|
2022
2447
|
})].every((flag) => flag);
|
|
2023
|
-
const $
|
|
2448
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2024
2449
|
path: _path2 + ".name",
|
|
2025
2450
|
expected: "string",
|
|
2026
2451
|
value: input3.name
|
|
@@ -2040,12 +2465,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2040
2465
|
path: _path2 + ".groups",
|
|
2041
2466
|
expected: "Array<GroupEntry>",
|
|
2042
2467
|
value: input3.groups
|
|
2043
|
-
})) && input3.groups.map((elem,
|
|
2044
|
-
path: _path2 + ".groups[" +
|
|
2468
|
+
})) && input3.groups.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2469
|
+
path: _path2 + ".groups[" + _index44 + "]",
|
|
2045
2470
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2046
2471
|
value: elem
|
|
2047
|
-
})) && $vu3(elem, _path2 + ".groups[" +
|
|
2048
|
-
path: _path2 + ".groups[" +
|
|
2472
|
+
})) && $vu3(elem, _path2 + ".groups[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2473
|
+
path: _path2 + ".groups[" + _index44 + "]",
|
|
2049
2474
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2050
2475
|
value: elem
|
|
2051
2476
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2053,7 +2478,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2053
2478
|
expected: "Array<GroupEntry>",
|
|
2054
2479
|
value: input3.groups
|
|
2055
2480
|
})].every((flag) => flag);
|
|
2056
|
-
const $
|
|
2481
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2057
2482
|
path: _path2 + ".name",
|
|
2058
2483
|
expected: "string",
|
|
2059
2484
|
value: input3.name
|
|
@@ -2065,12 +2490,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2065
2490
|
path: _path2 + ".values",
|
|
2066
2491
|
expected: "Array<__type>.o1",
|
|
2067
2492
|
value: input3.values
|
|
2068
|
-
})) && input3.values.map((elem,
|
|
2069
|
-
path: _path2 + ".values[" +
|
|
2493
|
+
})) && input3.values.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2494
|
+
path: _path2 + ".values[" + _index45 + "]",
|
|
2070
2495
|
expected: "__type.o5",
|
|
2071
2496
|
value: elem
|
|
2072
|
-
})) && $
|
|
2073
|
-
path: _path2 + ".values[" +
|
|
2497
|
+
})) && $vo41(elem, _path2 + ".values[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2498
|
+
path: _path2 + ".values[" + _index45 + "]",
|
|
2074
2499
|
expected: "__type.o5",
|
|
2075
2500
|
value: elem
|
|
2076
2501
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2082,7 +2507,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2082
2507
|
expected: "(boolean | undefined)",
|
|
2083
2508
|
value: input3.uncomputable
|
|
2084
2509
|
})].every((flag) => flag);
|
|
2085
|
-
const $
|
|
2510
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2086
2511
|
path: _path2 + ".key",
|
|
2087
2512
|
expected: "(number | string)",
|
|
2088
2513
|
value: input3.key
|
|
@@ -2091,7 +2516,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2091
2516
|
expected: "string",
|
|
2092
2517
|
value: input3.label
|
|
2093
2518
|
})].every((flag) => flag);
|
|
2094
|
-
const $
|
|
2519
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2095
2520
|
path: _path2 + ".name",
|
|
2096
2521
|
expected: "string",
|
|
2097
2522
|
value: input3.name
|
|
@@ -2112,7 +2537,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2112
2537
|
expected: "string",
|
|
2113
2538
|
value: input3.color
|
|
2114
2539
|
})].every((flag) => flag);
|
|
2115
|
-
const $
|
|
2540
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2116
2541
|
path: _path2 + ".id",
|
|
2117
2542
|
expected: "string",
|
|
2118
2543
|
value: input3.id
|
|
@@ -2128,8 +2553,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2128
2553
|
path: _path2 + ".child_types",
|
|
2129
2554
|
expected: "(Array<string> | undefined)",
|
|
2130
2555
|
value: input3.child_types
|
|
2131
|
-
})) && input3.child_types.map((elem,
|
|
2132
|
-
path: _path2 + ".child_types[" +
|
|
2556
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2557
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
2133
2558
|
expected: "string",
|
|
2134
2559
|
value: elem
|
|
2135
2560
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2144,8 +2569,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2144
2569
|
path: _path2 + ".included_types",
|
|
2145
2570
|
expected: "(Array<string> | undefined)",
|
|
2146
2571
|
value: input3.included_types
|
|
2147
|
-
})) && input3.included_types.map((elem,
|
|
2148
|
-
path: _path2 + ".included_types[" +
|
|
2572
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2573
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
2149
2574
|
expected: "string",
|
|
2150
2575
|
value: elem
|
|
2151
2576
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2196,12 +2621,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2196
2621
|
path: _path2 + ".genes",
|
|
2197
2622
|
expected: "Array<GvGeneTerm>",
|
|
2198
2623
|
value: input3.genes
|
|
2199
|
-
})) && input3.genes.map((elem,
|
|
2200
|
-
path: _path2 + ".genes[" +
|
|
2624
|
+
})) && input3.genes.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2625
|
+
path: _path2 + ".genes[" + _index48 + "]",
|
|
2201
2626
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2202
2627
|
value: elem
|
|
2203
|
-
})) && $vu2(elem, _path2 + ".genes[" +
|
|
2204
|
-
path: _path2 + ".genes[" +
|
|
2628
|
+
})) && $vu2(elem, _path2 + ".genes[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2629
|
+
path: _path2 + ".genes[" + _index48 + "]",
|
|
2205
2630
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2206
2631
|
value: elem
|
|
2207
2632
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2212,7 +2637,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2212
2637
|
path: _path2 + ".groupsetting",
|
|
2213
2638
|
expected: "(TermGroupSetting | undefined)",
|
|
2214
2639
|
value: input3.groupsetting
|
|
2215
|
-
})) && $
|
|
2640
|
+
})) && $vo38(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2216
2641
|
path: _path2 + ".groupsetting",
|
|
2217
2642
|
expected: "(TermGroupSetting | undefined)",
|
|
2218
2643
|
value: input3.groupsetting
|
|
@@ -2220,12 +2645,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2220
2645
|
path: _path2 + ".childTerms",
|
|
2221
2646
|
expected: "(Array<DtTerm> | undefined)",
|
|
2222
2647
|
value: input3.childTerms
|
|
2223
|
-
})) && input3.childTerms.map((elem,
|
|
2224
|
-
path: _path2 + ".childTerms[" +
|
|
2648
|
+
})) && input3.childTerms.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2649
|
+
path: _path2 + ".childTerms[" + _index49 + "]",
|
|
2225
2650
|
expected: "DtTerm",
|
|
2226
2651
|
value: elem
|
|
2227
|
-
})) && $
|
|
2228
|
-
path: _path2 + ".childTerms[" +
|
|
2652
|
+
})) && $vo34(elem, _path2 + ".childTerms[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2653
|
+
path: _path2 + ".childTerms[" + _index49 + "]",
|
|
2229
2654
|
expected: "DtTerm",
|
|
2230
2655
|
value: elem
|
|
2231
2656
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2233,7 +2658,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2233
2658
|
expected: "(Array<DtTerm> | undefined)",
|
|
2234
2659
|
value: input3.childTerms
|
|
2235
2660
|
})].every((flag) => flag);
|
|
2236
|
-
const $
|
|
2661
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2237
2662
|
path: _path2 + ".key",
|
|
2238
2663
|
expected: "string",
|
|
2239
2664
|
value: input3.key
|
|
@@ -2246,7 +2671,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2246
2671
|
expected: "string",
|
|
2247
2672
|
value: input3.value
|
|
2248
2673
|
})].every((flag) => flag);
|
|
2249
|
-
const $
|
|
2674
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2250
2675
|
path: _path2 + ".join",
|
|
2251
2676
|
expected: "(string | undefined)",
|
|
2252
2677
|
value: input3.join
|
|
@@ -2256,18 +2681,18 @@ var validBrainImagingRequest = (input) => {
|
|
|
2256
2681
|
value: input3.isnot
|
|
2257
2682
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2258
2683
|
path: _path2 + ".term",
|
|
2259
|
-
expected: "
|
|
2684
|
+
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2260
2685
|
value: input3.term
|
|
2261
|
-
})) && $
|
|
2686
|
+
})) && $vu12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2262
2687
|
path: _path2 + ".term",
|
|
2263
|
-
expected: "
|
|
2688
|
+
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2264
2689
|
value: input3.term
|
|
2265
2690
|
}), "number" === typeof input3.ratio || $report(_exceptionable2, {
|
|
2266
2691
|
path: _path2 + ".ratio",
|
|
2267
2692
|
expected: "number",
|
|
2268
2693
|
value: input3.ratio
|
|
2269
2694
|
})].every((flag) => flag);
|
|
2270
|
-
const $
|
|
2695
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2271
2696
|
path: _path2 + ".id",
|
|
2272
2697
|
expected: "string",
|
|
2273
2698
|
value: input3.id
|
|
@@ -2283,8 +2708,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2283
2708
|
path: _path2 + ".child_types",
|
|
2284
2709
|
expected: "(Array<string> | undefined)",
|
|
2285
2710
|
value: input3.child_types
|
|
2286
|
-
})) && input3.child_types.map((elem,
|
|
2287
|
-
path: _path2 + ".child_types[" +
|
|
2711
|
+
})) && input3.child_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2712
|
+
path: _path2 + ".child_types[" + _index50 + "]",
|
|
2288
2713
|
expected: "string",
|
|
2289
2714
|
value: elem
|
|
2290
2715
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2299,8 +2724,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2299
2724
|
path: _path2 + ".included_types",
|
|
2300
2725
|
expected: "(Array<string> | undefined)",
|
|
2301
2726
|
value: input3.included_types
|
|
2302
|
-
})) && input3.included_types.map((elem,
|
|
2303
|
-
path: _path2 + ".included_types[" +
|
|
2727
|
+
})) && input3.included_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2728
|
+
path: _path2 + ".included_types[" + _index51 + "]",
|
|
2304
2729
|
expected: "string",
|
|
2305
2730
|
value: elem
|
|
2306
2731
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2335,34 +2760,34 @@ var validBrainImagingRequest = (input) => {
|
|
|
2335
2760
|
path: _path2 + ".collectionId",
|
|
2336
2761
|
expected: "(string | undefined)",
|
|
2337
2762
|
value: input3.collectionId
|
|
2763
|
+
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2764
|
+
path: _path2 + ".termIds",
|
|
2765
|
+
expected: "(Array<string> | undefined)",
|
|
2766
|
+
value: input3.termIds
|
|
2767
|
+
})) && input3.termIds.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2768
|
+
path: _path2 + ".termIds[" + _index52 + "]",
|
|
2769
|
+
expected: "string",
|
|
2770
|
+
value: elem
|
|
2771
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2772
|
+
path: _path2 + ".termIds",
|
|
2773
|
+
expected: "(Array<string> | undefined)",
|
|
2774
|
+
value: input3.termIds
|
|
2338
2775
|
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2339
2776
|
path: _path2 + ".termlst",
|
|
2340
2777
|
expected: "Array<BaseTerm>",
|
|
2341
2778
|
value: input3.termlst
|
|
2342
|
-
})) && input3.termlst.map((elem,
|
|
2343
|
-
path: _path2 + ".termlst[" +
|
|
2779
|
+
})) && input3.termlst.map((elem, _index53) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2780
|
+
path: _path2 + ".termlst[" + _index53 + "]",
|
|
2344
2781
|
expected: "BaseTerm",
|
|
2345
2782
|
value: elem
|
|
2346
|
-
})) && $
|
|
2347
|
-
path: _path2 + ".termlst[" +
|
|
2783
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index53 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2784
|
+
path: _path2 + ".termlst[" + _index53 + "]",
|
|
2348
2785
|
expected: "BaseTerm",
|
|
2349
2786
|
value: elem
|
|
2350
2787
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2351
2788
|
path: _path2 + ".termlst",
|
|
2352
2789
|
expected: "Array<BaseTerm>",
|
|
2353
2790
|
value: input3.termlst
|
|
2354
|
-
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2355
|
-
path: _path2 + ".numerators",
|
|
2356
|
-
expected: "(Array<string> | undefined)",
|
|
2357
|
-
value: input3.numerators
|
|
2358
|
-
})) && input3.numerators.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2359
|
-
path: _path2 + ".numerators[" + _index45 + "]",
|
|
2360
|
-
expected: "string",
|
|
2361
|
-
value: elem
|
|
2362
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2363
|
-
path: _path2 + ".numerators",
|
|
2364
|
-
expected: "(Array<string> | undefined)",
|
|
2365
|
-
value: input3.numerators
|
|
2366
2791
|
}), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
|
|
2367
2792
|
path: _path2 + ".newTvs",
|
|
2368
2793
|
expected: "(boolean | undefined)",
|
|
@@ -2371,12 +2796,28 @@ var validBrainImagingRequest = (input) => {
|
|
|
2371
2796
|
path: _path2 + ".propsByTermId",
|
|
2372
2797
|
expected: "__type.o7",
|
|
2373
2798
|
value: input3.propsByTermId
|
|
2374
|
-
})) && $
|
|
2799
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2375
2800
|
path: _path2 + ".propsByTermId",
|
|
2376
2801
|
expected: "__type.o7",
|
|
2377
2802
|
value: input3.propsByTermId
|
|
2803
|
+
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2804
|
+
path: _path2 + ".memberType",
|
|
2805
|
+
expected: '"numeric"',
|
|
2806
|
+
value: input3.memberType
|
|
2807
|
+
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2808
|
+
path: _path2 + ".numerators",
|
|
2809
|
+
expected: "(Array<string> | undefined)",
|
|
2810
|
+
value: input3.numerators
|
|
2811
|
+
})) && input3.numerators.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2812
|
+
path: _path2 + ".numerators[" + _index54 + "]",
|
|
2813
|
+
expected: "string",
|
|
2814
|
+
value: elem
|
|
2815
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2816
|
+
path: _path2 + ".numerators",
|
|
2817
|
+
expected: "(Array<string> | undefined)",
|
|
2818
|
+
value: input3.numerators
|
|
2378
2819
|
})].every((flag) => flag);
|
|
2379
|
-
const $
|
|
2820
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2380
2821
|
path: _path2 + ".id",
|
|
2381
2822
|
expected: "string",
|
|
2382
2823
|
value: input3.id
|
|
@@ -2392,8 +2833,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2392
2833
|
path: _path2 + ".child_types",
|
|
2393
2834
|
expected: "(Array<string> | undefined)",
|
|
2394
2835
|
value: input3.child_types
|
|
2395
|
-
})) && input3.child_types.map((elem,
|
|
2396
|
-
path: _path2 + ".child_types[" +
|
|
2836
|
+
})) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2837
|
+
path: _path2 + ".child_types[" + _index55 + "]",
|
|
2397
2838
|
expected: "string",
|
|
2398
2839
|
value: elem
|
|
2399
2840
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2408,8 +2849,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2408
2849
|
path: _path2 + ".included_types",
|
|
2409
2850
|
expected: "(Array<string> | undefined)",
|
|
2410
2851
|
value: input3.included_types
|
|
2411
|
-
})) && input3.included_types.map((elem,
|
|
2412
|
-
path: _path2 + ".included_types[" +
|
|
2852
|
+
})) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2853
|
+
path: _path2 + ".included_types[" + _index56 + "]",
|
|
2413
2854
|
expected: "string",
|
|
2414
2855
|
value: elem
|
|
2415
2856
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2441,7 +2882,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2441
2882
|
expected: "(__type.o2 | undefined)",
|
|
2442
2883
|
value: input3.valueConversion
|
|
2443
2884
|
})].every((flag) => flag);
|
|
2444
|
-
const $
|
|
2885
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2445
2886
|
const value = input3[key];
|
|
2446
2887
|
if (void 0 === value)
|
|
2447
2888
|
return true;
|
|
@@ -2450,14 +2891,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
2450
2891
|
path: _path2 + $join(key),
|
|
2451
2892
|
expected: "__type.o8",
|
|
2452
2893
|
value
|
|
2453
|
-
})) && $
|
|
2894
|
+
})) && $vo49(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2454
2895
|
path: _path2 + $join(key),
|
|
2455
2896
|
expected: "__type.o8",
|
|
2456
2897
|
value
|
|
2457
2898
|
});
|
|
2458
2899
|
return true;
|
|
2459
2900
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2460
|
-
const $
|
|
2901
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2461
2902
|
const value = input3[key];
|
|
2462
2903
|
if (void 0 === value)
|
|
2463
2904
|
return true;
|
|
@@ -2465,7 +2906,145 @@ var validBrainImagingRequest = (input) => {
|
|
|
2465
2906
|
return true;
|
|
2466
2907
|
return true;
|
|
2467
2908
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2468
|
-
const $
|
|
2909
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2910
|
+
path: _path2 + ".id",
|
|
2911
|
+
expected: "string",
|
|
2912
|
+
value: input3.id
|
|
2913
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2914
|
+
path: _path2 + ".name",
|
|
2915
|
+
expected: "string",
|
|
2916
|
+
value: input3.name
|
|
2917
|
+
}), "termCollection" === input3.type || $report(_exceptionable2, {
|
|
2918
|
+
path: _path2 + ".type",
|
|
2919
|
+
expected: '"termCollection"',
|
|
2920
|
+
value: input3.type
|
|
2921
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2922
|
+
path: _path2 + ".child_types",
|
|
2923
|
+
expected: "(Array<string> | undefined)",
|
|
2924
|
+
value: input3.child_types
|
|
2925
|
+
})) && input3.child_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2926
|
+
path: _path2 + ".child_types[" + _index57 + "]",
|
|
2927
|
+
expected: "string",
|
|
2928
|
+
value: elem
|
|
2929
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2930
|
+
path: _path2 + ".child_types",
|
|
2931
|
+
expected: "(Array<string> | undefined)",
|
|
2932
|
+
value: input3.child_types
|
|
2933
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2934
|
+
path: _path2 + ".hashtmldetail",
|
|
2935
|
+
expected: "(boolean | undefined)",
|
|
2936
|
+
value: input3.hashtmldetail
|
|
2937
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2938
|
+
path: _path2 + ".included_types",
|
|
2939
|
+
expected: "(Array<string> | undefined)",
|
|
2940
|
+
value: input3.included_types
|
|
2941
|
+
})) && input3.included_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2942
|
+
path: _path2 + ".included_types[" + _index58 + "]",
|
|
2943
|
+
expected: "string",
|
|
2944
|
+
value: elem
|
|
2945
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2946
|
+
path: _path2 + ".included_types",
|
|
2947
|
+
expected: "(Array<string> | undefined)",
|
|
2948
|
+
value: input3.included_types
|
|
2949
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2950
|
+
path: _path2 + ".isleaf",
|
|
2951
|
+
expected: "(boolean | undefined)",
|
|
2952
|
+
value: input3.isleaf
|
|
2953
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2954
|
+
path: _path2 + ".values",
|
|
2955
|
+
expected: "(TermValues | undefined)",
|
|
2956
|
+
value: input3.values
|
|
2957
|
+
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2958
|
+
path: _path2 + ".values",
|
|
2959
|
+
expected: "(TermValues | undefined)",
|
|
2960
|
+
value: input3.values
|
|
2961
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2962
|
+
path: _path2 + ".skipValuesBuild",
|
|
2963
|
+
expected: "(boolean | undefined)",
|
|
2964
|
+
value: input3.skipValuesBuild
|
|
2965
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2966
|
+
path: _path2 + ".valueConversion",
|
|
2967
|
+
expected: "(__type.o2 | undefined)",
|
|
2968
|
+
value: input3.valueConversion
|
|
2969
|
+
})) && $vo11(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2970
|
+
path: _path2 + ".valueConversion",
|
|
2971
|
+
expected: "(__type.o2 | undefined)",
|
|
2972
|
+
value: input3.valueConversion
|
|
2973
|
+
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2974
|
+
path: _path2 + ".collectionId",
|
|
2975
|
+
expected: "(string | undefined)",
|
|
2976
|
+
value: input3.collectionId
|
|
2977
|
+
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2978
|
+
path: _path2 + ".termIds",
|
|
2979
|
+
expected: "(Array<string> | undefined)",
|
|
2980
|
+
value: input3.termIds
|
|
2981
|
+
})) && input3.termIds.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2982
|
+
path: _path2 + ".termIds[" + _index59 + "]",
|
|
2983
|
+
expected: "string",
|
|
2984
|
+
value: elem
|
|
2985
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2986
|
+
path: _path2 + ".termIds",
|
|
2987
|
+
expected: "(Array<string> | undefined)",
|
|
2988
|
+
value: input3.termIds
|
|
2989
|
+
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2990
|
+
path: _path2 + ".termlst",
|
|
2991
|
+
expected: "Array<BaseTerm>",
|
|
2992
|
+
value: input3.termlst
|
|
2993
|
+
})) && input3.termlst.map((elem, _index60) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2994
|
+
path: _path2 + ".termlst[" + _index60 + "]",
|
|
2995
|
+
expected: "BaseTerm",
|
|
2996
|
+
value: elem
|
|
2997
|
+
})) && $vo47(elem, _path2 + ".termlst[" + _index60 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2998
|
+
path: _path2 + ".termlst[" + _index60 + "]",
|
|
2999
|
+
expected: "BaseTerm",
|
|
3000
|
+
value: elem
|
|
3001
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3002
|
+
path: _path2 + ".termlst",
|
|
3003
|
+
expected: "Array<BaseTerm>",
|
|
3004
|
+
value: input3.termlst
|
|
3005
|
+
}), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
|
|
3006
|
+
path: _path2 + ".newTvs",
|
|
3007
|
+
expected: "(boolean | undefined)",
|
|
3008
|
+
value: input3.newTvs
|
|
3009
|
+
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
3010
|
+
path: _path2 + ".propsByTermId",
|
|
3011
|
+
expected: "__type.o7",
|
|
3012
|
+
value: input3.propsByTermId
|
|
3013
|
+
})) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
3014
|
+
path: _path2 + ".propsByTermId",
|
|
3015
|
+
expected: "__type.o7",
|
|
3016
|
+
value: input3.propsByTermId
|
|
3017
|
+
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
3018
|
+
path: _path2 + ".memberType",
|
|
3019
|
+
expected: '"categorical"',
|
|
3020
|
+
value: input3.memberType
|
|
3021
|
+
}), (Array.isArray(input3.categoryKeys) || $report(_exceptionable2, {
|
|
3022
|
+
path: _path2 + ".categoryKeys",
|
|
3023
|
+
expected: "Array<CategoryKey>",
|
|
3024
|
+
value: input3.categoryKeys
|
|
3025
|
+
})) && input3.categoryKeys.map((elem, _index61) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3026
|
+
path: _path2 + ".categoryKeys[" + _index61 + "]",
|
|
3027
|
+
expected: "CategoryKey",
|
|
3028
|
+
value: elem
|
|
3029
|
+
})) && $vo51(elem, _path2 + ".categoryKeys[" + _index61 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3030
|
+
path: _path2 + ".categoryKeys[" + _index61 + "]",
|
|
3031
|
+
expected: "CategoryKey",
|
|
3032
|
+
value: elem
|
|
3033
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3034
|
+
path: _path2 + ".categoryKeys",
|
|
3035
|
+
expected: "Array<CategoryKey>",
|
|
3036
|
+
value: input3.categoryKeys
|
|
3037
|
+
})].every((flag) => flag);
|
|
3038
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3039
|
+
path: _path2 + ".key",
|
|
3040
|
+
expected: "string",
|
|
3041
|
+
value: input3.key
|
|
3042
|
+
}), "boolean" === typeof input3.shown || $report(_exceptionable2, {
|
|
3043
|
+
path: _path2 + ".shown",
|
|
3044
|
+
expected: "boolean",
|
|
3045
|
+
value: input3.shown
|
|
3046
|
+
})].every((flag) => flag);
|
|
3047
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2469
3048
|
path: _path2 + ".id",
|
|
2470
3049
|
expected: "string",
|
|
2471
3050
|
value: input3.id
|
|
@@ -2481,8 +3060,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2481
3060
|
path: _path2 + ".child_types",
|
|
2482
3061
|
expected: "(Array<string> | undefined)",
|
|
2483
3062
|
value: input3.child_types
|
|
2484
|
-
})) && input3.child_types.map((elem,
|
|
2485
|
-
path: _path2 + ".child_types[" +
|
|
3063
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3064
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
2486
3065
|
expected: "string",
|
|
2487
3066
|
value: elem
|
|
2488
3067
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2497,8 +3076,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2497
3076
|
path: _path2 + ".included_types",
|
|
2498
3077
|
expected: "(Array<string> | undefined)",
|
|
2499
3078
|
value: input3.included_types
|
|
2500
|
-
})) && input3.included_types.map((elem,
|
|
2501
|
-
path: _path2 + ".included_types[" +
|
|
3079
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3080
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
2502
3081
|
expected: "string",
|
|
2503
3082
|
value: elem
|
|
2504
3083
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2549,8 +3128,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2549
3128
|
path: _path2 + ".alt",
|
|
2550
3129
|
expected: "Array<string>",
|
|
2551
3130
|
value: input3.alt
|
|
2552
|
-
})) && input3.alt.map((elem,
|
|
2553
|
-
path: _path2 + ".alt[" +
|
|
3131
|
+
})) && input3.alt.map((elem, _index64) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3132
|
+
path: _path2 + ".alt[" + _index64 + "]",
|
|
2554
3133
|
expected: "string",
|
|
2555
3134
|
value: elem
|
|
2556
3135
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2561,12 +3140,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
2561
3140
|
path: _path2 + ".groupsetting",
|
|
2562
3141
|
expected: "TermGroupSetting",
|
|
2563
3142
|
value: input3.groupsetting
|
|
2564
|
-
})) && $
|
|
3143
|
+
})) && $vo38(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2565
3144
|
path: _path2 + ".groupsetting",
|
|
2566
3145
|
expected: "TermGroupSetting",
|
|
2567
3146
|
value: input3.groupsetting
|
|
2568
3147
|
})].every((flag) => flag);
|
|
2569
|
-
const $
|
|
3148
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2570
3149
|
path: _path2 + ".id",
|
|
2571
3150
|
expected: "string",
|
|
2572
3151
|
value: input3.id
|
|
@@ -2582,8 +3161,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2582
3161
|
path: _path2 + ".child_types",
|
|
2583
3162
|
expected: "(Array<string> | undefined)",
|
|
2584
3163
|
value: input3.child_types
|
|
2585
|
-
})) && input3.child_types.map((elem,
|
|
2586
|
-
path: _path2 + ".child_types[" +
|
|
3164
|
+
})) && input3.child_types.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3165
|
+
path: _path2 + ".child_types[" + _index65 + "]",
|
|
2587
3166
|
expected: "string",
|
|
2588
3167
|
value: elem
|
|
2589
3168
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2598,8 +3177,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
2598
3177
|
path: _path2 + ".included_types",
|
|
2599
3178
|
expected: "(Array<string> | undefined)",
|
|
2600
3179
|
value: input3.included_types
|
|
2601
|
-
})) && input3.included_types.map((elem,
|
|
2602
|
-
path: _path2 + ".included_types[" +
|
|
3180
|
+
})) && input3.included_types.map((elem, _index66) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3181
|
+
path: _path2 + ".included_types[" + _index66 + "]",
|
|
2603
3182
|
expected: "string",
|
|
2604
3183
|
value: elem
|
|
2605
3184
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2630,9 +3209,13 @@ var validBrainImagingRequest = (input) => {
|
|
|
2630
3209
|
path: _path2 + ".valueConversion",
|
|
2631
3210
|
expected: "(__type.o2 | undefined)",
|
|
2632
3211
|
value: input3.valueConversion
|
|
2633
|
-
}), "
|
|
3212
|
+
}), ("object" === typeof input3.sample && null !== input3.sample && false === Array.isArray(input3.sample) || $report(_exceptionable2, {
|
|
2634
3213
|
path: _path2 + ".sample",
|
|
2635
|
-
expected: "
|
|
3214
|
+
expected: "object",
|
|
3215
|
+
value: input3.sample
|
|
3216
|
+
})) && $vo54(input3.sample, _path2 + ".sample", _exceptionable2) || $report(_exceptionable2, {
|
|
3217
|
+
path: _path2 + ".sample",
|
|
3218
|
+
expected: "object",
|
|
2636
3219
|
value: input3.sample
|
|
2637
3220
|
}), "string" === typeof input3.plot || $report(_exceptionable2, {
|
|
2638
3221
|
path: _path2 + ".plot",
|
|
@@ -2642,12 +3225,13 @@ var validBrainImagingRequest = (input) => {
|
|
|
2642
3225
|
path: _path2 + ".groupsetting",
|
|
2643
3226
|
expected: "TermGroupSetting",
|
|
2644
3227
|
value: input3.groupsetting
|
|
2645
|
-
})) && $
|
|
3228
|
+
})) && $vo38(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2646
3229
|
path: _path2 + ".groupsetting",
|
|
2647
3230
|
expected: "TermGroupSetting",
|
|
2648
3231
|
value: input3.groupsetting
|
|
2649
3232
|
})].every((flag) => flag);
|
|
2650
|
-
const $
|
|
3233
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => true;
|
|
3234
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2651
3235
|
path: _path2 + ".hiddenValues",
|
|
2652
3236
|
expected: "(HiddenValues | undefined)",
|
|
2653
3237
|
value: input3.hiddenValues
|
|
@@ -2676,7 +3260,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2676
3260
|
expected: '"values"',
|
|
2677
3261
|
value: input3.type
|
|
2678
3262
|
})].every((flag) => flag);
|
|
2679
|
-
const $
|
|
3263
|
+
const $vo56 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2680
3264
|
path: _path2 + ".id",
|
|
2681
3265
|
expected: "(string | undefined)",
|
|
2682
3266
|
value: input3.id
|
|
@@ -2712,7 +3296,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2712
3296
|
path: _path2 + ".q",
|
|
2713
3297
|
expected: "PredefinedGroupSettingQ",
|
|
2714
3298
|
value: input3.q
|
|
2715
|
-
})) && $
|
|
3299
|
+
})) && $vo57(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2716
3300
|
path: _path2 + ".q",
|
|
2717
3301
|
expected: "PredefinedGroupSettingQ",
|
|
2718
3302
|
value: input3.q
|
|
@@ -2721,7 +3305,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2721
3305
|
expected: '"QualTWPredefinedGS"',
|
|
2722
3306
|
value: input3.type
|
|
2723
3307
|
})].every((flag) => flag);
|
|
2724
|
-
const $
|
|
3308
|
+
const $vo57 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2725
3309
|
path: _path2 + ".hiddenValues",
|
|
2726
3310
|
expected: "(HiddenValues | undefined)",
|
|
2727
3311
|
value: input3.hiddenValues
|
|
@@ -2754,7 +3338,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2754
3338
|
expected: "number",
|
|
2755
3339
|
value: input3.predefined_groupset_idx
|
|
2756
3340
|
})].every((flag) => flag);
|
|
2757
|
-
const $
|
|
3341
|
+
const $vo58 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2758
3342
|
path: _path2 + ".id",
|
|
2759
3343
|
expected: "(string | undefined)",
|
|
2760
3344
|
value: input3.id
|
|
@@ -2790,7 +3374,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2790
3374
|
path: _path2 + ".q",
|
|
2791
3375
|
expected: "CustomGroupSettingQ",
|
|
2792
3376
|
value: input3.q
|
|
2793
|
-
})) && $
|
|
3377
|
+
})) && $vo59(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2794
3378
|
path: _path2 + ".q",
|
|
2795
3379
|
expected: "CustomGroupSettingQ",
|
|
2796
3380
|
value: input3.q
|
|
@@ -2799,7 +3383,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
2799
3383
|
expected: '"QualTWCustomGS"',
|
|
2800
3384
|
value: input3.type
|
|
2801
3385
|
})].every((flag) => flag);
|
|
2802
|
-
const $
|
|
3386
|
+
const $vo59 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2803
3387
|
path: _path2 + ".hiddenValues",
|
|
2804
3388
|
expected: "(HiddenValues | undefined)",
|
|
2805
3389
|
value: input3.hiddenValues
|
|
@@ -2831,21 +3415,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
2831
3415
|
path: _path2 + ".customset",
|
|
2832
3416
|
expected: "BaseGroupSet",
|
|
2833
3417
|
value: input3.customset
|
|
2834
|
-
})) && $
|
|
3418
|
+
})) && $vo60(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
2835
3419
|
path: _path2 + ".customset",
|
|
2836
3420
|
expected: "BaseGroupSet",
|
|
2837
3421
|
value: input3.customset
|
|
2838
3422
|
})].every((flag) => flag);
|
|
2839
|
-
const $
|
|
3423
|
+
const $vo60 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
2840
3424
|
path: _path2 + ".groups",
|
|
2841
3425
|
expected: "Array<GroupEntry>",
|
|
2842
3426
|
value: input3.groups
|
|
2843
|
-
})) && input3.groups.map((elem,
|
|
2844
|
-
path: _path2 + ".groups[" +
|
|
3427
|
+
})) && input3.groups.map((elem, _index67) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3428
|
+
path: _path2 + ".groups[" + _index67 + "]",
|
|
2845
3429
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2846
3430
|
value: elem
|
|
2847
|
-
})) && $vu3(elem, _path2 + ".groups[" +
|
|
2848
|
-
path: _path2 + ".groups[" +
|
|
3431
|
+
})) && $vu3(elem, _path2 + ".groups[" + _index67 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3432
|
+
path: _path2 + ".groups[" + _index67 + "]",
|
|
2849
3433
|
expected: "(FilterGroup | ValuesGroup)",
|
|
2850
3434
|
value: elem
|
|
2851
3435
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2873,9 +3457,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2873
3457
|
})();
|
|
2874
3458
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2875
3459
|
if ("gene" === input3.kind)
|
|
2876
|
-
return $
|
|
3460
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
2877
3461
|
if ("coord" === input3.kind)
|
|
2878
|
-
return $
|
|
3462
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
2879
3463
|
return $report(_exceptionable2, {
|
|
2880
3464
|
path: _path2,
|
|
2881
3465
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2884,9 +3468,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2884
3468
|
})();
|
|
2885
3469
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2886
3470
|
if ("string" === typeof input3.type)
|
|
2887
|
-
return $
|
|
3471
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
2888
3472
|
if ("filter" === input3.type)
|
|
2889
|
-
return $
|
|
3473
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
2890
3474
|
return $report(_exceptionable2, {
|
|
2891
3475
|
path: _path2,
|
|
2892
3476
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -2895,9 +3479,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2895
3479
|
})();
|
|
2896
3480
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2897
3481
|
if ("QualTWCustomGS" === input3.type)
|
|
2898
|
-
return $
|
|
3482
|
+
return $vo58(input3, _path2, _exceptionable2);
|
|
2899
3483
|
if ("QualTWPredefinedGS" === input3.type)
|
|
2900
|
-
return $
|
|
3484
|
+
return $vo56(input3, _path2, _exceptionable2);
|
|
2901
3485
|
if ("QualTWValues" === input3.type)
|
|
2902
3486
|
return $vo1(input3, _path2, _exceptionable2);
|
|
2903
3487
|
return $report(_exceptionable2, {
|
|
@@ -2910,9 +3494,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
2910
3494
|
if ("categorical" === input3.type)
|
|
2911
3495
|
return $vo3(input3, _path2, _exceptionable2);
|
|
2912
3496
|
if ("snp" === input3.type)
|
|
2913
|
-
return $
|
|
3497
|
+
return $vo52(input3, _path2, _exceptionable2);
|
|
2914
3498
|
if ("singleCellCellType" === input3.type)
|
|
2915
|
-
return $
|
|
3499
|
+
return $vo53(input3, _path2, _exceptionable2);
|
|
2916
3500
|
return $report(_exceptionable2, {
|
|
2917
3501
|
path: _path2,
|
|
2918
3502
|
expected: "(CategoricalTerm | SnpTerm | SingleCellCellTypeTerm)",
|
|
@@ -2923,19 +3507,23 @@ var validBrainImagingRequest = (input) => {
|
|
|
2923
3507
|
if (void 0 !== input3.ranges)
|
|
2924
3508
|
return $vo9(input3, _path2, _exceptionable2);
|
|
2925
3509
|
if (void 0 !== input3.ratio)
|
|
2926
|
-
return $
|
|
2927
|
-
return $vo8(input3, _path2, false) || $
|
|
3510
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3511
|
+
return $vo8(input3, _path2, false) || $vo30(input3, _path2, false) || $vo33(input3, _path2, false);
|
|
2928
3512
|
})();
|
|
2929
3513
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2930
3514
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2931
3515
|
return $vo10(input3, _path2, _exceptionable2);
|
|
2932
3516
|
if ("metaboliteIntensity" === input3.type)
|
|
2933
3517
|
return $vo22(input3, _path2, _exceptionable2);
|
|
2934
|
-
if ("
|
|
3518
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
2935
3519
|
return $vo23(input3, _path2, _exceptionable2);
|
|
2936
|
-
if ("
|
|
3520
|
+
if ("date" === input3.type)
|
|
2937
3521
|
return $vo24(input3, _path2, _exceptionable2);
|
|
2938
|
-
|
|
3522
|
+
if ("ssGSEA" === input3.type)
|
|
3523
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3524
|
+
if ("dnaMethylation" === input3.type)
|
|
3525
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3526
|
+
return $vo21(input3, _path2, false) || $vo20(input3, _path2, false) || $vo28(input3, _path2, false) || $vo27(input3, _path2, false);
|
|
2939
3527
|
})();
|
|
2940
3528
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2941
3529
|
if ("regular-bin" === input3.type)
|
|
@@ -2972,15 +3560,26 @@ var validBrainImagingRequest = (input) => {
|
|
|
2972
3560
|
})();
|
|
2973
3561
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2974
3562
|
if ("gene" === input3.kind)
|
|
2975
|
-
return $
|
|
3563
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
2976
3564
|
if ("coord" === input3.kind)
|
|
2977
|
-
return $
|
|
3565
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
2978
3566
|
return $report(_exceptionable2, {
|
|
2979
3567
|
path: _path2,
|
|
2980
3568
|
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
2981
3569
|
value: input3
|
|
2982
3570
|
});
|
|
2983
3571
|
})();
|
|
3572
|
+
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3573
|
+
if ("numeric" === input3.memberType)
|
|
3574
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3575
|
+
if ("categorical" === input3.memberType)
|
|
3576
|
+
return $vo50(input3, _path2, _exceptionable2);
|
|
3577
|
+
return $report(_exceptionable2, {
|
|
3578
|
+
path: _path2,
|
|
3579
|
+
expected: "(NumericTermCollection | CategoricalTermCollection)",
|
|
3580
|
+
value: input3
|
|
3581
|
+
});
|
|
3582
|
+
})();
|
|
2984
3583
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
2985
3584
|
path: _path + "",
|
|
2986
3585
|
expected: "BrainImagingRequest",
|