@sjcrh/proteinpaint-types 2.170.0 → 2.170.1

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.
@@ -4478,20 +4478,28 @@ var validBoxPlotResponse = (input) => {
4478
4478
  const errors = [];
4479
4479
  const __is = (input2) => {
4480
4480
  const $join = import_typia.createValidate.join;
4481
- const $io0 = (input3) => (void 0 === input3.absMin || "number" === typeof input3.absMin) && (void 0 === input3.absMax || "number" === typeof input3.absMax) && ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) && $io1(input3.charts)) && ("object" === typeof input3.descrStats && null !== input3.descrStats && false === Array.isArray(input3.descrStats) && $io6(input3.descrStats)) && (null === input3.uncomputableValues || Array.isArray(input3.uncomputableValues) && input3.uncomputableValues.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && true;
4481
+ const $io0 = (input3) => (void 0 === input3.absMin || "number" === typeof input3.absMin) && (void 0 === input3.absMax || "number" === typeof input3.absMax) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && false === Array.isArray(input3.bins) && $io1(input3.bins)) && ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) && $io2(input3.charts)) && ("object" === typeof input3.descrStats && null !== input3.descrStats && false === Array.isArray(input3.descrStats) && $io7(input3.descrStats)) && (null === input3.uncomputableValues || Array.isArray(input3.uncomputableValues) && input3.uncomputableValues.every((elem) => "object" === typeof elem && null !== elem && $io12(elem))) && true;
4482
4482
  const $io1 = (input3) => Object.keys(input3).every((key) => {
4483
4483
  const value = input3[key];
4484
4484
  if (void 0 === value)
4485
4485
  return true;
4486
4486
  if (RegExp(/(.*)/).test(key))
4487
- return "object" === typeof value && null !== value && $io2(value);
4487
+ return true;
4488
+ return true;
4489
+ });
4490
+ const $io2 = (input3) => Object.keys(input3).every((key) => {
4491
+ const value = input3[key];
4492
+ if (void 0 === value)
4493
+ return true;
4494
+ if (RegExp(/(.*)/).test(key))
4495
+ return "object" === typeof value && null !== value && $io3(value);
4488
4496
  return true;
4489
4497
  });
4490
- const $io2 = (input3) => "string" === typeof input3.chartId && (Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && "number" === typeof input3.sampleCount && (void 0 === input3.wilcoxon || Array.isArray(input3.wilcoxon) && input3.wilcoxon.every((elem) => Array.isArray(elem) && (elem.length === 3 && ("object" === typeof elem[0] && null !== elem[0] && $io8(elem[0])) && ("object" === typeof elem[1] && null !== elem[1] && $io9(elem[1])) && ("object" === typeof elem[2] && null !== elem[2] && $io10(elem[2])))));
4491
- const $io3 = (input3) => "object" === typeof input3.boxplot && null !== input3.boxplot && $io4(input3.boxplot) && (void 0 === input3.color || "string" === typeof input3.color) && ("object" === typeof input3.descrStats && null !== input3.descrStats && false === Array.isArray(input3.descrStats) && $io6(input3.descrStats)) && (void 0 === input3.isHidden || "boolean" === typeof input3.isHidden) && "string" === typeof input3.key && true && (void 0 === input3.seriesId || "string" === typeof input3.seriesId);
4492
- const $io4 = (input3) => (void 0 === input3.w1 || "number" === typeof input3.w1) && (void 0 === input3.w2 || "number" === typeof input3.w2) && "number" === typeof input3.p05 && "number" === typeof input3.p25 && "number" === typeof input3.p50 && "number" === typeof input3.p75 && "number" === typeof input3.p95 && "number" === typeof input3.iqr && (Array.isArray(input3.out) && input3.out.every((elem) => "object" === typeof elem && null !== elem && $io5(elem))) && "string" === typeof input3.label;
4493
- const $io5 = (input3) => "number" === typeof input3.value;
4494
- const $io6 = (input3) => Object.keys(input3).every((key) => {
4498
+ const $io3 = (input3) => "string" === typeof input3.chartId && (Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io4(elem))) && "number" === typeof input3.sampleCount && (void 0 === input3.wilcoxon || Array.isArray(input3.wilcoxon) && input3.wilcoxon.every((elem) => Array.isArray(elem) && (elem.length === 3 && ("object" === typeof elem[0] && null !== elem[0] && $io9(elem[0])) && ("object" === typeof elem[1] && null !== elem[1] && $io10(elem[1])) && ("object" === typeof elem[2] && null !== elem[2] && $io11(elem[2])))));
4499
+ const $io4 = (input3) => "object" === typeof input3.boxplot && null !== input3.boxplot && $io5(input3.boxplot) && (void 0 === input3.color || "string" === typeof input3.color) && ("object" === typeof input3.descrStats && null !== input3.descrStats && false === Array.isArray(input3.descrStats) && $io7(input3.descrStats)) && (void 0 === input3.isHidden || "boolean" === typeof input3.isHidden) && "string" === typeof input3.key && true && (void 0 === input3.seriesId || "string" === typeof input3.seriesId);
4500
+ const $io5 = (input3) => (void 0 === input3.w1 || "number" === typeof input3.w1) && (void 0 === input3.w2 || "number" === typeof input3.w2) && "number" === typeof input3.p05 && "number" === typeof input3.p25 && "number" === typeof input3.p50 && "number" === typeof input3.p75 && "number" === typeof input3.p95 && "number" === typeof input3.iqr && (Array.isArray(input3.out) && input3.out.every((elem) => "object" === typeof elem && null !== elem && $io6(elem))) && "string" === typeof input3.label;
4501
+ const $io6 = (input3) => "number" === typeof input3.value;
4502
+ const $io7 = (input3) => Object.keys(input3).every((key) => {
4495
4503
  const value = input3[key];
4496
4504
  if (void 0 === value)
4497
4505
  return true;
@@ -4499,10 +4507,10 @@ var validBoxPlotResponse = (input) => {
4499
4507
  return "object" === typeof value && null !== value && ("string" === typeof value.key && "string" === typeof value.label && "number" === typeof value.value);
4500
4508
  return true;
4501
4509
  });
4502
- const $io8 = (input3) => "string" === typeof input3.value;
4503
4510
  const $io9 = (input3) => "string" === typeof input3.value;
4504
- const $io10 = (input3) => "string" === typeof input3.html;
4505
- const $io11 = (input3) => "string" === typeof input3.label && "number" === typeof input3.value;
4511
+ const $io10 = (input3) => "string" === typeof input3.value;
4512
+ const $io11 = (input3) => "string" === typeof input3.html;
4513
+ const $io12 = (input3) => "string" === typeof input3.label && "number" === typeof input3.value;
4506
4514
  return "object" === typeof input2 && null !== input2 && $io0(input2);
4507
4515
  };
4508
4516
  if (false === __is(input)) {
@@ -4517,19 +4525,27 @@ var validBoxPlotResponse = (input) => {
4517
4525
  path: _path2 + ".absMax",
4518
4526
  expected: "(number | undefined)",
4519
4527
  value: input3.absMax
4528
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins && false === Array.isArray(input3.bins) || $report(_exceptionable2, {
4529
+ path: _path2 + ".bins",
4530
+ expected: "(__type | undefined)",
4531
+ value: input3.bins
4532
+ })) && $vo1(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
4533
+ path: _path2 + ".bins",
4534
+ expected: "(__type | undefined)",
4535
+ value: input3.bins
4520
4536
  }), ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) || $report(_exceptionable2, {
4521
4537
  path: _path2 + ".charts",
4522
- expected: "__type",
4538
+ expected: "__type.o1",
4523
4539
  value: input3.charts
4524
- })) && $vo1(input3.charts, _path2 + ".charts", _exceptionable2) || $report(_exceptionable2, {
4540
+ })) && $vo2(input3.charts, _path2 + ".charts", _exceptionable2) || $report(_exceptionable2, {
4525
4541
  path: _path2 + ".charts",
4526
- expected: "__type",
4542
+ expected: "__type.o1",
4527
4543
  value: input3.charts
4528
4544
  }), ("object" === typeof input3.descrStats && null !== input3.descrStats && false === Array.isArray(input3.descrStats) || $report(_exceptionable2, {
4529
4545
  path: _path2 + ".descrStats",
4530
4546
  expected: "DescrStats",
4531
4547
  value: input3.descrStats
4532
- })) && $vo6(input3.descrStats, _path2 + ".descrStats", _exceptionable2) || $report(_exceptionable2, {
4548
+ })) && $vo7(input3.descrStats, _path2 + ".descrStats", _exceptionable2) || $report(_exceptionable2, {
4533
4549
  path: _path2 + ".descrStats",
4534
4550
  expected: "DescrStats",
4535
4551
  value: input3.descrStats
@@ -4539,11 +4555,11 @@ var validBoxPlotResponse = (input) => {
4539
4555
  value: input3.uncomputableValues
4540
4556
  })) && input3.uncomputableValues.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
