@sjcrh/proteinpaint-types 2.100.1-1 → 2.102.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.
@@ -80,8 +80,8 @@ var validPercentileRequest = (input) => {
80
80
  const $io9 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
81
81
  const $io10 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
82
82
  const $io11 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
83
- const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(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 && $io21(elem)));
84
- const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
83
+ const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(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 && $io22(elem)));
84
+ const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale));
85
85
  const $io14 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(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);
86
86
  const $io15 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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 && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
87
87
  const $io16 = (input3) => Object.keys(input3).every((key) => {
@@ -96,17 +96,18 @@ var validPercentileRequest = (input) => {
96
96
  const $io18 = (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);
97
97
  const $io19 = (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);
98
98
  const $io20 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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);
99
- const $io21 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
100
- const $io22 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io23(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 && $io24(elem)));
101
- const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values));
102
- const $io24 = (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;
103
- const $io25 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
104
- const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(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);
105
- const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
106
- const $io28 = (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);
107
- const $io29 = (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);
108
- const $io30 = (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);
109
- const $io31 = (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);
99
+ const $io21 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
100
+ const $io22 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
101
+ const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(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 && $io25(elem)));
102
+ const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values));
103
+ const $io25 = (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;
104
+ const $io26 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
105
+ const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(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);
106
+ const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
107
+ const $io29 = (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);
108
+ const $io30 = (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);
109
+ const $io31 = (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);
110
+ const $io32 = (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);
110
111
  const $iu0 = (input3) => (() => {
111
112
  if (void 0 !== input3.type)
112
113
  return $io1(input3);
@@ -115,10 +116,10 @@ var validPercentileRequest = (input) => {
115
116
  return (() => {
116
117
  if ($io2(input3))
117
118
  return $io2(input3);
118
- if ($io22(input3))
119
- return $io22(input3);
120
- if ($io25(input3))
121
- return $io25(input3);
119
+ if ($io23(input3))
120
+ return $io23(input3);
121
+ if ($io26(input3))
122
+ return $io26(input3);
122
123
  return false;
123
124
  })();
124
125
  })();
@@ -138,13 +139,13 @@ var validPercentileRequest = (input) => {
138
139
  })();
139
140
  const $iu3 = (input3) => (() => {
140
141
  if (2 === input3.dt)
141
- return $io31(input3);
142
+ return $io32(input3);
142
143
  if (5 === input3.dt)
143
- return $io30(input3);
144
+ return $io31(input3);
144
145
  if (4 === input3.dt)
145
- return $io29(input3);
146
+ return $io30(input3);
146
147
  if (1 === input3.dt)
147
- return $io28(input3);
148
+ return $io29(input3);
148
149
  return false;
149
150
  })();
150
151
  const $iu4 = (input3) => (() => {
@@ -175,9 +176,9 @@ var validPercentileRequest = (input) => {
175
176
  })();
176
177
  const $iu8 = (input3) => (() => {
177
178
  if ("gene" === input3.kind)
178
- return $io26(input3);
179
- if ("coord" === input3.kind)
180
179
  return $io27(input3);
180
+ if ("coord" === input3.kind)
181
+ return $io28(input3);
181
182
  return false;
182
183
  })();
183
184
  return "object" === typeof input2 && null !== input2 && $io0(input2);
@@ -573,11 +574,11 @@ var validPercentileRequest = (input) => {
573
574
  value: input3.values
574
575
  })) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
575
576
  path: _path2 + ".values[" + _index10 + "]",
576
- expected: "__type.o2",
577
+ expected: "__type.o3",
577
578
  value: elem
