@sjcrh/proteinpaint-types 2.128.0 → 2.128.3-bd2a3a1c9.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-YOS2YTCE.js → chunk-24RS7HFO.js} +652 -770
- package/dist/{chunk-VSNV3MLV.js → chunk-6C4DMGK3.js} +408 -494
- package/dist/{chunk-DJCPG2RT.js → chunk-BMHL5ZZJ.js} +1216 -1436
- package/dist/{chunk-LVXO4MLR.js → chunk-CI6OEJNH.js} +744 -862
- package/dist/{chunk-B2DJ3H7H.js → chunk-DJ5QE625.js} +16 -30
- package/dist/chunk-HUMZDPUU.js +322 -0
- package/dist/{chunk-5O422YU6.js → chunk-KHM52S5N.js} +408 -494
- package/dist/{chunk-GZCIY2WK.js → chunk-PX7P2A6A.js} +652 -770
- package/dist/{chunk-537XOM43.js → chunk-RP6RBKKL.js} +652 -770
- package/dist/{chunk-O4RAE6UJ.js → chunk-UXXLPWL2.js} +650 -768
- package/dist/{chunk-7IRM7OKB.js → chunk-WHO7HCNU.js} +408 -494
- package/dist/{chunk-BXPSDGWG.js → chunk-WK4CKVHY.js} +408 -494
- package/dist/{chunk-CJC7ZHSZ.js → chunk-WSL4JPUP.js} +417 -503
- package/dist/{chunk-2S4T3WUF.js → chunk-Y5BVEGR2.js} +1234 -1430
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +1 -1
- package/dist/genesetEnrichment.js +1 -1
- package/dist/index.js +14 -14
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +18 -5
- package/src/routes/gdc.grin2.ts +12 -5
- package/src/routes/genesetEnrichment.ts +40 -5
- package/src/terms/geneVariant.ts +4 -4
- package/src/terms/term.ts +2 -11
- package/dist/chunk-XZAH6P4D.js +0 -130
|
@@ -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 && $io1(input3.divideByTW)) && (void 0 === input3.overlayTW || "object" === typeof input3.overlayTW && null !== input3.overlayTW && $io1(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 && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu3(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $
|
|
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 && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu3(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term));
|
|
26
26
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
27
27
|
const value = input3[key];
|
|
28
28
|
if (void 0 === value)
|
|
@@ -47,10 +47,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
47
47
|
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
48
48
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
49
49
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
50
|
-
const $io12 = (input3) => "
|
|
51
|
-
const $io13 = (input3) =>
|
|
52
|
-
const $io14 = (input3) =>
|
|
53
|
-
const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
50
|
+
const $io12 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
51
|
+
const $io13 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
|
|
52
|
+
const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io17(elem)));
|
|
53
|
+
const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
|
|
54
54
|
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
55
55
|
const value = input3[key];
|
|
56
56
|
if (void 0 === value)
|
|
@@ -61,31 +61,28 @@ var validBrainImagingRequest = (input) => {
|
|
|
61
61
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io17(value);
|
|
62
62
|
return true;
|
|
63
63
|
});
|
|
64
|
-
const $io17 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $
|
|
65
|
-
const $io18 = (input3) =>
|
|
66
|
-
const $io19 = (input3) => "
|
|
67
|
-
const $io20 = (input3) =>
|
|
68
|
-
const $io21 = (input3) =>
|
|
69
|
-
const $io22 = (input3) => "
|
|
70
|
-
const $io23 = (input3) => (void 0 === input3.
|
|
71
|
-
const $io24 = (input3) => "
|
|
72
|
-
const $io25 = (input3) => "
|
|
73
|
-
const $io26 = (input3) => (void 0 === input3.
|
|
74
|
-
const $io27 = (input3) => "
|
|
75
|
-
const $io28 = (input3) => "object" === typeof input3
|
|
76
|
-
const $io29 = (input3) =>
|
|
77
|
-
const $io30 = (input3) =>
|
|
78
|
-
const $io31 = (input3) => (void 0 === input3.
|
|
79
|
-
const $io32 = (input3) => "
|
|
80
|
-
const $io33 = (input3) =>
|
|
81
|
-
const $io34 = (input3) => "string" === typeof input3.
|
|
82
|
-
const $io35 = (input3) => "string" === typeof input3.
|
|
83
|
-
const $io36 = (input3) => (void 0 === input3.
|
|
84
|
-
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
85
|
-
const $io38 = (input3) => "
|
|
86
|
-
const $io39 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io14(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io40(elem)));
|
|
87
|
-
const $io40 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
88
|
-
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io22(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
|
|
64
|
+
const $io17 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter));
|
|
65
|
+
const $io18 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)));
|
|
66
|
+
const $io19 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
67
|
+
const $io20 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
68
|
+
const $io21 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io22(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
69
|
+
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io29(input3.continuousColorScale));
|
|
70
|
+
const $io23 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
71
|
+
const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
72
|
+
const $io25 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
73
|
+
const $io26 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
74
|
+
const $io27 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
75
|
+
const $io28 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
76
|
+
const $io29 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
77
|
+
const $io30 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
78
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(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 && $io33(elem)));
|
|
79
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values));
|
|
80
|
+
const $io33 = (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;
|
|
81
|
+
const $io34 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io35(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
82
|
+
const $io35 = (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 && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values));
|
|
83
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
84
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
85
|
+
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
89
86
|
const $iu0 = (input3) => (() => {
|
|
90
87
|
if ("string" === typeof input3.type)
|
|
91
88
|
return $io9(input3);
|
|
@@ -95,17 +92,17 @@ var validBrainImagingRequest = (input) => {
|
|
|
95
92
|
})();
|
|
96
93
|
const $iu1 = (input3) => (() => {
|
|
97
94
|
if ("tvslst" === input3.type)
|
|
98
|
-
return $
|
|
95
|
+
return $io12(input3);
|
|
99
96
|
if ("tvs" === input3.type)
|
|
100
|
-
return $
|
|
97
|
+
return $io13(input3);
|
|
101
98
|
return false;
|
|
102
99
|
})();
|
|
103
100
|
const $iu2 = (input3) => (() => {
|
|
104
101
|
if (true === input3.startunbounded)
|
|
105
|
-
return $
|
|
102
|
+
return $io25(input3);
|
|
106
103
|
if (true === input3.stopunbounded)
|
|
107
|
-
return $
|
|
108
|
-
return $
|
|
104
|
+
return $io27(input3);
|
|
105
|
+
return $io26(input3);
|
|
109
106
|
})();
|
|
110
107
|
const $iu3 = (input3) => (() => {
|
|
111
108
|
if ("values" === input3.type)
|
|
@@ -117,49 +114,49 @@ var validBrainImagingRequest = (input) => {
|
|
|
117
114
|
return $io5(input3);
|
|
118
115
|
})();
|
|
119
116
|
const $iu4 = (input3) => (() => {
|
|
120
|
-
if ("gene" === input3.kind)
|
|
121
|
-
return $io15(input3);
|
|
122
|
-
if ("coord" === input3.kind)
|
|
123
|
-
return $io41(input3);
|
|
124
|
-
return false;
|
|
125
|
-
})();
|
|
126
|
-
const $iu5 = (input3) => (() => {
|
|
127
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io24(elem)))
|
|
128
|
-
return $io23(input3);
|
|
129
|
-
return $io25(input3);
|
|
130
|
-
})();
|
|
131
|
-
const $iu6 = (input3) => (() => {
|
|
132
117
|
if (void 0 !== input3.ranges)
|
|
133
|
-
return $
|
|
118
|
+
return $io21(input3);
|
|
134
119
|
return (() => {
|
|
135
|
-
if ($
|
|
136
|
-
return $
|
|
137
|
-
if ($
|
|
138
|
-
return $
|
|
139
|
-
if ($
|
|
140
|
-
return $
|
|
120
|
+
if ($io14(input3))
|
|
121
|
+
return $io14(input3);
|
|
122
|
+
if ($io31(input3))
|
|
123
|
+
return $io31(input3);
|
|
124
|
+
if ($io34(input3))
|
|
125
|
+
return $io34(input3);
|
|
141
126
|
return false;
|
|
142
127
|
})();
|
|
143
128
|
})();
|
|
144
|
-
const $
|
|
129
|
+
const $iu5 = (input3) => (() => {
|
|
130
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)))
|
|
131
|
+
return $io18(input3);
|
|
132
|
+
return $io20(input3);
|
|
133
|
+
})();
|
|
134
|
+
const $iu6 = (input3) => (() => {
|
|
145
135
|
if ("regular-bin" === input3.type)
|
|
146
|
-
return $
|
|
136
|
+
return $io24(input3);
|
|
147
137
|
if ("custom-bin" === input3.type)
|
|
148
|
-
return $
|
|
138
|
+
return $io28(input3);
|
|
149
139
|
return false;
|
|
150
140
|
})();
|
|
151
|
-
const $
|
|
141
|
+
const $iu7 = (input3) => (() => {
|
|
152
142
|
if (true === input3.startunbounded)
|
|
153
|
-
return $
|
|
143
|
+
return $io25(input3);
|
|
154
144
|
if (void 0 !== input3.start)
|
|
155
|
-
return $
|
|
145
|
+
return $io26(input3);
|
|
156
146
|
return false;
|
|
157
147
|
})();
|
|
158
|
-
const $
|
|
148
|
+
const $iu8 = (input3) => (() => {
|
|
159
149
|
if (void 0 !== input3.stop)
|
|
160
|
-
return $
|
|
150
|
+
return $io26(input3);
|
|
161
151
|
if (true === input3.stopunbounded)
|
|
162
|
-
return $
|
|
152
|
+
return $io27(input3);
|
|
153
|
+
return false;
|
|
154
|
+
})();
|
|
155
|
+
const $iu9 = (input3) => (() => {
|
|
156
|
+
if ("gene" === input3.kind)
|
|
157
|
+
return $io36(input3);
|
|
158
|
+
if ("coord" === input3.kind)
|
|
159
|
+
return $io37(input3);
|
|
163
160
|
return false;
|
|
164
161
|
})();
|
|
165
162
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -273,7 +270,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
273
270
|
path: _path2 + ".term",
|
|
274
271
|
expected: "CategoricalTerm",
|
|
275
272
|
value: input3.term
|
|
276
|
-
})) && $
|
|
273
|
+
})) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
277
274
|
path: _path2 + ".term",
|
|
278
275
|
expected: "CategoricalTerm",
|
|
279
276
|
value: input3.term
|
|
@@ -491,114 +488,98 @@ var validBrainImagingRequest = (input) => {
|
|
|
491
488
|
value: input3.type
|
|
492
489
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
493
490
|
path: _path2 + ".filter",
|
|
494
|
-
expected: "
|
|
491
|
+
expected: "Filter",
|
|
495
492
|
value: input3.filter
|
|
496
493
|
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
497
494
|
path: _path2 + ".filter",
|
|
498
|
-
expected: "
|
|
495
|
+
expected: "Filter",
|
|
499
496
|
value: input3.filter
|
|
500
497
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
501
498
|
path: _path2 + ".uncomputable",
|
|
502
499
|
expected: "boolean",
|
|
503
500
|
value: input3.uncomputable
|
|
504
501
|
})].every((flag) => flag);
|
|
505
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => [
|
|
506
|
-
path: _path2 + ".
|
|
507
|
-
expected: "
|
|
508
|
-
value: input3.
|
|
509
|
-
})
|
|
510
|
-
path: _path2 + "
|
|
511
|
-
expected: "
|
|
512
|
-
value: input3
|
|
513
|
-
}),
|
|
514
|
-
path: _path2 + ".
|
|
515
|
-
expected: "Array<DtTerm>",
|
|
516
|
-
value: input3.terms
|
|
517
|
-
})) && input3.terms.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
518
|
-
path: _path2 + ".terms[" + _index5 + "]",
|
|
519
|
-
expected: "DtTerm",
|
|
520
|
-
value: elem
|
|
521
|
-
})) && $vo14(elem, _path2 + ".terms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
522
|
-
path: _path2 + ".terms[" + _index5 + "]",
|
|
523
|
-
expected: "DtTerm",
|
|
524
|
-
value: elem
|
|
525
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
526
|
-
path: _path2 + ".terms",
|
|
527
|
-
expected: "Array<DtTerm>",
|
|
528
|
-
value: input3.terms
|
|
529
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
530
|
-
path: _path2 + ".active",
|
|
531
|
-
expected: "Filter",
|
|
532
|
-
value: input3.active
|
|
533
|
-
})) && $vo18(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
534
|
-
path: _path2 + ".active",
|
|
535
|
-
expected: "Filter",
|
|
536
|
-
value: input3.active
|
|
537
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
538
|
-
path: _path2 + ".group",
|
|
539
|
-
expected: "number",
|
|
540
|
-
value: input3.group
|
|
541
|
-
})].every((flag) => flag);
|
|
542
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
543
|
-
path: _path2 + ".joinWith",
|
|
544
|
-
expected: "Array<string>",
|
|
545
|
-
value: input3.joinWith
|
|
546
|
-
})) && input3.joinWith.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
547
|
-
path: _path2 + ".joinWith[" + _index6 + "]",
|
|
502
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
503
|
+
path: _path2 + ".type",
|
|
504
|
+
expected: '"tvslst"',
|
|
505
|
+
value: input3.type
|
|
506
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
507
|
+
path: _path2 + '["in"]',
|
|
508
|
+
expected: "boolean",
|
|
509
|
+
value: input3["in"]
|
|
510
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
511
|
+
path: _path2 + ".join",
|
|
548
512
|
expected: "string",
|
|
513
|
+
value: input3.join
|
|
514
|
+
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
515
|
+
path: _path2 + ".tag",
|
|
516
|
+
expected: "(string | undefined)",
|
|
517
|
+
value: input3.tag
|
|
518
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
519
|
+
path: _path2 + ".lst",
|
|
520
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
521
|
+
value: input3.lst
|
|
522
|
+
})) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
523
|
+
path: _path2 + ".lst[" + _index5 + "]",
|
|
524
|
+
expected: "(Filter | __type.o2)",
|
|
525
|
+
value: elem
|
|
526
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
527
|
+
path: _path2 + ".lst[" + _index5 + "]",
|
|
528
|
+
expected: "(Filter | __type.o2)",
|
|
549
529
|
value: elem
|
|
550
530
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
551
|
-
path: _path2 + ".
|
|
552
|
-
expected:
|
|
553
|
-
value: input3.
|
|
531
|
+
path: _path2 + ".lst",
|
|
532
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
533
|
+
value: input3.lst
|
|
554
534
|
})].every((flag) => flag);
|
|
555
|
-
const $
|
|
556
|
-
path: _path2 + ".id",
|
|
557
|
-
expected: "string",
|
|
558
|
-
value: input3.id
|
|
559
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
560
|
-
path: _path2 + ".query",
|
|
561
|
-
expected: "string",
|
|
562
|
-
value: input3.query
|
|
563
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
564
|
-
path: _path2 + ".name",
|
|
565
|
-
expected: "string",
|
|
566
|
-
value: input3.name
|
|
567
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
568
|
-
path: _path2 + ".name_noOrigin",
|
|
569
|
-
expected: "string",
|
|
570
|
-
value: input3.name_noOrigin
|
|
571
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
572
|
-
path: _path2 + ".geneVariantTerm",
|
|
573
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
574
|
-
value: input3.geneVariantTerm
|
|
575
|
-
})) && $vu4(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
576
|
-
path: _path2 + ".geneVariantTerm",
|
|
577
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
578
|
-
value: input3.geneVariantTerm
|
|
579
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
580
|
-
path: _path2 + ".isleaf",
|
|
581
|
-
expected: "boolean",
|
|
582
|
-
value: input3.isleaf
|
|
583
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
535
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
584
536
|
path: _path2 + ".type",
|
|
585
|
-
expected: "
|
|
537
|
+
expected: '"tvs"',
|
|
586
538
|
value: input3.type
|
|
587
|
-
}), "
|
|
588
|
-
path: _path2 + ".
|
|
589
|
-
expected: "
|
|
590
|
-
value: input3.
|
|
591
|
-
})
|
|
592
|
-
path: _path2 + ".
|
|
539
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
540
|
+
path: _path2 + ".tvs",
|
|
541
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
542
|
+
value: input3.tvs
|
|
543
|
+
})) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
544
|
+
path: _path2 + ".tvs",
|
|
545
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
546
|
+
value: input3.tvs
|
|
547
|
+
})].every((flag) => flag);
|
|
548
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
549
|
+
path: _path2 + ".join",
|
|
593
550
|
expected: "(string | undefined)",
|
|
594
|
-
value: input3.
|
|
595
|
-
}),
|
|
551
|
+
value: input3.join
|
|
552
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
553
|
+
path: _path2 + ".isnot",
|
|
554
|
+
expected: "(boolean | undefined)",
|
|
555
|
+
value: input3.isnot
|
|
556
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
557
|
+
path: _path2 + ".term",
|
|
558
|
+
expected: "CategoricalTerm",
|
|
559
|
+
value: input3.term
|
|
560
|
+
})) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
561
|
+
path: _path2 + ".term",
|
|
562
|
+
expected: "CategoricalTerm",
|
|
563
|
+
value: input3.term
|
|
564
|
+
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
565
|
+
path: _path2 + ".groupset_label",
|
|
566
|
+
expected: "(string | undefined)",
|
|
567
|
+
value: input3.groupset_label
|
|
568
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
596
569
|
path: _path2 + ".values",
|
|
597
|
-
expected: "
|
|
570
|
+
expected: "Array<BaseValue>",
|
|
598
571
|
value: input3.values
|
|
599
|
-
})) &&
|
|
572
|
+
})) && input3.values.map((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
573
|
+
path: _path2 + ".values[" + _index6 + "]",
|
|
574
|
+
expected: "BaseValue",
|
|
575
|
+
value: elem
|
|
576
|
+
})) && $vo17(elem, _path2 + ".values[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
577
|
+
path: _path2 + ".values[" + _index6 + "]",
|
|
578
|
+
expected: "BaseValue",
|
|
579
|
+
value: elem
|
|
580
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
600
581
|
path: _path2 + ".values",
|
|
601
|
-
expected: "
|
|
582
|
+
expected: "Array<BaseValue>",
|
|
602
583
|
value: input3.values
|
|
603
584
|
})].every((flag) => flag);
|
|
604
585
|
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -609,9 +590,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
609
590
|
path: _path2 + ".name",
|
|
610
591
|
expected: "string",
|
|
611
592
|
value: input3.name
|
|
612
|
-
}), "
|
|
593
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
613
594
|
path: _path2 + ".type",
|
|
614
|
-
expected: '"
|
|
595
|
+
expected: '"categorical"',
|
|
615
596
|
value: input3.type
|
|
616
597
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
617
598
|
path: _path2 + ".child_types",
|
|
@@ -653,41 +634,13 @@ var validBrainImagingRequest = (input) => {
|
|
|
653
634
|
path: _path2 + ".values",
|
|
654
635
|
expected: "(TermValues | undefined)",
|
|
655
636
|
value: input3.values
|
|
656
|
-
}),
|
|
657
|
-
path: _path2 + ".filter",
|
|
658
|
-
expected: "(TermFilter | undefined)",
|
|
659
|
-
value: input3.filter
|
|
660
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
661
|
-
path: _path2 + ".filter",
|
|
662
|
-
expected: "(TermFilter | undefined)",
|
|
663
|
-
value: input3.filter
|
|
664
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
665
|
-
path: _path2 + ".kind",
|
|
666
|
-
expected: '"gene"',
|
|
667
|
-
value: input3.kind
|
|
668
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
669
|
-
path: _path2 + ".gene",
|
|
670
|
-
expected: "string",
|
|
671
|
-
value: input3.gene
|
|
672
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
673
|
-
path: _path2 + ".chr",
|
|
674
|
-
expected: "(string | undefined)",
|
|
675
|
-
value: input3.chr
|
|
676
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
677
|
-
path: _path2 + ".start",
|
|
678
|
-
expected: "(number | undefined)",
|
|
679
|
-
value: input3.start
|
|
680
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
681
|
-
path: _path2 + ".stop",
|
|
682
|
-
expected: "(number | undefined)",
|
|
683
|
-
value: input3.stop
|
|
684
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
637
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
685
638
|
path: _path2 + ".groupsetting",
|
|
686
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
639
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
687
640
|
value: input3.groupsetting
|
|
688
641
|
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
689
642
|
path: _path2 + ".groupsetting",
|
|
690
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
643
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
691
644
|
value: input3.groupsetting
|
|
692
645
|
})].every((flag) => flag);
|
|
693
646
|
const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -744,189 +697,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
744
697
|
path: _path2 + ".filter",
|
|
745
698
|
expected: "(Filter | undefined)",
|
|
746
699
|
value: input3.filter
|
|
747
|
-
})) && $
|
|
700
|
+
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
748
701
|
path: _path2 + ".filter",
|
|
749
702
|
expected: "(Filter | undefined)",
|
|
750
703
|
value: input3.filter
|
|
751
704
|
})].every((flag) => flag);
|
|
752
|
-
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["
|
|
753
|
-
path: _path2 + ".type",
|
|
754
|
-
expected: '"tvslst"',
|
|
755
|
-
value: input3.type
|
|
756
|
-
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
757
|
-
path: _path2 + '["in"]',
|
|
758
|
-
expected: "boolean",
|
|
759
|
-
value: input3["in"]
|
|
760
|
-
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
761
|
-
path: _path2 + ".join",
|
|
762
|
-
expected: "string",
|
|
763
|
-
value: input3.join
|
|
764
|
-
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
765
|
-
path: _path2 + ".tag",
|
|
766
|
-
expected: "(string | undefined)",
|
|
767
|
-
value: input3.tag
|
|
768
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
769
|
-
path: _path2 + ".lst",
|
|
770
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
771
|
-
value: input3.lst
|
|
772
|
-
})) && input3.lst.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
773
|
-
path: _path2 + ".lst[" + _index9 + "]",
|
|
774
|
-
expected: "(Filter | __type.o3)",
|
|
775
|
-
value: elem
|
|
776
|
-
})) && $vu1(elem, _path2 + ".lst[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
777
|
-
path: _path2 + ".lst[" + _index9 + "]",
|
|
778
|
-
expected: "(Filter | __type.o3)",
|
|
779
|
-
value: elem
|
|
780
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
781
|
-
path: _path2 + ".lst",
|
|
782
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
783
|
-
value: input3.lst
|
|
784
|
-
})].every((flag) => flag);
|
|
785
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
786
|
-
path: _path2 + ".type",
|
|
787
|
-
expected: '"tvs"',
|
|
788
|
-
value: input3.type
|
|
789
|
-
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
790
|
-
path: _path2 + ".tvs",
|
|
791
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
792
|
-
value: input3.tvs
|
|
793
|
-
})) && $vu6(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
794
|
-
path: _path2 + ".tvs",
|
|
795
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
796
|
-
value: input3.tvs
|
|
797
|
-
})].every((flag) => flag);
|
|
798
|
-
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
799
|
-
path: _path2 + ".join",
|
|
800
|
-
expected: "(string | undefined)",
|
|
801
|
-
value: input3.join
|
|
802
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
803
|
-
path: _path2 + ".isnot",
|
|
804
|
-
expected: "(boolean | undefined)",
|
|
805
|
-
value: input3.isnot
|
|
806
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
807
|
-
path: _path2 + ".term",
|
|
808
|
-
expected: "CategoricalTerm",
|
|
809
|
-
value: input3.term
|
|
810
|
-
})) && $vo21(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
811
|
-
path: _path2 + ".term",
|
|
812
|
-
expected: "CategoricalTerm",
|
|
813
|
-
value: input3.term
|
|
814
|
-
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
815
|
-
path: _path2 + ".groupset_label",
|
|
816
|
-
expected: "(string | undefined)",
|
|
817
|
-
value: input3.groupset_label
|
|
818
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
819
|
-
path: _path2 + ".values",
|
|
820
|
-
expected: "Array<BaseValue>",
|
|
821
|
-
value: input3.values
|
|
822
|
-
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
823
|
-
path: _path2 + ".values[" + _index10 + "]",
|
|
824
|
-
expected: "BaseValue",
|
|
825
|
-
value: elem
|
|
826
|
-
})) && $vo17(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
827
|
-
path: _path2 + ".values[" + _index10 + "]",
|
|
828
|
-
expected: "BaseValue",
|
|
829
|
-
value: elem
|
|
830
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
831
|
-
path: _path2 + ".values",
|
|
832
|
-
expected: "Array<BaseValue>",
|
|
833
|
-
value: input3.values
|
|
834
|
-
})].every((flag) => flag);
|
|
835
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
836
|
-
path: _path2 + ".id",
|
|
837
|
-
expected: "string",
|
|
838
|
-
value: input3.id
|
|
839
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
840
|
-
path: _path2 + ".name",
|
|
841
|
-
expected: "string",
|
|
842
|
-
value: input3.name
|
|
843
|
-
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
844
|
-
path: _path2 + ".type",
|
|
845
|
-
expected: '"categorical"',
|
|
846
|
-
value: input3.type
|
|
847
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
848
|
-
path: _path2 + ".child_types",
|
|
849
|
-
expected: "(Array<string> | undefined)",
|
|
850
|
-
value: input3.child_types
|
|
851
|
-
})) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
852
|
-
path: _path2 + ".child_types[" + _index11 + "]",
|
|
853
|
-
expected: "string",
|
|
854
|
-
value: elem
|
|
855
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
856
|
-
path: _path2 + ".child_types",
|
|
857
|
-
expected: "(Array<string> | undefined)",
|
|
858
|
-
value: input3.child_types
|
|
859
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
860
|
-
path: _path2 + ".hashtmldetail",
|
|
861
|
-
expected: "(boolean | undefined)",
|
|
862
|
-
value: input3.hashtmldetail
|
|
863
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
864
|
-
path: _path2 + ".included_types",
|
|
865
|
-
expected: "(Array<string> | undefined)",
|
|
866
|
-
value: input3.included_types
|
|
867
|
-
})) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
868
|
-
path: _path2 + ".included_types[" + _index12 + "]",
|
|
869
|
-
expected: "string",
|
|
870
|
-
value: elem
|
|
871
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
872
|
-
path: _path2 + ".included_types",
|
|
873
|
-
expected: "(Array<string> | undefined)",
|
|
874
|
-
value: input3.included_types
|
|
875
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
876
|
-
path: _path2 + ".isleaf",
|
|
877
|
-
expected: "(boolean | undefined)",
|
|
878
|
-
value: input3.isleaf
|
|
879
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
880
|
-
path: _path2 + ".values",
|
|
881
|
-
expected: "(TermValues | undefined)",
|
|
882
|
-
value: input3.values
|
|
883
|
-
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
884
|
-
path: _path2 + ".values",
|
|
885
|
-
expected: "(TermValues | undefined)",
|
|
886
|
-
value: input3.values
|
|
887
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
888
|
-
path: _path2 + ".filter",
|
|
889
|
-
expected: "(TermFilter | undefined)",
|
|
890
|
-
value: input3.filter
|
|
891
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
892
|
-
path: _path2 + ".filter",
|
|
893
|
-
expected: "(TermFilter | undefined)",
|
|
894
|
-
value: input3.filter
|
|
895
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
896
|
-
path: _path2 + ".groupsetting",
|
|
897
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
898
|
-
value: input3.groupsetting
|
|
899
|
-
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
900
|
-
path: _path2 + ".groupsetting",
|
|
901
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
902
|
-
value: input3.groupsetting
|
|
903
|
-
})].every((flag) => flag);
|
|
904
|
-
const $vo22 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
905
|
-
path: _path2 + ".opts",
|
|
906
|
-
expected: "__type.o2",
|
|
907
|
-
value: input3.opts
|
|
908
|
-
})) && $vo13(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
909
|
-
path: _path2 + ".opts",
|
|
910
|
-
expected: "__type.o2",
|
|
911
|
-
value: input3.opts
|
|
912
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
913
|
-
path: _path2 + ".terms",
|
|
914
|
-
expected: "Array<DtTerm>",
|
|
915
|
-
value: input3.terms
|
|
916
|
-
})) && input3.terms.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
917
|
-
path: _path2 + ".terms[" + _index13 + "]",
|
|
918
|
-
expected: "DtTerm",
|
|
919
|
-
value: elem
|
|
920
|
-
})) && $vo14(elem, _path2 + ".terms[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
921
|
-
path: _path2 + ".terms[" + _index13 + "]",
|
|
922
|
-
expected: "DtTerm",
|
|
923
|
-
value: elem
|
|
924
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
925
|
-
path: _path2 + ".terms",
|
|
926
|
-
expected: "Array<DtTerm>",
|
|
927
|
-
value: input3.terms
|
|
928
|
-
})].every((flag) => flag);
|
|
929
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
705
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
930
706
|
path: _path2 + ".disabled",
|
|
931
707
|
expected: "(boolean | undefined)",
|
|
932
708
|
value: input3.disabled
|
|
@@ -934,12 +710,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
934
710
|
path: _path2 + ".lst",
|
|
935
711
|
expected: "Array<Groupset>",
|
|
936
712
|
value: input3.lst
|
|
937
|
-
})) && input3.lst.map((elem,
|
|
938
|
-
path: _path2 + ".lst[" +
|
|
713
|
+
})) && input3.lst.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
714
|
+
path: _path2 + ".lst[" + _index9 + "]",
|
|
939
715
|
expected: "Groupset",
|
|
940
716
|
value: elem
|
|
941
|
-
})) && $
|
|
942
|
-
path: _path2 + ".lst[" +
|
|
717
|
+
})) && $vo19(elem, _path2 + ".lst[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
718
|
+
path: _path2 + ".lst[" + _index9 + "]",
|
|
943
719
|
expected: "Groupset",
|
|
944
720
|
value: elem
|
|
945
721
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -947,7 +723,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
947
723
|
expected: "Array<Groupset>",
|
|
948
724
|
value: input3.lst
|
|
949
725
|
})].every((flag) => flag);
|
|
950
|
-
const $
|
|
726
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
951
727
|
path: _path2 + ".name",
|
|
952
728
|
expected: "string",
|
|
953
729
|
value: input3.name
|
|
@@ -967,12 +743,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
967
743
|
path: _path2 + ".groups",
|
|
968
744
|
expected: "Array<GroupEntry>",
|
|
969
745
|
value: input3.groups
|
|
970
|
-
})) && input3.groups.map((elem,
|
|
971
|
-
path: _path2 + ".groups[" +
|
|
746
|
+
})) && input3.groups.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
747
|
+
path: _path2 + ".groups[" + _index10 + "]",
|
|
972
748
|
expected: "(FilterGroup | ValuesGroup)",
|
|
973
749
|
value: elem
|
|
974
|
-
})) && $vu0(elem, _path2 + ".groups[" +
|
|
975
|
-
path: _path2 + ".groups[" +
|
|
750
|
+
})) && $vu0(elem, _path2 + ".groups[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
751
|
+
path: _path2 + ".groups[" + _index10 + "]",
|
|
976
752
|
expected: "(FilterGroup | ValuesGroup)",
|
|
977
753
|
value: elem
|
|
978
754
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -980,7 +756,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
980
756
|
expected: "Array<GroupEntry>",
|
|
981
757
|
value: input3.groups
|
|
982
758
|
})].every((flag) => flag);
|
|
983
|
-
const $
|
|
759
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
984
760
|
path: _path2 + ".disabled",
|
|
985
761
|
expected: "boolean",
|
|
986
762
|
value: input3.disabled
|
|
@@ -997,7 +773,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
997
773
|
expected: "([] | undefined)",
|
|
998
774
|
value: input3.lst
|
|
999
775
|
})].every((flag) => flag);
|
|
1000
|
-
const $
|
|
776
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1001
777
|
path: _path2 + ".join",
|
|
1002
778
|
expected: "(string | undefined)",
|
|
1003
779
|
value: input3.join
|
|
@@ -1009,7 +785,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1009
785
|
path: _path2 + ".term",
|
|
1010
786
|
expected: "NumericTerm",
|
|
1011
787
|
value: input3.term
|
|
1012
|
-
})) && $
|
|
788
|
+
})) && $vo22(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1013
789
|
path: _path2 + ".term",
|
|
1014
790
|
expected: "NumericTerm",
|
|
1015
791
|
value: input3.term
|
|
@@ -1017,12 +793,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1017
793
|
path: _path2 + ".ranges",
|
|
1018
794
|
expected: "Array<NumericBin>",
|
|
1019
795
|
value: input3.ranges
|
|
1020
|
-
})) && input3.ranges.map((elem,
|
|
1021
|
-
path: _path2 + ".ranges[" +
|
|
796
|
+
})) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
797
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
1022
798
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1023
799
|
value: elem
|
|
1024
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
1025
|
-
path: _path2 + ".ranges[" +
|
|
800
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
801
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
1026
802
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1027
803
|
value: elem
|
|
1028
804
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1033,20 +809,20 @@ var validBrainImagingRequest = (input) => {
|
|
|
1033
809
|
path: _path2 + ".values",
|
|
1034
810
|
expected: "Array<__type>.o1",
|
|
1035
811
|
value: input3.values
|
|
1036
|
-
})) && input3.values.map((elem,
|
|
1037
|
-
path: _path2 + ".values[" +
|
|
1038
|
-
expected: "__type.
|
|
812
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
813
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
814
|
+
expected: "__type.o5",
|
|
1039
815
|
value: elem
|
|
1040
|
-
})) && $
|
|
1041
|
-
path: _path2 + ".values[" +
|
|
1042
|
-
expected: "__type.
|
|
816
|
+
})) && $vo30(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
817
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
818
|
+
expected: "__type.o5",
|
|
1043
819
|
value: elem
|
|
1044
820
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1045
821
|
path: _path2 + ".values",
|
|
1046
822
|
expected: "Array<__type>.o1",
|
|
1047
823
|
value: input3.values
|
|
1048
824
|
})].every((flag) => flag);
|
|
1049
|
-
const $
|
|
825
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1050
826
|
path: _path2 + ".id",
|
|
1051
827
|
expected: "string",
|
|
1052
828
|
value: input3.id
|
|
@@ -1062,8 +838,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1062
838
|
path: _path2 + ".child_types",
|
|
1063
839
|
expected: "(Array<string> | undefined)",
|
|
1064
840
|
value: input3.child_types
|
|
1065
|
-
})) && input3.child_types.map((elem,
|
|
1066
|
-
path: _path2 + ".child_types[" +
|
|
841
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
842
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
1067
843
|
expected: "string",
|
|
1068
844
|
value: elem
|
|
1069
845
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1078,8 +854,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1078
854
|
path: _path2 + ".included_types",
|
|
1079
855
|
expected: "(Array<string> | undefined)",
|
|
1080
856
|
value: input3.included_types
|
|
1081
|
-
})) && input3.included_types.map((elem,
|
|
1082
|
-
path: _path2 + ".included_types[" +
|
|
857
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
858
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
1083
859
|
expected: "string",
|
|
1084
860
|
value: elem
|
|
1085
861
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1098,19 +874,11 @@ var validBrainImagingRequest = (input) => {
|
|
|
1098
874
|
path: _path2 + ".values",
|
|
1099
875
|
expected: "(TermValues | undefined)",
|
|
1100
876
|
value: input3.values
|
|
1101
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1102
|
-
path: _path2 + ".filter",
|
|
1103
|
-
expected: "(TermFilter | undefined)",
|
|
1104
|
-
value: input3.filter
|
|
1105
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1106
|
-
path: _path2 + ".filter",
|
|
1107
|
-
expected: "(TermFilter | undefined)",
|
|
1108
|
-
value: input3.filter
|
|
1109
877
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1110
878
|
path: _path2 + ".bins",
|
|
1111
879
|
expected: "PresetNumericBins",
|
|
1112
880
|
value: input3.bins
|
|
1113
|
-
})) && $
|
|
881
|
+
})) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1114
882
|
path: _path2 + ".bins",
|
|
1115
883
|
expected: "PresetNumericBins",
|
|
1116
884
|
value: input3.bins
|
|
@@ -1120,18 +888,18 @@ var validBrainImagingRequest = (input) => {
|
|
|
1120
888
|
value: input3.unit
|
|
1121
889
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1122
890
|
path: _path2 + ".continuousColorScale",
|
|
1123
|
-
expected: "(__type.
|
|
891
|
+
expected: "(__type.o4 | undefined)",
|
|
1124
892
|
value: input3.continuousColorScale
|
|
1125
|
-
})) && $
|
|
893
|
+
})) && $vo29(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1126
894
|
path: _path2 + ".continuousColorScale",
|
|
1127
|
-
expected: "(__type.
|
|
895
|
+
expected: "(__type.o4 | undefined)",
|
|
1128
896
|
value: input3.continuousColorScale
|
|
1129
897
|
})].every((flag) => flag);
|
|
1130
|
-
const $
|
|
898
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
1131
899
|
path: _path2 + '["default"]',
|
|
1132
900
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1133
901
|
value: input3["default"]
|
|
1134
|
-
})) && $
|
|
902
|
+
})) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
1135
903
|
path: _path2 + '["default"]',
|
|
1136
904
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1137
905
|
value: input3["default"]
|
|
@@ -1139,7 +907,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1139
907
|
path: _path2 + ".less",
|
|
1140
908
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1141
909
|
value: input3.less
|
|
1142
|
-
})) && $
|
|
910
|
+
})) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
1143
911
|
path: _path2 + ".less",
|
|
1144
912
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1145
913
|
value: input3.less
|
|
@@ -1164,7 +932,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1164
932
|
expected: "(number | undefined)",
|
|
1165
933
|
value: input3.max
|
|
1166
934
|
})].every((flag) => flag);
|
|
1167
|
-
const $
|
|
935
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1168
936
|
path: _path2 + ".hiddenValues",
|
|
1169
937
|
expected: "(HiddenValues | undefined)",
|
|
1170
938
|
value: input3.hiddenValues
|
|
@@ -1200,7 +968,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1200
968
|
path: _path2 + ".first_bin",
|
|
1201
969
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1202
970
|
value: input3.first_bin
|
|
1203
|
-
})) && $
|
|
971
|
+
})) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1204
972
|
path: _path2 + ".first_bin",
|
|
1205
973
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1206
974
|
value: input3.first_bin
|
|
@@ -1208,7 +976,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1208
976
|
path: _path2 + ".last_bin",
|
|
1209
977
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1210
978
|
value: input3.last_bin
|
|
1211
|
-
})) && $
|
|
979
|
+
})) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1212
980
|
path: _path2 + ".last_bin",
|
|
1213
981
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1214
982
|
value: input3.last_bin
|
|
@@ -1217,7 +985,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1217
985
|
expected: "(number | undefined)",
|
|
1218
986
|
value: input3.label_offset
|
|
1219
987
|
})].every((flag) => flag);
|
|
1220
|
-
const $
|
|
988
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1221
989
|
path: _path2 + ".startunbounded",
|
|
1222
990
|
expected: "true",
|
|
1223
991
|
value: input3.startunbounded
|
|
@@ -1242,7 +1010,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1242
1010
|
expected: "(string | undefined)",
|
|
1243
1011
|
value: input3.label
|
|
1244
1012
|
})].every((flag) => flag);
|
|
1245
|
-
const $
|
|
1013
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1246
1014
|
path: _path2 + ".startunbounded",
|
|
1247
1015
|
expected: "(false | undefined)",
|
|
1248
1016
|
value: input3.startunbounded
|
|
@@ -1271,7 +1039,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1271
1039
|
expected: "(string | undefined)",
|
|
1272
1040
|
value: input3.label
|
|
1273
1041
|
})].every((flag) => flag);
|
|
1274
|
-
const $
|
|
1042
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1275
1043
|
path: _path2 + ".start",
|
|
1276
1044
|
expected: "number",
|
|
1277
1045
|
value: input3.start
|
|
@@ -1296,7 +1064,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1296
1064
|
expected: "(string | undefined)",
|
|
1297
1065
|
value: input3.label
|
|
1298
1066
|
})].every((flag) => flag);
|
|
1299
|
-
const $
|
|
1067
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1300
1068
|
path: _path2 + ".hiddenValues",
|
|
1301
1069
|
expected: "(HiddenValues | undefined)",
|
|
1302
1070
|
value: input3.hiddenValues
|
|
@@ -1342,12 +1110,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1342
1110
|
path: _path2 + ".lst",
|
|
1343
1111
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1344
1112
|
value: input3.lst.slice(1)
|
|
1345
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1346
|
-
path: _path2 + ".lst[" + (1 +
|
|
1113
|
+
})) && input3.lst.slice(1).map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1114
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
1347
1115
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1348
1116
|
value: elem
|
|
1349
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1350
|
-
path: _path2 + ".lst[" + (1 +
|
|
1117
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index15) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1118
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
1351
1119
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1352
1120
|
value: elem
|
|
1353
1121
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1363,7 +1131,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1363
1131
|
expected: '("median" | undefined)',
|
|
1364
1132
|
value: input3.preferredBins
|
|
1365
1133
|
})].every((flag) => flag);
|
|
1366
|
-
const $
|
|
1134
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1367
1135
|
path: _path2 + ".minColor",
|
|
1368
1136
|
expected: "string",
|
|
1369
1137
|
value: input3.minColor
|
|
@@ -1372,7 +1140,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1372
1140
|
expected: "string",
|
|
1373
1141
|
value: input3.maxColor
|
|
1374
1142
|
})].every((flag) => flag);
|
|
1375
|
-
const $
|
|
1143
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1376
1144
|
path: _path2 + ".key",
|
|
1377
1145
|
expected: "string",
|
|
1378
1146
|
value: input3.key
|
|
@@ -1389,7 +1157,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1389
1157
|
expected: "(string | undefined)",
|
|
1390
1158
|
value: input3.label
|
|
1391
1159
|
})].every((flag) => flag);
|
|
1392
|
-
const $
|
|
1160
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1393
1161
|
path: _path2 + ".join",
|
|
1394
1162
|
expected: "(string | undefined)",
|
|
1395
1163
|
value: input3.join
|
|
@@ -1401,7 +1169,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1401
1169
|
path: _path2 + ".term",
|
|
1402
1170
|
expected: "ConditionTerm",
|
|
1403
1171
|
value: input3.term
|
|
1404
|
-
})) && $
|
|
1172
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1405
1173
|
path: _path2 + ".term",
|
|
1406
1174
|
expected: "ConditionTerm",
|
|
1407
1175
|
value: input3.term
|
|
@@ -1421,12 +1189,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1421
1189
|
path: _path2 + ".grade_and_child",
|
|
1422
1190
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1423
1191
|
value: input3.grade_and_child
|
|
1424
|
-
})) && input3.grade_and_child.map((elem,
|
|
1425
|
-
path: _path2 + ".grade_and_child[" +
|
|
1192
|
+
})) && input3.grade_and_child.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1193
|
+
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
1426
1194
|
expected: "GradeAndChildEntry",
|
|
1427
1195
|
value: elem
|
|
1428
|
-
})) && $
|
|
1429
|
-
path: _path2 + ".grade_and_child[" +
|
|
1196
|
+
})) && $vo33(elem, _path2 + ".grade_and_child[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1197
|
+
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
1430
1198
|
expected: "GradeAndChildEntry",
|
|
1431
1199
|
value: elem
|
|
1432
1200
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1434,7 +1202,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1434
1202
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1435
1203
|
value: input3.grade_and_child
|
|
1436
1204
|
})].every((flag) => flag);
|
|
1437
|
-
const $
|
|
1205
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1438
1206
|
path: _path2 + ".id",
|
|
1439
1207
|
expected: "string",
|
|
1440
1208
|
value: input3.id
|
|
@@ -1450,8 +1218,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1450
1218
|
path: _path2 + ".child_types",
|
|
1451
1219
|
expected: "(Array<string> | undefined)",
|
|
1452
1220
|
value: input3.child_types
|
|
1453
|
-
})) && input3.child_types.map((elem,
|
|
1454
|
-
path: _path2 + ".child_types[" +
|
|
1221
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1222
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1455
1223
|
expected: "string",
|
|
1456
1224
|
value: elem
|
|
1457
1225
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1466,8 +1234,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1466
1234
|
path: _path2 + ".included_types",
|
|
1467
1235
|
expected: "(Array<string> | undefined)",
|
|
1468
1236
|
value: input3.included_types
|
|
1469
|
-
})) && input3.included_types.map((elem,
|
|
1470
|
-
path: _path2 + ".included_types[" +
|
|
1237
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1238
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1471
1239
|
expected: "string",
|
|
1472
1240
|
value: elem
|
|
1473
1241
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1486,16 +1254,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1486
1254
|
path: _path2 + ".values",
|
|
1487
1255
|
expected: "(TermValues | undefined)",
|
|
1488
1256
|
value: input3.values
|
|
1489
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1490
|
-
path: _path2 + ".filter",
|
|
1491
|
-
expected: "(TermFilter | undefined)",
|
|
1492
|
-
value: input3.filter
|
|
1493
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1494
|
-
path: _path2 + ".filter",
|
|
1495
|
-
expected: "(TermFilter | undefined)",
|
|
1496
|
-
value: input3.filter
|
|
1497
1257
|
})].every((flag) => flag);
|
|
1498
|
-
const $
|
|
1258
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1499
1259
|
path: _path2 + ".grade",
|
|
1500
1260
|
expected: "number",
|
|
1501
1261
|
value: input3.grade
|
|
@@ -1512,7 +1272,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1512
1272
|
expected: "string",
|
|
1513
1273
|
value: input3.child_label
|
|
1514
1274
|
})].every((flag) => flag);
|
|
1515
|
-
const $
|
|
1275
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1516
1276
|
path: _path2 + ".join",
|
|
1517
1277
|
expected: "(string | undefined)",
|
|
1518
1278
|
value: input3.join
|
|
@@ -1524,7 +1284,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1524
1284
|
path: _path2 + ".term",
|
|
1525
1285
|
expected: "DtTerm",
|
|
1526
1286
|
value: input3.term
|
|
1527
|
-
})) && $
|
|
1287
|
+
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1528
1288
|
path: _path2 + ".term",
|
|
1529
1289
|
expected: "DtTerm",
|
|
1530
1290
|
value: input3.term
|
|
@@ -1532,33 +1292,69 @@ var validBrainImagingRequest = (input) => {
|
|
|
1532
1292
|
path: _path2 + ".values",
|
|
1533
1293
|
expected: "Array<__type>.o2",
|
|
1534
1294
|
value: input3.values
|
|
1535
|
-
})) && input3.values.map((elem,
|
|
1536
|
-
path: _path2 + ".values[" +
|
|
1537
|
-
expected: "__type.
|
|
1295
|
+
})) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1296
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
1297
|
+
expected: "__type.o6",
|
|
1538
1298
|
value: elem
|
|
1539
|
-
})) && $
|
|
1540
|
-
path: _path2 + ".values[" +
|
|
1541
|
-
expected: "__type.
|
|
1299
|
+
})) && $vo38(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1300
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
1301
|
+
expected: "__type.o6",
|
|
1542
1302
|
value: elem
|
|
1543
1303
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1544
1304
|
path: _path2 + ".values",
|
|
1545
1305
|
expected: "Array<__type>.o2",
|
|
1546
1306
|
value: input3.values
|
|
1547
1307
|
})].every((flag) => flag);
|
|
1548
|
-
const $
|
|
1549
|
-
path: _path2 + ".
|
|
1308
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1309
|
+
path: _path2 + ".id",
|
|
1550
1310
|
expected: "string",
|
|
1551
|
-
value: input3.
|
|
1552
|
-
}), "string" === typeof input3.
|
|
1553
|
-
path: _path2 + ".
|
|
1311
|
+
value: input3.id
|
|
1312
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1313
|
+
path: _path2 + ".query",
|
|
1554
1314
|
expected: "string",
|
|
1555
|
-
value: input3.
|
|
1556
|
-
}), "string" === typeof input3.
|
|
1557
|
-
path: _path2 + ".
|
|
1315
|
+
value: input3.query
|
|
1316
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1317
|
+
path: _path2 + ".name",
|
|
1558
1318
|
expected: "string",
|
|
1559
|
-
value: input3.
|
|
1319
|
+
value: input3.name
|
|
1320
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1321
|
+
path: _path2 + ".name_noOrigin",
|
|
1322
|
+
expected: "string",
|
|
1323
|
+
value: input3.name_noOrigin
|
|
1324
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1325
|
+
path: _path2 + ".parentTerm",
|
|
1326
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1327
|
+
value: input3.parentTerm
|
|
1328
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1329
|
+
path: _path2 + ".parentTerm",
|
|
1330
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1331
|
+
value: input3.parentTerm
|
|
1332
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1333
|
+
path: _path2 + ".isleaf",
|
|
1334
|
+
expected: "boolean",
|
|
1335
|
+
value: input3.isleaf
|
|
1336
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1337
|
+
path: _path2 + ".type",
|
|
1338
|
+
expected: "string",
|
|
1339
|
+
value: input3.type
|
|
1340
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1341
|
+
path: _path2 + ".dt",
|
|
1342
|
+
expected: "number",
|
|
1343
|
+
value: input3.dt
|
|
1344
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1345
|
+
path: _path2 + ".origin",
|
|
1346
|
+
expected: "(string | undefined)",
|
|
1347
|
+
value: input3.origin
|
|
1348
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1349
|
+
path: _path2 + ".values",
|
|
1350
|
+
expected: "TermValues",
|
|
1351
|
+
value: input3.values
|
|
1352
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1353
|
+
path: _path2 + ".values",
|
|
1354
|
+
expected: "TermValues",
|
|
1355
|
+
value: input3.values
|
|
1560
1356
|
})].every((flag) => flag);
|
|
1561
|
-
const $
|
|
1357
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1562
1358
|
path: _path2 + ".id",
|
|
1563
1359
|
expected: "string",
|
|
1564
1360
|
value: input3.id
|
|
@@ -1574,8 +1370,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1574
1370
|
path: _path2 + ".child_types",
|
|
1575
1371
|
expected: "(Array<string> | undefined)",
|
|
1576
1372
|
value: input3.child_types
|
|
1577
|
-
})) && input3.child_types.map((elem,
|
|
1578
|
-
path: _path2 + ".child_types[" +
|
|
1373
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1374
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1579
1375
|
expected: "string",
|
|
1580
1376
|
value: elem
|
|
1581
1377
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1590,8 +1386,105 @@ var validBrainImagingRequest = (input) => {
|
|
|
1590
1386
|
path: _path2 + ".included_types",
|
|
1591
1387
|
expected: "(Array<string> | undefined)",
|
|
1592
1388
|
value: input3.included_types
|
|
1593
|
-
})) && input3.included_types.map((elem,
|
|
1594
|
-
path: _path2 + ".included_types[" +
|
|
1389
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1390
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1391
|
+
expected: "string",
|
|
1392
|
+
value: elem
|
|
1393
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1394
|
+
path: _path2 + ".included_types",
|
|
1395
|
+
expected: "(Array<string> | undefined)",
|
|
1396
|
+
value: input3.included_types
|
|
1397
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1398
|
+
path: _path2 + ".isleaf",
|
|
1399
|
+
expected: "(boolean | undefined)",
|
|
1400
|
+
value: input3.isleaf
|
|
1401
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1402
|
+
path: _path2 + ".values",
|
|
1403
|
+
expected: "(TermValues | undefined)",
|
|
1404
|
+
value: input3.values
|
|
1405
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1406
|
+
path: _path2 + ".values",
|
|
1407
|
+
expected: "(TermValues | undefined)",
|
|
1408
|
+
value: input3.values
|
|
1409
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1410
|
+
path: _path2 + ".kind",
|
|
1411
|
+
expected: '"gene"',
|
|
1412
|
+
value: input3.kind
|
|
1413
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1414
|
+
path: _path2 + ".gene",
|
|
1415
|
+
expected: "string",
|
|
1416
|
+
value: input3.gene
|
|
1417
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1418
|
+
path: _path2 + ".chr",
|
|
1419
|
+
expected: "(string | undefined)",
|
|
1420
|
+
value: input3.chr
|
|
1421
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1422
|
+
path: _path2 + ".start",
|
|
1423
|
+
expected: "(number | undefined)",
|
|
1424
|
+
value: input3.start
|
|
1425
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1426
|
+
path: _path2 + ".stop",
|
|
1427
|
+
expected: "(number | undefined)",
|
|
1428
|
+
value: input3.stop
|
|
1429
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1430
|
+
path: _path2 + ".groupsetting",
|
|
1431
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1432
|
+
value: input3.groupsetting
|
|
1433
|
+
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1434
|
+
path: _path2 + ".groupsetting",
|
|
1435
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1436
|
+
value: input3.groupsetting
|
|
1437
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1438
|
+
path: _path2 + ".childTerms",
|
|
1439
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1440
|
+
value: input3.childTerms
|
|
1441
|
+
})) && input3.childTerms.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1442
|
+
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1443
|
+
expected: "DtTerm",
|
|
1444
|
+
value: elem
|
|
1445
|
+
})) && $vo35(elem, _path2 + ".childTerms[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1446
|
+
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1447
|
+
expected: "DtTerm",
|
|
1448
|
+
value: elem
|
|
1449
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1450
|
+
path: _path2 + ".childTerms",
|
|
1451
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1452
|
+
value: input3.childTerms
|
|
1453
|
+
})].every((flag) => flag);
|
|
1454
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1455
|
+
path: _path2 + ".id",
|
|
1456
|
+
expected: "string",
|
|
1457
|
+
value: input3.id
|
|
1458
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1459
|
+
path: _path2 + ".name",
|
|
1460
|
+
expected: "string",
|
|
1461
|
+
value: input3.name
|
|
1462
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1463
|
+
path: _path2 + ".type",
|
|
1464
|
+
expected: '"geneVariant"',
|
|
1465
|
+
value: input3.type
|
|
1466
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1467
|
+
path: _path2 + ".child_types",
|
|
1468
|
+
expected: "(Array<string> | undefined)",
|
|
1469
|
+
value: input3.child_types
|
|
1470
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1471
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
1472
|
+
expected: "string",
|
|
1473
|
+
value: elem
|
|
1474
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1475
|
+
path: _path2 + ".child_types",
|
|
1476
|
+
expected: "(Array<string> | undefined)",
|
|
1477
|
+
value: input3.child_types
|
|
1478
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1479
|
+
path: _path2 + ".hashtmldetail",
|
|
1480
|
+
expected: "(boolean | undefined)",
|
|
1481
|
+
value: input3.hashtmldetail
|
|
1482
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1483
|
+
path: _path2 + ".included_types",
|
|
1484
|
+
expected: "(Array<string> | undefined)",
|
|
1485
|
+
value: input3.included_types
|
|
1486
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1487
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
1595
1488
|
expected: "string",
|
|
1596
1489
|
value: elem
|
|
1597
1490
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1610,14 +1503,6 @@ var validBrainImagingRequest = (input) => {
|
|
|
1610
1503
|
path: _path2 + ".values",
|
|
1611
1504
|
expected: "(TermValues | undefined)",
|
|
1612
1505
|
value: input3.values
|
|
1613
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1614
|
-
path: _path2 + ".filter",
|
|
1615
|
-
expected: "(TermFilter | undefined)",
|
|
1616
|
-
value: input3.filter
|
|
1617
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1618
|
-
path: _path2 + ".filter",
|
|
1619
|
-
expected: "(TermFilter | undefined)",
|
|
1620
|
-
value: input3.filter
|
|
1621
1506
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1622
1507
|
path: _path2 + ".kind",
|
|
1623
1508
|
expected: '"coord"',
|
|
@@ -1636,12 +1521,41 @@ var validBrainImagingRequest = (input) => {
|
|
|
1636
1521
|
value: input3.stop
|
|
1637
1522
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1638
1523
|
path: _path2 + ".groupsetting",
|
|
1639
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1524
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1640
1525
|
value: input3.groupsetting
|
|
1641
1526
|
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1642
1527
|
path: _path2 + ".groupsetting",
|
|
1643
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1528
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1644
1529
|
value: input3.groupsetting
|
|
1530
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1531
|
+
path: _path2 + ".childTerms",
|
|
1532
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1533
|
+
value: input3.childTerms
|
|
1534
|
+
})) && input3.childTerms.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1535
|
+
path: _path2 + ".childTerms[" + _index25 + "]",
|
|
1536
|
+
expected: "DtTerm",
|
|
1537
|
+
value: elem
|
|
1538
|
+
})) && $vo35(elem, _path2 + ".childTerms[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1539
|
+
path: _path2 + ".childTerms[" + _index25 + "]",
|
|
1540
|
+
expected: "DtTerm",
|
|
1541
|
+
value: elem
|
|
1542
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1543
|
+
path: _path2 + ".childTerms",
|
|
1544
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1545
|
+
value: input3.childTerms
|
|
1546
|
+
})].every((flag) => flag);
|
|
1547
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1548
|
+
path: _path2 + ".key",
|
|
1549
|
+
expected: "string",
|
|
1550
|
+
value: input3.key
|
|
1551
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1552
|
+
path: _path2 + ".label",
|
|
1553
|
+
expected: "string",
|
|
1554
|
+
value: input3.label
|
|
1555
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1556
|
+
path: _path2 + ".value",
|
|
1557
|
+
expected: "string",
|
|
1558
|
+
value: input3.value
|
|
1645
1559
|
})].every((flag) => flag);
|
|
1646
1560
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1647
1561
|
if ("string" === typeof input3.type)
|
|
@@ -1656,21 +1570,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
1656
1570
|
})();
|
|
1657
1571
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1658
1572
|
if ("tvslst" === input3.type)
|
|
1659
|
-
return $
|
|
1573
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1660
1574
|
if ("tvs" === input3.type)
|
|
1661
|
-
return $
|
|
1575
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
1662
1576
|
return $report(_exceptionable2, {
|
|
1663
1577
|
path: _path2,
|
|
1664
|
-
expected: "(Filter | __type.
|
|
1578
|
+
expected: "(Filter | __type.o2)",
|
|
1665
1579
|
value: input3
|
|
1666
1580
|
});
|
|
1667
1581
|
})();
|
|
1668
1582
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1669
1583
|
if (true === input3.startunbounded)
|
|
1670
|
-
return $
|
|
1584
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1671
1585
|
if (true === input3.stopunbounded)
|
|
1672
|
-
return $
|
|
1673
|
-
return $
|
|
1586
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
1587
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1674
1588
|
})();
|
|
1675
1589
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1676
1590
|
if ("values" === input3.type)
|
|
@@ -1682,59 +1596,59 @@ var validBrainImagingRequest = (input) => {
|
|
|
1682
1596
|
return $vo5(input3, _path2, _exceptionable2);
|
|
1683
1597
|
})();
|
|
1684
1598
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1685
|
-
if (
|
|
1686
|
-
return $
|
|
1687
|
-
|
|
1688
|
-
return $vo41(input3, _path2, _exceptionable2);
|
|
1689
|
-
return $report(_exceptionable2, {
|
|
1690
|
-
path: _path2,
|
|
1691
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
1692
|
-
value: input3
|
|
1693
|
-
});
|
|
1599
|
+
if (void 0 !== input3.ranges)
|
|
1600
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1601
|
+
return $vo14(input3, _path2, false) || $vo31(input3, _path2, false) || $vo34(input3, _path2, false);
|
|
1694
1602
|
})();
|
|
1695
1603
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1696
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1697
|
-
return $
|
|
1698
|
-
return $
|
|
1604
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index26) => "object" === typeof elem && null !== elem && $vo19(elem, _path2 + ".lst[" + _index26 + "]", false)).every((flag) => flag))
|
|
1605
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1606
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1699
1607
|
})();
|
|
1700
1608
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1701
|
-
if (void 0 !== input3.ranges)
|
|
1702
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
1703
|
-
return $vo20(input3, _path2, false) || $vo36(input3, _path2, false) || $vo39(input3, _path2, false);
|
|
1704
|
-
})();
|
|
1705
|
-
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1706
1609
|
if ("regular-bin" === input3.type)
|
|
1707
|
-
return $
|
|
1610
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1708
1611
|
if ("custom-bin" === input3.type)
|
|
1709
|
-
return $
|
|
1612
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
1710
1613
|
return $report(_exceptionable2, {
|
|
1711
1614
|
path: _path2,
|
|
1712
1615
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1713
1616
|
value: input3
|
|
1714
1617
|
});
|
|
1715
1618
|
})();
|
|
1716
|
-
const $
|
|
1619
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1717
1620
|
if (true === input3.startunbounded)
|
|
1718
|
-
return $
|
|
1621
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1719
1622
|
if (void 0 !== input3.start)
|
|
1720
|
-
return $
|
|
1623
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1721
1624
|
return $report(_exceptionable2, {
|
|
1722
1625
|
path: _path2,
|
|
1723
1626
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1724
1627
|
value: input3
|
|
1725
1628
|
});
|
|
1726
1629
|
})();
|
|
1727
|
-
const $
|
|
1630
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1728
1631
|
if (void 0 !== input3.stop)
|
|
1729
|
-
return $
|
|
1632
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1730
1633
|
if (true === input3.stopunbounded)
|
|
1731
|
-
return $
|
|
1634
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
1732
1635
|
return $report(_exceptionable2, {
|
|
1733
1636
|
path: _path2,
|
|
1734
1637
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1735
1638
|
value: input3
|
|
1736
1639
|
});
|
|
1737
1640
|
})();
|
|
1641
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1642
|
+
if ("gene" === input3.kind)
|
|
1643
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1644
|
+
if ("coord" === input3.kind)
|
|
1645
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
1646
|
+
return $report(_exceptionable2, {
|
|
1647
|
+
path: _path2,
|
|
1648
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
1649
|
+
value: input3
|
|
1650
|
+
});
|
|
1651
|
+
})();
|
|
1738
1652
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
1739
1653
|
path: _path + "",
|
|
1740
1654
|
expected: "BrainImagingRequest",
|