4541
4557
  path: _path2 + ".uncomputableValues[" + _index1 + "]",
4542
- expected: "__type.o6",
4558
+ expected: "__type.o7",
4543
4559
  value: elem
4544
- })) && $vo11(elem, _path2 + ".uncomputableValues[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
4560
+ })) && $vo12(elem, _path2 + ".uncomputableValues[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
4545
4561
  path: _path2 + ".uncomputableValues[" + _index1 + "]",
4546
- expected: "__type.o6",
4562
+ expected: "__type.o7",
4547
4563
  value: elem
4548
4564
  })).every((flag) => flag) || $report(_exceptionable2, {
4549
4565
  path: _path2 + ".uncomputableValues",
@@ -4551,6 +4567,14 @@ var validBoxPlotResponse = (input) => {
4551
4567
  value: input3.uncomputableValues
4552
4568
  }), true].every((flag) => flag);
4553
4569
  const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
4570
+ const value = input3[key];
4571
+ if (void 0 === value)
4572
+ return true;
4573
+ if (RegExp(/(.*)/).test(key))
4574
+ return true;
4575
+ return true;
4576
+ }).every((flag) => flag)].every((flag) => flag);
4577
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
4554
4578
  const value = input3[key];
4555
4579
  if (void 0 === value)
4556
4580
  return true;
@@ -4559,14 +4583,14 @@ var validBoxPlotResponse = (input) => {
4559
4583
  path: _path2 + $join(key),
4560
4584
  expected: "BoxPlotChartEntry",
4561
4585
  value
4562
- })) && $vo2(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
4586
+ })) && $vo3(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
4563
4587
  path: _path2 + $join(key),
4564
4588
  expected: "BoxPlotChartEntry",
4565
4589
  value
4566
4590
  });
4567
4591
  return true;
4568
4592
  }).every((flag) => flag)].every((flag) => flag);
