@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
@@ -3,32 +3,40 @@ import {
3
3
  require_lib
4
4
  } from "./chunk-CNSSF43V.js";
5
5
 
6
- // dist/gdc.topMutatedGenes.ts
6
+ // dist/termdb.topMutatedGenes.ts
7
7
  var import_typia = __toESM(require_lib(), 1);
8
8
 
9
- // src/routes/gdc.topMutatedGenes.ts
10
- var gdcTopMutatedGenePayload = {
9
+ // src/routes/termdb.topMutatedGenes.ts
10
+ var topMutatedGenePayload = {
11
11
  request: {
12
- typeId: "GdcTopMutatedGeneRequest"
12
+ typeId: "topMutatedGeneRequest"
13
13
  },
14
14
  response: {
15
- typeId: "GdcTopMutatedGeneResponse"
15
+ typeId: "topMutatedGeneResponse"
16
16
  }
17
17
  //examples: []
18
18
  };
19
19
 
20
- // dist/gdc.topMutatedGenes.ts
21
- var validGdcTopMutatedGeneRequest = (input) => {
20
+ // dist/termdb.topMutatedGenes.ts
21
+ var validTopMutatedGeneRequest = (input) => {
22
22
  const errors = [];
23
23
  const __is = (input2) => {
24
- const $io0 = (input3) => (void 0 === input3.geneFilter || "CGC" === input3.geneFilter) && (void 0 === input3.maxGenes || "number" === typeof input3.maxGenes) && (void 0 === input3.filter0 || "object" === typeof input3.filter0 && null !== input3.filter0 && false === Array.isArray(input3.filter0) && $io1(input3.filter0));
24
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.geneFilter || "CGC" === input3.geneFilter) && (void 0 === input3.maxGenes || "number" === typeof input3.maxGenes) && (void 0 === input3.filter0 || "object" === typeof input3.filter0 && null !== input3.filter0 && false === Array.isArray(input3.filter0) && $io1(input3.filter0));
25
25
  const $io1 = (input3) => true;
26
- return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
26
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
27
27
  };
28
28
  if (false === __is(input)) {
29
29
  const $report = import_typia.createValidate.report(errors);
30
30
  ((input2, _path, _exceptionable = true) => {
31
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.geneFilter || "CGC" === input3.geneFilter || $report(_exceptionable2, {
31
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
32
+ path: _path2 + ".genome",
33
+ expected: "string",
34
+ value: input3.genome
35
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
36
+ path: _path2 + ".dslabel",
37
+ expected: "string",
38
+ value: input3.dslabel
39
+ }), void 0 === input3.geneFilter || "CGC" === input3.geneFilter || $report(_exceptionable2, {
32
40
  path: _path2 + ".geneFilter",
33
41
  expected: '("CGC" | undefined)',
34
42
  value: input3.geneFilter
@@ -46,13 +54,13 @@ var validGdcTopMutatedGeneRequest = (input) => {
46
54
  value: input3.filter0
47
55
  })].every((flag) => flag);
48
56
  const $vo1 = (input3, _path2, _exceptionable2 = true) => true;
49
- return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
57
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
50
58
  path: _path + "",
51
- expected: "GdcTopMutatedGeneRequest",
59
+ expected: "topMutatedGeneRequest",
52
60
  value: input2
53
61
  })) && $vo0(input2, _path + "", true) || $report(true, {
54
62
  path: _path + "",
55
- expected: "GdcTopMutatedGeneRequest",
63
+ expected: "topMutatedGeneRequest",
56
64
  value: input2
57
65
  });
58
66
  })(input, "$input", true);
@@ -64,7 +72,7 @@ var validGdcTopMutatedGeneRequest = (input) => {
64
72
  data: success ? input : void 0
65
73
  };
66
74
  };
67
- var validGdcTopMutatedGeneResponse = (input) => {
75
+ var validTopMutatedGeneResponse = (input) => {
68
76
  const errors = [];
69
77
  const __is = (input2) => {
70
78
  const $io0 = (input3) => Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
@@ -77,19 +85,19 @@ var validGdcTopMutatedGeneResponse = (input) => {
77
85
  ((input2, _path, _exceptionable = true) => {
78
86
  const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.genes) || $report(_exceptionable2, {
79
87
  path: _path2 + ".genes",
80
- expected: "Array<GdcGene>",
88
+ expected: "Array<MutatedGene>",
81
89
  value: input3.genes
82
90
  })) && input3.genes.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
83
91
  path: _path2 + ".genes[" + _index1 + "]",
84
- expected: "GdcGene",
92
+ expected: "MutatedGene",
85
93
  value: elem
86
94
  })) && $vo1(elem, _path2 + ".genes[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
87
95
  path: _path2 + ".genes[" + _index1 + "]",
88
- expected: "GdcGene",
96
+ expected: "MutatedGene",
89
97
  value: elem
90
98
  })).every((flag) => flag) || $report(_exceptionable2, {
91
99
  path: _path2 + ".genes",
92
- expected: "Array<GdcGene>",
100
+ expected: "Array<MutatedGene>",
93
101
  value: input3.genes
94
102
  })].every((flag) => flag);
95
103
  const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.gene || $report(_exceptionable2, {
@@ -128,11 +136,11 @@ var validGdcTopMutatedGeneResponse = (input) => {
128
136
  })].every((flag) => flag);
129
137
  return ("object" === typeof input2 && null !== input2 || $report(true, {
130
138
  path: _path + "",
131
- expected: "GdcTopMutatedGeneResponse",
139
+ expected: "topMutatedGeneResponse",
132
140
  value: input2
133
141
  })) && $vo0(input2, _path + "", true) || $report(true, {
134
142
  path: _path + "",
135
- expected: "GdcTopMutatedGeneResponse",
143
+ expected: "topMutatedGeneResponse",
136
144
  value: input2
137
145
  });
138
146
  })(input, "$input", true);
@@ -146,7 +154,7 @@ var validGdcTopMutatedGeneResponse = (input) => {
146
154
  };
147
155
 
148
156
  export {
149
- gdcTopMutatedGenePayload,
150
- validGdcTopMutatedGeneRequest,
151
- validGdcTopMutatedGeneResponse
157
+ topMutatedGenePayload,
158
+ validTopMutatedGeneRequest,
159
+ validTopMutatedGeneResponse
152
160
  };