@sjcrh/proteinpaint-types 2.114.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-BEXUBE5A.js → chunk-7GSVLBKZ.js} +10 -14
- package/dist/{chunk-H45GALYV.js → chunk-C7DJDPLP.js} +339 -343
- package/dist/{chunk-PR7XHL4T.js → chunk-EQGBEPDC.js} +10 -14
- package/dist/{chunk-BNOGQYXG.js → chunk-GS37E7DB.js} +339 -343
- package/dist/{chunk-KRHYG2ZZ.js → chunk-I3U2T7HV.js} +337 -341
- package/dist/{chunk-Q5F2XI6A.js → chunk-IJHMCHUT.js} +31 -23
- package/dist/{chunk-XDRUNGOV.js → chunk-KBTAXZM4.js} +286 -290
- package/dist/{chunk-JNEIQWTE.js → chunk-KZIZMP7Y.js} +27 -35
- package/dist/{chunk-7AQB3YHO.js → chunk-M26XQDA4.js} +10 -14
- package/dist/{chunk-66XSFQPI.js → chunk-MDBZCBM2.js} +17 -21
- package/dist/{chunk-OSHG443J.js → chunk-NESPJ4GG.js} +36 -44
- package/dist/{chunk-WVBWDL2B.js → chunk-PTYGGJLG.js} +339 -343
- package/dist/{chunk-T3NOHXOJ.js → chunk-ZPN2DV5E.js} +10 -14
- 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 +13 -3
- 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/numeric.ts +2 -2
- package/src/terms/term.ts +2 -1
- 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 && false === Array.isArray(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)
|
|
@@ -46,44 +46,44 @@ var validBrainImagingRequest = (input) => {
|
|
|
46
46
|
const $io8 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
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
|
-
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type &&
|
|
50
|
-
const $io12 = (input3) => "
|
|
51
|
-
const $io13 = (input3) =>
|
|
52
|
-
const $io14 = (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) && $io15(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
|
|
53
|
-
const $io15 = (input3) => Object.keys(input3).every((key) => {
|
|
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) => {
|
|
54
52
|
const value = input3[key];
|
|
55
53
|
if (void 0 === value)
|
|
56
54
|
return true;
|
|
57
55
|
if (RegExp(/(.*)/).test(key))
|
|
58
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
56
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io14(value);
|
|
59
57
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
60
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
58
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io14(value);
|
|
61
59
|
return true;
|
|
62
60
|
});
|
|
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 $
|
|
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
|
+
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
|
+
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
|
+
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
|
+
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);
|
|
87
87
|
const $iu0 = (input3) => (() => {
|
|
88
88
|
if ("string" === typeof input3.type)
|
|
89
89
|
return $io9(input3);
|
|
@@ -93,35 +93,35 @@ var validBrainImagingRequest = (input) => {
|
|
|
93
93
|
})();
|
|
94
94
|
const $iu1 = (input3) => (() => {
|
|
95
95
|
if (void 0 !== input3.type)
|
|
96
|
-
return $
|
|
96
|
+
return $io15(input3);
|
|
97
97
|
if (void 0 !== input3.ranges)
|
|
98
|
-
return $
|
|
98
|
+
return $io17(input3);
|
|
99
99
|
return (() => {
|
|
100
|
-
if ($
|
|
101
|
-
return $
|
|
100
|
+
if ($io16(input3))
|
|
101
|
+
return $io16(input3);
|
|
102
|
+
if ($io27(input3))
|
|
103
|
+
return $io27(input3);
|
|
102
104
|
if ($io30(input3))
|
|
103
105
|
return $io30(input3);
|
|
104
|
-
if ($io33(input3))
|
|
105
|
-
return $io33(input3);
|
|
106
106
|
return false;
|
|
107
107
|
})();
|
|
108
108
|
})();
|
|
109
109
|
const $iu2 = (input3) => (() => {
|
|
110
110
|
if (true === input3.startunbounded)
|
|
111
|
-
return $
|
|
111
|
+
return $io21(input3);
|
|
112
112
|
if (true === input3.stopunbounded)
|
|
113
|
-
return $
|
|
114
|
-
return $
|
|
113
|
+
return $io23(input3);
|
|
114
|
+
return $io22(input3);
|
|
115
115
|
})();
|
|
116
116
|
const $iu3 = (input3) => (() => {
|
|
117
117
|
if (2 === input3.dt)
|
|
118
|
-
return $io39(input3);
|
|
119
|
-
if (5 === input3.dt)
|
|
120
118
|
return $io38(input3);
|
|
121
|
-
if (
|
|
119
|
+
if (5 === input3.dt)
|
|
122
120
|
return $io37(input3);
|
|
123
|
-
if (
|
|
121
|
+
if (4 === input3.dt)
|
|
124
122
|
return $io36(input3);
|
|
123
|
+
if (1 === input3.dt)
|
|
124
|
+
return $io35(input3);
|
|
125
125
|
return false;
|
|
126
126
|
})();
|
|
127
127
|
const $iu4 = (input3) => (() => {
|
|
@@ -134,36 +134,36 @@ var validBrainImagingRequest = (input) => {
|
|
|
134
134
|
return $io5(input3);
|
|
135
135
|
})();
|
|
136
136
|
const $iu5 = (input3) => (() => {
|
|
137
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
138
|
-
return $
|
|
139
|
-
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);
|
|
140
140
|
})();
|
|
141
141
|
const $iu6 = (input3) => (() => {
|
|
142
142
|
if ("regular-bin" === input3.type)
|
|
143
|
-
return $
|
|
143
|
+
return $io20(input3);
|
|
144
144
|
if ("custom-bin" === input3.type)
|
|
145
|
-
return $
|
|
145
|
+
return $io24(input3);
|
|
146
146
|
return false;
|
|
147
147
|
})();
|
|
148
148
|
const $iu7 = (input3) => (() => {
|
|
149
149
|
if (true === input3.startunbounded)
|
|
150
|
-
return $
|
|
150
|
+
return $io21(input3);
|
|
151
151
|
if (void 0 !== input3.start)
|
|
152
|
-
return $
|
|
152
|
+
return $io22(input3);
|
|
153
153
|
return false;
|
|
154
154
|
})();
|
|
155
155
|
const $iu8 = (input3) => (() => {
|
|
156
156
|
if (void 0 !== input3.stop)
|
|
157
|
-
return $
|
|
157
|
+
return $io22(input3);
|
|
158
158
|
if (true === input3.stopunbounded)
|
|
159
|
-
return $
|
|
159
|
+
return $io23(input3);
|
|
160
160
|
return false;
|
|
161
161
|
})();
|
|
162
162
|
const $iu9 = (input3) => (() => {
|
|
163
163
|
if ("gene" === input3.kind)
|
|
164
|
-
return $
|
|
164
|
+
return $io31(input3);
|
|
165
165
|
if ("coord" === input3.kind)
|
|
166
|
-
return $
|
|
166
|
+
return $io34(input3);
|
|
167
167
|
return false;
|
|
168
168
|
})();
|
|
169
169
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -277,7 +277,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
277
277
|
path: _path2 + ".term",
|
|
278
278
|
expected: "CategoricalTerm",
|
|
279
279
|
value: input3.term
|
|
280
|
-
})) && $
|
|
280
|
+
})) && $vo12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
281
281
|
path: _path2 + ".term",
|
|
282
282
|
expected: "CategoricalTerm",
|
|
283
283
|
value: input3.term
|
|
@@ -493,90 +493,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
493
493
|
path: _path2 + ".type",
|
|
494
494
|
expected: '"filter"',
|
|
495
495
|
value: input3.type
|
|
496
|
-
}),
|
|
497
|
-
path: _path2 + ".filter",
|
|
498
|
-
expected: "Filter",
|
|
499
|
-
value: input3.filter
|
|
500
|
-
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
501
|
-
path: _path2 + ".filter",
|
|
502
|
-
expected: "Filter",
|
|
503
|
-
value: input3.filter
|
|
504
|
-
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
496
|
+
}), true, void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
505
497
|
path: _path2 + ".uncomputable",
|
|
506
498
|
expected: "(boolean | undefined)",
|
|
507
499
|
value: input3.uncomputable
|
|
508
500
|
})].every((flag) => flag);
|
|
509
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["
|
|
510
|
-
path: _path2 + ".type",
|
|
511
|
-
expected: '"lst"',
|
|
512
|
-
value: input3.type
|
|
513
|
-
}), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
514
|
-
path: _path2 + '["in"]',
|
|
515
|
-
expected: "(boolean | undefined)",
|
|
516
|
-
value: input3["in"]
|
|
517
|
-
}), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
|
|
518
|
-
path: _path2 + ".join",
|
|
519
|
-
expected: '("and" | "or")',
|
|
520
|
-
value: input3.join
|
|
521
|
-
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
522
|
-
path: _path2 + ".tag",
|
|
523
|
-
expected: "(string | undefined)",
|
|
524
|
-
value: input3.tag
|
|
525
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
526
|
-
path: _path2 + ".lst",
|
|
527
|
-
expected: "Array<Filter | Tvs>",
|
|
528
|
-
value: input3.lst
|
|
529
|
-
})) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
530
|
-
path: _path2 + ".lst[" + _index5 + "]",
|
|
531
|
-
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
532
|
-
value: elem
|
|
533
|
-
})) && $vu1(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
534
|
-
path: _path2 + ".lst[" + _index5 + "]",
|
|
535
|
-
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
536
|
-
value: elem
|
|
537
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
538
|
-
path: _path2 + ".lst",
|
|
539
|
-
expected: "Array<Filter | Tvs>",
|
|
540
|
-
value: input3.lst
|
|
541
|
-
})].every((flag) => flag);
|
|
542
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
543
|
-
path: _path2 + ".join",
|
|
544
|
-
expected: "(string | undefined)",
|
|
545
|
-
value: input3.join
|
|
546
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
547
|
-
path: _path2 + ".isnot",
|
|
548
|
-
expected: "(boolean | undefined)",
|
|
549
|
-
value: input3.isnot
|
|
550
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
551
|
-
path: _path2 + ".term",
|
|
552
|
-
expected: "CategoricalTerm",
|
|
553
|
-
value: input3.term
|
|
554
|
-
})) && $vo14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
555
|
-
path: _path2 + ".term",
|
|
556
|
-
expected: "CategoricalTerm",
|
|
557
|
-
value: input3.term
|
|
558
|
-
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
559
|
-
path: _path2 + ".groupset_label",
|
|
560
|
-
expected: "(string | undefined)",
|
|
561
|
-
value: input3.groupset_label
|
|
562
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
563
|
-
path: _path2 + ".values",
|
|
564
|
-
expected: "Array<BaseValue>",
|
|
565
|
-
value: input3.values
|
|
566
|
-
})) && input3.values.map((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
567
|
-
path: _path2 + ".values[" + _index6 + "]",
|
|
568
|
-
expected: "BaseValue",
|
|
569
|
-
value: elem
|
|
570
|
-
})) && $vo16(elem, _path2 + ".values[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
571
|
-
path: _path2 + ".values[" + _index6 + "]",
|
|
572
|
-
expected: "BaseValue",
|
|
573
|
-
value: elem
|
|
574
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
575
|
-
path: _path2 + ".values",
|
|
576
|
-
expected: "Array<BaseValue>",
|
|
577
|
-
value: input3.values
|
|
578
|
-
})].every((flag) => flag);
|
|
579
|
-
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
501
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
580
502
|
path: _path2 + ".id",
|
|
581
503
|
expected: "string",
|
|
582
504
|
value: input3.id
|
|
@@ -592,8 +514,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
592
514
|
path: _path2 + ".child_types",
|
|
593
515
|
expected: "(Array<string> | undefined)",
|
|
594
516
|
value: input3.child_types
|
|
595
|
-
})) && input3.child_types.map((elem,
|
|
596
|
-
path: _path2 + ".child_types[" +
|
|
517
|
+
})) && input3.child_types.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
|
|
518
|
+
path: _path2 + ".child_types[" + _index5 + "]",
|
|
597
519
|
expected: "string",
|
|
598
520
|
value: elem
|
|
599
521
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -608,8 +530,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
608
530
|
path: _path2 + ".included_types",
|
|
609
531
|
expected: "(Array<string> | undefined)",
|
|
610
532
|
value: input3.included_types
|
|
611
|
-
})) && input3.included_types.map((elem,
|
|
612
|
-
path: _path2 + ".included_types[" +
|
|
533
|
+
})) && input3.included_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
534
|
+
path: _path2 + ".included_types[" + _index6 + "]",
|
|
613
535
|
expected: "string",
|
|
614
536
|
value: elem
|
|
615
537
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -624,20 +546,20 @@ var validBrainImagingRequest = (input) => {
|
|
|
624
546
|
path: _path2 + ".values",
|
|
625
547
|
expected: "(TermValues | undefined)",
|
|
626
548
|
value: input3.values
|
|
627
|
-
})) && $
|
|
549
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
628
550
|
path: _path2 + ".values",
|
|
629
551
|
expected: "(TermValues | undefined)",
|
|
630
552
|
value: input3.values
|
|
631
553
|
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
632
554
|
path: _path2 + ".groupsetting",
|
|
633
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
555
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
634
556
|
value: input3.groupsetting
|
|
635
557
|
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
636
558
|
path: _path2 + ".groupsetting",
|
|
637
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
559
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
638
560
|
value: input3.groupsetting
|
|
639
561
|
})].every((flag) => flag);
|
|
640
|
-
const $
|
|
562
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
641
563
|
const value = input3[key];
|
|
642
564
|
if (void 0 === value)
|
|
643
565
|
return true;
|
|
@@ -646,7 +568,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
646
568
|
path: _path2 + $join(key),
|
|
647
569
|
expected: "BaseValue",
|
|
648
570
|
value
|
|
649
|
-
})) && $
|
|
571
|
+
})) && $vo14(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
650
572
|
path: _path2 + $join(key),
|
|
651
573
|
expected: "BaseValue",
|
|
652
574
|
value
|
|
@@ -656,14 +578,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
656
578
|
path: _path2 + $join(key),
|
|
657
579
|
expected: "BaseValue",
|
|
658
580
|
value
|
|
659
|
-
})) && $
|
|
581
|
+
})) && $vo14(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
660
582
|
path: _path2 + $join(key),
|
|
661
583
|
expected: "BaseValue",
|
|
662
584
|
value
|
|
663
585
|
});
|
|
664
586
|
return true;
|
|
665
587
|
}).every((flag) => flag)].every((flag) => flag);
|
|
666
|
-
const $
|
|
588
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
667
589
|
path: _path2 + ".key",
|
|
668
590
|
expected: "(string | undefined)",
|
|
669
591
|
value: input3.key
|
|
@@ -691,79 +613,82 @@ var validBrainImagingRequest = (input) => {
|
|
|
691
613
|
path: _path2 + ".filter",
|
|
692
614
|
expected: "(Filter | undefined)",
|
|
693
615
|
value: input3.filter
|
|
694
|
-
})) && $
|
|
616
|
+
})) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
695
617
|
path: _path2 + ".filter",
|
|
696
618
|
expected: "(Filter | undefined)",
|
|
697
619
|
value: input3.filter
|
|
698
620
|
})].every((flag) => flag);
|
|
699
|
-
const $
|
|
700
|
-
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"]',
|
|
701
627
|
expected: "(boolean | undefined)",
|
|
702
|
-
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
|
|
703
637
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
704
638
|
path: _path2 + ".lst",
|
|
705
|
-
expected: "Array<
|
|
639
|
+
expected: "Array<Filter | Tvs>",
|
|
706
640
|
value: input3.lst
|
|
707
|
-
})) && input3.lst.map((elem,
|
|
708
|
-
path: _path2 + ".lst[" +
|
|
709
|
-
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)",
|
|
710
644
|
value: elem
|
|
711
|
-
})) && $
|
|
712
|
-
path: _path2 + ".lst[" +
|
|
713
|
-
expected: "
|
|
645
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
646
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
647
|
+
expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
|
|
714
648
|
value: elem
|
|
715
649
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
716
650
|
path: _path2 + ".lst",
|
|
717
|
-
expected: "Array<
|
|
651
|
+
expected: "Array<Filter | Tvs>",
|
|
718
652
|
value: input3.lst
|
|
719
653
|
})].every((flag) => flag);
|
|
720
|
-
const $
|
|
721
|
-
path: _path2 + ".
|
|
722
|
-
expected: "string",
|
|
723
|
-
value: input3.
|
|
724
|
-
}), void 0 === input3.
|
|
725
|
-
path: _path2 + ".
|
|
726
|
-
expected: "(boolean | undefined)",
|
|
727
|
-
value: input3.is_grade
|
|
728
|
-
}), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
|
|
729
|
-
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",
|
|
730
660
|
expected: "(boolean | undefined)",
|
|
731
|
-
value: input3.
|
|
732
|
-
}), (
|
|
733
|
-
path: _path2 + ".
|
|
734
|
-
expected: "
|
|
735
|
-
value: input3.
|
|
736
|
-
})) && input3.
|
|
737
|
-
path: _path2 + ".
|
|
738
|
-
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",
|
|
739
681
|
value: elem
|
|
740
|
-
})) && $
|
|
741
|
-
path: _path2 + ".
|
|
742
|
-
expected: "
|
|
682
|
+
})) && $vo14(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
683
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
684
|
+
expected: "BaseValue",
|
|
743
685
|
value: elem
|
|
744
686
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
745
|
-
path: _path2 + ".
|
|
746
|
-
expected: "Array<
|
|
747
|
-
value: input3.
|
|
748
|
-
})].every((flag) => flag);
|
|
749
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
750
|
-
path: _path2 + ".disabled",
|
|
751
|
-
expected: "boolean",
|
|
752
|
-
value: input3.disabled
|
|
753
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
754
|
-
path: _path2 + ".lst",
|
|
755
|
-
expected: "([] | undefined)",
|
|
756
|
-
value: input3.lst
|
|
757
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
758
|
-
path: _path2 + ".lst",
|
|
759
|
-
expected: "[]",
|
|
760
|
-
value: input3.lst
|
|
761
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
762
|
-
path: _path2 + ".lst",
|
|
763
|
-
expected: "([] | undefined)",
|
|
764
|
-
value: input3.lst
|
|
687
|
+
path: _path2 + ".values",
|
|
688
|
+
expected: "Array<BaseValue>",
|
|
689
|
+
value: input3.values
|
|
765
690
|
})].every((flag) => flag);
|
|
766
|
-
const $
|
|
691
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
767
692
|
path: _path2 + ".join",
|
|
768
693
|
expected: "(string | undefined)",
|
|
769
694
|
value: input3.join
|
|
@@ -775,7 +700,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
775
700
|
path: _path2 + ".term",
|
|
776
701
|
expected: "NumericTerm",
|
|
777
702
|
value: input3.term
|
|
778
|
-
})) && $
|
|
703
|
+
})) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
779
704
|
path: _path2 + ".term",
|
|
780
705
|
expected: "NumericTerm",
|
|
781
706
|
value: input3.term
|
|
@@ -783,12 +708,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
783
708
|
path: _path2 + ".ranges",
|
|
784
709
|
expected: "Array<NumericBin>",
|
|
785
710
|
value: input3.ranges
|
|
786
|
-
})) && input3.ranges.map((elem,
|
|
787
|
-
path: _path2 + ".ranges[" +
|
|
711
|
+
})) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
712
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
788
713
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
789
714
|
value: elem
|
|
790
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
791
|
-
path: _path2 + ".ranges[" +
|
|
715
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
716
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
792
717
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
793
718
|
value: elem
|
|
794
719
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -799,20 +724,20 @@ var validBrainImagingRequest = (input) => {
|
|
|
799
724
|
path: _path2 + ".values",
|
|
800
725
|
expected: "Array<__type>.o1",
|
|
801
726
|
value: input3.values
|
|
802
|
-
})) && input3.values.map((elem,
|
|
803
|
-
path: _path2 + ".values[" +
|
|
804
|
-
expected: "__type.
|
|
727
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
728
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
729
|
+
expected: "__type.o3",
|
|
805
730
|
value: elem
|
|
806
|
-
})) && $
|
|
807
|
-
path: _path2 + ".values[" +
|
|
808
|
-
expected: "__type.
|
|
731
|
+
})) && $vo26(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
732
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
733
|
+
expected: "__type.o3",
|
|
809
734
|
value: elem
|
|
810
735
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
811
736
|
path: _path2 + ".values",
|
|
812
737
|
expected: "Array<__type>.o1",
|
|
813
738
|
value: input3.values
|
|
814
739
|
})].every((flag) => flag);
|
|
815
|
-
const $
|
|
740
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
816
741
|
path: _path2 + ".id",
|
|
817
742
|
expected: "string",
|
|
818
743
|
value: input3.id
|
|
@@ -820,16 +745,16 @@ var validBrainImagingRequest = (input) => {
|
|
|
820
745
|
path: _path2 + ".name",
|
|
821
746
|
expected: "string",
|
|
822
747
|
value: input3.name
|
|
823
|
-
}), "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, {
|
|
824
749
|
path: _path2 + ".type",
|
|
825
|
-
expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
750
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
826
751
|
value: input3.type
|
|
827
752
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
828
753
|
path: _path2 + ".child_types",
|
|
829
754
|
expected: "(Array<string> | undefined)",
|
|
830
755
|
value: input3.child_types
|
|
831
|
-
})) && input3.child_types.map((elem,
|
|
832
|
-
path: _path2 + ".child_types[" +
|
|
756
|
+
})) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
757
|
+
path: _path2 + ".child_types[" + _index11 + "]",
|
|
833
758
|
expected: "string",
|
|
834
759
|
value: elem
|
|
835
760
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -844,8 +769,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
844
769
|
path: _path2 + ".included_types",
|
|
845
770
|
expected: "(Array<string> | undefined)",
|
|
846
771
|
value: input3.included_types
|
|
847
|
-
})) && input3.included_types.map((elem,
|
|
848
|
-
path: _path2 + ".included_types[" +
|
|
772
|
+
})) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
773
|
+
path: _path2 + ".included_types[" + _index12 + "]",
|
|
849
774
|
expected: "string",
|
|
850
775
|
value: elem
|
|
851
776
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -860,7 +785,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
860
785
|
path: _path2 + ".values",
|
|
861
786
|
expected: "(TermValues | undefined)",
|
|
862
787
|
value: input3.values
|
|
863
|
-
})) && $
|
|
788
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
864
789
|
path: _path2 + ".values",
|
|
865
790
|
expected: "(TermValues | undefined)",
|
|
866
791
|
value: input3.values
|
|
@@ -868,7 +793,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
868
793
|
path: _path2 + ".bins",
|
|
869
794
|
expected: "PresetNumericBins",
|
|
870
795
|
value: input3.bins
|
|
871
|
-
})) && $
|
|
796
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
872
797
|
path: _path2 + ".bins",
|
|
873
798
|
expected: "PresetNumericBins",
|
|
874
799
|
value: input3.bins
|
|
@@ -878,14 +803,14 @@ var validBrainImagingRequest = (input) => {
|
|
|
878
803
|
value: input3.unit
|
|
879
804
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
880
805
|
path: _path2 + ".continuousColorScale",
|
|
881
|
-
expected: "(__type.
|
|
806
|
+
expected: "(__type.o2 | undefined)",
|
|
882
807
|
value: input3.continuousColorScale
|
|
883
|
-
})) && $
|
|
808
|
+
})) && $vo25(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
884
809
|
path: _path2 + ".continuousColorScale",
|
|
885
|
-
expected: "(__type.
|
|
810
|
+
expected: "(__type.o2 | undefined)",
|
|
886
811
|
value: input3.continuousColorScale
|
|
887
812
|
})].every((flag) => flag);
|
|
888
|
-
const $
|
|
813
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
889
814
|
path: _path2 + '["default"]',
|
|
890
815
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
891
816
|
value: input3["default"]
|
|
@@ -922,7 +847,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
922
847
|
expected: "(number | undefined)",
|
|
923
848
|
value: input3.max
|
|
924
849
|
})].every((flag) => flag);
|
|
925
|
-
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, {
|
|
926
851
|
path: _path2 + ".hiddenValues",
|
|
927
852
|
expected: "(HiddenValues | undefined)",
|
|
928
853
|
value: input3.hiddenValues
|
|
@@ -975,7 +900,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
975
900
|
expected: "(number | undefined)",
|
|
976
901
|
value: input3.label_offset
|
|
977
902
|
})].every((flag) => flag);
|
|
978
|
-
const $
|
|
903
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
979
904
|
path: _path2 + ".startunbounded",
|
|
980
905
|
expected: "true",
|
|
981
906
|
value: input3.startunbounded
|
|
@@ -1000,7 +925,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1000
925
|
expected: "(string | undefined)",
|
|
1001
926
|
value: input3.label
|
|
1002
927
|
})].every((flag) => flag);
|
|
1003
|
-
const $
|
|
928
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1004
929
|
path: _path2 + ".startunbounded",
|
|
1005
930
|
expected: "(false | undefined)",
|
|
1006
931
|
value: input3.startunbounded
|
|
@@ -1029,7 +954,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1029
954
|
expected: "(string | undefined)",
|
|
1030
955
|
value: input3.label
|
|
1031
956
|
})].every((flag) => flag);
|
|
1032
|
-
const $
|
|
957
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1033
958
|
path: _path2 + ".start",
|
|
1034
959
|
expected: "number",
|
|
1035
960
|
value: input3.start
|
|
@@ -1054,7 +979,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1054
979
|
expected: "(string | undefined)",
|
|
1055
980
|
value: input3.label
|
|
1056
981
|
})].every((flag) => flag);
|
|
1057
|
-
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, {
|
|
1058
983
|
path: _path2 + ".hiddenValues",
|
|
1059
984
|
expected: "(HiddenValues | undefined)",
|
|
1060
985
|
value: input3.hiddenValues
|
|
@@ -1100,12 +1025,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1100
1025
|
path: _path2 + ".lst",
|
|
1101
1026
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1102
1027
|
value: input3.lst.slice(1)
|
|
1103
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1104
|
-
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) + "]",
|
|
1105
1030
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1106
1031
|
value: elem
|
|
1107
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1108
|
-
path: _path2 + ".lst[" + (1 +
|
|
1032
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1033
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1109
1034
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1110
1035
|
value: elem
|
|
1111
1036
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1121,7 +1046,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1121
1046
|
expected: '("median" | undefined)',
|
|
1122
1047
|
value: input3.preferredBins
|
|
1123
1048
|
})].every((flag) => flag);
|
|
1124
|
-
const $
|
|
1049
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1125
1050
|
path: _path2 + ".minColor",
|
|
1126
1051
|
expected: "string",
|
|
1127
1052
|
value: input3.minColor
|
|
@@ -1130,7 +1055,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1130
1055
|
expected: "string",
|
|
1131
1056
|
value: input3.maxColor
|
|
1132
1057
|
})].every((flag) => flag);
|
|
1133
|
-
const $
|
|
1058
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1134
1059
|
path: _path2 + ".key",
|
|
1135
1060
|
expected: "string",
|
|
1136
1061
|
value: input3.key
|
|
@@ -1147,7 +1072,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1147
1072
|
expected: "(string | undefined)",
|
|
1148
1073
|
value: input3.label
|
|
1149
1074
|
})].every((flag) => flag);
|
|
1150
|
-
const $
|
|
1075
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1151
1076
|
path: _path2 + ".join",
|
|
1152
1077
|
expected: "(string | undefined)",
|
|
1153
1078
|
value: input3.join
|
|
@@ -1159,7 +1084,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1159
1084
|
path: _path2 + ".term",
|
|
1160
1085
|
expected: "ConditionTerm",
|
|
1161
1086
|
value: input3.term
|
|
1162
|
-
})) && $
|
|
1087
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1163
1088
|
path: _path2 + ".term",
|
|
1164
1089
|
expected: "ConditionTerm",
|
|
1165
1090
|
value: input3.term
|
|
@@ -1179,12 +1104,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1179
1104
|
path: _path2 + ".grade_and_child",
|
|
1180
1105
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1181
1106
|
value: input3.grade_and_child
|
|
1182
|
-
})) && input3.grade_and_child.map((elem,
|
|
1183
|
-
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 + "]",
|
|
1184
1109
|
expected: "GradeAndChildEntry",
|
|
1185
1110
|
value: elem
|
|
1186
|
-
})) && $
|
|
1187
|
-
path: _path2 + ".grade_and_child[" +
|
|
1111
|
+
})) && $vo29(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1112
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1188
1113
|
expected: "GradeAndChildEntry",
|
|
1189
1114
|
value: elem
|
|
1190
1115
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1192,7 +1117,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1192
1117
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1193
1118
|
value: input3.grade_and_child
|
|
1194
1119
|
})].every((flag) => flag);
|
|
1195
|
-
const $
|
|
1120
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1196
1121
|
path: _path2 + ".id",
|
|
1197
1122
|
expected: "string",
|
|
1198
1123
|
value: input3.id
|
|
@@ -1208,8 +1133,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1208
1133
|
path: _path2 + ".child_types",
|
|
1209
1134
|
expected: "(Array<string> | undefined)",
|
|
1210
1135
|
value: input3.child_types
|
|
1211
|
-
})) && input3.child_types.map((elem,
|
|
1212
|
-
path: _path2 + ".child_types[" +
|
|
1136
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1137
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1213
1138
|
expected: "string",
|
|
1214
1139
|
value: elem
|
|
1215
1140
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1224,8 +1149,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1224
1149
|
path: _path2 + ".included_types",
|
|
1225
1150
|
expected: "(Array<string> | undefined)",
|
|
1226
1151
|
value: input3.included_types
|
|
1227
|
-
})) && input3.included_types.map((elem,
|
|
1228
|
-
path: _path2 + ".included_types[" +
|
|
1152
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1153
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1229
1154
|
expected: "string",
|
|
1230
1155
|
value: elem
|
|
1231
1156
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1240,12 +1165,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1240
1165
|
path: _path2 + ".values",
|
|
1241
1166
|
expected: "(TermValues | undefined)",
|
|
1242
1167
|
value: input3.values
|
|
1243
|
-
})) && $
|
|
1168
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1244
1169
|
path: _path2 + ".values",
|
|
1245
1170
|
expected: "(TermValues | undefined)",
|
|
1246
1171
|
value: input3.values
|
|
1247
1172
|
}), true].every((flag) => flag);
|
|
1248
|
-
const $
|
|
1173
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1249
1174
|
path: _path2 + ".grade",
|
|
1250
1175
|
expected: "number",
|
|
1251
1176
|
value: input3.grade
|
|
@@ -1262,7 +1187,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1262
1187
|
expected: "string",
|
|
1263
1188
|
value: input3.child_label
|
|
1264
1189
|
})].every((flag) => flag);
|
|
1265
|
-
const $
|
|
1190
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1266
1191
|
path: _path2 + ".join",
|
|
1267
1192
|
expected: "(string | undefined)",
|
|
1268
1193
|
value: input3.join
|
|
@@ -1282,12 +1207,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
1282
1207
|
path: _path2 + ".values",
|
|
1283
1208
|
expected: "Array<GeneVariantTvsValue>",
|
|
1284
1209
|
value: input3.values
|
|
1285
|
-
})) && input3.values.map((elem,
|
|
1286
|
-
path: _path2 + ".values[" +
|
|
1210
|
+
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1211
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1287
1212
|
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1288
1213
|
value: elem
|
|
1289
|
-
})) && $vu3(elem, _path2 + ".values[" +
|
|
1290
|
-
path: _path2 + ".values[" +
|
|
1214
|
+
})) && $vu3(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1215
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1291
1216
|
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1292
1217
|
value: elem
|
|
1293
1218
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1295,7 +1220,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1295
1220
|
expected: "Array<GeneVariantTvsValue>",
|
|
1296
1221
|
value: input3.values
|
|
1297
1222
|
})].every((flag) => flag);
|
|
1298
|
-
const $
|
|
1223
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1299
1224
|
path: _path2 + ".id",
|
|
1300
1225
|
expected: "string",
|
|
1301
1226
|
value: input3.id
|
|
@@ -1311,8 +1236,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1311
1236
|
path: _path2 + ".child_types",
|
|
1312
1237
|
expected: "(Array<string> | undefined)",
|
|
1313
1238
|
value: input3.child_types
|
|
1314
|
-
})) && input3.child_types.map((elem,
|
|
1315
|
-
path: _path2 + ".child_types[" +
|
|
1239
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1240
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1316
1241
|
expected: "string",
|
|
1317
1242
|
value: elem
|
|
1318
1243
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1327,8 +1252,8 @@ var validBrainImagingRequest = (input) => {
|
|
|
1327
1252
|
path: _path2 + ".included_types",
|
|
1328
1253
|
expected: "(Array<string> | undefined)",
|
|
1329
1254
|
value: input3.included_types
|
|
1330
|
-
})) && input3.included_types.map((elem,
|
|
1331
|
-
path: _path2 + ".included_types[" +
|
|
1255
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1256
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1332
1257
|
expected: "string",
|
|
1333
1258
|
value: elem
|
|
1334
1259
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1343,7 +1268,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1343
1268
|
path: _path2 + ".values",
|
|
1344
1269
|
expected: "(TermValues | undefined)",
|
|
1345
1270
|
value: input3.values
|
|
1346
|
-
})) && $
|
|
1271
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1347
1272
|
path: _path2 + ".values",
|
|
1348
1273
|
expected: "(TermValues | undefined)",
|
|
1349
1274
|
value: input3.values
|
|
@@ -1351,7 +1276,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1351
1276
|
path: _path2 + ".groupsetting",
|
|
1352
1277
|
expected: "EnabledTermGroupSetting",
|
|
1353
1278
|
value: input3.groupsetting
|
|
1354
|
-
})) && $
|
|
1279
|
+
})) && $vo32(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1355
1280
|
path: _path2 + ".groupsetting",
|
|
1356
1281
|
expected: "EnabledTermGroupSetting",
|
|
1357
1282
|
value: input3.groupsetting
|
|
@@ -1376,7 +1301,61 @@ var validBrainImagingRequest = (input) => {
|
|
|
1376
1301
|
expected: "(number | undefined)",
|
|
1377
1302
|
value: input3.stop
|
|
1378
1303
|
})].every((flag) => flag);
|
|
1379
|
-
const $
|
|
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);
|
|
1358
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1380
1359
|
path: _path2 + ".id",
|
|
1381
1360
|
expected: "string",
|
|
1382
1361
|
value: input3.id
|
|
@@ -1424,7 +1403,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1424
1403
|
path: _path2 + ".values",
|
|
1425
1404
|
expected: "(TermValues | undefined)",
|
|
1426
1405
|
value: input3.values
|
|
1427
|
-
})) && $
|
|
1406
|
+
})) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1428
1407
|
path: _path2 + ".values",
|
|
1429
1408
|
expected: "(TermValues | undefined)",
|
|
1430
1409
|
value: input3.values
|
|
@@ -1432,7 +1411,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1432
1411
|
path: _path2 + ".groupsetting",
|
|
1433
1412
|
expected: "EnabledTermGroupSetting",
|
|
1434
1413
|
value: input3.groupsetting
|
|
1435
|
-
})) && $
|
|
1414
|
+
})) && $vo32(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1436
1415
|
path: _path2 + ".groupsetting",
|
|
1437
1416
|
expected: "EnabledTermGroupSetting",
|
|
1438
1417
|
value: input3.groupsetting
|
|
@@ -1453,7 +1432,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1453
1432
|
expected: "number",
|
|
1454
1433
|
value: input3.stop
|
|
1455
1434
|
})].every((flag) => flag);
|
|
1456
|
-
const $
|
|
1435
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1457
1436
|
path: _path2 + ".dt",
|
|
1458
1437
|
expected: "1",
|
|
1459
1438
|
value: input3.dt
|
|
@@ -1486,7 +1465,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1486
1465
|
expected: '("germline" | "somatic" | undefined)',
|
|
1487
1466
|
value: input3.origin
|
|
1488
1467
|
})].every((flag) => flag);
|
|
1489
|
-
const $
|
|
1468
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1490
1469
|
path: _path2 + ".dt",
|
|
1491
1470
|
expected: "4",
|
|
1492
1471
|
value: input3.dt
|
|
@@ -1519,7 +1498,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1519
1498
|
expected: '("germline" | "somatic" | undefined)',
|
|
1520
1499
|
value: input3.origin
|
|
1521
1500
|
})].every((flag) => flag);
|
|
1522
|
-
const $
|
|
1501
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1523
1502
|
path: _path2 + ".dt",
|
|
1524
1503
|
expected: "5",
|
|
1525
1504
|
value: input3.dt
|
|
@@ -1552,7 +1531,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
1552
1531
|
expected: '("germline" | "somatic" | undefined)',
|
|
1553
1532
|
value: input3.origin
|
|
1554
1533
|
})].every((flag) => flag);
|
|
1555
|
-
const $
|
|
1534
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1556
1535
|
path: _path2 + ".dt",
|
|
1557
1536
|
expected: "2",
|
|
1558
1537
|
value: input3.dt
|
|
@@ -1585,6 +1564,23 @@ var validBrainImagingRequest = (input) => {
|
|
|
1585
1564
|
expected: '("germline" | "somatic" | undefined)',
|
|
1586
1565
|
value: input3.origin
|
|
1587
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);
|
|
1588
1584
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1589
1585
|
if ("string" === typeof input3.type)
|
|
1590
1586
|
return $vo9(input3, _path2, _exceptionable2);
|
|
@@ -1598,27 +1594,27 @@ var validBrainImagingRequest = (input) => {
|
|
|
1598
1594
|
})();
|
|
1599
1595
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1600
1596
|
if (void 0 !== input3.type)
|
|
1601
|
-
return $
|
|
1597
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
1602
1598
|
if (void 0 !== input3.ranges)
|
|
1603
|
-
return $
|
|
1604
|
-
return $
|
|
1599
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1600
|
+
return $vo16(input3, _path2, false) || $vo27(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
1605
1601
|
})();
|
|
1606
1602
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1607
1603
|
if (true === input3.startunbounded)
|
|
1608
|
-
return $
|
|
1604
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1609
1605
|
if (true === input3.stopunbounded)
|
|
1610
|
-
return $
|
|
1611
|
-
return $
|
|
1606
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1607
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1612
1608
|
})();
|
|
1613
1609
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1614
1610
|
if (2 === input3.dt)
|
|
1615
|
-
return $vo39(input3, _path2, _exceptionable2);
|
|
1616
|
-
if (5 === input3.dt)
|
|
1617
1611
|
return $vo38(input3, _path2, _exceptionable2);
|
|
1618
|
-
if (
|
|
1612
|
+
if (5 === input3.dt)
|
|
1619
1613
|
return $vo37(input3, _path2, _exceptionable2);
|
|
1620
|
-
if (
|
|
1614
|
+
if (4 === input3.dt)
|
|
1621
1615
|
return $vo36(input3, _path2, _exceptionable2);
|
|
1616
|
+
if (1 === input3.dt)
|
|
1617
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1622
1618
|
return $report(_exceptionable2, {
|
|
1623
1619
|
path: _path2,
|
|
1624
1620
|
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
@@ -1635,15 +1631,15 @@ var validBrainImagingRequest = (input) => {
|
|
|
1635
1631
|
return $vo5(input3, _path2, _exceptionable2);
|
|
1636
1632
|
})();
|
|
1637
1633
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1638
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index32) => "object" === typeof elem && null !== elem && $
|
|
1639
|
-
return $
|
|
1640
|
-
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);
|
|
1641
1637
|
})();
|
|
1642
1638
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1643
1639
|
if ("regular-bin" === input3.type)
|
|
1644
|
-
return $
|
|
1640
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1645
1641
|
if ("custom-bin" === input3.type)
|
|
1646
|
-
return $
|
|
1642
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1647
1643
|
return $report(_exceptionable2, {
|
|
1648
1644
|
path: _path2,
|
|
1649
1645
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -1652,9 +1648,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1652
1648
|
})();
|
|
1653
1649
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1654
1650
|
if (true === input3.startunbounded)
|
|
1655
|
-
return $
|
|
1651
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1656
1652
|
if (void 0 !== input3.start)
|
|
1657
|
-
return $
|
|
1653
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1658
1654
|
return $report(_exceptionable2, {
|
|
1659
1655
|
path: _path2,
|
|
1660
1656
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -1663,9 +1659,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1663
1659
|
})();
|
|
1664
1660
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1665
1661
|
if (void 0 !== input3.stop)
|
|
1666
|
-
return $
|
|
1662
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1667
1663
|
if (true === input3.stopunbounded)
|
|
1668
|
-
return $
|
|
1664
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1669
1665
|
return $report(_exceptionable2, {
|
|
1670
1666
|
path: _path2,
|
|
1671
1667
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -1674,9 +1670,9 @@ var validBrainImagingRequest = (input) => {
|
|
|
1674
1670
|
})();
|
|
1675
1671
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1676
1672
|
if ("gene" === input3.kind)
|
|
1677
|
-
return $
|
|
1673
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1678
1674
|
if ("coord" === input3.kind)
|
|
1679
|
-
return $
|
|
1675
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
1680
1676
|
return $report(_exceptionable2, {
|
|
1681
1677
|
path: _path2,
|
|
1682
1678
|
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|