4569
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.chartId || $report(_exceptionable2, {
4593
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.chartId || $report(_exceptionable2, {
4570
4594
  path: _path2 + ".chartId",
4571
4595
  expected: "string",
4572
4596
  value: input3.chartId
@@ -4578,7 +4602,7 @@ var validBoxPlotResponse = (input) => {
4578
4602
  path: _path2 + ".plots[" + _index2 + "]",
4579
4603
  expected: "BoxPlotEntry",
4580
4604
  value: elem
4581
- })) && $vo3(elem, _path2 + ".plots[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
4605
+ })) && $vo4(elem, _path2 + ".plots[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
4582
4606
  path: _path2 + ".plots[" + _index2 + "]",
4583
4607
  expected: "BoxPlotEntry",
4584
4608
  value: elem
@@ -4600,34 +4624,34 @@ var validBoxPlotResponse = (input) => {
4600
4624
  value: elem
4601
4625
  })) && ((elem.length === 3 || $report(_exceptionable2, {
4602
4626
  path: _path2 + ".wilcoxon[" + _index3 + "]",
4603
- expected: "[__type.o3, __type.o4, __type.o5]",
4627
+ expected: "[__type.o4, __type.o5, __type.o6]",
4604
4628
  value: elem
4605
4629
  })) && [
4606
4630
  ("object" === typeof elem[0] && null !== elem[0] || $report(_exceptionable2, {
4607
4631
  path: _path2 + ".wilcoxon[" + _index3 + "][0]",
4608
- expected: "__type.o3",
4632
+ expected: "__type.o4",
4609
4633
  value: elem[0]
4610
- })) && $vo8(elem[0], _path2 + ".wilcoxon[" + _index3 + "][0]", _exceptionable2) || $report(_exceptionable2, {
4634
+ })) && $vo9(elem[0], _path2 + ".wilcoxon[" + _index3 + "][0]", _exceptionable2) || $report(_exceptionable2, {
4611
4635
  path: _path2 + ".wilcoxon[" + _index3 + "][0]",
4612
- expected: "__type.o3",
4636
+ expected: "__type.o4",
4613
4637
  value: elem[0]
4614
4638
  }),
4615
4639
  ("object" === typeof elem[1] && null !== elem[1] || $report(_exceptionable2, {
4616
4640
  path: _path2 + ".wilcoxon[" + _index3 + "][1]",
4617
- expected: "__type.o4",
4641
+ expected: "__type.o5",
4618
4642
  value: elem[1]
4619
- })) && $vo9(elem[1], _path2 + ".wilcoxon[" + _index3 + "][1]", _exceptionable2) || $report(_exceptionable2, {
4643
+ })) && $vo10(elem[1], _path2 + ".wilcoxon[" + _index3 + "][1]", _exceptionable2) || $report(_exceptionable2, {
4620
4644
  path: _path2 + ".wilcoxon[" + _index3 + "][1]",
4621
- expected: "__type.o4",
4645
+ expected: "__type.o5",
4622
4646
  value: elem[1]
4623
4647
  }),
4624
4648
  ("object" === typeof elem[2] && null !== elem[2] || $report(_exceptionable2, {
4625
4649
  path: _path2 + ".wilcoxon[" + _index3 + "][2]",
4626
- expected: "__type.o5",
4650
+ expected: "__type.o6",
4627
4651
  value: elem[2]
4628
- })) && $vo10(elem[2], _path2 + ".wilcoxon[" + _index3 + "][2]", _exceptionable2) || $report(_exceptionable2, {
4652
+ })) && $vo11(elem[2], _path2 + ".wilcoxon[" + _index3 + "][2]", _exceptionable2) || $report(_exceptionable2, {
4629
4653
  path: _path2 + ".wilcoxon[" + _index3 + "][2]",
4630
- expected: "__type.o5",
4654
+ expected: "__type.o6",
4631
4655
  value: elem[2]
4632
4656
  })
4633
4657
  ].every((flag) => flag)) || $report(_exceptionable2, {
@@ -4639,11 +4663,11 @@ var validBoxPlotResponse = (input) => {
4639
4663
  expected: "(Array<[{ value: string; }, { value: string; }, { html: string; }]> | undefined)",
4640
4664
  value: input3.wilcoxon
4641
4665
  })].every((flag) => flag);
4642
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.boxplot && null !== input3.boxplot || $report(_exceptionable2, {
4666
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.boxplot && null !== input3.boxplot || $report(_exceptionable2, {
4643
4667
  path: _path2 + ".boxplot",
4644
4668
  expected: "BoxPlotData & { label: string; }",
4645
4669
  value: input3.boxplot
4646
- })) && $vo4(input3.boxplot, _path2 + ".boxplot", _exceptionable2) || $report(_exceptionable2, {
4670
+ })) && $vo5(input3.boxplot, _path2 + ".boxplot", _exceptionable2) || $report(_exceptionable2, {
4647
4671
  path: _path2 + ".boxplot",
4648
4672
  expected: "BoxPlotData & { label: string; }",
4649
4673
  value: input3.boxplot
@@ -4655,7 +4679,7 @@ var validBoxPlotResponse = (input) => {
4655
4679
  path: _path2 + ".descrStats",
4656
4680
  expected: "DescrStats",
4657
4681
  value: input3.descrStats
4658
- })) && $vo6(input3.descrStats, _path2 + ".descrStats", _exceptionable2) || $report(_exceptionable2, {
4682
+ })) && $vo7(input3.descrStats, _path2 + ".descrStats", _exceptionable2) || $report(_exceptionable2, {
4659
4683
  path: _path2 + ".descrStats",
4660
4684
  expected: "DescrStats",
4661
4685
  value: input3.descrStats
@@ -4672,7 +4696,7 @@ var validBoxPlotResponse = (input) => {
4672
4696
  expected: "(string | undefined)",
4673
4697
  value: input3.seriesId
4674
4698
  })].every((flag) => flag);
