@sjcrh/proteinpaint-types 2.113.0 → 2.115.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-5HL5BPE5.js +126 -0
- package/dist/{chunk-A72XYNKT.js → chunk-7GSVLBKZ.js} +22 -22
- package/dist/{chunk-7Z3AE4AY.js → chunk-C7DJDPLP.js} +592 -496
- package/dist/{chunk-GHAIGRB7.js → chunk-EQGBEPDC.js} +22 -22
- package/dist/{chunk-KHPBBU43.js → chunk-GS37E7DB.js} +592 -496
- package/dist/{chunk-TXZQ56TX.js → chunk-I3U2T7HV.js} +590 -494
- package/dist/{chunk-Q5F2XI6A.js → chunk-IJHMCHUT.js} +31 -23
- package/dist/{chunk-GGKNEHME.js → chunk-KBTAXZM4.js} +331 -305
- package/dist/{chunk-4CCAF4O5.js → chunk-KZIZMP7Y.js} +64 -64
- package/dist/{chunk-ES6BRZ4L.js → chunk-M26XQDA4.js} +22 -22
- package/dist/{chunk-FMW25T52.js → chunk-MDBZCBM2.js} +293 -197
- package/dist/{chunk-OJWYCYKF.js → chunk-NESPJ4GG.js} +76 -76
- package/dist/{chunk-2WZPM25H.js → chunk-PTYGGJLG.js} +592 -496
- package/dist/{chunk-ZFUF4XMD.js → chunk-ZPN2DV5E.js} +22 -22
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +45 -37
- 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 +11 -0
- 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 +11 -0
- package/package.json +1 -1
- package/src/dataset.ts +32 -9
- package/src/index.ts +2 -1
- package/src/routes/{gdc.topMutatedGenes.ts → termdb.topMutatedGenes.ts} +9 -7
- package/src/routes/wsisamples.ts +25 -0
- package/src/terms/geneVariant.ts +23 -2
- package/src/terms/numeric.ts +2 -2
- package/src/terms/term.ts +18 -9
- package/dist/gdc.topMutatedGenes.js +0 -11
|
@@ -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) && "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 && $iu4(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $
|
|
25
|
+
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof 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) && $iu4(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io12(input3.term));
|
|
26
26
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
27
27
|
const value = input3[key];
|
|
28
28
|
if (void 0 === value)
|
|
@@ -40,77 +40,78 @@ var validBrainImagingRequest = (input) => {
|
|
|
40
40
|
return "number" === typeof value;
|
|
41
41
|
return true;
|
|
42
42
|
});
|
|
43
|
-
const $io5 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic ||
|
|
44
|
-
const $io6 = (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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "
|
|
45
|
-
const $io7 = (input3) => Array.isArray(input3.
|
|
46
|
-
const $io8 = (input3) =>
|
|
47
|
-
const $io9 = (input3) =>
|
|
48
|
-
const $io10 = (input3) => "string" === typeof input3.
|
|
49
|
-
const $io11 = (input3) => "
|
|
50
|
-
const $io12 = (input3) =>
|
|
51
|
-
const $io13 = (input3) =>
|
|
52
|
-
const $io14 = (input3) => Object.keys(input3).every((key) => {
|
|
43
|
+
const $io5 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "filter" === input3.type);
|
|
44
|
+
const $io6 = (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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
45
|
+
const $io7 = (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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io8(input3.customset));
|
|
46
|
+
const $io8 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
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
|
+
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
49
|
+
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && true && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
50
|
+
const $io12 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
|
|
51
|
+
const $io13 = (input3) => Object.keys(input3).every((key) => {
|
|
53
52
|
const value = input3[key];
|
|
54
53
|
if (void 0 === value)
|
|
55
54
|
return true;
|
|
56
55
|
if (RegExp(/(.*)/).test(key))
|
|
57
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
56
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io14(value);
|
|
58
57
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
59
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
58
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io14(value);
|
|
60
59
|
return true;
|
|
61
60
|
});
|
|
62
|
-
const $
|
|
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 $
|
|
61
|
+
const $io14 = (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 && $io15(input3.filter));
|
|
62
|
+
const $io15 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === 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)));
|
|
63
|
+
const $io16 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io12(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) && $io14(elem)));
|
|
64
|
+
const $io17 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io18(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 && $io26(elem)));
|
|
65
|
+
const $io18 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io19(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io25(input3.continuousColorScale));
|
|
66
|
+
const $io19 = (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);
|
|
67
|
+
const $io20 = (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);
|
|
68
|
+
const $io21 = (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);
|
|
69
|
+
const $io22 = (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);
|
|
70
|
+
const $io23 = (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);
|
|
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) && "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);
|
|
72
|
+
const $io25 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
73
|
+
const $io26 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
74
|
+
const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(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 && $io29(elem)));
|
|
75
|
+
const $io28 = (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) && $io13(input3.values)) && true;
|
|
76
|
+
const $io29 = (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;
|
|
77
|
+
const $io30 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
78
|
+
const $io31 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io32(input3.groupsetting)) && "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);
|
|
79
|
+
const $io32 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
80
|
+
const $io33 = (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)));
|
|
81
|
+
const $io34 = (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) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io32(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
82
82
|
const $io35 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
83
83
|
const $io36 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
84
84
|
const $io37 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
85
85
|
const $io38 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
86
|
+
const $io39 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
86
87
|
const $iu0 = (input3) => (() => {
|
|
87
88
|
if ("string" === typeof input3.type)
|
|
88
|
-
return $
|
|
89
|
+
return $io9(input3);
|
|
89
90
|
if ("filter" === input3.type)
|
|
90
|
-
return $
|
|
91
|
+
return $io11(input3);
|
|
91
92
|
return false;
|
|
92
93
|
})();
|
|
93
94
|
const $iu1 = (input3) => (() => {
|
|
94
95
|
if (void 0 !== input3.type)
|
|
95
|
-
return $
|
|
96
|
+
return $io15(input3);
|
|
96
97
|
if (void 0 !== input3.ranges)
|
|
97
|
-
return $
|
|
98
|
+
return $io17(input3);
|
|
98
99
|
return (() => {
|
|
99
|
-
if ($
|
|
100
|
-
return $
|
|
101
|
-
if ($
|
|
102
|
-
return $
|
|
103
|
-
if ($
|
|
104
|
-
return $
|
|
100
|
+
if ($io16(input3))
|
|
101
|
+
return $io16(input3);
|
|
102
|
+
if ($io27(input3))
|
|
103
|
+
return $io27(input3);
|
|
104
|
+
if ($io30(input3))
|
|
105
|
+
return $io30(input3);
|
|
105
106
|
return false;
|
|
106
107
|
})();
|
|
107
108
|
})();
|
|
108
109
|
const $iu2 = (input3) => (() => {
|
|
109
110
|
if (true === input3.startunbounded)
|
|
110
|
-
return $
|
|
111
|
+
return $io21(input3);
|
|
111
112
|
if (true === input3.stopunbounded)
|
|
112
|
-
return $
|
|
113
|
-
return $
|
|
113
|
+
return $io23(input3);
|
|
114
|
+
return $io22(input3);
|
|
114
115
|
})();
|
|
115
116
|
const $iu3 = (input3) => (() => {
|
|
116
117
|
if (2 === input3.dt)
|
|
@@ -127,40 +128,40 @@ var validBrainImagingRequest = (input) => {
|
|
|
127
128
|
if ("values" === input3.type)
|
|
128
129
|
return $io3(input3);
|
|
129
130
|
if ("predefined-groupset" === input3.type)
|
|
130
|
-
return $io5(input3);
|
|
131
|
-
if ("custom-groupset" === input3.type)
|
|
132
131
|
return $io6(input3);
|
|
133
|
-
|
|
132
|
+
if ("custom-groupset" === input3.type)
|
|
133
|
+
return $io7(input3);
|
|
134
|
+
return $io5(input3);
|
|
134
135
|
})();
|
|
135
136
|
const $iu5 = (input3) => (() => {
|
|
136
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
137
|
-
return $
|
|
138
|
-
return $
|
|
137
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)))
|
|
138
|
+
return $io32(input3);
|
|
139
|
+
return $io39(input3);
|
|
139
140
|
})();
|
|
140
141
|
const $iu6 = (input3) => (() => {
|
|
141
142
|
if ("regular-bin" === input3.type)
|
|
142
|
-
return $
|
|
143
|
+
return $io20(input3);
|
|
143
144
|
if ("custom-bin" === input3.type)
|
|
144
|
-
return $
|
|
145
|
+
return $io24(input3);
|
|
145
146
|
return false;
|
|
146
147
|
})();
|
|
147
148
|
const $iu7 = (input3) => (() => {
|
|
148
149
|
if (true === input3.startunbounded)
|
|
149
|
-
return $
|
|
150
|
+
return $io21(input3);
|
|
150
151
|
if (void 0 !== input3.start)
|
|
151
|
-
return $
|
|
152
|
+
return $io22(input3);
|
|
152
153
|
return false;
|
|
153
154
|
})();
|
|
154
155
|
const $iu8 = (input3) => (() => {
|
|
155
156
|
if (void 0 !== input3.stop)
|
|
156
|
-
return $
|
|
157
|
+
return $io22(input3);
|
|
157
158
|
if (true === input3.stopunbounded)
|
|
158
|
-
return $
|
|
159
|
+
return $io23(input3);
|
|
159
160
|
return false;
|
|
160
161
|
})();
|
|
161
162
|
const $iu9 = (input3) => (() => {
|
|
162
163
|
if ("gene" === input3.kind)
|
|
163
|
-
return $
|
|
164
|
+
return $io31(input3);
|
|
164
165
|
if ("coord" === input3.kind)
|
|
165
166
|
return $io34(input3);
|
|
166
167
|
return false;
|
|
@@ -264,19 +265,19 @@ var validBrainImagingRequest = (input) => {
|
|
|
264
265
|
path: _path2 + ".type",
|
|
265
266
|
expected: '("CatTWCustomGS" | "CatTWPredefinedGS" | "CatTWValues")',
|
|
266
267
|
value: input3.type
|
|
267
|
-
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
268
|
+
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
268
269
|
path: _path2 + ".q",
|
|
269
|
-
expected: "(CustomGroupSettingQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
270
|
+
expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
270
271
|
value: input3.q
|
|
271
272
|
})) && $vu4(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
272
273
|
path: _path2 + ".q",
|
|
273
|
-
expected: "(CustomGroupSettingQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
274
|
+
expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
274
275
|
value: input3.q
|
|
275
276
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
276
277
|
path: _path2 + ".term",
|
|
277
278
|
expected: "CategoricalTerm",
|
|
278
279
|
value: input3.term
|
|
279
|
-
})) && $
|
|
280
|
+
})) && $vo12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
280
281
|
path: _path2 + ".term",
|
|
281
282
|
expected: "CategoricalTerm",
|
|
282
283
|
value: input3.term
|
|
@@ -338,6 +339,35 @@ var validBrainImagingRequest = (input) => {
|
|
|
338
339
|
path: _path2 + ".hiddenValues",
|
|
339
340
|
expected: "(HiddenValues | undefined)",
|
|
340
341
|
value: input3.hiddenValues
|
|
342
|
+
}), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
|
|
343
|
+
path: _path2 + ".isAtomic",
|
|
344
|
+
expected: "(boolean | undefined)",
|
|
345
|
+
value: input3.isAtomic
|
|
346
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
347
|
+
path: _path2 + ".name",
|
|
348
|
+
expected: "(string | undefined)",
|
|
349
|
+
value: input3.name
|
|
350
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
351
|
+
path: _path2 + ".mode",
|
|
352
|
+
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
353
|
+
value: input3.mode
|
|
354
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
355
|
+
path: _path2 + ".reuseId",
|
|
356
|
+
expected: "(string | undefined)",
|
|
357
|
+
value: input3.reuseId
|
|
358
|
+
}), void 0 === input3.type || "filter" === input3.type || $report(_exceptionable2, {
|
|
359
|
+
path: _path2 + ".type",
|
|
360
|
+
expected: '("filter" | undefined)',
|
|
361
|
+
value: input3.type
|
|
362
|
+
})].every((flag) => flag);
|
|
363
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
364
|
+
path: _path2 + ".hiddenValues",
|
|
365
|
+
expected: "(HiddenValues | undefined)",
|
|
366
|
+
value: input3.hiddenValues
|
|
367
|
+
})) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
368
|
+
path: _path2 + ".hiddenValues",
|
|
369
|
+
expected: "(HiddenValues | undefined)",
|
|
370
|
+
value: input3.hiddenValues
|
|
341
371
|
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
342
372
|
path: _path2 + ".isAtomic",
|
|
343
373
|
expected: "(true | undefined)",
|
|
@@ -363,7 +393,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
363
393
|
expected: "number",
|
|
364
394
|
value: input3.predefined_groupset_idx
|
|
365
395
|
})].every((flag) => flag);
|
|
366
|
-
const $
|
|
396
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
367
397
|
path: _path2 + ".hiddenValues",
|
|
368
398
|
expected: "(HiddenValues | undefined)",
|
|
369
399
|
value: input3.hiddenValues
|
|
@@ -395,12 +425,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
395
425
|
path: _path2 + ".customset",
|
|
396
426
|
expected: "BaseGroupSet",
|
|
397
427
|
value: input3.customset
|
|
398
|
-
})) && $
|
|
428
|
+
})) && $vo8(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
399
429
|
path: _path2 + ".customset",
|
|
400
430
|
expected: "BaseGroupSet",
|
|
401
431
|
value: input3.customset
|
|
402
432
|
})].every((flag) => flag);
|
|
403
|
-
const $
|
|
433
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
404
434
|
path: _path2 + ".groups",
|
|
405
435
|
expected: "Array<GroupEntry>",
|
|
406
436
|
value: input3.groups
|
|
@@ -417,7 +447,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
417
447
|
expected: "Array<GroupEntry>",
|
|
418
448
|
value: input3.groups
|
|
419
449
|
})].every((flag) => flag);
|
|
420
|
-
const $
|
|
450
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
421
451
|
path: _path2 + ".name",
|
|
422
452
|
expected: "string",
|
|
423
453
|
value: input3.name
|
|
@@ -433,7 +463,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
433
463
|
path: _path2 + ".values[" + _index4 + "]",
|
|
434
464
|
expected: "__type.o1",
|
|
435
465
|
value: elem
|
|
436
|
-
})) && $
|
|
466
|
+
})) && $vo10(elem, _path2 + ".values[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
437
467
|
path: _path2 + ".values[" + _index4 + "]",
|
|
438
468
|
expected: "__type.o1",
|
|
439
469
|
value: elem
|
|
@@ -446,7 +476,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
446
476
|
expected: "(boolean | undefined)",
|
|
447
477
|
value: input3.uncomputable
|
|
448
478
|
})].every((flag) => flag);
|
|
449
|
-
const $
|
|
479
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
450
480
|
path: _path2 + ".key",
|
|
451
481
|
expected: "(number | string)",
|
|
452
482
|
value: input3.key
|
|
@@ -455,7 +485,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
455
485
|
expected: "string",
|
|
456
486
|
value: input3.label
|
|
457
487
|
})].every((flag) => flag);
|
|
458
|
-
const $
|
|
488
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
459
489
|
path: _path2 + ".name",
|
|
460
490
|
expected: "string",
|
|
461
491
|
value: input3.name
|
|
@@ -463,86 +493,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
463
493
|
path: _path2 + ".type",
|
|
464
494
|
expected: '"filter"',
|
|
465
495
|
value: input3.type
|
|
466
|
-
}),
|
|
467
|
-
path: _path2 + ".
|
|
468
|
-
expected: "Filter",
|
|
469
|
-
value: input3.filter
|
|
470
|
-
})) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
471
|
-
path: _path2 + ".filter",
|
|
472
|
-
expected: "Filter",
|
|
473
|
-
value: input3.filter
|
|
474
|
-
})].every((flag) => flag);
|
|
475
|
-
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
|
|
476
|
-
path: _path2 + ".type",
|
|
477
|
-
expected: '"lst"',
|
|
478
|
-
value: input3.type
|
|
479
|
-
}), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
480
|
-
path: _path2 + '["in"]',
|
|
481
|
-
expected: "(boolean | undefined)",
|
|
482
|
-
value: input3["in"]
|
|
483
|
-
}), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
|
|
484
|
-
path: _path2 + ".join",
|
|
485
|
-
expected: '("and" | "or")',
|
|
486
|
-
value: input3.join
|
|
487
|
-
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
488
|
-
path: _path2 + ".tag",
|
|
489
|
-
expected: "(string | undefined)",
|
|
490
|
-
value: input3.tag
|
|
491
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
492
|
-
path: _path2 + ".lst",
|
|
493
|
-
expected: "Array<Filter | Tvs>",
|
|
494
|
-
value: input3.lst
|
|
495
|
-
})) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
496
|
-
path: _path2 + ".lst[" + _index5 + "]",
|
|
497
|
-
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
498
|
-
value: elem
|
|
499
|
-
})) && $vu1(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
500
|
-
path: _path2 + ".lst[" + _index5 + "]",
|
|
501
|
-
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
502
|
-
value: elem
|
|
503
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
504
|
-
path: _path2 + ".lst",
|
|
505
|
-
expected: "Array<Filter | Tvs>",
|
|
506
|
-
value: input3.lst
|
|
507
|
-
})].every((flag) => flag);
|
|
508
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
509
|
-
path: _path2 + ".join",
|
|
510
|
-
expected: "(string | undefined)",
|
|
511
|
-
value: input3.join
|
|
512
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
513
|
-
path: _path2 + ".isnot",
|
|
496
|
+
}), true, void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
497
|
+
path: _path2 + ".uncomputable",
|
|
514
498
|
expected: "(boolean | undefined)",
|
|
515
|
-
value: input3.
|
|
516
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
517
|
-
path: _path2 + ".term",
|
|
518
|
-
expected: "CategoricalTerm",
|
|
519
|
-
value: input3.term
|
|
520
|
-
})) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
521
|
-
path: _path2 + ".term",
|
|
522
|
-
expected: "CategoricalTerm",
|
|
523
|
-
value: input3.term
|
|
524
|
-
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
525
|
-
path: _path2 + ".groupset_label",
|
|
526
|
-
expected: "(string | undefined)",
|
|
527
|
-
value: input3.groupset_label
|
|
528
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
529
|
-
path: _path2 + ".values",
|
|
530
|
-
expected: "Array<BaseValue>",
|
|
531
|
-
value: input3.values
|
|
532
|
-
})) && input3.values.map((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
533
|
-
path: _path2 + ".values[" + _index6 + "]",
|
|
534
|
-
expected: "BaseValue",
|
|
535
|
-
value: elem
|
|
536
|
-
})) && $vo15(elem, _path2 + ".values[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
537
|
-
path: _path2 + ".values[" + _index6 + "]",
|
|
538
|
-
expected: "BaseValue",
|
|
539
|
-
value: elem
|
|
540
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
541
|
-
path: _path2 + ".values",
|
|
542
|
-
expected: "Array<BaseValue>",
|
|
543
|
-
value: input3.values
|
|
499
|
+
value: input3.uncomputable
|
|
544
500
|
})].every((flag) => flag);
|
|
545
|
-
const $
|
|
501
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
546
502
|
path: _path2 + ".id",
|
|
547
503
|
expected: "string",
|
|
548
504
|
value: input3.id
|
|
@@ -558,8 +514,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
558
514
|
path: _path2 + ".child_types",
|
|
559
515
|
expected: "(Array<string> | undefined)",
|
|
560
516
|
value: input3.child_types
|
|
561
|
-
})) && input3.child_types.map((elem,
|
|
562
|
-
path: _path2 + ".child_types[" +
|
|
517
|
+
})) && input3.child_types.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
|
|
518
|
+
path: _path2 + ".child_types[" + _index5 + "]",
|
|
563
519
|
expected: "string",
|
|
564
520
|
value: elem
|
|
565
521
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -574,8 +530,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
574
530
|
path: _path2 + ".included_types",
|
|
575
531
|
expected: "(Array<string> | undefined)",
|
|
576
532
|
value: input3.included_types
|
|
577
|
-
})) && input3.included_types.map((elem,
|
|
578
|
-
path: _path2 + ".included_types[" +
|
|
533
|
+
})) && input3.included_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
534
|
+
path: _path2 + ".included_types[" + _index6 + "]",
|
|
579
535
|
expected: "string",
|
|
580
536
|
value: elem
|
|
581
537
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -590,20 +546,20 @@ var validBrainImagingRequest = (input) => {
|
|
|
590
546
|
path: _path2 + ".values",
|
|
591
547
|
expected: "(TermValues | undefined)",
|
|
592
548
|
value: input3.values
|
|
593
|
-
})) && $
|
|
549
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
594
550
|
path: _path2 + ".values",
|
|
595
551
|
expected: "(TermValues | undefined)",
|
|
596
552
|
value: input3.values
|
|
597
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
553
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
598
554
|
path: _path2 + ".groupsetting",
|
|
599
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
555
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
600
556
|
value: input3.groupsetting
|
|
601
557
|
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
602
558
|
path: _path2 + ".groupsetting",
|
|
603
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
559
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
604
560
|
value: input3.groupsetting
|
|
605
561
|
})].every((flag) => flag);
|
|
606
|
-
const $
|
|
562
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
607
563
|
const value = input3[key];
|
|
608
564
|
if (void 0 === value)
|
|
609
565
|
return true;
|
|
@@ -612,7 +568,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
612
568
|
path: _path2 + $join(key),
|
|
613
569
|
expected: "BaseValue",
|
|
614
570
|
value
|
|
615
|
-
})) && $
|
|
571
|
+
})) && $vo14(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
616
572
|
path: _path2 + $join(key),
|
|
617
573
|
expected: "BaseValue",
|
|
618
574
|
value
|
|
@@ -622,14 +578,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
622
578
|
path: _path2 + $join(key),
|
|
623
579
|
expected: "BaseValue",
|
|
624
580
|
value
|
|
625
|
-
})) && $
|
|
581
|
+
})) && $vo14(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
626
582
|
path: _path2 + $join(key),
|
|
627
583
|
expected: "BaseValue",
|
|
628
584
|
value
|
|
629
585
|
});
|
|
630
586
|
return true;
|
|
631
587
|
}).every((flag) => flag)].every((flag) => flag);
|
|
632
|
-
const $
|
|
588
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
633
589
|
path: _path2 + ".key",
|
|
634
590
|
expected: "(string | undefined)",
|
|
635
591
|
value: input3.key
|
|
@@ -657,79 +613,82 @@ var validBrainImagingRequest = (input) => {
|
|
|
657
613
|
path: _path2 + ".filter",
|
|
658
614
|
expected: "(Filter | undefined)",
|
|
659
615
|
value: input3.filter
|
|
660
|
-
})) && $
|
|
616
|
+
})) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
661
617
|
path: _path2 + ".filter",
|
|
662
618
|
expected: "(Filter | undefined)",
|
|
663
619
|
value: input3.filter
|
|
664
620
|
})].every((flag) => flag);
|
|
665
|
-
const $
|
|
666
|
-
path: _path2 + ".
|
|
621
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
|
|
622
|
+
path: _path2 + ".type",
|
|
623
|
+
expected: '"lst"',
|
|
624
|
+
value: input3.type
|
|
625
|
+
}), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
626
|
+
path: _path2 + '["in"]',
|
|
667
627
|
expected: "(boolean | undefined)",
|
|
668
|
-
value: input3
|
|
628
|
+
value: input3["in"]
|
|
629
|
+
}), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
|
|
630
|
+
path: _path2 + ".join",
|
|
631
|
+
expected: '("and" | "or")',
|
|
632
|
+
value: input3.join
|
|
633
|
+
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
634
|
+
path: _path2 + ".tag",
|
|
635
|
+
expected: "(string | undefined)",
|
|
636
|
+
value: input3.tag
|
|
669
637
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
670
638
|
path: _path2 + ".lst",
|
|
671
|
-
expected: "Array<
|
|
639
|
+
expected: "Array<Filter | Tvs>",
|
|
672
640
|
value: input3.lst
|
|
673
|
-
})) && input3.lst.map((elem,
|
|
674
|
-
path: _path2 + ".lst[" +
|
|
675
|
-
expected: "
|
|
641
|
+
})) && input3.lst.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
642
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
643
|
+
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
676
644
|
value: elem
|
|
677
|
-
})) && $
|
|
678
|
-
path: _path2 + ".lst[" +
|
|
679
|
-
expected: "
|
|
645
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
646
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
647
|
+
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
680
648
|
value: elem
|
|
681
649
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
682
650
|
path: _path2 + ".lst",
|
|
683
|
-
expected: "Array<
|
|
651
|
+
expected: "Array<Filter | Tvs>",
|
|
684
652
|
value: input3.lst
|
|
685
653
|
})].every((flag) => flag);
|
|
686
|
-
const $
|
|
687
|
-
path: _path2 + ".
|
|
688
|
-
expected: "string",
|
|
689
|
-
value: input3.
|
|
690
|
-
}), void 0 === input3.
|
|
691
|
-
path: _path2 + ".
|
|
692
|
-
expected: "(boolean | undefined)",
|
|
693
|
-
value: input3.is_grade
|
|
694
|
-
}), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
|
|
695
|
-
path: _path2 + ".is_subcondition",
|
|
654
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
655
|
+
path: _path2 + ".join",
|
|
656
|
+
expected: "(string | undefined)",
|
|
657
|
+
value: input3.join
|
|
658
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
659
|
+
path: _path2 + ".isnot",
|
|
696
660
|
expected: "(boolean | undefined)",
|
|
697
|
-
value: input3.
|
|
698
|
-
}), (
|
|
699
|
-
path: _path2 + ".
|
|
700
|
-
expected: "
|
|
701
|
-
value: input3.
|
|
702
|
-
})) && input3.
|
|
703
|
-
path: _path2 + ".
|
|
704
|
-
expected: "
|
|
661
|
+
value: input3.isnot
|
|
662
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
663
|
+
path: _path2 + ".term",
|
|
664
|
+
expected: "CategoricalTerm",
|
|
665
|
+
value: input3.term
|
|
666
|
+
})) && $vo12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
667
|
+
path: _path2 + ".term",
|
|
668
|
+
expected: "CategoricalTerm",
|
|
669
|
+
value: input3.term
|
|
670
|
+
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
671
|
+
path: _path2 + ".groupset_label",
|
|
672
|
+
expected: "(string | undefined)",
|
|
673
|
+
value: input3.groupset_label
|
|
674
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
675
|
+
path: _path2 + ".values",
|
|
676
|
+
expected: "Array<BaseValue>",
|
|
677
|
+
value: input3.values
|
|
678
|
+
})) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
679
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
680
|
+
expected: "BaseValue",
|
|
705
681
|
value: elem
|
|
706
|
-
})) && $
|
|
707
|
-
path: _path2 + ".
|
|
708
|
-
expected: "
|
|
682
|
+
})) && $vo14(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
683
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
684
|
+
expected: "BaseValue",
|
|
709
685
|
value: elem
|
|
710
686
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
711
|
-
path: _path2 + ".
|
|
712
|
-
expected: "Array<
|
|
713
|
-
value: input3.
|
|
714
|
-
})].every((flag) => flag);
|
|
715
|
-
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
716
|
-
path: _path2 + ".disabled",
|
|
717
|
-
expected: "boolean",
|
|
718
|
-
value: input3.disabled
|
|
719
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
720
|
-
path: _path2 + ".lst",
|
|
721
|
-
expected: "([] | undefined)",
|
|
722
|
-
value: input3.lst
|
|
723
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
724
|
-
path: _path2 + ".lst",
|
|
725
|
-
expected: "[]",
|
|
726
|
-
value: input3.lst
|
|
727
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
728
|
-
path: _path2 + ".lst",
|
|
729
|
-
expected: "([] | undefined)",
|
|
730
|
-
value: input3.lst
|
|
687
|
+
path: _path2 + ".values",
|
|
688
|
+
expected: "Array<BaseValue>",
|
|
689
|
+
value: input3.values
|
|
731
690
|
})].every((flag) => flag);
|
|
732
|
-
const $
|
|
691
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
733
692
|
path: _path2 + ".join",
|
|
734
693
|
expected: "(string | undefined)",
|
|
735
694
|
value: input3.join
|
|
@@ -741,7 +700,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
741
700
|
path: _path2 + ".term",
|
|
742
701
|
expected: "NumericTerm",
|
|
743
702
|
value: input3.term
|
|
744
|
-
})) && $
|
|
703
|
+
})) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
745
704
|
path: _path2 + ".term",
|
|
746
705
|
expected: "NumericTerm",
|
|
747
706
|
value: input3.term
|
|
@@ -749,12 +708,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
749
708
|
path: _path2 + ".ranges",
|
|
750
709
|
expected: "Array<NumericBin>",
|
|
751
710
|
value: input3.ranges
|
|
752
|
-
})) && input3.ranges.map((elem,
|
|
753
|
-
path: _path2 + ".ranges[" +
|
|
711
|
+
})) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
712
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
754
713
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
755
714
|
value: elem
|
|
756
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
757
|
-
path: _path2 + ".ranges[" +
|
|
715
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
716
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
758
717
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
759
718
|
value: elem
|
|
760
719
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -765,20 +724,20 @@ var validBrainImagingRequest = (input) => {
|
|
|
765
724
|
path: _path2 + ".values",
|
|
766
725
|
expected: "Array<__type>.o1",
|
|
767
726
|
value: input3.values
|
|
768
|
-
})) && input3.values.map((elem,
|
|
769
|
-
path: _path2 + ".values[" +
|
|
770
|
-
expected: "__type.
|
|
727
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
728
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
729
|
+
expected: "__type.o3",
|
|
771
730
|
value: elem
|
|
772
|
-
})) && $
|
|
773
|
-
path: _path2 + ".values[" +
|
|
774
|
-
expected: "__type.
|
|
731
|
+
})) && $vo26(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
732
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
733
|
+
expected: "__type.o3",
|
|
775
734
|
value: elem
|
|
776
735
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
777
736
|
path: _path2 + ".values",
|
|
778
737
|
expected: "Array<__type>.o1",
|
|
779
738
|
value: input3.values
|
|
780
739
|
})].every((flag) => flag);
|
|
781
|
-
const $
|
|
740
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
782
741
|
path: _path2 + ".id",
|
|
783
742
|
expected: "string",
|
|
784
743
|
value: input3.id
|
|
@@ -786,16 +745,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
786
745
|
path: _path2 + ".name",
|
|
787
746
|
expected: "string",
|
|
788
747
|
value: input3.name
|
|
789
|
-
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
748
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
790
749
|
path: _path2 + ".type",
|
|
791
|
-
expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
750
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
792
751
|
value: input3.type
|
|
793
752
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
794
753
|
path: _path2 + ".child_types",
|
|
795
754
|
expected: "(Array<string> | undefined)",
|
|
796
755
|
value: input3.child_types
|
|
797
|
-
})) && input3.child_types.map((elem,
|
|
798
|
-
path: _path2 + ".child_types[" +
|
|
756
|
+
})) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
757
|
+
path: _path2 + ".child_types[" + _index11 + "]",
|
|
799
758
|
expected: "string",
|
|
800
759
|
value: elem
|
|
801
760
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -810,8 +769,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
810
769
|
path: _path2 + ".included_types",
|
|
811
770
|
expected: "(Array<string> | undefined)",
|
|
812
771
|
value: input3.included_types
|
|
813
|
-
})) && input3.included_types.map((elem,
|
|
814
|
-
path: _path2 + ".included_types[" +
|
|
772
|
+
})) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
773
|
+
path: _path2 + ".included_types[" + _index12 + "]",
|
|
815
774
|
expected: "string",
|
|
816
775
|
value: elem
|
|
817
776
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -826,15 +785,15 @@ var validBrainImagingRequest = (input) => {
|
|
|
826
785
|
path: _path2 + ".values",
|
|
827
786
|
expected: "(TermValues | undefined)",
|
|
828
787
|
value: input3.values
|
|
829
|
-
})) && $
|
|
788
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
830
789
|
path: _path2 + ".values",
|
|
831
790
|
expected: "(TermValues | undefined)",
|
|
832
791
|
value: input3.values
|
|
833
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
792
|
+
}), true, ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
834
793
|
path: _path2 + ".bins",
|
|
835
794
|
expected: "PresetNumericBins",
|
|
836
795
|
value: input3.bins
|
|
837
|
-
})) && $
|
|
796
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
838
797
|
path: _path2 + ".bins",
|
|
839
798
|
expected: "PresetNumericBins",
|
|
840
799
|
value: input3.bins
|
|
@@ -844,14 +803,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
844
803
|
value: input3.unit
|
|
845
804
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
846
805
|
path: _path2 + ".continuousColorScale",
|
|
847
|
-
expected: "(__type.
|
|
806
|
+
expected: "(__type.o2 | undefined)",
|
|
848
807
|
value: input3.continuousColorScale
|
|
849
|
-
})) && $
|
|
808
|
+
})) && $vo25(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
850
809
|
path: _path2 + ".continuousColorScale",
|
|
851
|
-
expected: "(__type.
|
|
810
|
+
expected: "(__type.o2 | undefined)",
|
|
852
811
|
value: input3.continuousColorScale
|
|
853
812
|
})].every((flag) => flag);
|
|
854
|
-
const $
|
|
813
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
855
814
|
path: _path2 + '["default"]',
|
|
856
815
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
857
816
|
value: input3["default"]
|
|
@@ -888,7 +847,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
888
847
|
expected: "(number | undefined)",
|
|
889
848
|
value: input3.max
|
|
890
849
|
})].every((flag) => flag);
|
|
891
|
-
const $
|
|
850
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
892
851
|
path: _path2 + ".hiddenValues",
|
|
893
852
|
expected: "(HiddenValues | undefined)",
|
|
894
853
|
value: input3.hiddenValues
|
|
@@ -941,7 +900,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
941
900
|
expected: "(number | undefined)",
|
|
942
901
|
value: input3.label_offset
|
|
943
902
|
})].every((flag) => flag);
|
|
944
|
-
const $
|
|
903
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
945
904
|
path: _path2 + ".startunbounded",
|
|
946
905
|
expected: "true",
|
|
947
906
|
value: input3.startunbounded
|
|
@@ -966,7 +925,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
966
925
|
expected: "(string | undefined)",
|
|
967
926
|
value: input3.label
|
|
968
927
|
})].every((flag) => flag);
|
|
969
|
-
const $
|
|
928
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
970
929
|
path: _path2 + ".startunbounded",
|
|
971
930
|
expected: "(false | undefined)",
|
|
972
931
|
value: input3.startunbounded
|
|
@@ -995,7 +954,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
995
954
|
expected: "(string | undefined)",
|
|
996
955
|
value: input3.label
|
|
997
956
|
})].every((flag) => flag);
|
|
998
|
-
const $
|
|
957
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
999
958
|
path: _path2 + ".start",
|
|
1000
959
|
expected: "number",
|
|
1001
960
|
value: input3.start
|
|
@@ -1020,7 +979,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1020
979
|
expected: "(string | undefined)",
|
|
1021
980
|
value: input3.label
|
|
1022
981
|
})].every((flag) => flag);
|
|
1023
|
-
const $
|
|
982
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1024
983
|
path: _path2 + ".hiddenValues",
|
|
1025
984
|
expected: "(HiddenValues | undefined)",
|
|
1026
985
|
value: input3.hiddenValues
|
|
@@ -1066,12 +1025,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1066
1025
|
path: _path2 + ".lst",
|
|
1067
1026
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1068
1027
|
value: input3.lst.slice(1)
|
|
1069
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1070
|
-
path: _path2 + ".lst[" + (1 +
|
|
1028
|
+
})) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1029
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1071
1030
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1072
1031
|
value: elem
|
|
1073
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1074
|
-
path: _path2 + ".lst[" + (1 +
|
|
1032
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1033
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1075
1034
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1076
1035
|
value: elem
|
|
1077
1036
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1087,7 +1046,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1087
1046
|
expected: '("median" | undefined)',
|
|
1088
1047
|
value: input3.preferredBins
|
|
1089
1048
|
})].every((flag) => flag);
|
|
1090
|
-
const $
|
|
1049
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1091
1050
|
path: _path2 + ".minColor",
|
|
1092
1051
|
expected: "string",
|
|
1093
1052
|
value: input3.minColor
|
|
@@ -1096,7 +1055,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1096
1055
|
expected: "string",
|
|
1097
1056
|
value: input3.maxColor
|
|
1098
1057
|
})].every((flag) => flag);
|
|
1099
|
-
const $
|
|
1058
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1100
1059
|
path: _path2 + ".key",
|
|
1101
1060
|
expected: "string",
|
|
1102
1061
|
value: input3.key
|
|
@@ -1113,7 +1072,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1113
1072
|
expected: "(string | undefined)",
|
|
1114
1073
|
value: input3.label
|
|
1115
1074
|
})].every((flag) => flag);
|
|
1116
|
-
const $
|
|
1075
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1117
1076
|
path: _path2 + ".join",
|
|
1118
1077
|
expected: "(string | undefined)",
|
|
1119
1078
|
value: input3.join
|
|
@@ -1125,7 +1084,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1125
1084
|
path: _path2 + ".term",
|
|
1126
1085
|
expected: "ConditionTerm",
|
|
1127
1086
|
value: input3.term
|
|
1128
|
-
})) && $
|
|
1087
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1129
1088
|
path: _path2 + ".term",
|
|
1130
1089
|
expected: "ConditionTerm",
|
|
1131
1090
|
value: input3.term
|
|
@@ -1145,12 +1104,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1145
1104
|
path: _path2 + ".grade_and_child",
|
|
1146
1105
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1147
1106
|
value: input3.grade_and_child
|
|
1148
|
-
})) && input3.grade_and_child.map((elem,
|
|
1149
|
-
path: _path2 + ".grade_and_child[" +
|
|
1107
|
+
})) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1108
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1150
1109
|
expected: "GradeAndChildEntry",
|
|
1151
1110
|
value: elem
|
|
1152
|
-
})) && $
|
|
1153
|
-
path: _path2 + ".grade_and_child[" +
|
|
1111
|
+
})) && $vo29(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1112
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1154
1113
|
expected: "GradeAndChildEntry",
|
|
1155
1114
|
value: elem
|
|
1156
1115
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1158,7 +1117,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1158
1117
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1159
1118
|
value: input3.grade_and_child
|
|
1160
1119
|
})].every((flag) => flag);
|
|
1161
|
-
const $
|
|
1120
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1162
1121
|
path: _path2 + ".id",
|
|
1163
1122
|
expected: "string",
|
|
1164
1123
|
value: input3.id
|
|
@@ -1174,8 +1133,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1174
1133
|
path: _path2 + ".child_types",
|
|
1175
1134
|
expected: "(Array<string> | undefined)",
|
|
1176
1135
|
value: input3.child_types
|
|
1177
|
-
})) && input3.child_types.map((elem,
|
|
1178
|
-
path: _path2 + ".child_types[" +
|
|
1136
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1137
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1179
1138
|
expected: "string",
|
|
1180
1139
|
value: elem
|
|
1181
1140
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1190,8 +1149,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1190
1149
|
path: _path2 + ".included_types",
|
|
1191
1150
|
expected: "(Array<string> | undefined)",
|
|
1192
1151
|
value: input3.included_types
|
|
1193
|
-
})) && input3.included_types.map((elem,
|
|
1194
|
-
path: _path2 + ".included_types[" +
|
|
1152
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1153
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1195
1154
|
expected: "string",
|
|
1196
1155
|
value: elem
|
|
1197
1156
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1206,12 +1165,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1206
1165
|
path: _path2 + ".values",
|
|
1207
1166
|
expected: "(TermValues | undefined)",
|
|
1208
1167
|
value: input3.values
|
|
1209
|
-
})) && $
|
|
1168
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1210
1169
|
path: _path2 + ".values",
|
|
1211
1170
|
expected: "(TermValues | undefined)",
|
|
1212
1171
|
value: input3.values
|
|
1213
|
-
})].every((flag) => flag);
|
|
1214
|
-
const $
|
|
1172
|
+
}), true].every((flag) => flag);
|
|
1173
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1215
1174
|
path: _path2 + ".grade",
|
|
1216
1175
|
expected: "number",
|
|
1217
1176
|
value: input3.grade
|
|
@@ -1228,7 +1187,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1228
1187
|
expected: "string",
|
|
1229
1188
|
value: input3.child_label
|
|
1230
1189
|
})].every((flag) => flag);
|
|
1231
|
-
const $
|
|
1190
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1232
1191
|
path: _path2 + ".join",
|
|
1233
1192
|
expected: "(string | undefined)",
|
|
1234
1193
|
value: input3.join
|
|
@@ -1248,12 +1207,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1248
1207
|
path: _path2 + ".values",
|
|
1249
1208
|
expected: "Array<GeneVariantTvsValue>",
|
|
1250
1209
|
value: input3.values
|
|
1251
|
-
})) && input3.values.map((elem,
|
|
1252
|
-
path: _path2 + ".values[" +
|
|
1210
|
+
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1211
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1253
1212
|
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1254
1213
|
value: elem
|
|
1255
|
-
})) && $vu3(elem, _path2 + ".values[" +
|
|
1256
|
-
path: _path2 + ".values[" +
|
|
1214
|
+
})) && $vu3(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1215
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1257
1216
|
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1258
1217
|
value: elem
|
|
1259
1218
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1261,7 +1220,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1261
1220
|
expected: "Array<GeneVariantTvsValue>",
|
|
1262
1221
|
value: input3.values
|
|
1263
1222
|
})].every((flag) => flag);
|
|
1264
|
-
const $
|
|
1223
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1265
1224
|
path: _path2 + ".id",
|
|
1266
1225
|
expected: "string",
|
|
1267
1226
|
value: input3.id
|
|
@@ -1277,8 +1236,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1277
1236
|
path: _path2 + ".child_types",
|
|
1278
1237
|
expected: "(Array<string> | undefined)",
|
|
1279
1238
|
value: input3.child_types
|
|
1280
|
-
})) && input3.child_types.map((elem,
|
|
1281
|
-
path: _path2 + ".child_types[" +
|
|
1239
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1240
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1282
1241
|
expected: "string",
|
|
1283
1242
|
value: elem
|
|
1284
1243
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1293,8 +1252,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1293
1252
|
path: _path2 + ".included_types",
|
|
1294
1253
|
expected: "(Array<string> | undefined)",
|
|
1295
1254
|
value: input3.included_types
|
|
1296
|
-
})) && input3.included_types.map((elem,
|
|
1297
|
-
path: _path2 + ".included_types[" +
|
|
1255
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1256
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1298
1257
|
expected: "string",
|
|
1299
1258
|
value: elem
|
|
1300
1259
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1309,15 +1268,15 @@ var validBrainImagingRequest = (input) => {
|
|
|
1309
1268
|
path: _path2 + ".values",
|
|
1310
1269
|
expected: "(TermValues | undefined)",
|
|
1311
1270
|
value: input3.values
|
|
1312
|
-
})) && $
|
|
1271
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1313
1272
|
path: _path2 + ".values",
|
|
1314
1273
|
expected: "(TermValues | undefined)",
|
|
1315
1274
|
value: input3.values
|
|
1316
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1275
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1317
1276
|
path: _path2 + ".groupsetting",
|
|
1318
1277
|
expected: "EnabledTermGroupSetting",
|
|
1319
1278
|
value: input3.groupsetting
|
|
1320
|
-
})) && $
|
|
1279
|
+
})) && $vo32(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1321
1280
|
path: _path2 + ".groupsetting",
|
|
1322
1281
|
expected: "EnabledTermGroupSetting",
|
|
1323
1282
|
value: input3.groupsetting
|
|
@@ -1342,6 +1301,60 @@ var validBrainImagingRequest = (input) => {
|
|
|
1342
1301
|
expected: "(number | undefined)",
|
|
1343
1302
|
value: input3.stop
|
|
1344
1303
|
})].every((flag) => flag);
|
|
1304
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1305
|
+
path: _path2 + ".disabled",
|
|
1306
|
+
expected: "(boolean | undefined)",
|
|
1307
|
+
value: input3.disabled
|
|
1308
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1309
|
+
path: _path2 + ".lst",
|
|
1310
|
+
expected: "Array<Groupset>",
|
|
1311
|
+
value: input3.lst
|
|
1312
|
+
})) && input3.lst.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1313
|
+
path: _path2 + ".lst[" + _index20 + "]",
|
|
1314
|
+
expected: "Groupset",
|
|
1315
|
+
value: elem
|
|
1316
|
+
})) && $vo33(elem, _path2 + ".lst[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1317
|
+
path: _path2 + ".lst[" + _index20 + "]",
|
|
1318
|
+
expected: "Groupset",
|
|
1319
|
+
value: elem
|
|
1320
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1321
|
+
path: _path2 + ".lst",
|
|
1322
|
+
expected: "Array<Groupset>",
|
|
1323
|
+
value: input3.lst
|
|
1324
|
+
})].every((flag) => flag);
|
|
1325
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1326
|
+
path: _path2 + ".name",
|
|
1327
|
+
expected: "string",
|
|
1328
|
+
value: input3.name
|
|
1329
|
+
}), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
|
|
1330
|
+
path: _path2 + ".is_grade",
|
|
1331
|
+
expected: "(boolean | undefined)",
|
|
1332
|
+
value: input3.is_grade
|
|
1333
|
+
}), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
|
|
1334
|
+
path: _path2 + ".is_subcondition",
|
|
1335
|
+
expected: "(boolean | undefined)",
|
|
1336
|
+
value: input3.is_subcondition
|
|
1337
|
+
}), void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1338
|
+
path: _path2 + ".id",
|
|
1339
|
+
expected: "(string | undefined)",
|
|
1340
|
+
value: input3.id
|
|
1341
|
+
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
1342
|
+
path: _path2 + ".groups",
|
|
1343
|
+
expected: "Array<GroupEntry>",
|
|
1344
|
+
value: input3.groups
|
|
1345
|
+
})) && input3.groups.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1346
|
+
path: _path2 + ".groups[" + _index21 + "]",
|
|
1347
|
+
expected: "(FilterGroup | ValuesGroup)",
|
|
1348
|
+
value: elem
|
|
1349
|
+
})) && $vu0(elem, _path2 + ".groups[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1350
|
+
path: _path2 + ".groups[" + _index21 + "]",
|
|
1351
|
+
expected: "(FilterGroup | ValuesGroup)",
|
|
1352
|
+
value: elem
|
|
1353
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1354
|
+
path: _path2 + ".groups",
|
|
1355
|
+
expected: "Array<GroupEntry>",
|
|
1356
|
+
value: input3.groups
|
|
1357
|
+
})].every((flag) => flag);
|
|
1345
1358
|
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1346
1359
|
path: _path2 + ".id",
|
|
1347
1360
|
expected: "string",
|
|
@@ -1390,15 +1403,15 @@ var validBrainImagingRequest = (input) => {
|
|
|
1390
1403
|
path: _path2 + ".values",
|
|
1391
1404
|
expected: "(TermValues | undefined)",
|
|
1392
1405
|
value: input3.values
|
|
1393
|
-
})) && $
|
|
1406
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1394
1407
|
path: _path2 + ".values",
|
|
1395
1408
|
expected: "(TermValues | undefined)",
|
|
1396
1409
|
value: input3.values
|
|
1397
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1410
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1398
1411
|
path: _path2 + ".groupsetting",
|
|
1399
1412
|
expected: "EnabledTermGroupSetting",
|
|
1400
1413
|
value: input3.groupsetting
|
|
1401
|
-
})) && $
|
|
1414
|
+
})) && $vo32(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1402
1415
|
path: _path2 + ".groupsetting",
|
|
1403
1416
|
expected: "EnabledTermGroupSetting",
|
|
1404
1417
|
value: input3.groupsetting
|
|
@@ -1551,11 +1564,28 @@ var validBrainImagingRequest = (input) => {
|
|
|
1551
1564
|
expected: '("germline" | "somatic" | undefined)',
|
|
1552
1565
|
value: input3.origin
|
|
1553
1566
|
})].every((flag) => flag);
|
|
1567
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1568
|
+
path: _path2 + ".disabled",
|
|
1569
|
+
expected: "boolean",
|
|
1570
|
+
value: input3.disabled
|
|
1571
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1572
|
+
path: _path2 + ".lst",
|
|
1573
|
+
expected: "([] | undefined)",
|
|
1574
|
+
value: input3.lst
|
|
1575
|
+
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
1576
|
+
path: _path2 + ".lst",
|
|
1577
|
+
expected: "[]",
|
|
1578
|
+
value: input3.lst
|
|
1579
|
+
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
1580
|
+
path: _path2 + ".lst",
|
|
1581
|
+
expected: "([] | undefined)",
|
|
1582
|
+
value: input3.lst
|
|
1583
|
+
})].every((flag) => flag);
|
|
1554
1584
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1555
1585
|
if ("string" === typeof input3.type)
|
|
1556
|
-
return $
|
|
1586
|
+
return $vo9(input3, _path2, _exceptionable2);
|
|
1557
1587
|
if ("filter" === input3.type)
|
|
1558
|
-
return $
|
|
1588
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
1559
1589
|
return $report(_exceptionable2, {
|
|
1560
1590
|
path: _path2,
|
|
1561
1591
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1564,17 +1594,17 @@ var validBrainImagingRequest = (input) => {
|
|
|
1564
1594
|
})();
|
|
1565
1595
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1566
1596
|
if (void 0 !== input3.type)
|
|
1567
|
-
return $
|
|
1597
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
1568
1598
|
if (void 0 !== input3.ranges)
|
|
1569
|
-
return $
|
|
1570
|
-
return $
|
|
1599
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1600
|
+
return $vo16(input3, _path2, false) || $vo27(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
1571
1601
|
})();
|
|
1572
1602
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1573
1603
|
if (true === input3.startunbounded)
|
|
1574
|
-
return $
|
|
1604
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1575
1605
|
if (true === input3.stopunbounded)
|
|
1576
|
-
return $
|
|
1577
|
-
return $
|
|
1606
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1607
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1578
1608
|
})();
|
|
1579
1609
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1580
1610
|
if (2 === input3.dt)
|
|
@@ -1595,25 +1625,21 @@ var validBrainImagingRequest = (input) => {
|
|
|
1595
1625
|
if ("values" === input3.type)
|
|
1596
1626
|
return $vo3(input3, _path2, _exceptionable2);
|
|
1597
1627
|
if ("predefined-groupset" === input3.type)
|
|
1598
|
-
return $vo5(input3, _path2, _exceptionable2);
|
|
1599
|
-
if ("custom-groupset" === input3.type)
|
|
1600
1628
|
return $vo6(input3, _path2, _exceptionable2);
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
value: input3
|
|
1605
|
-
});
|
|
1629
|
+
if ("custom-groupset" === input3.type)
|
|
1630
|
+
return $vo7(input3, _path2, _exceptionable2);
|
|
1631
|
+
return $vo5(input3, _path2, _exceptionable2);
|
|
1606
1632
|
})();
|
|
1607
1633
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1608
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index32) => "object" === typeof elem && null !== elem && $
|
|
1609
|
-
return $
|
|
1610
|
-
return $
|
|
1634
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index32) => "object" === typeof elem && null !== elem && $vo33(elem, _path2 + ".lst[" + _index32 + "]", false)).every((flag) => flag))
|
|
1635
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1636
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
1611
1637
|
})();
|
|
1612
1638
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1613
1639
|
if ("regular-bin" === input3.type)
|
|
1614
|
-
return $
|
|
1640
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1615
1641
|
if ("custom-bin" === input3.type)
|
|
1616
|
-
return $
|
|
1642
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1617
1643
|
return $report(_exceptionable2, {
|
|
1618
1644
|
path: _path2,
|
|
1619
1645
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -1622,9 +1648,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1622
1648
|
})();
|
|
1623
1649
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1624
1650
|
if (true === input3.startunbounded)
|
|
1625
|
-
return $
|
|
1651
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1626
1652
|
if (void 0 !== input3.start)
|
|
1627
|
-
return $
|
|
1653
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1628
1654
|
return $report(_exceptionable2, {
|
|
1629
1655
|
path: _path2,
|
|
1630
1656
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -1633,9 +1659,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1633
1659
|
})();
|
|
1634
1660
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1635
1661
|
if (void 0 !== input3.stop)
|
|
1636
|
-
return $
|
|
1662
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1637
1663
|
if (true === input3.stopunbounded)
|
|
1638
|
-
return $
|
|
1664
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1639
1665
|
return $report(_exceptionable2, {
|
|
1640
1666
|
path: _path2,
|
|
1641
1667
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -1644,7 +1670,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1644
1670
|
})();
|
|
1645
1671
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1646
1672
|
if ("gene" === input3.kind)
|
|
1647
|
-
return $
|
|
1673
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1648
1674
|
if ("coord" === input3.kind)
|
|
1649
1675
|
return $vo34(input3, _path2, _exceptionable2);
|
|
1650
1676
|
return $report(_exceptionable2, {
|