578
- })) && $vo21(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
579
+ })) && $vo22(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
579
580
  path: _path2 + ".values[" + _index10 + "]",
580
- expected: "__type.o2",
581
+ expected: "__type.o3",
581
582
  value: elem
582
583
  })).every((flag) => flag) || $report(_exceptionable2, {
583
584
  path: _path2 + ".values",
@@ -648,6 +649,14 @@ var validPercentileRequest = (input) => {
648
649
  path: _path2 + ".unit",
649
650
  expected: "(string | undefined)",
650
651
  value: input3.unit
652
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
653
+ path: _path2 + ".continuousColorScale",
654
+ expected: "(__type.o2 | undefined)",
655
+ value: input3.continuousColorScale
656
+ })) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
657
+ path: _path2 + ".continuousColorScale",
658
+ expected: "(__type.o2 | undefined)",
659
+ value: input3.continuousColorScale
651
660
  })].every((flag) => flag);
652
661
  const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
653
662
  path: _path2 + '["default"]',
@@ -897,7 +906,16 @@ var validPercentileRequest = (input) => {
897
906
  expected: '("median" | undefined)',
898
907
  value: input3.preferredBins
899
908
  })].every((flag) => flag);
900
- const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
909
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
910
+ path: _path2 + ".minColor",
911
+ expected: "string",
912
+ value: input3.minColor
913
+ }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
914
+ path: _path2 + ".maxColor",
915
+ expected: "string",
916
+ value: input3.maxColor
917
+ })].every((flag) => flag);
918
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
901
919
  path: _path2 + ".key",
902
920
  expected: "string",
903
921
  value: input3.key
@@ -914,7 +932,7 @@ var validPercentileRequest = (input) => {
914
932
  expected: "(string | undefined)",
915
933
  value: input3.label
916
934
  })].every((flag) => flag);
917
- const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
935
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
918
936
  path: _path2 + ".join",
919
937
  expected: "(string | undefined)",
920
938
  value: input3.join
@@ -926,7 +944,7 @@ var validPercentileRequest = (input) => {
926
944
  path: _path2 + ".term",
927
945
  expected: "ConditionTerm",
928
946
  value: input3.term
929
- })) && $vo23(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
947
+ })) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
930
948
  path: _path2 + ".term",
931
949
  expected: "ConditionTerm",
932
950
  value: input3.term
@@ -950,7 +968,7 @@ var validPercentileRequest = (input) => {
950
968
  path: _path2 + ".grade_and_child[" + _index14 + "]",
951
969
  expected: "GradeAndChildEntry",
952
970
  value: elem
953
- })) && $vo24(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
971
+ })) && $vo25(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
954
972
  path: _path2 + ".grade_and_child[" + _index14 + "]",
955
973
  expected: "GradeAndChildEntry",
956
974
  value: elem
@@ -959,7 +977,7 @@ var validPercentileRequest = (input) => {
959
977
  expected: "(Array<GradeAndChildEntry> | undefined)",
960
978
  value: input3.grade_and_child
961
979
  })].every((flag) => flag);
962
- const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
980
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
963
981
  path: _path2 + ".id",
964
982
  expected: "string",
965
983
  value: input3.id
@@ -1012,7 +1030,7 @@ var validPercentileRequest = (input) => {
1012
1030
  expected: "(TermValues | undefined)",
1013
1031
  value: input3.values
1014
1032
  })].every((flag) => flag);
1015
- const $vo24 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1033
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1016
1034
  path: _path2 + ".grade",
1017
1035
  expected: "number",
1018
1036
  value: input3.grade
@@ -1029,7 +1047,7 @@ var validPercentileRequest = (input) => {
1029
1047
  expected: "string",
1030
1048
  value: input3.child_label
1031
1049
  })].every((flag) => flag);
1032
- const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1050
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1033
1051
  path: _path2 + ".join",
1034
1052
  expected: "(string | undefined)",
1035
1053
  value: input3.join
@@ -1062,7 +1080,7 @@ var validPercentileRequest = (input) => {
1062
1080
  expected: "Array<GeneVariantTvsValue>",
1063
1081
  value: input3.values
1064
1082
  })].every((flag) => flag);
1065
- const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1083
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1066
1084
  path: _path2 + ".id",
1067
1085
  expected: "string",
1068
1086
  value: input3.id