4675
- const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.w1 || "number" === typeof input3.w1 || $report(_exceptionable2, {
4699
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.w1 || "number" === typeof input3.w1 || $report(_exceptionable2, {
4676
4700
  path: _path2 + ".w1",
4677
4701
  expected: "(number | undefined)",
4678
4702
  value: input3.w1
@@ -4710,11 +4734,11 @@ var validBoxPlotResponse = (input) => {
4710
4734
  value: input3.out
4711
4735
  })) && input3.out.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
4712
4736
  path: _path2 + ".out[" + _index4 + "]",
4713
- expected: "__type.o1",
4737
+ expected: "__type.o2",
4714
4738
  value: elem
4715
- })) && $vo5(elem, _path2 + ".out[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
4739
+ })) && $vo6(elem, _path2 + ".out[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
4716
4740
  path: _path2 + ".out[" + _index4 + "]",
4717
- expected: "__type.o1",
4741
+ expected: "__type.o2",
4718
4742
  value: elem
4719
4743
  })).every((flag) => flag) || $report(_exceptionable2, {
4720
4744
  path: _path2 + ".out",
@@ -4725,28 +4749,28 @@ var validBoxPlotResponse = (input) => {
4725
4749
  expected: "string",
4726
4750
  value: input3.label
4727
4751
  })].every((flag) => flag);
4728
- const $vo5 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
4752
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
4729
4753
  path: _path2 + ".value",
4730
4754
  expected: "number",
4731
4755
  value: input3.value
4732
4756
  })].every((flag) => flag);
4733
- const $vo6 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
4757
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
4734
4758
  const value = input3[key];
4735
4759
  if (void 0 === value)
4736
4760
  return true;
4737
4761
  if (RegExp(/(.*)/).test(key))
4738
4762
  return ("object" === typeof value && null !== value || $report(_exceptionable2, {
4739
4763
  path: _path2 + $join(key),
4740
- expected: "__type.o2",
4764
+ expected: "__type.o3",
4741
4765
  value
4742
- })) && $vo7(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
4766
+ })) && $vo8(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
4743
4767
  path: _path2 + $join(key),
4744
- expected: "__type.o2",
4768
+ expected: "__type.o3",
4745
4769
  value
4746
4770
  });
4747
4771
  return true;
4748
4772
  }).every((flag) => flag)].every((flag) => flag);
4749
- const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
4773
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
4750
4774
  path: _path2 + ".key",
4751
4775
  expected: "string",
4752
4776
  value: input3.key
@@ -4759,22 +4783,22 @@ var validBoxPlotResponse = (input) => {
4759
4783
  expected: "number",
4760
4784
  value: input3.value
4761
4785
  })].every((flag) => flag);
