@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 validViolinRequest = (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 validViolinRequest = (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 validViolinRequest = (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 validViolinRequest = (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 validViolinRequest = (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);
@@ -609,11 +610,11 @@ var validViolinRequest = (input) => {
609
610
  value: input3.values
610
611
  })) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
611
612
  path: _path2 + ".values[" + _index10 + "]",
612
- expected: "__type.o2",
613
+ expected: "__type.o3",
613
614
  value: elem
614
- })) && $vo21(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
615
+ })) && $vo22(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
615
616
  path: _path2 + ".values[" + _index10 + "]",
616
- expected: "__type.o2",
617
+ expected: "__type.o3",
617
618
  value: elem
618
619
  })).every((flag) => flag) || $report(_exceptionable2, {
619
620
  path: _path2 + ".values",
@@ -684,6 +685,14 @@ var validViolinRequest = (input) => {
684
685
  path: _path2 + ".unit",
685
686
  expected: "(string | undefined)",
686
687
  value: input3.unit
688
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
689
+ path: _path2 + ".continuousColorScale",
690
+ expected: "(__type.o2 | undefined)",
691
+ value: input3.continuousColorScale
692
+ })) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
693
+ path: _path2 + ".continuousColorScale",
694
+ expected: "(__type.o2 | undefined)",
695
+ value: input3.continuousColorScale
687
696
  })].every((flag) => flag);
688
697
  const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
689
698
  path: _path2 + '["default"]',
@@ -933,7 +942,16 @@ var validViolinRequest = (input) => {
933
942
  expected: '("median" | undefined)',
934
943
  value: input3.preferredBins
935
944
  })].every((flag) => flag);
936
- const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
945
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
946
+ path: _path2 + ".minColor",
947
+ expected: "string",
948
+ value: input3.minColor
949
+ }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
950
+ path: _path2 + ".maxColor",
951
+ expected: "string",
952
+ value: input3.maxColor
953
+ })].every((flag) => flag);
954
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
937
955
  path: _path2 + ".key",
938
956
  expected: "string",
939
957
  value: input3.key
@@ -950,7 +968,7 @@ var validViolinRequest = (input) => {
950
968
  expected: "(string | undefined)",
951
969
  value: input3.label
952
970
  })].every((flag) => flag);
953
- const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
971
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
954
972
  path: _path2 + ".join",
955
973
  expected: "(string | undefined)",
956
974
  value: input3.join
@@ -962,7 +980,7 @@ var validViolinRequest = (input) => {
962
980
  path: _path2 + ".term",
963
981
  expected: "ConditionTerm",
964
982
  value: input3.term
965
- })) && $vo23(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
983
+ })) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
966
984
  path: _path2 + ".term",
967
985
  expected: "ConditionTerm",
968
986
  value: input3.term
@@ -986,7 +1004,7 @@ var validViolinRequest = (input) => {
986
1004
  path: _path2 + ".grade_and_child[" + _index14 + "]",
987
1005
  expected: "GradeAndChildEntry",
988
1006
  value: elem
989
- })) && $vo24(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
1007
+ })) && $vo25(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
990
1008
  path: _path2 + ".grade_and_child[" + _index14 + "]",
991
1009
  expected: "GradeAndChildEntry",
992
1010
  value: elem
@@ -995,7 +1013,7 @@ var validViolinRequest = (input) => {
995
1013
  expected: "(Array<GradeAndChildEntry> | undefined)",
996
1014
  value: input3.grade_and_child
997
1015
  })].every((flag) => flag);
998
- const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1016
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
999
1017
  path: _path2 + ".id",
1000
1018
  expected: "string",
1001
1019
  value: input3.id
@@ -1048,7 +1066,7 @@ var validViolinRequest = (input) => {
1048
1066
  expected: "(TermValues | undefined)",
1049
1067
  value: input3.values
1050
1068
  })].every((flag) => flag);
1051
- const $vo24 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1069
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1052
1070
  path: _path2 + ".grade",
1053
1071
  expected: "number",
1054
1072
  value: input3.grade
@@ -1065,7 +1083,7 @@ var validViolinRequest = (input) => {
1065
1083
  expected: "string",
1066
1084
  value: input3.child_label
1067
1085
  })].every((flag) => flag);
1068
- const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1086
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1069
1087
  path: _path2 + ".join",
1070
1088
  expected: "(string | undefined)",
1071
1089
  value: input3.join
