@sjcrh/proteinpaint-types 2.114.0 → 2.115.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/chunk-5HL5BPE5.js +126 -0
  3. package/dist/{chunk-BEXUBE5A.js → chunk-7GSVLBKZ.js} +10 -14
  4. package/dist/{chunk-H45GALYV.js → chunk-C7DJDPLP.js} +339 -343
  5. package/dist/{chunk-PR7XHL4T.js → chunk-EQGBEPDC.js} +10 -14
  6. package/dist/{chunk-BNOGQYXG.js → chunk-GS37E7DB.js} +339 -343
  7. package/dist/{chunk-KRHYG2ZZ.js → chunk-I3U2T7HV.js} +337 -341
  8. package/dist/{chunk-Q5F2XI6A.js → chunk-IJHMCHUT.js} +31 -23
  9. package/dist/{chunk-XDRUNGOV.js → chunk-KBTAXZM4.js} +286 -290
  10. package/dist/{chunk-JNEIQWTE.js → chunk-KZIZMP7Y.js} +27 -35
  11. package/dist/{chunk-7AQB3YHO.js → chunk-M26XQDA4.js} +10 -14
  12. package/dist/{chunk-66XSFQPI.js → chunk-MDBZCBM2.js} +17 -21
  13. package/dist/{chunk-OSHG443J.js → chunk-NESPJ4GG.js} +36 -44
  14. package/dist/{chunk-WVBWDL2B.js → chunk-PTYGGJLG.js} +339 -343
  15. package/dist/{chunk-T3NOHXOJ.js → chunk-ZPN2DV5E.js} +10 -14
  16. package/dist/correlationVolcano.js +1 -1
  17. package/dist/index.js +45 -37
  18. package/dist/termdb.boxplot.js +1 -1
  19. package/dist/termdb.categories.js +1 -1
  20. package/dist/termdb.cluster.js +1 -1
  21. package/dist/termdb.descrstats.js +1 -1
  22. package/dist/termdb.numericcategories.js +1 -1
  23. package/dist/termdb.percentile.js +1 -1
  24. package/dist/termdb.termsbyids.js +1 -1
  25. package/dist/termdb.topMutatedGenes.js +11 -0
  26. package/dist/termdb.topTermsByType.js +1 -1
  27. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  28. package/dist/termdb.violin.js +1 -1
  29. package/dist/wsisamples.js +11 -0
  30. package/package.json +1 -1
  31. package/src/dataset.ts +13 -3
  32. package/src/index.ts +2 -1
  33. package/src/routes/{gdc.topMutatedGenes.ts → termdb.topMutatedGenes.ts} +9 -7
  34. package/src/routes/wsisamples.ts +25 -0
  35. package/src/terms/numeric.ts +2 -2
  36. package/src/terms/term.ts +2 -1
  37. package/dist/gdc.topMutatedGenes.js +0 -11
@@ -75,13 +75,13 @@ var validPercentileRequest = (input) => {
75
75
  });
76
76
  const $io5 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
77
77
  const $io6 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io7(elem)));
78
- const $io7 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
78
+ const $io7 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
79
79
  const $io8 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io9(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
80
80
  const $io9 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
81
- const $io10 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
81
+ const $io10 = (input3) => "string" === typeof input3.name && "filter" === input3.type && true && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
82
82
  const $io11 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
83
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)) && true && ("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));
84
+ const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && ("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) => {
@@ -447,6 +447,10 @@ var validPercentileRequest = (input) => {
447
447
  path: _path2 + ".is_subcondition",
448
448
  expected: "(boolean | undefined)",
449
449
  value: input3.is_subcondition
450
+ }), void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
451
+ path: _path2 + ".id",
452
+ expected: "(string | undefined)",
453
+ value: input3.id
450
454
  }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
451
455
  path: _path2 + ".groups",
452
456
  expected: "Array<GroupEntry>",
@@ -510,15 +514,7 @@ var validPercentileRequest = (input) => {
510
514
  path: _path2 + ".type",
511
515
  expected: '"filter"',
512
516
  value: input3.type
513
- }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
514
- path: _path2 + ".filter",
515
- expected: "Filter",
516
- value: input3.filter
517
- })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
518
- path: _path2 + ".filter",
519
- expected: "Filter",
520
- value: input3.filter
521
- }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
517
+ }), true, void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
522
518
  path: _path2 + ".uncomputable",
523
519
  expected: "(boolean | undefined)",
524
520
  value: input3.uncomputable
@@ -597,9 +593,9 @@ var validPercentileRequest = (input) => {
597
593
  path: _path2 + ".name",
598
594
  expected: "string",
599
595
  value: input3.name
600
- }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
596
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
601
597
  path: _path2 + ".type",
602
- expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
598
+ expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
603
599
  value: input3.type
604
600
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
605
601
  path: _path2 + ".child_types",