4762
- const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.value || $report(_exceptionable2, {
4786
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.value || $report(_exceptionable2, {
4763
4787
  path: _path2 + ".value",
4764
4788
  expected: "string",
4765
4789
  value: input3.value
4766
4790
  })].every((flag) => flag);
4767
- const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.value || $report(_exceptionable2, {
4791
+ const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.value || $report(_exceptionable2, {
4768
4792
  path: _path2 + ".value",
4769
4793
  expected: "string",
4770
4794
  value: input3.value
4771
4795
  })].every((flag) => flag);
4772
- const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.html || $report(_exceptionable2, {
4796
+ const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.html || $report(_exceptionable2, {
4773
4797
  path: _path2 + ".html",
4774
4798
  expected: "string",
4775
4799
  value: input3.html
4776
4800
  })].every((flag) => flag);
4777
- const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.label || $report(_exceptionable2, {
4801
+ const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.label || $report(_exceptionable2, {
4778
4802
  path: _path2 + ".label",
4779
4803
  expected: "string",
4780
4804
  value: input3.label
@@ -65,7 +65,7 @@ var validHealthCheckResponse = (input) => {
65
65
  const errors = [];
66
66
  const __is = (input2) => {
67
67
  const $join = import_typia.createValidate.join;
68
- const $io0 = (input3) => ("ok" === input3.status || "error" === input3.status) && ("object" === typeof input3.genomes && null !== input3.genomes && false === Array.isArray(input3.genomes) && $io1(input3.genomes)) && ("object" === typeof input3.versionInfo && null !== input3.versionInfo && $io6(input3.versionInfo)) && (void 0 === input3.byDataset || "object" === typeof input3.byDataset && null !== input3.byDataset && false === Array.isArray(input3.byDataset) && $io9(input3.byDataset)) && (void 0 === input3.auth || "object" === typeof input3.auth && null !== input3.auth && false === Array.isArray(input3.auth) && $io10(input3.auth)) && (void 0 === input3.w || Array.isArray(input3.w) && input3.w.every((elem) => "number" === typeof elem)) && (void 0 === input3.rs || "number" === typeof input3.rs);
68
+ const $io0 = (input3) => ("ok" === input3.status || "error" === input3.status) && ("object" === typeof input3.genomes && null !== input3.genomes && false === Array.isArray(input3.genomes) && $io1(input3.genomes)) && ("object" === typeof input3.versionInfo && null !== input3.versionInfo && $io6(input3.versionInfo)) && (void 0 === input3.byDataset || "object" === typeof input3.byDataset && null !== input3.byDataset && false === Array.isArray(input3.byDataset) && $io9(input3.byDataset)) && (void 0 === input3.auth || "object" === typeof input3.auth && null !== input3.auth && false === Array.isArray(input3.auth) && $io10(input3.auth)) && (void 0 === input3.w || Array.isArray(input3.w) && input3.w.every((elem) => "number" === typeof elem)) && (void 0 === input3.rs || "number" === typeof input3.rs) && Array.isArray(input3.dsInitStatus);
69
69
  const $io1 = (input3) => Object.keys(input3).every((key) => {
70
70
  const value = input3[key];
71
71
  if (void 0 === value)
@@ -169,6 +169,10 @@ var validHealthCheckResponse = (input) => {
169
169
  path: _path2 + ".rs",
170
170
  expected: "(number | undefined)",
171
171
  value: input3.rs
172
+ }), Array.isArray(input3.dsInitStatus) || $report(_exceptionable2, {
173
+ path: _path2 + ".dsInitStatus",
174
+ expected: "Array<any>",
175
+ value: input3.dsInitStatus
172
176
  })].every((flag) => flag);
173
177
  const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
174
178
  const value = input3[key];
@@ -2426,13 +2426,30 @@ var validViolinResponse = (input) => {
2426
2426
  const __is = (input2) => {
2427
2427
  const $join = import_typia.createValidate.join;
2428
2428
  const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
2429
- const $io1 = (input3) => "number" === typeof input3.min && "number" === typeof input3.max && (Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && (void 0 === input3.pvalues || Array.isArray(input3.pvalues) && input3.pvalues.every((elem) => Array.isArray(elem) && elem.every((elem2) => "object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) && $io6(elem2)))) && (null === input3.uncomputableValues || Array.isArray(input3.uncomputableValues) && input3.uncomputableValues.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io7(elem)));
2430
- const $io2 = (input3) => "string" === typeof input3.color && ("object" === typeof input3.density && null !== input3.density && $io3(input3.density)) && true && "string" === typeof input3.label && "number" === typeof input3.plotValueCount && "string" === typeof input3.seriesId && "string" === typeof input3.src && (Array.isArray(input3.summaryStats) && input3.summaryStats.every((elem) => "object" === typeof elem && null !== elem && $io5(elem)));
2431
- const $io3 = (input3) => Array.isArray(input3.bins) && input3.bins.every((elem) => "object" === typeof elem && null !== elem && $io4(elem)) && "number" === typeof input3.densityMax && "number" === typeof input3.densityMin;
2432
- const $io4 = (input3) => "number" === typeof input3.x0 && "number" === typeof input3.x1 && "number" === typeof input3.density;
2433
- const $io5 = (input3) => "string" === typeof input3.id && "string" === typeof input3.label && "number" === typeof input3.value;
2434
- const $io6 = (input3) => (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.html || "string" === typeof input3.html);
2435
- const $io7 = (input3) => Object.keys(input3).every((key) => {
2429
+ const $io1 = (input3) => "object" === typeof input3.bins && null !== input3.bins && false === Array.isArray(input3.bins) && $io2(input3.bins) && ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) && $io3(input3.charts)) && "number" === typeof input3.min && "number" === typeof input3.max && (null === input3.uncomputableValues || Array.isArray(input3.uncomputableValues) && input3.uncomputableValues.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io10(elem)));
2430
+ const $io2 = (input3) => Object.keys(input3).every((key) => {
2431
+ const value = input3[key];
2432
+ if (void 0 === value)
2433
+ return true;
2434
+ if (RegExp(/(.*)/).test(key))
2435
+ return true;
2436
+ return true;
2437
+ });
2438
+ const $io3 = (input3) => Object.keys(input3).every((key) => {
2439
+ const value = input3[key];
2440
+ if (void 0 === value)
2441
+ return true;
2442
+ if (RegExp(/(.*)/).test(key))
2443
+ return "object" === typeof value && null !== value && $io4(value);
2444
+ return true;
2445
+ });
2446
+ const $io4 = (input3) => "string" === typeof input3.chartId && (Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io5(elem))) && (void 0 === input3.pvalues || Array.isArray(input3.pvalues) && input3.pvalues.every((elem) => Array.isArray(elem) && elem.every((elem2) => "object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) && $io9(elem2))));
2447
+ const $io5 = (input3) => "string" === typeof input3.color && "string" === typeof input3.chartId && ("object" === typeof input3.density && null !== input3.density && $io6(input3.density)) && "string" === typeof input3.label && "number" === typeof input3.plotValueCount && "string" === typeof input3.seriesId && "string" === typeof input3.src && (Array.isArray(input3.summaryStats) && input3.summaryStats.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
2448
+ const $io6 = (input3) => Array.isArray(input3.bins) && input3.bins.every((elem) => "object" === typeof elem && null !== elem && $io7(elem)) && "number" === typeof input3.densityMax && "number" === typeof input3.densityMin;
2449
+ const $io7 = (input3) => "number" === typeof input3.x0 && "number" === typeof input3.x1 && "number" === typeof input3.density;
2450
+ const $io8 = (input3) => "string" === typeof input3.id && "string" === typeof input3.label && "number" === typeof input3.value;
2451
+ const $io9 = (input3) => (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.html || "string" === typeof input3.html);
2452
+ const $io10 = (input3) => Object.keys(input3).every((key) => {
2436
2453
  const value = input3[key];
2437
2454
  if (void 0 === value)
2438
2455
  return true;
@@ -2443,7 +2460,7 @@ var validViolinResponse = (input) => {
2443
2460
  const $iu0 = (input3) => (() => {
2444
2461
  if (void 0 !== input3.status)
2445
2462
  return $io0(input3);
2446
- if (void 0 !== input3.min)
2463
+ if (void 0 !== input3.bins)
2447
2464
  return $io1(input3);
2448
2465
  return false;
2449
2466
  })();
@@ -2462,7 +2479,23 @@ var validViolinResponse = (input) => {
2462
2479
  expected: "string",
2463
2480
  value: input3.error
2464
2481
  })].every((flag) => flag);
2465
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.min || $report(_exceptionable2, {
2482
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.bins && null !== input3.bins && false === Array.isArray(input3.bins) || $report(_exceptionable2, {
2483
+ path: _path2 + ".bins",
2484
+ expected: "__type",
2485
+ value: input3.bins
2486
+ })) && $vo2(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
2487
+ path: _path2 + ".bins",
2488
+ expected: "__type",
2489
+ value: input3.bins
2490
+ }), ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) || $report(_exceptionable2, {
2491
+ path: _path2 + ".charts",
2492
+ expected: "__type.o1",
2493
+ value: input3.charts
2494
+ })) && $vo3(input3.charts, _path2 + ".charts", _exceptionable2) || $report(_exceptionable2, {
2495
+ path: _path2 + ".charts",
2496
+ expected: "__type.o1",
2497
+ value: input3.charts
2498
+ }), "number" === typeof input3.min || $report(_exceptionable2, {
2466
2499
  path: _path2 + ".min",
2467
2500
  expected: "number",
2468
2501
  value: input3.min
@@ -2470,16 +2503,61 @@ var validViolinResponse = (input) => {
2470
2503
  path: _path2 + ".max",
2471
2504
  expected: "number",
2472
2505
  value: input3.max
2506
+ }), null === input3.uncomputableValues || (Array.isArray(input3.uncomputableValues) || $report(_exceptionable2, {
2507
+ path: _path2 + ".uncomputableValues",
2508
+ expected: "(Array<__type> | null)",
2509
+ value: input3.uncomputableValues
2510
+ })) && input3.uncomputableValues.map((elem, _index1) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
2511
+ path: _path2 + ".uncomputableValues[" + _index1 + "]",
2512
+ expected: "__type.o3",
2513
+ value: elem
2514
+ })) && $vo10(elem, _path2 + ".uncomputableValues[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
2515
+ path: _path2 + ".uncomputableValues[" + _index1 + "]",
2516
+ expected: "__type.o3",
2517
+ value: elem
2518
+ })).every((flag) => flag) || $report(_exceptionable2, {
2519
+ path: _path2 + ".uncomputableValues",
2520
+ expected: "(Array<__type> | null)",
2521
+ value: input3.uncomputableValues
2522
+ })].every((flag) => flag);
2523
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2524
+ const value = input3[key];
2525
+ if (void 0 === value)
2526
+ return true;
2527
+ if (RegExp(/(.*)/).test(key))
2528
+ return true;
2529
+ return true;
2530
+ }).every((flag) => flag)].every((flag) => flag);
2531
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2532
+ const value = input3[key];
2533
+ if (void 0 === value)
2534
+ return true;
2535
+ if (RegExp(/(.*)/).test(key))
2536
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
2537
+ path: _path2 + $join(key),
2538
+ expected: "__type.o2",
2539
+ value
2540
+ })) && $vo4(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2541
+ path: _path2 + $join(key),
2542
+ expected: "__type.o2",
2543
+ value
2544
+ });
2545
+ return true;
2546
+ }).every((flag) => flag)].every((flag) => flag);
2547
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.chartId || $report(_exceptionable2, {
2548
+ path: _path2 + ".chartId",
2549
+ expected: "string",
2550
+ value: input3.chartId
2473
2551
  }), (Array.isArray(input3.plots) || $report(_exceptionable2, {
2474
2552
  path: _path2 + ".plots",
2475
2553
  expected: "Array<ViolinPlotEntry>",
2476
2554
  value: input3.plots
2477
- })) && input3.plots.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2478
- path: _path2 + ".plots[" + _index1 + "]",
2555
+ })) && input3.plots.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2556
+ path: _path2 + ".plots[" + _index2 + "]",
2479
2557
  expected: "ViolinPlotEntry",