@@ -1098,7 +1116,7 @@ var validViolinRequest = (input) => {
1098
1116
  expected: "Array<GeneVariantTvsValue>",
1099
1117
  value: input3.values
1100
1118
  })].every((flag) => flag);
1101
- const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1119
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1102
1120
  path: _path2 + ".id",
1103
1121
  expected: "string",
1104
1122
  value: input3.id
@@ -1179,7 +1197,7 @@ var validViolinRequest = (input) => {
1179
1197
  expected: "(number | undefined)",
1180
1198
  value: input3.stop
1181
1199
  })].every((flag) => flag);
1182
- const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1200
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1183
1201
  path: _path2 + ".id",
1184
1202
  expected: "string",
1185
1203
  value: input3.id
@@ -1256,7 +1274,7 @@ var validViolinRequest = (input) => {
1256
1274
  expected: "number",
1257
1275
  value: input3.stop
1258
1276
  })].every((flag) => flag);
1259
- const $vo28 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
1277
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
1260
1278
  path: _path2 + ".dt",
1261
1279
  expected: "1",
1262
1280
  value: input3.dt
@@ -1289,7 +1307,7 @@ var validViolinRequest = (input) => {
1289
1307
  expected: '("germline" | "somatic" | undefined)',
1290
1308
  value: input3.origin
1291
1309
  })].every((flag) => flag);
1292
- const $vo29 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
1310
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
1293
1311
  path: _path2 + ".dt",
1294
1312
  expected: "4",
1295
1313
  value: input3.dt
@@ -1322,7 +1340,7 @@ var validViolinRequest = (input) => {
1322
1340
  expected: '("germline" | "somatic" | undefined)',
1323
1341
  value: input3.origin
1324
1342
  })].every((flag) => flag);
1325
- const $vo30 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
1343
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
1326
1344
  path: _path2 + ".dt",
1327
1345
  expected: "5",
1328
1346
  value: input3.dt
@@ -1355,7 +1373,7 @@ var validViolinRequest = (input) => {
1355
1373
  expected: '("germline" | "somatic" | undefined)',
1356
1374
  value: input3.origin
1357
1375
  })].every((flag) => flag);
1358
- const $vo31 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
1376
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
1359
1377
  path: _path2 + ".dt",
1360
1378
  expected: "2",
1361
1379
  value: input3.dt
@@ -1393,7 +1411,7 @@ var validViolinRequest = (input) => {
1393
1411
  return $vo1(input3, _path2, _exceptionable2);
1394
1412
  if (void 0 !== input3.ranges)
1395
1413
  return $vo12(input3, _path2, _exceptionable2);
1396
- return $vo2(input3, _path2, false) || $vo22(input3, _path2, false) || $vo25(input3, _path2, false);
1414
+ return $vo2(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
1397
1415
  })();
1398
1416
  const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
1399
1417
  if ("string" === typeof input3.type)
@@ -1415,13 +1433,13 @@ var validViolinRequest = (input) => {
1415
1433
  })();
1416
1434
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1417
1435
  if (2 === input3.dt)
1418
- return $vo31(input3, _path2, _exceptionable2);
1436
+ return $vo32(input3, _path2, _exceptionable2);
1419
1437
  if (5 === input3.dt)
1420
- return $vo30(input3, _path2, _exceptionable2);
1438
+ return $vo31(input3, _path2, _exceptionable2);
1421
1439
  if (4 === input3.dt)
1422
- return $vo29(input3, _path2, _exceptionable2);
1440
+ return $vo30(input3, _path2, _exceptionable2);
1423
1441
  if (1 === input3.dt)
1424
- return $vo28(input3, _path2, _exceptionable2);
1442
+ return $vo29(input3, _path2, _exceptionable2);
1425
1443
  return $report(_exceptionable2, {
1426
1444
  path: _path2,
1427
1445
  expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
@@ -1468,9 +1486,9 @@ var validViolinRequest = (input) => {
1468
1486
  })();
1469
1487
  const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
1470
1488
  if ("gene" === input3.kind)
1471
- return $vo26(input3, _path2, _exceptionable2);
1472
- if ("coord" === input3.kind)
1473
1489
  return $vo27(input3, _path2, _exceptionable2);
1490
+ if ("coord" === input3.kind)
1491
+ return $vo28(input3, _path2, _exceptionable2);
1474
1492
  return $report(_exceptionable2, {
1475
1493
  path: _path2,
1476
1494
  expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",