@sjcrh/proteinpaint-types 2.124.0 → 2.126.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-NCFUZ5VV.js → chunk-2S4T3WUF.js} +790 -386
- package/dist/{chunk-XPOHYEAY.js → chunk-537XOM43.js} +584 -382
- package/dist/{chunk-LBGUOJR3.js → chunk-5O422YU6.js} +343 -141
- package/dist/{chunk-SQBZAOWB.js → chunk-7IRM7OKB.js} +343 -141
- package/dist/{chunk-XZAH6P4D.js → chunk-A3XJW6BZ.js} +5 -1
- package/dist/{chunk-3ZT4UCFM.js → chunk-BXPSDGWG.js} +343 -141
- package/dist/{chunk-QMWUUGEK.js → chunk-CJC7ZHSZ.js} +376 -174
- package/dist/{chunk-F64WJMRL.js → chunk-DJCPG2RT.js} +817 -413
- package/dist/{chunk-ZMOSABYP.js → chunk-GZCIY2WK.js} +584 -382
- package/dist/{chunk-K7P6C6KU.js → chunk-LVXO4MLR.js} +586 -384
- package/dist/chunk-NWEXA2YB.js +308 -0
- package/dist/{chunk-AGSW7G4T.js → chunk-O4RAE6UJ.js} +582 -380
- package/dist/chunk-RPX4TVMD.js +14 -0
- package/dist/{chunk-KRYTJ2SL.js → chunk-RWMZSRX7.js} +2 -2
- package/dist/chunk-SMS3Y2XZ.js +75 -0
- package/dist/{chunk-RX5EB2HL.js → chunk-VSNV3MLV.js} +343 -141
- package/dist/{chunk-5HL5BPE5.js → chunk-W6NLM363.js} +2 -2
- package/dist/{chunk-WQGLAGSY.js → chunk-YGX6BZZY.js} +4 -4
- package/dist/{chunk-5XRJ5ATE.js → chunk-YOS2YTCE.js} +584 -382
- package/dist/clearwsisession.js +3 -13
- package/dist/clearwsisessions.js +13 -0
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +17 -0
- package/dist/genesetEnrichment.js +1 -1
- package/dist/healthcheck.js +1 -1
- package/dist/index.js +89 -65
- 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.topMutatedGenes.js +5 -5
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/dist/wsisamples.js +3 -3
- package/package.json +1 -1
- package/src/dataset.ts +6 -0
- package/src/index.ts +1 -0
- package/src/routes/gdc.grin2.ts +101 -0
- package/src/routes/genesetEnrichment.ts +2 -0
- package/src/terms/geneVariant.ts +1 -0
|
@@ -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 && $io21(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,43 +47,45 @@ 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) => "object" === typeof input3.opts && null !== input3.opts && $io13(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io14(elem))) && ("object" === typeof input3.active && null !== input3.active && $
|
|
50
|
+
const $io12 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io13(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io14(elem))) && ("object" === typeof input3.active && null !== input3.active && $io18(input3.active)) && "number" === typeof input3.group;
|
|
51
51
|
const $io13 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
52
|
-
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && 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) && $
|
|
53
|
-
const $io15 = (input3) =>
|
|
52
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.geneVariantTerm || "object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm && $iu4(input3.geneVariantTerm)) && 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));
|
|
53
|
+
const $io15 = (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)) && "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));
|
|
54
|
+
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
54
55
|
const value = input3[key];
|
|
55
56
|
if (void 0 === value)
|
|
56
57
|
return true;
|
|
57
58
|
if (RegExp(/(.*)/).test(key))
|
|
58
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
59
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io17(value);
|
|
59
60
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
60
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
61
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io17(value);
|
|
61
62
|
return true;
|
|
62
63
|
});
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
74
|
-
const $
|
|
75
|
-
const $
|
|
76
|
-
const $
|
|
77
|
-
const $
|
|
78
|
-
const $
|
|
79
|
-
const $
|
|
80
|
-
const $
|
|
81
|
-
const $
|
|
82
|
-
const $
|
|
83
|
-
const $
|
|
84
|
-
const $
|
|
85
|
-
const $
|
|
86
|
-
const $
|
|
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 && $io18(input3.filter));
|
|
65
|
+
const $io18 = (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)));
|
|
66
|
+
const $io19 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu6(input3.tvs));
|
|
67
|
+
const $io20 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io21(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)));
|
|
68
|
+
const $io21 = (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)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io22(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
|
|
69
|
+
const $io22 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io13(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io14(elem)));
|
|
70
|
+
const $io23 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io24(elem)));
|
|
71
|
+
const $io24 = (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)));
|
|
72
|
+
const $io25 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
73
|
+
const $io26 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io27(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 && $io35(elem)));
|
|
74
|
+
const $io27 = (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)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io22(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io28(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io34(input3.continuousColorScale));
|
|
75
|
+
const $io28 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(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);
|
|
76
|
+
const $io29 = (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 && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
77
|
+
const $io30 = (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);
|
|
78
|
+
const $io31 = (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);
|
|
79
|
+
const $io32 = (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);
|
|
80
|
+
const $io33 = (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);
|
|
81
|
+
const $io34 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
82
|
+
const $io35 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
83
|
+
const $io36 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io37(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 && $io38(elem)));
|
|
84
|
+
const $io37 = (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)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io22(input3.filter));
|
|
85
|
+
const $io38 = (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;
|
|
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));
|
|
87
89
|
const $iu0 = (input3) => (() => {
|
|
88
90
|
if ("string" === typeof input3.type)
|
|
89
91
|
return $io9(input3);
|
|
@@ -93,17 +95,17 @@ var validBrainImagingRequest = (input) => {
|
|
|
93
95
|
})();
|
|
94
96
|
const $iu1 = (input3) => (() => {
|
|
95
97
|
if ("tvslst" === input3.type)
|
|
96
|
-
return $io17(input3);
|
|
97
|
-
if ("tvs" === input3.type)
|
|
98
98
|
return $io18(input3);
|
|
99
|
+
if ("tvs" === input3.type)
|
|
100
|
+
return $io19(input3);
|
|
99
101
|
return false;
|
|
100
102
|
})();
|
|
101
103
|
const $iu2 = (input3) => (() => {
|
|
102
104
|
if (true === input3.startunbounded)
|
|
103
|
-
return $
|
|
105
|
+
return $io30(input3);
|
|
104
106
|
if (true === input3.stopunbounded)
|
|
105
|
-
return $
|
|
106
|
-
return $
|
|
107
|
+
return $io32(input3);
|
|
108
|
+
return $io31(input3);
|
|
107
109
|
})();
|
|
108
110
|
const $iu3 = (input3) => (() => {
|
|
109
111
|
if ("values" === input3.type)
|
|
@@ -115,42 +117,49 @@ var validBrainImagingRequest = (input) => {
|
|
|
115
117
|
return $io5(input3);
|
|
116
118
|
})();
|
|
117
119
|
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) => (() => {
|
|
118
132
|
if (void 0 !== input3.ranges)
|
|
119
|
-
return $
|
|
133
|
+
return $io26(input3);
|
|
120
134
|
return (() => {
|
|
121
|
-
if ($
|
|
122
|
-
return $
|
|
123
|
-
if ($
|
|
124
|
-
return $
|
|
125
|
-
if ($
|
|
126
|
-
return $
|
|
135
|
+
if ($io20(input3))
|
|
136
|
+
return $io20(input3);
|
|
137
|
+
if ($io36(input3))
|
|
138
|
+
return $io36(input3);
|
|
139
|
+
if ($io39(input3))
|
|
140
|
+
return $io39(input3);
|
|
127
141
|
return false;
|
|
128
142
|
})();
|
|
129
143
|
})();
|
|
130
|
-
const $
|
|
131
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)))
|
|
132
|
-
return $io22(input3);
|
|
133
|
-
return $io24(input3);
|
|
134
|
-
})();
|
|
135
|
-
const $iu6 = (input3) => (() => {
|
|
144
|
+
const $iu7 = (input3) => (() => {
|
|
136
145
|
if ("regular-bin" === input3.type)
|
|
137
|
-
return $
|
|
146
|
+
return $io29(input3);
|
|
138
147
|
if ("custom-bin" === input3.type)
|
|
139
|
-
return $
|
|
148
|
+
return $io33(input3);
|
|
140
149
|
return false;
|
|
141
150
|
})();
|
|
142
|
-
const $
|
|
151
|
+
const $iu8 = (input3) => (() => {
|
|
143
152
|
if (true === input3.startunbounded)
|
|
144
|
-
return $io29(input3);
|
|
145
|
-
if (void 0 !== input3.start)
|
|
146
153
|
return $io30(input3);
|
|
154
|
+
if (void 0 !== input3.start)
|
|
155
|
+
return $io31(input3);
|
|
147
156
|
return false;
|
|
148
157
|
})();
|
|
149
|
-
const $
|
|
158
|
+
const $iu9 = (input3) => (() => {
|
|
150
159
|
if (void 0 !== input3.stop)
|
|
151
|
-
return $io30(input3);
|
|
152
|
-
if (true === input3.stopunbounded)
|
|
153
160
|
return $io31(input3);
|
|
161
|
+
if (true === input3.stopunbounded)
|
|
162
|
+
return $io32(input3);
|
|
154
163
|
return false;
|
|
155
164
|
})();
|
|
156
165
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -264,7 +273,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
264
273
|
path: _path2 + ".term",
|
|
265
274
|
expected: "CategoricalTerm",
|
|
266
275
|
value: input3.term
|
|
267
|
-
})) && $
|
|
276
|
+
})) && $vo21(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
268
277
|
path: _path2 + ".term",
|
|
269
278
|
expected: "CategoricalTerm",
|
|
270
279
|
value: input3.term
|
|
@@ -521,7 +530,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
521
530
|
path: _path2 + ".active",
|
|
522
531
|
expected: "Filter",
|
|
523
532
|
value: input3.active
|
|
524
|
-
})) && $
|
|
533
|
+
})) && $vo18(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
525
534
|
path: _path2 + ".active",
|
|
526
535
|
expected: "Filter",
|
|
527
536
|
value: input3.active
|
|
@@ -559,6 +568,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
559
568
|
path: _path2 + ".name_noOrigin",
|
|
560
569
|
expected: "string",
|
|
561
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
|
|
562
579
|
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
563
580
|
path: _path2 + ".isleaf",
|
|
564
581
|
expected: "boolean",
|
|
@@ -579,12 +596,101 @@ var validBrainImagingRequest = (input) => {
|
|
|
579
596
|
path: _path2 + ".values",
|
|
580
597
|
expected: "TermValues",
|
|
581
598
|
value: input3.values
|
|
582
|
-
})) && $
|
|
599
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
583
600
|
path: _path2 + ".values",
|
|
584
601
|
expected: "TermValues",
|
|
585
602
|
value: input3.values
|
|
586
603
|
})].every((flag) => flag);
|
|
587
|
-
const $vo15 = (input3, _path2, _exceptionable2 = true) => [
|
|
604
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
605
|
+
path: _path2 + ".id",
|
|
606
|
+
expected: "string",
|
|
607
|
+
value: input3.id
|
|
608
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
609
|
+
path: _path2 + ".name",
|
|
610
|
+
expected: "string",
|
|
611
|
+
value: input3.name
|
|
612
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
613
|
+
path: _path2 + ".type",
|
|
614
|
+
expected: '"geneVariant"',
|
|
615
|
+
value: input3.type
|
|
616
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
617
|
+
path: _path2 + ".child_types",
|
|
618
|
+
expected: "(Array<string> | undefined)",
|
|
619
|
+
value: input3.child_types
|
|
620
|
+
})) && input3.child_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
621
|
+
path: _path2 + ".child_types[" + _index7 + "]",
|
|
622
|
+
expected: "string",
|
|
623
|
+
value: elem
|
|
624
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
625
|
+
path: _path2 + ".child_types",
|
|
626
|
+
expected: "(Array<string> | undefined)",
|
|
627
|
+
value: input3.child_types
|
|
628
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
629
|
+
path: _path2 + ".hashtmldetail",
|
|
630
|
+
expected: "(boolean | undefined)",
|
|
631
|
+
value: input3.hashtmldetail
|
|
632
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
633
|
+
path: _path2 + ".included_types",
|
|
634
|
+
expected: "(Array<string> | undefined)",
|
|
635
|
+
value: input3.included_types
|
|
636
|
+
})) && input3.included_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
637
|
+
path: _path2 + ".included_types[" + _index8 + "]",
|
|
638
|
+
expected: "string",
|
|
639
|
+
value: elem
|
|
640
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
641
|
+
path: _path2 + ".included_types",
|
|
642
|
+
expected: "(Array<string> | undefined)",
|
|
643
|
+
value: input3.included_types
|
|
644
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
645
|
+
path: _path2 + ".isleaf",
|
|
646
|
+
expected: "(boolean | undefined)",
|
|
647
|
+
value: input3.isleaf
|
|
648
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
649
|
+
path: _path2 + ".values",
|
|
650
|
+
expected: "(TermValues | undefined)",
|
|
651
|
+
value: input3.values
|
|
652
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
653
|
+
path: _path2 + ".values",
|
|
654
|
+
expected: "(TermValues | undefined)",
|
|
655
|
+
value: input3.values
|
|
656
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
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, {
|
|
685
|
+
path: _path2 + ".groupsetting",
|
|
686
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
687
|
+
value: input3.groupsetting
|
|
688
|
+
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
689
|
+
path: _path2 + ".groupsetting",
|
|
690
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
691
|
+
value: input3.groupsetting
|
|
692
|
+
})].every((flag) => flag);
|
|
693
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
588
694
|
const value = input3[key];
|
|
589
695
|
if (void 0 === value)
|
|
590
696
|
return true;
|
|
@@ -593,7 +699,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
593
699
|
path: _path2 + $join(key),
|
|
594
700
|
expected: "BaseValue",
|
|
595
701
|
value
|
|
596
|
-
})) && $
|
|
702
|
+
})) && $vo17(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
597
703
|
path: _path2 + $join(key),
|
|
598
704
|
expected: "BaseValue",
|
|
599
705
|
value
|
|
@@ -603,14 +709,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
603
709
|
path: _path2 + $join(key),
|
|
604
710
|
expected: "BaseValue",
|
|
605
711
|
value
|
|
606
|
-
})) && $
|
|
712
|
+
})) && $vo17(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
607
713
|
path: _path2 + $join(key),
|
|
608
714
|
expected: "BaseValue",
|
|
609
715
|
value
|
|
610
716
|
});
|
|
611
717
|
return true;
|
|
612
718
|
}).every((flag) => flag)].every((flag) => flag);
|
|
613
|
-
const $
|
|
719
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
614
720
|
path: _path2 + ".key",
|
|
615
721
|
expected: "(string | undefined)",
|
|
616
722
|
value: input3.key
|
|
@@ -638,12 +744,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
638
744
|
path: _path2 + ".filter",
|
|
639
745
|
expected: "(Filter | undefined)",
|
|
640
746
|
value: input3.filter
|
|
641
|
-
})) && $
|
|
747
|
+
})) && $vo18(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
642
748
|
path: _path2 + ".filter",
|
|
643
749
|
expected: "(Filter | undefined)",
|
|
644
750
|
value: input3.filter
|
|
645
751
|
})].every((flag) => flag);
|
|
646
|
-
const $
|
|
752
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
647
753
|
path: _path2 + ".type",
|
|
648
754
|
expected: '"tvslst"',
|
|
649
755
|
value: input3.type
|
|
@@ -663,12 +769,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
663
769
|
path: _path2 + ".lst",
|
|
664
770
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
665
771
|
value: input3.lst
|
|
666
|
-
})) && input3.lst.map((elem,
|
|
667
|
-
path: _path2 + ".lst[" +
|
|
772
|
+
})) && input3.lst.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
773
|
+
path: _path2 + ".lst[" + _index9 + "]",
|
|
668
774
|
expected: "(Filter | __type.o3)",
|
|
669
775
|
value: elem
|
|
670
|
-
})) && $vu1(elem, _path2 + ".lst[" +
|
|
671
|
-
path: _path2 + ".lst[" +
|
|
776
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
777
|
+
path: _path2 + ".lst[" + _index9 + "]",
|
|
672
778
|
expected: "(Filter | __type.o3)",
|
|
673
779
|
value: elem
|
|
674
780
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -676,7 +782,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
676
782
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
677
783
|
value: input3.lst
|
|
678
784
|
})].every((flag) => flag);
|
|
679
|
-
const $
|
|
785
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
680
786
|
path: _path2 + ".type",
|
|
681
787
|
expected: '"tvs"',
|
|
682
788
|
value: input3.type
|
|
@@ -684,12 +790,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
684
790
|
path: _path2 + ".tvs",
|
|
685
791
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
686
792
|
value: input3.tvs
|
|
687
|
-
})) && $
|
|
793
|
+
})) && $vu6(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
688
794
|
path: _path2 + ".tvs",
|
|
689
795
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
690
796
|
value: input3.tvs
|
|
691
797
|
})].every((flag) => flag);
|
|
692
|
-
const $
|
|
798
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
693
799
|
path: _path2 + ".join",
|
|
694
800
|
expected: "(string | undefined)",
|
|
695
801
|
value: input3.join
|
|
@@ -701,7 +807,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
701
807
|
path: _path2 + ".term",
|
|
702
808
|
expected: "CategoricalTerm",
|
|
703
809
|
value: input3.term
|
|
704
|
-
})) && $
|
|
810
|
+
})) && $vo21(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
705
811
|
path: _path2 + ".term",
|
|
706
812
|
expected: "CategoricalTerm",
|
|
707
813
|
value: input3.term
|
|
@@ -713,12 +819,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
713
819
|
path: _path2 + ".values",
|
|
714
820
|
expected: "Array<BaseValue>",
|
|
715
821
|
value: input3.values
|
|
716
|
-
})) && input3.values.map((elem,
|
|
717
|
-
path: _path2 + ".values[" +
|
|
822
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
823
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
718
824
|
expected: "BaseValue",
|
|
719
825
|
value: elem
|
|
720
|
-
})) && $
|
|
721
|
-
path: _path2 + ".values[" +
|
|
826
|
+
})) && $vo17(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
827
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
722
828
|
expected: "BaseValue",
|
|
723
829
|
value: elem
|
|
724
830
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -726,7 +832,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
726
832
|
expected: "Array<BaseValue>",
|
|
727
833
|
value: input3.values
|
|
728
834
|
})].every((flag) => flag);
|
|
729
|
-
const $
|
|
835
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
730
836
|
path: _path2 + ".id",
|
|
731
837
|
expected: "string",
|
|
732
838
|
value: input3.id
|
|
@@ -742,8 +848,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
742
848
|
path: _path2 + ".child_types",
|
|
743
849
|
expected: "(Array<string> | undefined)",
|
|
744
850
|
value: input3.child_types
|
|
745
|
-
})) && input3.child_types.map((elem,
|
|
746
|
-
path: _path2 + ".child_types[" +
|
|
851
|
+
})) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
852
|
+
path: _path2 + ".child_types[" + _index11 + "]",
|
|
747
853
|
expected: "string",
|
|
748
854
|
value: elem
|
|
749
855
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -758,8 +864,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
758
864
|
path: _path2 + ".included_types",
|
|
759
865
|
expected: "(Array<string> | undefined)",
|
|
760
866
|
value: input3.included_types
|
|
761
|
-
})) && input3.included_types.map((elem,
|
|
762
|
-
path: _path2 + ".included_types[" +
|
|
867
|
+
})) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
868
|
+
path: _path2 + ".included_types[" + _index12 + "]",
|
|
763
869
|
expected: "string",
|
|
764
870
|
value: elem
|
|
765
871
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -774,7 +880,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
774
880
|
path: _path2 + ".values",
|
|
775
881
|
expected: "(TermValues | undefined)",
|
|
776
882
|
value: input3.values
|
|
777
|
-
})) && $
|
|
883
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
778
884
|
path: _path2 + ".values",
|
|
779
885
|
expected: "(TermValues | undefined)",
|
|
780
886
|
value: input3.values
|
|
@@ -782,7 +888,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
782
888
|
path: _path2 + ".filter",
|
|
783
889
|
expected: "(TermFilter | undefined)",
|
|
784
890
|
value: input3.filter
|
|
785
|
-
})) && $
|
|
891
|
+
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
786
892
|
path: _path2 + ".filter",
|
|
787
893
|
expected: "(TermFilter | undefined)",
|
|
788
894
|
value: input3.filter
|
|
@@ -795,7 +901,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
795
901
|
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
796
902
|
value: input3.groupsetting
|
|
797
903
|
})].every((flag) => flag);
|
|
798
|
-
const $
|
|
904
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
799
905
|
path: _path2 + ".opts",
|
|
800
906
|
expected: "__type.o2",
|
|
801
907
|
value: input3.opts
|
|
@@ -807,12 +913,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
807
913
|
path: _path2 + ".terms",
|
|
808
914
|
expected: "Array<DtTerm>",
|
|
809
915
|
value: input3.terms
|
|
810
|
-
})) && input3.terms.map((elem,
|
|
811
|
-
path: _path2 + ".terms[" +
|
|
916
|
+
})) && input3.terms.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
917
|
+
path: _path2 + ".terms[" + _index13 + "]",
|
|
812
918
|
expected: "DtTerm",
|
|
813
919
|
value: elem
|
|
814
|
-
})) && $vo14(elem, _path2 + ".terms[" +
|
|
815
|
-
path: _path2 + ".terms[" +
|
|
920
|
+
})) && $vo14(elem, _path2 + ".terms[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
921
|
+
path: _path2 + ".terms[" + _index13 + "]",
|
|
816
922
|
expected: "DtTerm",
|
|
817
923
|
value: elem
|
|
818
924
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -820,7 +926,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
820
926
|
expected: "Array<DtTerm>",
|
|
821
927
|
value: input3.terms
|
|
822
928
|
})].every((flag) => flag);
|
|
823
|
-
const $
|
|
929
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
824
930
|
path: _path2 + ".disabled",
|
|
825
931
|
expected: "(boolean | undefined)",
|
|
826
932
|
value: input3.disabled
|
|
@@ -828,12 +934,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
828
934
|
path: _path2 + ".lst",
|
|
829
935
|
expected: "Array<Groupset>",
|
|
830
936
|
value: input3.lst
|
|
831
|
-
})) && input3.lst.map((elem,
|
|
832
|
-
path: _path2 + ".lst[" +
|
|
937
|
+
})) && input3.lst.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
938
|
+
path: _path2 + ".lst[" + _index14 + "]",
|
|
833
939
|
expected: "Groupset",
|
|
834
940
|
value: elem
|
|
835
|
-
})) && $
|
|
836
|
-
path: _path2 + ".lst[" +
|
|
941
|
+
})) && $vo24(elem, _path2 + ".lst[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
942
|
+
path: _path2 + ".lst[" + _index14 + "]",
|
|
837
943
|
expected: "Groupset",
|
|
838
944
|
value: elem
|
|
839
945
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -841,7 +947,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
841
947
|
expected: "Array<Groupset>",
|
|
842
948
|
value: input3.lst
|
|
843
949
|
})].every((flag) => flag);
|
|
844
|
-
const $
|
|
950
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
845
951
|
path: _path2 + ".name",
|
|
846
952
|
expected: "string",
|
|
847
953
|
value: input3.name
|
|
@@ -861,12 +967,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
861
967
|
path: _path2 + ".groups",
|
|
862
968
|
expected: "Array<GroupEntry>",
|
|
863
969
|
value: input3.groups
|
|
864
|
-
})) && input3.groups.map((elem,
|
|
865
|
-
path: _path2 + ".groups[" +
|
|
970
|
+
})) && input3.groups.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
971
|
+
path: _path2 + ".groups[" + _index15 + "]",
|
|
866
972
|
expected: "(FilterGroup | ValuesGroup)",
|
|
867
973
|
value: elem
|
|
868
|
-
})) && $vu0(elem, _path2 + ".groups[" +
|
|
869
|
-
path: _path2 + ".groups[" +
|
|
974
|
+
})) && $vu0(elem, _path2 + ".groups[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
975
|
+
path: _path2 + ".groups[" + _index15 + "]",
|
|
870
976
|
expected: "(FilterGroup | ValuesGroup)",
|
|
871
977
|
value: elem
|
|
872
978
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -874,7 +980,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
874
980
|
expected: "Array<GroupEntry>",
|
|
875
981
|
value: input3.groups
|
|
876
982
|
})].every((flag) => flag);
|
|
877
|
-
const $
|
|
983
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
878
984
|
path: _path2 + ".disabled",
|
|
879
985
|
expected: "boolean",
|
|
880
986
|
value: input3.disabled
|
|
@@ -891,7 +997,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
891
997
|
expected: "([] | undefined)",
|
|
892
998
|
value: input3.lst
|
|
893
999
|
})].every((flag) => flag);
|
|
894
|
-
const $
|
|
1000
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
895
1001
|
path: _path2 + ".join",
|
|
896
1002
|
expected: "(string | undefined)",
|
|
897
1003
|
value: input3.join
|
|
@@ -903,7 +1009,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
903
1009
|
path: _path2 + ".term",
|
|
904
1010
|
expected: "NumericTerm",
|
|
905
1011
|
value: input3.term
|
|
906
|
-
})) && $
|
|
1012
|
+
})) && $vo27(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
907
1013
|
path: _path2 + ".term",
|
|
908
1014
|
expected: "NumericTerm",
|
|
909
1015
|
value: input3.term
|
|
@@ -911,12 +1017,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
911
1017
|
path: _path2 + ".ranges",
|
|
912
1018
|
expected: "Array<NumericBin>",
|
|
913
1019
|
value: input3.ranges
|
|
914
|
-
})) && input3.ranges.map((elem,
|
|
915
|
-
path: _path2 + ".ranges[" +
|
|
1020
|
+
})) && input3.ranges.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1021
|
+
path: _path2 + ".ranges[" + _index16 + "]",
|
|
916
1022
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
917
1023
|
value: elem
|
|
918
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
919
|
-
path: _path2 + ".ranges[" +
|
|
1024
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1025
|
+
path: _path2 + ".ranges[" + _index16 + "]",
|
|
920
1026
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
921
1027
|
value: elem
|
|
922
1028
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -927,12 +1033,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
927
1033
|
path: _path2 + ".values",
|
|
928
1034
|
expected: "Array<__type>.o1",
|
|
929
1035
|
value: input3.values
|
|
930
|
-
})) && input3.values.map((elem,
|
|
931
|
-
path: _path2 + ".values[" +
|
|
1036
|
+
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1037
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
932
1038
|
expected: "__type.o6",
|
|
933
1039
|
value: elem
|
|
934
|
-
})) && $
|
|
935
|
-
path: _path2 + ".values[" +
|
|
1040
|
+
})) && $vo35(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1041
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
936
1042
|
expected: "__type.o6",
|
|
937
1043
|
value: elem
|
|
938
1044
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -940,7 +1046,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
940
1046
|
expected: "Array<__type>.o1",
|
|
941
1047
|
value: input3.values
|
|
942
1048
|
})].every((flag) => flag);
|
|
943
|
-
const $
|
|
1049
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
944
1050
|
path: _path2 + ".id",
|
|
945
1051
|
expected: "string",
|
|
946
1052
|
value: input3.id
|
|
@@ -956,8 +1062,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
956
1062
|
path: _path2 + ".child_types",
|
|
957
1063
|
expected: "(Array<string> | undefined)",
|
|
958
1064
|
value: input3.child_types
|
|
959
|
-
})) && input3.child_types.map((elem,
|
|
960
|
-
path: _path2 + ".child_types[" +
|
|
1065
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1066
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
961
1067
|
expected: "string",
|
|
962
1068
|
value: elem
|
|
963
1069
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -972,8 +1078,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
972
1078
|
path: _path2 + ".included_types",
|
|
973
1079
|
expected: "(Array<string> | undefined)",
|
|
974
1080
|
value: input3.included_types
|
|
975
|
-
})) && input3.included_types.map((elem,
|
|
976
|
-
path: _path2 + ".included_types[" +
|
|
1081
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1082
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
977
1083
|
expected: "string",
|
|
978
1084
|
value: elem
|
|
979
1085
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -988,7 +1094,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
988
1094
|
path: _path2 + ".values",
|
|
989
1095
|
expected: "(TermValues | undefined)",
|
|
990
1096
|
value: input3.values
|
|
991
|
-
})) && $
|
|
1097
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
992
1098
|
path: _path2 + ".values",
|
|
993
1099
|
expected: "(TermValues | undefined)",
|
|
994
1100
|
value: input3.values
|
|
@@ -996,7 +1102,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
996
1102
|
path: _path2 + ".filter",
|
|
997
1103
|
expected: "(TermFilter | undefined)",
|
|
998
1104
|
value: input3.filter
|
|
999
|
-
})) && $
|
|
1105
|
+
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1000
1106
|
path: _path2 + ".filter",
|
|
1001
1107
|
expected: "(TermFilter | undefined)",
|
|
1002
1108
|
value: input3.filter
|
|
@@ -1004,7 +1110,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1004
1110
|
path: _path2 + ".bins",
|
|
1005
1111
|
expected: "PresetNumericBins",
|
|
1006
1112
|
value: input3.bins
|
|
1007
|
-
})) && $
|
|
1113
|
+
})) && $vo28(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1008
1114
|
path: _path2 + ".bins",
|
|
1009
1115
|
expected: "PresetNumericBins",
|
|
1010
1116
|
value: input3.bins
|
|
@@ -1016,16 +1122,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
1016
1122
|
path: _path2 + ".continuousColorScale",
|
|
1017
1123
|
expected: "(__type.o5 | undefined)",
|
|
1018
1124
|
value: input3.continuousColorScale
|
|
1019
|
-
})) && $
|
|
1125
|
+
})) && $vo34(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1020
1126
|
path: _path2 + ".continuousColorScale",
|
|
1021
1127
|
expected: "(__type.o5 | undefined)",
|
|
1022
1128
|
value: input3.continuousColorScale
|
|
1023
1129
|
})].every((flag) => flag);
|
|
1024
|
-
const $
|
|
1130
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
1025
1131
|
path: _path2 + '["default"]',
|
|
1026
1132
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1027
1133
|
value: input3["default"]
|
|
1028
|
-
})) && $
|
|
1134
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
1029
1135
|
path: _path2 + '["default"]',
|
|
1030
1136
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1031
1137
|
value: input3["default"]
|
|
@@ -1033,7 +1139,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1033
1139
|
path: _path2 + ".less",
|
|
1034
1140
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1035
1141
|
value: input3.less
|
|
1036
|
-
})) && $
|
|
1142
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
1037
1143
|
path: _path2 + ".less",
|
|
1038
1144
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1039
1145
|
value: input3.less
|
|
@@ -1058,7 +1164,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1058
1164
|
expected: "(number | undefined)",
|
|
1059
1165
|
value: input3.max
|
|
1060
1166
|
})].every((flag) => flag);
|
|
1061
|
-
const $
|
|
1167
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1062
1168
|
path: _path2 + ".hiddenValues",
|
|
1063
1169
|
expected: "(HiddenValues | undefined)",
|
|
1064
1170
|
value: input3.hiddenValues
|
|
@@ -1094,7 +1200,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1094
1200
|
path: _path2 + ".first_bin",
|
|
1095
1201
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1096
1202
|
value: input3.first_bin
|
|
1097
|
-
})) && $
|
|
1203
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1098
1204
|
path: _path2 + ".first_bin",
|
|
1099
1205
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1100
1206
|
value: input3.first_bin
|
|
@@ -1102,7 +1208,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1102
1208
|
path: _path2 + ".last_bin",
|
|
1103
1209
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1104
1210
|
value: input3.last_bin
|
|
1105
|
-
})) && $
|
|
1211
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1106
1212
|
path: _path2 + ".last_bin",
|
|
1107
1213
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1108
1214
|
value: input3.last_bin
|
|
@@ -1111,7 +1217,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1111
1217
|
expected: "(number | undefined)",
|
|
1112
1218
|
value: input3.label_offset
|
|
1113
1219
|
})].every((flag) => flag);
|
|
1114
|
-
const $
|
|
1220
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1115
1221
|
path: _path2 + ".startunbounded",
|
|
1116
1222
|
expected: "true",
|
|
1117
1223
|
value: input3.startunbounded
|
|
@@ -1136,7 +1242,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1136
1242
|
expected: "(string | undefined)",
|
|
1137
1243
|
value: input3.label
|
|
1138
1244
|
})].every((flag) => flag);
|
|
1139
|
-
const $
|
|
1245
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1140
1246
|
path: _path2 + ".startunbounded",
|
|
1141
1247
|
expected: "(false | undefined)",
|
|
1142
1248
|
value: input3.startunbounded
|
|
@@ -1165,7 +1271,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1165
1271
|
expected: "(string | undefined)",
|
|
1166
1272
|
value: input3.label
|
|
1167
1273
|
})].every((flag) => flag);
|
|
1168
|
-
const $
|
|
1274
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1169
1275
|
path: _path2 + ".start",
|
|
1170
1276
|
expected: "number",
|
|
1171
1277
|
value: input3.start
|
|
@@ -1190,7 +1296,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1190
1296
|
expected: "(string | undefined)",
|
|
1191
1297
|
value: input3.label
|
|
1192
1298
|
})].every((flag) => flag);
|
|
1193
|
-
const $
|
|
1299
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1194
1300
|
path: _path2 + ".hiddenValues",
|
|
1195
1301
|
expected: "(HiddenValues | undefined)",
|
|
1196
1302
|
value: input3.hiddenValues
|
|
@@ -1236,12 +1342,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1236
1342
|
path: _path2 + ".lst",
|
|
1237
1343
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1238
1344
|
value: input3.lst.slice(1)
|
|
1239
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1240
|
-
path: _path2 + ".lst[" + (1 +
|
|
1345
|
+
})) && input3.lst.slice(1).map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1346
|
+
path: _path2 + ".lst[" + (1 + _index20) + "]",
|
|
1241
1347
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1242
1348
|
value: elem
|
|
1243
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1244
|
-
path: _path2 + ".lst[" + (1 +
|
|
1349
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index20) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1350
|
+
path: _path2 + ".lst[" + (1 + _index20) + "]",
|
|
1245
1351
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1246
1352
|
value: elem
|
|
1247
1353
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1257,7 +1363,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1257
1363
|
expected: '("median" | undefined)',
|
|
1258
1364
|
value: input3.preferredBins
|
|
1259
1365
|
})].every((flag) => flag);
|
|
1260
|
-
const $
|
|
1366
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1261
1367
|
path: _path2 + ".minColor",
|
|
1262
1368
|
expected: "string",
|
|
1263
1369
|
value: input3.minColor
|
|
@@ -1266,7 +1372,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1266
1372
|
expected: "string",
|
|
1267
1373
|
value: input3.maxColor
|
|
1268
1374
|
})].every((flag) => flag);
|
|
1269
|
-
const $
|
|
1375
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1270
1376
|
path: _path2 + ".key",
|
|
1271
1377
|
expected: "string",
|
|
1272
1378
|
value: input3.key
|
|
@@ -1283,7 +1389,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1283
1389
|
expected: "(string | undefined)",
|
|
1284
1390
|
value: input3.label
|
|
1285
1391
|
})].every((flag) => flag);
|
|
1286
|
-
const $
|
|
1392
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1287
1393
|
path: _path2 + ".join",
|
|
1288
1394
|
expected: "(string | undefined)",
|
|
1289
1395
|
value: input3.join
|
|
@@ -1295,7 +1401,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1295
1401
|
path: _path2 + ".term",
|
|
1296
1402
|
expected: "ConditionTerm",
|
|
1297
1403
|
value: input3.term
|
|
1298
|
-
})) && $
|
|
1404
|
+
})) && $vo37(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1299
1405
|
path: _path2 + ".term",
|
|
1300
1406
|
expected: "ConditionTerm",
|
|
1301
1407
|
value: input3.term
|
|
@@ -1315,12 +1421,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1315
1421
|
path: _path2 + ".grade_and_child",
|
|
1316
1422
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1317
1423
|
value: input3.grade_and_child
|
|
1318
|
-
})) && input3.grade_and_child.map((elem,
|
|
1319
|
-
path: _path2 + ".grade_and_child[" +
|
|
1424
|
+
})) && input3.grade_and_child.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1425
|
+
path: _path2 + ".grade_and_child[" + _index21 + "]",
|
|
1320
1426
|
expected: "GradeAndChildEntry",
|
|
1321
1427
|
value: elem
|
|
1322
|
-
})) && $
|
|
1323
|
-
path: _path2 + ".grade_and_child[" +
|
|
1428
|
+
})) && $vo38(elem, _path2 + ".grade_and_child[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1429
|
+
path: _path2 + ".grade_and_child[" + _index21 + "]",
|
|
1324
1430
|
expected: "GradeAndChildEntry",
|
|
1325
1431
|
value: elem
|
|
1326
1432
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1328,7 +1434,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1328
1434
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1329
1435
|
value: input3.grade_and_child
|
|
1330
1436
|
})].every((flag) => flag);
|
|
1331
|
-
const $
|
|
1437
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1332
1438
|
path: _path2 + ".id",
|
|
1333
1439
|
expected: "string",
|
|
1334
1440
|
value: input3.id
|
|
@@ -1344,8 +1450,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1344
1450
|
path: _path2 + ".child_types",
|
|
1345
1451
|
expected: "(Array<string> | undefined)",
|
|
1346
1452
|
value: input3.child_types
|
|
1347
|
-
})) && input3.child_types.map((elem,
|
|
1348
|
-
path: _path2 + ".child_types[" +
|
|
1453
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1454
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1349
1455
|
expected: "string",
|
|
1350
1456
|
value: elem
|
|
1351
1457
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1360,8 +1466,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1360
1466
|
path: _path2 + ".included_types",
|
|
1361
1467
|
expected: "(Array<string> | undefined)",
|
|
1362
1468
|
value: input3.included_types
|
|
1363
|
-
})) && input3.included_types.map((elem,
|
|
1364
|
-
path: _path2 + ".included_types[" +
|
|
1469
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1470
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1365
1471
|
expected: "string",
|
|
1366
1472
|
value: elem
|
|
1367
1473
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1376,7 +1482,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1376
1482
|
path: _path2 + ".values",
|
|
1377
1483
|
expected: "(TermValues | undefined)",
|
|
1378
1484
|
value: input3.values
|
|
1379
|
-
})) && $
|
|
1485
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1380
1486
|
path: _path2 + ".values",
|
|
1381
1487
|
expected: "(TermValues | undefined)",
|
|
1382
1488
|
value: input3.values
|
|
@@ -1384,12 +1490,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1384
1490
|
path: _path2 + ".filter",
|
|
1385
1491
|
expected: "(TermFilter | undefined)",
|
|
1386
1492
|
value: input3.filter
|
|
1387
|
-
})) && $
|
|
1493
|
+
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1388
1494
|
path: _path2 + ".filter",
|
|
1389
1495
|
expected: "(TermFilter | undefined)",
|
|
1390
1496
|
value: input3.filter
|
|
1391
1497
|
})].every((flag) => flag);
|
|
1392
|
-
const $
|
|
1498
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1393
1499
|
path: _path2 + ".grade",
|
|
1394
1500
|
expected: "number",
|
|
1395
1501
|
value: input3.grade
|
|
@@ -1406,7 +1512,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1406
1512
|
expected: "string",
|
|
1407
1513
|
value: input3.child_label
|
|
1408
1514
|
})].every((flag) => flag);
|
|
1409
|
-
const $
|
|
1515
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1410
1516
|
path: _path2 + ".join",
|
|
1411
1517
|
expected: "(string | undefined)",
|
|
1412
1518
|
value: input3.join
|
|
@@ -1426,12 +1532,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1426
1532
|
path: _path2 + ".values",
|
|
1427
1533
|
expected: "Array<__type>.o2",
|
|
1428
1534
|
value: input3.values
|
|
1429
|
-
})) && input3.values.map((elem,
|
|
1430
|
-
path: _path2 + ".values[" +
|
|
1535
|
+
})) && input3.values.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1536
|
+
path: _path2 + ".values[" + _index24 + "]",
|
|
1431
1537
|
expected: "__type.o7",
|
|
1432
1538
|
value: elem
|
|
1433
|
-
})) && $
|
|
1434
|
-
path: _path2 + ".values[" +
|
|
1539
|
+
})) && $vo40(elem, _path2 + ".values[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1540
|
+
path: _path2 + ".values[" + _index24 + "]",
|
|
1435
1541
|
expected: "__type.o7",
|
|
1436
1542
|
value: elem
|
|
1437
1543
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1439,7 +1545,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1439
1545
|
expected: "Array<__type>.o2",
|
|
1440
1546
|
value: input3.values
|
|
1441
1547
|
})].every((flag) => flag);
|
|
1442
|
-
const $
|
|
1548
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1443
1549
|
path: _path2 + ".key",
|
|
1444
1550
|
expected: "string",
|
|
1445
1551
|
value: input3.key
|
|
@@ -1452,6 +1558,91 @@ var validBrainImagingRequest = (input) => {
|
|
|
1452
1558
|
expected: "string",
|
|
1453
1559
|
value: input3.value
|
|
1454
1560
|
})].every((flag) => flag);
|
|
1561
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1562
|
+
path: _path2 + ".id",
|
|
1563
|
+
expected: "string",
|
|
1564
|
+
value: input3.id
|
|
1565
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1566
|
+
path: _path2 + ".name",
|
|
1567
|
+
expected: "string",
|
|
1568
|
+
value: input3.name
|
|
1569
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1570
|
+
path: _path2 + ".type",
|
|
1571
|
+
expected: '"geneVariant"',
|
|
1572
|
+
value: input3.type
|
|
1573
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1574
|
+
path: _path2 + ".child_types",
|
|
1575
|
+
expected: "(Array<string> | undefined)",
|
|
1576
|
+
value: input3.child_types
|
|
1577
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1578
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1579
|
+
expected: "string",
|
|
1580
|
+
value: elem
|
|
1581
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1582
|
+
path: _path2 + ".child_types",
|
|
1583
|
+
expected: "(Array<string> | undefined)",
|
|
1584
|
+
value: input3.child_types
|
|
1585
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1586
|
+
path: _path2 + ".hashtmldetail",
|
|
1587
|
+
expected: "(boolean | undefined)",
|
|
1588
|
+
value: input3.hashtmldetail
|
|
1589
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1590
|
+
path: _path2 + ".included_types",
|
|
1591
|
+
expected: "(Array<string> | undefined)",
|
|
1592
|
+
value: input3.included_types
|
|
1593
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1594
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1595
|
+
expected: "string",
|
|
1596
|
+
value: elem
|
|
1597
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1598
|
+
path: _path2 + ".included_types",
|
|
1599
|
+
expected: "(Array<string> | undefined)",
|
|
1600
|
+
value: input3.included_types
|
|
1601
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1602
|
+
path: _path2 + ".isleaf",
|
|
1603
|
+
expected: "(boolean | undefined)",
|
|
1604
|
+
value: input3.isleaf
|
|
1605
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1606
|
+
path: _path2 + ".values",
|
|
1607
|
+
expected: "(TermValues | undefined)",
|
|
1608
|
+
value: input3.values
|
|
1609
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1610
|
+
path: _path2 + ".values",
|
|
1611
|
+
expected: "(TermValues | undefined)",
|
|
1612
|
+
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
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1622
|
+
path: _path2 + ".kind",
|
|
1623
|
+
expected: '"coord"',
|
|
1624
|
+
value: input3.kind
|
|
1625
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1626
|
+
path: _path2 + ".chr",
|
|
1627
|
+
expected: "string",
|
|
1628
|
+
value: input3.chr
|
|
1629
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1630
|
+
path: _path2 + ".start",
|
|
1631
|
+
expected: "number",
|
|
1632
|
+
value: input3.start
|
|
1633
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1634
|
+
path: _path2 + ".stop",
|
|
1635
|
+
expected: "number",
|
|
1636
|
+
value: input3.stop
|
|
1637
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1638
|
+
path: _path2 + ".groupsetting",
|
|
1639
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
1640
|
+
value: input3.groupsetting
|
|
1641
|
+
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1642
|
+
path: _path2 + ".groupsetting",
|
|
1643
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
1644
|
+
value: input3.groupsetting
|
|
1645
|
+
})].every((flag) => flag);
|
|
1455
1646
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1456
1647
|
if ("string" === typeof input3.type)
|
|
1457
1648
|
return $vo9(input3, _path2, _exceptionable2);
|
|
@@ -1465,9 +1656,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1465
1656
|
})();
|
|
1466
1657
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1467
1658
|
if ("tvslst" === input3.type)
|
|
1468
|
-
return $vo17(input3, _path2, _exceptionable2);
|
|
1469
|
-
if ("tvs" === input3.type)
|
|
1470
1659
|
return $vo18(input3, _path2, _exceptionable2);
|
|
1660
|
+
if ("tvs" === input3.type)
|
|
1661
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1471
1662
|
return $report(_exceptionable2, {
|
|
1472
1663
|
path: _path2,
|
|
1473
1664
|
expected: "(Filter | __type.o3)",
|
|
@@ -1476,10 +1667,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1476
1667
|
})();
|
|
1477
1668
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1478
1669
|
if (true === input3.startunbounded)
|
|
1479
|
-
return $
|
|
1670
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1480
1671
|
if (true === input3.stopunbounded)
|
|
1481
|
-
return $
|
|
1482
|
-
return $
|
|
1672
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1673
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1483
1674
|
})();
|
|
1484
1675
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1485
1676
|
if ("values" === input3.type)
|
|
@@ -1491,42 +1682,53 @@ var validBrainImagingRequest = (input) => {
|
|
|
1491
1682
|
return $vo5(input3, _path2, _exceptionable2);
|
|
1492
1683
|
})();
|
|
1493
1684
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1494
|
-
if (
|
|
1495
|
-
return $
|
|
1496
|
-
|
|
1685
|
+
if ("gene" === input3.kind)
|
|
1686
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
1687
|
+
if ("coord" === input3.kind)
|
|
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
|
+
});
|
|
1497
1694
|
})();
|
|
1498
1695
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1499
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1500
|
-
return $
|
|
1501
|
-
return $
|
|
1696
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index27) => "object" === typeof elem && null !== elem && $vo24(elem, _path2 + ".lst[" + _index27 + "]", false)).every((flag) => flag))
|
|
1697
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1698
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1502
1699
|
})();
|
|
1503
1700
|
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) => (() => {
|
|
1504
1706
|
if ("regular-bin" === input3.type)
|
|
1505
|
-
return $
|
|
1707
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1506
1708
|
if ("custom-bin" === input3.type)
|
|
1507
|
-
return $
|
|
1709
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
1508
1710
|
return $report(_exceptionable2, {
|
|
1509
1711
|
path: _path2,
|
|
1510
1712
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1511
1713
|
value: input3
|
|
1512
1714
|
});
|
|
1513
1715
|
})();
|
|
1514
|
-
const $
|
|
1716
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1515
1717
|
if (true === input3.startunbounded)
|
|
1516
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
1517
|
-
if (void 0 !== input3.start)
|
|
1518
1718
|
return $vo30(input3, _path2, _exceptionable2);
|
|
1719
|
+
if (void 0 !== input3.start)
|
|
1720
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1519
1721
|
return $report(_exceptionable2, {
|
|
1520
1722
|
path: _path2,
|
|
1521
1723
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1522
1724
|
value: input3
|
|
1523
1725
|
});
|
|
1524
1726
|
})();
|
|
1525
|
-
const $
|
|
1727
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1526
1728
|
if (void 0 !== input3.stop)
|
|
1527
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
1528
|
-
if (true === input3.stopunbounded)
|
|
1529
1729
|
return $vo31(input3, _path2, _exceptionable2);
|
|
1730
|
+
if (true === input3.stopunbounded)
|
|
1731
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1530
1732
|
return $report(_exceptionable2, {
|
|
1531
1733
|
path: _path2,
|
|
1532
1734
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|