2480
2558
  value: elem
2481
- })) && $vo2(elem, _path2 + ".plots[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
2482
- path: _path2 + ".plots[" + _index1 + "]",
2559
+ })) && $vo5(elem, _path2 + ".plots[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
2560
+ path: _path2 + ".plots[" + _index2 + "]",
2483
2561
  expected: "ViolinPlotEntry",
2484
2562
  value: elem
2485
2563
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2490,56 +2568,44 @@ var validViolinResponse = (input) => {
2490
2568
  path: _path2 + ".pvalues",
2491
2569
  expected: "(Array<Array<PValueEntries>> | undefined)",
2492
2570
  value: input3.pvalues
2493
- })) && input3.pvalues.map((elem, _index2) => (Array.isArray(elem) || $report(_exceptionable2, {
2494
- path: _path2 + ".pvalues[" + _index2 + "]",
2571
+ })) && input3.pvalues.map((elem, _index3) => (Array.isArray(elem) || $report(_exceptionable2, {
2572
+ path: _path2 + ".pvalues[" + _index3 + "]",
2495
2573
  expected: "Array<PValueEntries>",
2496
2574
  value: elem
2497
- })) && elem.map((elem2, _index3) => ("object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) || $report(_exceptionable2, {
2498
- path: _path2 + ".pvalues[" + _index2 + "][" + _index3 + "]",
2575
+ })) && elem.map((elem2, _index4) => ("object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) || $report(_exceptionable2, {
2576
+ path: _path2 + ".pvalues[" + _index3 + "][" + _index4 + "]",
2499
2577
  expected: "PValueEntries",
2500
2578
  value: elem2
2501
- })) && $vo6(elem2, _path2 + ".pvalues[" + _index2 + "][" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
2502
- path: _path2 + ".pvalues[" + _index2 + "][" + _index3 + "]",
2579
+ })) && $vo9(elem2, _path2 + ".pvalues[" + _index3 + "][" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
2580
+ path: _path2 + ".pvalues[" + _index3 + "][" + _index4 + "]",
2503
2581
  expected: "PValueEntries",
2504
2582
  value: elem2
2505
2583
  })).every((flag) => flag) || $report(_exceptionable2, {
2506
- path: _path2 + ".pvalues[" + _index2 + "]",
2584
+ path: _path2 + ".pvalues[" + _index3 + "]",
2507
2585
  expected: "Array<PValueEntries>",
2508
2586
  value: elem
2509
2587
  })).every((flag) => flag) || $report(_exceptionable2, {
2510
2588
  path: _path2 + ".pvalues",
2511
2589
  expected: "(Array<Array<PValueEntries>> | undefined)",
2512
2590
  value: input3.pvalues
2513
- }), null === input3.uncomputableValues || (Array.isArray(input3.uncomputableValues) || $report(_exceptionable2, {
2514
- path: _path2 + ".uncomputableValues",
2515
- expected: "(Array<__type> | null)",
2516
- value: input3.uncomputableValues
2517
- })) && input3.uncomputableValues.map((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
2518
- path: _path2 + ".uncomputableValues[" + _index4 + "]",
2519
- expected: "__type",
2520
- value: elem
2521
- })) && $vo7(elem, _path2 + ".uncomputableValues[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
2522
- path: _path2 + ".uncomputableValues[" + _index4 + "]",
2523
- expected: "__type",
2524
- value: elem
2525
- })).every((flag) => flag) || $report(_exceptionable2, {
2526
- path: _path2 + ".uncomputableValues",
2527
- expected: "(Array<__type> | null)",
2528
- value: input3.uncomputableValues
2529
2591
  })].every((flag) => flag);