@@ -1143,7 +1161,7 @@ var validPercentileRequest = (input) => {
1143
1161
  expected: "(number | undefined)",
1144
1162
  value: input3.stop
1145
1163
  })].every((flag) => flag);
1146
- const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1164
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1147
1165
  path: _path2 + ".id",
1148
1166
  expected: "string",
1149
1167
  value: input3.id
@@ -1220,7 +1238,7 @@ var validPercentileRequest = (input) => {
1220
1238
  expected: "number",
1221
1239
  value: input3.stop
1222
1240
  })].every((flag) => flag);
1223
- const $vo28 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
1241
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
1224
1242
  path: _path2 + ".dt",
1225
1243
  expected: "1",
1226
1244
  value: input3.dt
@@ -1253,7 +1271,7 @@ var validPercentileRequest = (input) => {
1253
1271
  expected: '("germline" | "somatic" | undefined)',
1254
1272
  value: input3.origin
1255
1273
  })].every((flag) => flag);
1256
- const $vo29 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
1274
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
1257
1275
  path: _path2 + ".dt",
1258
1276
  expected: "4",
1259
1277
  value: input3.dt
@@ -1286,7 +1304,7 @@ var validPercentileRequest = (input) => {
1286
1304
  expected: '("germline" | "somatic" | undefined)',
1287
1305
  value: input3.origin
1288
1306
  })].every((flag) => flag);
1289
- const $vo30 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
1307
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
1290
1308
  path: _path2 + ".dt",
1291
1309
  expected: "5",
1292
1310
  value: input3.dt
@@ -1319,7 +1337,7 @@ var validPercentileRequest = (input) => {
1319
1337
  expected: '("germline" | "somatic" | undefined)',
1320
1338
  value: input3.origin
1321
1339
  })].every((flag) => flag);
1322
- const $vo31 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
1340
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
1323
1341
  path: _path2 + ".dt",
1324
1342
  expected: "2",
1325
1343
  value: input3.dt
@@ -1357,7 +1375,7 @@ var validPercentileRequest = (input) => {
1357
1375
  return $vo1(input3, _path2, _exceptionable2);
1358
1376
  if (void 0 !== input3.ranges)
1359
1377
  return $vo12(input3, _path2, _exceptionable2);
1360
- return $vo2(input3, _path2, false) || $vo22(input3, _path2, false) || $vo25(input3, _path2, false);
1378
+ return $vo2(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
1361
1379
  })();
1362
1380
  const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
1363
1381
  if ("string" === typeof input3.type)
@@ -1379,13 +1397,13 @@ var validPercentileRequest = (input) => {
1379
1397
  })();
1380
1398
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1381
1399
  if (2 === input3.dt)
1382
- return $vo31(input3, _path2, _exceptionable2);
1400
+ return $vo32(input3, _path2, _exceptionable2);
1383
1401
  if (5 === input3.dt)
1384
- return $vo30(input3, _path2, _exceptionable2);
1402
+ return $vo31(input3, _path2, _exceptionable2);
1385
1403
  if (4 === input3.dt)
1386
- return $vo29(input3, _path2, _exceptionable2);
1404
+ return $vo30(input3, _path2, _exceptionable2);
1387
1405
  if (1 === input3.dt)
1388
- return $vo28(input3, _path2, _exceptionable2);
1406
+ return $vo29(input3, _path2, _exceptionable2);
1389
1407
  return $report(_exceptionable2, {
1390
1408
  path: _path2,
1391
1409
  expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
@@ -1432,9 +1450,9 @@ var validPercentileRequest = (input) => {
1432
1450
  })();
1433
1451
  const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
1434
1452
  if ("gene" === input3.kind)
1435
- return $vo26(input3, _path2, _exceptionable2);
1436
- if ("coord" === input3.kind)
1437
1453
  return $vo27(input3, _path2, _exceptionable2);
1454
+ if ("coord" === input3.kind)
1455
+ return $vo28(input3, _path2, _exceptionable2);
1438
1456
  return $report(_exceptionable2, {
1439
1457
  path: _path2,
1440
1458
  expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",