2530
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.color || $report(_exceptionable2, {
2592
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.color || $report(_exceptionable2, {
2531
2593
  path: _path2 + ".color",
2532
2594
  expected: "string",
2533
2595
  value: input3.color
2596
+ }), "string" === typeof input3.chartId || $report(_exceptionable2, {
2597
+ path: _path2 + ".chartId",
2598
+ expected: "string",
2599
+ value: input3.chartId
2534
2600
  }), ("object" === typeof input3.density && null !== input3.density || $report(_exceptionable2, {
2535
2601
  path: _path2 + ".density",
2536
2602
  expected: "ViolinDensity",
2537
2603
  value: input3.density
2538
- })) && $vo3(input3.density, _path2 + ".density", _exceptionable2) || $report(_exceptionable2, {
2604
+ })) && $vo6(input3.density, _path2 + ".density", _exceptionable2) || $report(_exceptionable2, {
2539
2605
  path: _path2 + ".density",
2540
2606
  expected: "ViolinDensity",
2541
2607
  value: input3.density
2542
- }), true, "string" === typeof input3.label || $report(_exceptionable2, {
2608
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
2543
2609
  path: _path2 + ".label",
2544
2610
  expected: "string",
2545
2611
  value: input3.label
@@ -2563,7 +2629,7 @@ var validViolinResponse = (input) => {
2563
2629
  path: _path2 + ".summaryStats[" + _index5 + "]",
2564
2630
  expected: "ValuesEntries",
2565
2631
  value: elem
2566
- })) && $vo5(elem, _path2 + ".summaryStats[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
2632
+ })) && $vo8(elem, _path2 + ".summaryStats[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
2567
2633
  path: _path2 + ".summaryStats[" + _index5 + "]",
2568
2634
  expected: "ValuesEntries",
2569
2635
  value: elem
@@ -2572,7 +2638,7 @@ var validViolinResponse = (input) => {
2572
2638
  expected: "Array<ValuesEntries>",
2573
2639
  value: input3.summaryStats
2574
2640
  })].every((flag) => flag);
2575
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.bins) || $report(_exceptionable2, {
2641
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.bins) || $report(_exceptionable2, {
2576
2642
  path: _path2 + ".bins",
2577
2643
  expected: "Array<BinsEntries>",
2578
2644
  value: input3.bins
@@ -2580,7 +2646,7 @@ var validViolinResponse = (input) => {
2580
2646
  path: _path2 + ".bins[" + _index6 + "]",
2581
2647
  expected: "BinsEntries",
2582
2648
  value: elem
2583
- })) && $vo4(elem, _path2 + ".bins[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
2649
+ })) && $vo7(elem, _path2 + ".bins[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
2584
2650
  path: _path2 + ".bins[" + _index6 + "]",
2585
2651
  expected: "BinsEntries",
2586
2652
  value: elem
@@ -2597,7 +2663,7 @@ var validViolinResponse = (input) => {
2597
2663
  expected: "number",
2598
2664
  value: input3.densityMin
2599
2665
  })].every((flag) => flag);
2600
- const $vo4 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.x0 || $report(_exceptionable2, {
2666
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.x0 || $report(_exceptionable2, {
2601
2667
  path: _path2 + ".x0",
2602
2668
  expected: "number",
2603
2669
  value: input3.x0
@@ -2610,7 +2676,7 @@ var validViolinResponse = (input) => {
2610
2676
  expected: "number",
2611
2677
  value: input3.density
2612
2678
  })].every((flag) => flag);
2613
- const $vo5 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2679
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2614
2680
  path: _path2 + ".id",
2615
2681
  expected: "string",
2616
2682
  value: input3.id
@@ -2623,7 +2689,7 @@ var validViolinResponse = (input) => {
2623
2689
  expected: "number",
2624
2690
  value: input3.value
2625
2691
  })].every((flag) => flag);
2626
- const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
2692
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
2627
2693
  path: _path2 + ".value",
2628
2694
  expected: "(string | undefined)",
2629
2695
  value: input3.value
@@ -2632,7 +2698,7 @@ var validViolinResponse = (input) => {
2632
2698
  expected: "(string | undefined)",
2633
2699
  value: input3.html
2634
2700
  })].every((flag) => flag);
2635
- const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2701
+ const $vo10 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2636
2702
  const value = input3[key];
2637
2703
  if (void 0 === value)
2638
2704
  return true;
@@ -2647,7 +2713,7 @@ var validViolinResponse = (input) => {
2647
2713
  const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
2648
2714
  if (void 0 !== input3.status)
2649
2715
  return $vo0(input3, _path2, _exceptionable2);
2650
- if (void 0 !== input3.min)
2716
+ if (void 0 !== input3.bins)
2651
2717
  return $vo1(input3, _path2, _exceptionable2);
2652
2718
  return $report(_exceptionable2, {
2653
2719
  path: _path2,
@@ -2,7 +2,7 @@ import {
2
2
  healthcheckPayload,
3
3
  validHealthCheckRequest,
4
4
  validHealthCheckResponse
5
- } from "./chunk-FTPYJPUB.js";
5
+ } from "./chunk-FK7OCBPT.js";
6
6
  import "./chunk-YNHC5SXO.js";
7
7
  export {
8
8
  healthcheckPayload,
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  validViolinRequest,
18
18
  validViolinResponse,
19
19
  violinPayload
20
- } from "./chunk-TVS2JEXL.js";
20
+ } from "./chunk-GNLX5NQ5.js";
21
21
  import {
22
22
  tilePayload,
23
23
  validTileRequest,
@@ -132,7 +132,7 @@ import {
132
132
  boxplotPayload,
133
133
  validBoxPlotRequest,
134
134
  validBoxPlotResponse
135
- } from "./chunk-HRH4GGV2.js";
135
+ } from "./chunk-A5Z4YYMF.js";
136
136
  import {
137
137
  termdbCategoriesPayload,
138
138
  validCategoriesRequest,
@@ -222,7 +222,7 @@ import {
222
222
  healthcheckPayload,
223
223
  validHealthCheckRequest,
224
224
  validHealthCheckResponse
225
- } from "./chunk-FTPYJPUB.js";
225
+ } from "./chunk-FK7OCBPT.js";
226
226
  import {
227
227
  hicdataPayload,
228
228
  validHicdataRequest,
@@ -2,7 +2,7 @@ import {
2
2
  boxplotPayload,
3
3
  validBoxPlotRequest,
4
4
  validBoxPlotResponse
5
- } from "./chunk-HRH4GGV2.js";
5
+ } from "./chunk-A5Z4YYMF.js";
6
6
  import "./chunk-YNHC5SXO.js";
7
7
  export {
8
8
  boxplotPayload,
@@ -2,7 +2,7 @@ import {
2
2
  validViolinRequest,
3
3
  validViolinResponse,
4
4
  violinPayload
5
- } from "./chunk-TVS2JEXL.js";
5
+ } from "./chunk-GNLX5NQ5.js";
6
6
  import "./chunk-YNHC5SXO.js";
7
7
  export {
8
8
  validViolinRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.170.0",
3
+ "version": "2.170.1",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",
@@ -55,6 +55,7 @@ export type HealthCheckResponse = {
55
55
  }
56
56
  w?: number[]
57
57
  rs?: number
58
+ dsInitStatus: any[]
58
59
  }
59
60
 
60
61
  export const healthcheckPayload: RoutePayload = {
@@ -31,7 +31,11 @@ export type BoxPlotResponse = {
31
31
  absMin?: number
32
32
  /** Absolute max value for all plots */
33
33
  absMax?: number
34
- /** Charts data */
34
+ /** Bins for overlay and/or divide terms */
35
+ bins?: {
36
+ [index: string]: any
37
+ }
38
+ /** Charts data. chartId corresponds the divide by term value*/
35
39
  charts: {
36
40
  [chartId: string]: BoxPlotChartEntry
37
41
  }
@@ -66,7 +70,7 @@ export type BoxPlotEntry = {
66
70
  isHidden?: boolean
67
71
  key: string
68
72
  /** Formatted bins for numeric terms */
69
- overlayBins?: any
73
+ overlayTwBins?: any
70
74
  /** Usually the same as key, but determined by the tw */
71
75
  seriesId?: string
72
76
  }
@@ -82,13 +82,13 @@ type ViolinDensity = {
82
82
  export type ViolinPlotEntry = {
83
83
  /** Color to render */
84
84
  color: string
85
+ chartId: string
85
86
  density: ViolinDensity
86
- overlayTwBins: any
87
87
  /** Text for label */
88
88
  label: string
89
89
  /** Number of samples/cases/patients/etc. */
90
90
  plotValueCount: number
91
- /** Cooresponds to the tw.$id */
91
+ /** Corresponds to the tw.$id */
92
92
  seriesId: string
93
93
  /** Plot image to display */
94
94
  src: string
@@ -99,12 +99,20 @@ export type ViolinPlotEntry = {
99
99
  export type ViolinResponse = ValidResponse | ErrorResponse
100
100
 
101
101
  type ValidResponse = {
102
+ /** Bins used for each term
103
+ * Used for listing samples, filtering, etc.*/
104
+ bins: { [index: string]: any }
105
+ charts: {
106
+ [index: string]: {
107
+ chartId: string
108
+ plots: ViolinPlotEntry[]
109
+ pvalues?: PValueEntries[][]
110
+ }
111
+ }
102
112
  /** Absolute min value for all plots */
103
113
  min: number
104
114
  /** Absolute max value for all plots */
105
115
  max: number
106
- plots: ViolinPlotEntry[]
107
- pvalues?: PValueEntries[][]
108
116
  uncomputableValues: { [index: string]: number }[] | null
109
117
  }
110
118