@sjcrh/proteinpaint-types 2.189.0 → 2.190.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 (245) hide show
  1. package/README.md +8 -20
  2. package/dist/index.js +422 -553
  3. package/dist/index.js.map +7 -0
  4. package/package.json +13 -25
  5. package/dist/aiProjectAdmin.js +0 -11
  6. package/dist/aiProjectSelectedWSImages.js +0 -11
  7. package/dist/aiProjectTrainModel.js +0 -11
  8. package/dist/alphaGenome.js +0 -11
  9. package/dist/alphaGenomeTypes.js +0 -11
  10. package/dist/brainImaging.js +0 -11
  11. package/dist/brainImagingSamples.js +0 -11
  12. package/dist/burden.js +0 -11
  13. package/dist/chunk-2744ACBX.js +0 -126
  14. package/dist/chunk-2BCLGYAG.js +0 -96
  15. package/dist/chunk-2C4X5B6N.js +0 -62
  16. package/dist/chunk-2VJRTZE2.js +0 -287
  17. package/dist/chunk-2X36CBQF.js +0 -158
  18. package/dist/chunk-46YIGVUP.js +0 -908
  19. package/dist/chunk-4EAGOSMN.js +0 -128
  20. package/dist/chunk-5H2LJKPX.js +0 -104
  21. package/dist/chunk-5L4VF3ZL.js +0 -266
  22. package/dist/chunk-5N7V62ZL.js +0 -231
  23. package/dist/chunk-62XTWOVJ.js +0 -273
  24. package/dist/chunk-6GKG55BT.js +0 -232
  25. package/dist/chunk-7MUISZHS.js +0 -61
  26. package/dist/chunk-7OA6G77M.js +0 -113
  27. package/dist/chunk-BCBSHTHS.js +0 -75
  28. package/dist/chunk-CQXBQY2H.js +0 -161
  29. package/dist/chunk-CWACV4MW.js +0 -305
  30. package/dist/chunk-D7AKQKDG.js +0 -238
  31. package/dist/chunk-DDKGTDDB.js +0 -6739
  32. package/dist/chunk-DI4Q26E7.js +0 -16
  33. package/dist/chunk-EIJT53QB.js +0 -240
  34. package/dist/chunk-EOKM345J.js +0 -222
  35. package/dist/chunk-FK7OCBPT.js +0 -341
  36. package/dist/chunk-FMC4G5BP.js +0 -62
  37. package/dist/chunk-GCJESMM2.js +0 -354
  38. package/dist/chunk-GTS2G4R4.js +0 -62
  39. package/dist/chunk-HD3J5BKM.js +0 -409
  40. package/dist/chunk-HQV2A7JV.js +0 -62
  41. package/dist/chunk-IS74WYQF.js +0 -207
  42. package/dist/chunk-JEQGBUK2.js +0 -5993
  43. package/dist/chunk-K4FSDTDW.js +0 -109
  44. package/dist/chunk-KCMPDEH7.js +0 -62
  45. package/dist/chunk-KXYFG2HO.js +0 -307
  46. package/dist/chunk-LC6KLHCJ.js +0 -8903
  47. package/dist/chunk-LQYSPLDQ.js +0 -3613
  48. package/dist/chunk-LRVF7U64.js +0 -62
  49. package/dist/chunk-MHDQO7R5.js +0 -195
  50. package/dist/chunk-MKYLCBTP.js +0 -5475
  51. package/dist/chunk-MNT3GF7M.js +0 -3628
  52. package/dist/chunk-MVB7LQS5.js +0 -3986
  53. package/dist/chunk-P25WDNMD.js +0 -171
  54. package/dist/chunk-P3WBZJFF.js +0 -158
  55. package/dist/chunk-PTE2I7DF.js +0 -91
  56. package/dist/chunk-Q3HGHP3J.js +0 -174
  57. package/dist/chunk-RPX4TVMD.js +0 -14
  58. package/dist/chunk-RXJNXOZC.js +0 -326
  59. package/dist/chunk-SDZIGJY3.js +0 -5931
  60. package/dist/chunk-SLXGWQZ4.js +0 -458
  61. package/dist/chunk-SZZXZZKO.js +0 -3991
  62. package/dist/chunk-TD4YLTHL.js +0 -158
  63. package/dist/chunk-TEXOICIS.js +0 -11810
  64. package/dist/chunk-THQOFV2K.js +0 -205
  65. package/dist/chunk-TLZ5ROOU.js +0 -347
  66. package/dist/chunk-TQQWSHFM.js +0 -5980
  67. package/dist/chunk-U3BTVE5T.js +0 -111
  68. package/dist/chunk-UBOVHONH.js +0 -62
  69. package/dist/chunk-UDTEGP3G.js +0 -365
  70. package/dist/chunk-UYJA4UM7.js +0 -97
  71. package/dist/chunk-V3JDD3ZG.js +0 -3671
  72. package/dist/chunk-VUKRI3TG.js +0 -164
  73. package/dist/chunk-W3F3CLYP.js +0 -61
  74. package/dist/chunk-X4JBWMXY.js +0 -130
  75. package/dist/chunk-X5E72ZXA.js +0 -5979
  76. package/dist/chunk-YNHC5SXO.js +0 -1780
  77. package/dist/chunk-YPEFUAJW.js +0 -62
  78. package/dist/chunk-YSTMGNYR.js +0 -113
  79. package/dist/chunk-Z3IYM5OK.js +0 -296
  80. package/dist/chunk-ZCV62ELK.js +0 -96
  81. package/dist/chunk-ZIOJDN75.js +0 -197
  82. package/dist/chunk-ZMDZYG5B.js +0 -4224
  83. package/dist/clearwsisession.js +0 -78
  84. package/dist/clearwsisessions.js +0 -13
  85. package/dist/correlationVolcano.js +0 -11
  86. package/dist/dataset.js +0 -11
  87. package/dist/deleteWSITileSelection.js +0 -11
  88. package/dist/dsdata.js +0 -11
  89. package/dist/dzimages.js +0 -11
  90. package/dist/gdc.grin2.js +0 -17
  91. package/dist/gdc.maf.js +0 -11
  92. package/dist/gdc.mafBuild.js +0 -11
  93. package/dist/genelookup.js +0 -11
  94. package/dist/genesetEnrichment.js +0 -11
  95. package/dist/genesetOverrepresentation.js +0 -11
  96. package/dist/grin2.js +0 -11
  97. package/dist/healthcheck.js +0 -11
  98. package/dist/hicdata.js +0 -11
  99. package/dist/hicgenome.js +0 -11
  100. package/dist/hicstat.js +0 -11
  101. package/dist/img.js +0 -11
  102. package/dist/isoformlst.js +0 -11
  103. package/dist/ntseq.js +0 -11
  104. package/dist/pdomain.js +0 -11
  105. package/dist/samplewsimages.js +0 -13
  106. package/dist/saveWSIAnnotation.js +0 -11
  107. package/dist/snp.js +0 -11
  108. package/dist/termdb.DE.js +0 -11
  109. package/dist/termdb.categories.js +0 -11
  110. package/dist/termdb.chat.js +0 -3631
  111. package/dist/termdb.chat2.js +0 -15
  112. package/dist/termdb.cluster.js +0 -11
  113. package/dist/termdb.cohort.summary.js +0 -11
  114. package/dist/termdb.cohorts.js +0 -11
  115. package/dist/termdb.dapVolcano.js +0 -11
  116. package/dist/termdb.descrstats.js +0 -11
  117. package/dist/termdb.diffMeth.js +0 -11
  118. package/dist/termdb.dmr.js +0 -11
  119. package/dist/termdb.filterTermValues.js +0 -11
  120. package/dist/termdb.isoformAvailability.js +0 -11
  121. package/dist/termdb.numericcategories.js +0 -11
  122. package/dist/termdb.percentile.js +0 -11
  123. package/dist/termdb.profileFormScores.js +0 -11
  124. package/dist/termdb.profileForms2Scores.js +0 -11
  125. package/dist/termdb.profileScores.js +0 -11
  126. package/dist/termdb.proteome.js +0 -11
  127. package/dist/termdb.rootterm.js +0 -11
  128. package/dist/termdb.runChart.js +0 -13
  129. package/dist/termdb.sampleImages.js +0 -11
  130. package/dist/termdb.sampleScatter.js +0 -11
  131. package/dist/termdb.singleSampleMutation.js +0 -11
  132. package/dist/termdb.singlecellDEgenes.js +0 -11
  133. package/dist/termdb.singlecellData.js +0 -11
  134. package/dist/termdb.singlecellSamples.js +0 -11
  135. package/dist/termdb.termchildren.js +0 -11
  136. package/dist/termdb.termsbyids.js +0 -11
  137. package/dist/termdb.topMutatedGenes.js +0 -11
  138. package/dist/termdb.topTermsByType.js +0 -11
  139. package/dist/termdb.topVariablyExpressedGenes.js +0 -11
  140. package/dist/termdb.violinBox.js +0 -17
  141. package/dist/tileserver.js +0 -11
  142. package/dist/wsimages.js +0 -11
  143. package/dist/wsisamples.js +0 -11
  144. package/src/Mclass.ts +0 -8
  145. package/src/dataset.ts +0 -2188
  146. package/src/docs.json +0 -16417
  147. package/src/fileOrUrl.ts +0 -15
  148. package/src/filter.ts +0 -110
  149. package/src/genome.ts +0 -129
  150. package/src/index.ts +0 -94
  151. package/src/routes/aiProjectAdmin.ts +0 -37
  152. package/src/routes/aiProjectSelectedWSImages.ts +0 -47
  153. package/src/routes/aiProjectTrainModel.ts +0 -20
  154. package/src/routes/alphaGenome.ts +0 -27
  155. package/src/routes/alphaGenomeTypes.ts +0 -21
  156. package/src/routes/brainImaging.ts +0 -47
  157. package/src/routes/brainImagingSamples.ts +0 -25
  158. package/src/routes/burden.ts +0 -113
  159. package/src/routes/clearwsisessions.ts +0 -19
  160. package/src/routes/correlationVolcano.ts +0 -51
  161. package/src/routes/dataset.ts +0 -14
  162. package/src/routes/deleteWSITileSelection.ts +0 -25
  163. package/src/routes/dsdata.ts +0 -14
  164. package/src/routes/dzimages.ts +0 -25
  165. package/src/routes/errorResponse.ts +0 -6
  166. package/src/routes/filter.gdc.ts +0 -15
  167. package/src/routes/gdc.grin2.ts +0 -246
  168. package/src/routes/gdc.maf.ts +0 -52
  169. package/src/routes/gdc.mafBuild.ts +0 -20
  170. package/src/routes/genelookup.ts +0 -22
  171. package/src/routes/genesetEnrichment.ts +0 -116
  172. package/src/routes/genesetOverrepresentation.ts +0 -48
  173. package/src/routes/grin2.ts +0 -173
  174. package/src/routes/healthcheck.ts +0 -80
  175. package/src/routes/hicdata.ts +0 -48
  176. package/src/routes/hicgenome.ts +0 -50
  177. package/src/routes/hicstat.ts +0 -57
  178. package/src/routes/img.ts +0 -23
  179. package/src/routes/isoformlst.ts +0 -14
  180. package/src/routes/ntseq.ts +0 -14
  181. package/src/routes/pdomain.ts +0 -14
  182. package/src/routes/routeApi.ts +0 -47
  183. package/src/routes/samplewsimages.ts +0 -44
  184. package/src/routes/saveWSIAnnotation.ts +0 -25
  185. package/src/routes/snp.ts +0 -13
  186. package/src/routes/termdb.DE.ts +0 -226
  187. package/src/routes/termdb.categories.ts +0 -74
  188. package/src/routes/termdb.chat2.ts +0 -190
  189. package/src/routes/termdb.cluster.ts +0 -134
  190. package/src/routes/termdb.cohort.summary.ts +0 -14
  191. package/src/routes/termdb.cohorts.ts +0 -14
  192. package/src/routes/termdb.dapVolcano.ts +0 -35
  193. package/src/routes/termdb.descrstats.ts +0 -75
  194. package/src/routes/termdb.diffMeth.ts +0 -63
  195. package/src/routes/termdb.dmr.ts +0 -121
  196. package/src/routes/termdb.filterTermValues.ts +0 -23
  197. package/src/routes/termdb.isoformAvailability.ts +0 -22
  198. package/src/routes/termdb.numericcategories.ts +0 -32
  199. package/src/routes/termdb.percentile.ts +0 -67
  200. package/src/routes/termdb.profileFormScores.ts +0 -26
  201. package/src/routes/termdb.profileForms2Scores.ts +0 -25
  202. package/src/routes/termdb.profileScores.ts +0 -27
  203. package/src/routes/termdb.proteome.ts +0 -13
  204. package/src/routes/termdb.rootterm.ts +0 -49
  205. package/src/routes/termdb.runChart.ts +0 -66
  206. package/src/routes/termdb.sampleImages.ts +0 -26
  207. package/src/routes/termdb.sampleScatter.ts +0 -60
  208. package/src/routes/termdb.singleSampleMutation.ts +0 -51
  209. package/src/routes/termdb.singlecellDEgenes.ts +0 -50
  210. package/src/routes/termdb.singlecellData.ts +0 -75
  211. package/src/routes/termdb.singlecellSamples.ts +0 -50
  212. package/src/routes/termdb.termchildren.ts +0 -49
  213. package/src/routes/termdb.termsbyids.ts +0 -26
  214. package/src/routes/termdb.topMutatedGenes.ts +0 -51
  215. package/src/routes/termdb.topTermsByType.ts +0 -32
  216. package/src/routes/termdb.topVariablyExpressedGenes.ts +0 -54
  217. package/src/routes/termdb.violinBox.ts +0 -230
  218. package/src/routes/tileserver.ts +0 -14
  219. package/src/routes/wsimages.ts +0 -34
  220. package/src/routes/wsisamples.ts +0 -25
  221. package/src/termdb.matrix.ts +0 -57
  222. package/src/terms/categorical.ts +0 -18
  223. package/src/terms/condition.ts +0 -73
  224. package/src/terms/date.ts +0 -20
  225. package/src/terms/dnaMethylation.ts +0 -28
  226. package/src/terms/geneExpression.ts +0 -38
  227. package/src/terms/geneVariant.ts +0 -132
  228. package/src/terms/isoformExpression.ts +0 -36
  229. package/src/terms/metaboliteIntensity.ts +0 -30
  230. package/src/terms/numeric.ts +0 -278
  231. package/src/terms/proteomeAbundance.ts +0 -38
  232. package/src/terms/q.ts +0 -105
  233. package/src/terms/qualitative.ts +0 -73
  234. package/src/terms/samplelst.ts +0 -34
  235. package/src/terms/singleCellCellType.ts +0 -18
  236. package/src/terms/singleCellGeneExpression.ts +0 -32
  237. package/src/terms/snp.ts +0 -24
  238. package/src/terms/snps.ts +0 -111
  239. package/src/terms/ssGSEA.ts +0 -26
  240. package/src/terms/term.ts +0 -60
  241. package/src/terms/termCollection.ts +0 -139
  242. package/src/terms/tw.ts +0 -64
  243. package/src/termsetting.ts +0 -201
  244. package/src/test/numeric.type.spec.ts +0 -275
  245. package/src/vocab.ts +0 -37
@@ -1,111 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/termdb.sampleImages.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/termdb.sampleImages.ts
10
- var termdbSampleImagesPayload = {
11
- request: {
12
- typeId: "TermdbSampleImagesRequest"
13
- },
14
- response: {
15
- typeId: "TermdbSampleImagesResponse"
16
- }
17
- //examples: []
18
- };
19
-
20
- // dist/termdb.sampleImages.ts
21
- var validTermdbSampleImagesRequest = (input) => {
22
- const errors = [];
23
- const __is = (input2) => {
24
- return "object" === typeof input2 && null !== input2 && ("string" === typeof input2.genome && "string" === typeof input2.dslabel && "number" === typeof input2.sampleId);
25
- };
26
- if (false === __is(input)) {
27
- const $report = import_typia.createValidate.report(errors);
28
- ((input2, _path, _exceptionable = true) => {
29
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
30
- path: _path2 + ".genome",
31
- expected: "string",
32
- value: input3.genome
33
- }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
34
- path: _path2 + ".dslabel",
35
- expected: "string",
36
- value: input3.dslabel
37
- }), "number" === typeof input3.sampleId || $report(_exceptionable2, {
38
- path: _path2 + ".sampleId",
39
- expected: "number",
40
- value: input3.sampleId
41
- })].every((flag) => flag);
42
- return ("object" === typeof input2 && null !== input2 || $report(true, {
43
- path: _path + "",
44
- expected: "TermdbSampleImagesRequest",
45
- value: input2
46
- })) && $vo0(input2, _path + "", true) || $report(true, {
47
- path: _path + "",
48
- expected: "TermdbSampleImagesRequest",
49
- value: input2
50
- });
51
- })(input, "$input", true);
52
- }
53
- const success = 0 === errors.length;
54
- return {
55
- success,
56
- errors,
57
- data: success ? input : void 0
58
- };
59
- };
60
- var validTermdbSampleImagesResponse = (input) => {
61
- const errors = [];
62
- const __is = (input2) => {
63
- const $io0 = (input3) => Array.isArray(input3.images) && input3.images.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
64
- const $io1 = (input3) => true;
65
- return "object" === typeof input2 && null !== input2 && $io0(input2);
66
- };
67
- if (false === __is(input)) {
68
- const $report = import_typia.createValidate.report(errors);
69
- ((input2, _path, _exceptionable = true) => {
70
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.images) || $report(_exceptionable2, {
71
- path: _path2 + ".images",
72
- expected: "Array<Image>",
73
- value: input3.images
74
- })) && input3.images.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
75
- path: _path2 + ".images[" + _index1 + "]",
76
- expected: "Image",
77
- value: elem
78
- })) && $vo1(elem, _path2 + ".images[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
79
- path: _path2 + ".images[" + _index1 + "]",
80
- expected: "Image",
81
- value: elem
82
- })).every((flag) => flag) || $report(_exceptionable2, {
83
- path: _path2 + ".images",
84
- expected: "Array<Image>",
85
- value: input3.images
86
- })].every((flag) => flag);
87
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [true].every((flag) => flag);
88
- return ("object" === typeof input2 && null !== input2 || $report(true, {
89
- path: _path + "",
90
- expected: "TermdbSampleImagesResponse",
91
- value: input2
92
- })) && $vo0(input2, _path + "", true) || $report(true, {
93
- path: _path + "",
94
- expected: "TermdbSampleImagesResponse",
95
- value: input2
96
- });
97
- })(input, "$input", true);
98
- }
99
- const success = 0 === errors.length;
100
- return {
101
- success,
102
- errors,
103
- data: success ? input : void 0
104
- };
105
- };
106
-
107
- export {
108
- termdbSampleImagesPayload,
109
- validTermdbSampleImagesRequest,
110
- validTermdbSampleImagesResponse
111
- };
@@ -1,62 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/dsdata.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/dsdata.ts
10
- var dsDataPayload = {
11
- request: {
12
- typeId: "DsDataRequest"
13
- },
14
- response: {
15
- typeId: "DsDataResponse"
16
- }
17
- // examples: []
18
- };
19
-
20
- // dist/dsdata.ts
21
- var validDsDataRequest = (input) => {
22
- const errors = [];
23
- const __is = (input2) => {
24
- return true;
25
- };
26
- if (false === __is(input)) {
27
- const $report = import_typia.createValidate.report(errors);
28
- /* @__PURE__ */ ((input2, _path, _exceptionable = true) => {
29
- return true;
30
- })(input, "$input", true);
31
- }
32
- const success = 0 === errors.length;
33
- return {
34
- success,
35
- errors,
36
- data: success ? input : void 0
37
- };
38
- };
39
- var validDsDataResponse = (input) => {
40
- const errors = [];
41
- const __is = (input2) => {
42
- return true;
43
- };
44
- if (false === __is(input)) {
45
- const $report = import_typia.createValidate.report(errors);
46
- /* @__PURE__ */ ((input2, _path, _exceptionable = true) => {
47
- return true;
48
- })(input, "$input", true);
49
- }
50
- const success = 0 === errors.length;
51
- return {
52
- success,
53
- errors,
54
- data: success ? input : void 0
55
- };
56
- };
57
-
58
- export {
59
- dsDataPayload,
60
- validDsDataRequest,
61
- validDsDataResponse
62
- };
@@ -1,365 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/termdb.diffMeth.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/termdb.diffMeth.ts
10
- var diffMethPayload = {
11
- request: {
12
- typeId: "DiffMethRequest"
13
- },
14
- response: {
15
- typeId: "DiffMethResponse"
16
- }
17
- };
18
-
19
- // dist/termdb.diffMeth.ts
20
- var validDiffMethRequest = (input) => {
21
- const errors = [];
22
- const __is = (input2) => {
23
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && (void 0 === input3.min_samples_per_group || "number" === typeof input3.min_samples_per_group) && true && true && (void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis) && ("object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io1(input3.volcanoRender));
24
- const $io1 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io2(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots) && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio);
25
- const $io2 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
26
- return "object" === typeof input2 && null !== input2 && $io0(input2);
27
- };
28
- if (false === __is(input)) {
29
- const $report = import_typia.createValidate.report(errors);
30
- ((input2, _path, _exceptionable = true) => {
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
- }), true, void 0 === input3.min_samples_per_group || "number" === typeof input3.min_samples_per_group || $report(_exceptionable2, {
40
- path: _path2 + ".min_samples_per_group",
41
- expected: "(number | undefined)",
42
- value: input3.min_samples_per_group
43
- }), true, true, void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis || $report(_exceptionable2, {
44
- path: _path2 + ".preAnalysis",
45
- expected: "(boolean | undefined)",
46
- value: input3.preAnalysis
47
- }), ("object" === typeof input3.volcanoRender && null !== input3.volcanoRender || $report(_exceptionable2, {
48
- path: _path2 + ".volcanoRender",
49
- expected: "VolcanoRenderRequest",
50
- value: input3.volcanoRender
51
- })) && $vo1(input3.volcanoRender, _path2 + ".volcanoRender", _exceptionable2) || $report(_exceptionable2, {
52
- path: _path2 + ".volcanoRender",
53
- expected: "VolcanoRenderRequest",
54
- value: input3.volcanoRender
55
- })].every((flag) => flag);
56
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds || $report(_exceptionable2, {
57
- path: _path2 + ".significanceThresholds",
58
- expected: "SignificanceThresholds",
59
- value: input3.significanceThresholds
60
- })) && $vo2(input3.significanceThresholds, _path2 + ".significanceThresholds", _exceptionable2) || $report(_exceptionable2, {
61
- path: _path2 + ".significanceThresholds",
62
- expected: "SignificanceThresholds",
63
- value: input3.significanceThresholds
64
- }), "number" === typeof input3.pixelWidth || $report(_exceptionable2, {
65
- path: _path2 + ".pixelWidth",
66
- expected: "number",
67
- value: input3.pixelWidth
68
- }), "number" === typeof input3.pixelHeight || $report(_exceptionable2, {
69
- path: _path2 + ".pixelHeight",
70
- expected: "number",
71
- value: input3.pixelHeight
72
- }), void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant || $report(_exceptionable2, {
73
- path: _path2 + ".colorSignificant",
74
- expected: "(string | undefined)",
75
- value: input3.colorSignificant
76
- }), void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp || $report(_exceptionable2, {
77
- path: _path2 + ".colorSignificantUp",
78
- expected: "(string | undefined)",
79
- value: input3.colorSignificantUp
80
- }), void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown || $report(_exceptionable2, {
81
- path: _path2 + ".colorSignificantDown",
82
- expected: "(string | undefined)",
83
- value: input3.colorSignificantDown
84
- }), void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant || $report(_exceptionable2, {
85
- path: _path2 + ".colorNonsignificant",
86
- expected: "(string | undefined)",
87
- value: input3.colorNonsignificant
88
- }), void 0 === input3.dotRadius || "number" === typeof input3.dotRadius || $report(_exceptionable2, {
89
- path: _path2 + ".dotRadius",
90
- expected: "(number | undefined)",
91
- value: input3.dotRadius
92
- }), void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots || $report(_exceptionable2, {
93
- path: _path2 + ".maxInteractiveDots",
94
- expected: "(number | undefined)",
95
- value: input3.maxInteractiveDots
96
- }), void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio || $report(_exceptionable2, {
97
- path: _path2 + ".devicePixelRatio",
98
- expected: "(number | undefined)",
99
- value: input3.devicePixelRatio
100
- })].every((flag) => flag);
101
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.pValueCutoff || $report(_exceptionable2, {
102
- path: _path2 + ".pValueCutoff",
103
- expected: "number",
104
- value: input3.pValueCutoff
105
- }), "adjusted" === input3.pValueType || "original" === input3.pValueType || $report(_exceptionable2, {
106
- path: _path2 + ".pValueType",
107
- expected: '("adjusted" | "original")',
108
- value: input3.pValueType
109
- }), "number" === typeof input3.foldChangeCutoff || $report(_exceptionable2, {
110
- path: _path2 + ".foldChangeCutoff",
111
- expected: "number",
112
- value: input3.foldChangeCutoff
113
- })].every((flag) => flag);
114
- return ("object" === typeof input2 && null !== input2 || $report(true, {
115
- path: _path + "",
116
- expected: "DiffMethRequest",
117
- value: input2
118
- })) && $vo0(input2, _path + "", true) || $report(true, {
119
- path: _path + "",
120
- expected: "DiffMethRequest",
121
- value: input2
122
- });
123
- })(input, "$input", true);
124
- }
125
- const success = 0 === errors.length;
126
- return {
127
- success,
128
- errors,
129
- data: success ? input : void 0
130
- };
131
- };
132
- var validDiffMethResponse = (input) => {
133
- const errors = [];
134
- const __is = (input2) => {
135
- const $join = import_typia.createValidate.join;
136
- const $io0 = (input3) => "object" === typeof input3.data && null !== input3.data && false === Array.isArray(input3.data) && $io1(input3.data);
137
- const $io1 = (input3) => Object.keys(input3).every((key) => {
138
- const value = input3[key];
139
- if (void 0 === value)
140
- return true;
141
- if (RegExp(/(.*)/).test(key))
142
- return "string" === typeof value || "number" === typeof value;
143
- return true;
144
- });
145
- const $io2 = (input3) => "object" === typeof input3.data && null !== input3.data && $io3(input3.data) && "number" === typeof input3.sample_size1 && "number" === typeof input3.sample_size2;
146
- const $io3 = (input3) => Array.isArray(input3.dots) && input3.dots.every((elem) => "object" === typeof elem && null !== elem && $io4(elem)) && "string" === typeof input3.volcanoPng && ("object" === typeof input3.plotExtent && null !== input3.plotExtent && $io5(input3.plotExtent)) && "number" === typeof input3.totalRows && "number" === typeof input3.totalSignificantRows && (void 0 === input3.cacheId || "string" === typeof input3.cacheId);
147
- const $io4 = (input3) => "number" === typeof input3.original_p_value && (void 0 === input3.adjusted_p_value || "number" === typeof input3.adjusted_p_value) && "number" === typeof input3.fold_change && "string" === typeof input3.promoter_id && "string" === typeof input3.gene_name && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
148
- const $io5 = (input3) => "number" === typeof input3.xMin && "number" === typeof input3.xMax && "number" === typeof input3.yMin && "number" === typeof input3.yMax && "number" === typeof input3.xMinUnpadded && "number" === typeof input3.xMaxUnpadded && "number" === typeof input3.yMinUnpadded && "number" === typeof input3.yMaxUnpadded && "number" === typeof input3.dotRadiusPx && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && "number" === typeof input3.plotLeft && "number" === typeof input3.plotTop && "number" === typeof input3.plotRight && "number" === typeof input3.plotBottom && "number" === typeof input3.minNonZeroPValue;
149
- const $iu0 = (input3) => (() => {
150
- if (void 0 !== input3.sample_size1)
151
- return $io2(input3);
152
- return $io0(input3);
153
- })();
154
- return "object" === typeof input2 && null !== input2 && $iu0(input2);
155
- };
156
- if (false === __is(input)) {
157
- const $report = import_typia.createValidate.report(errors);
158
- ((input2, _path, _exceptionable = true) => {
159
- const $join = import_typia.createValidate.join;
160
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.data && null !== input3.data && false === Array.isArray(input3.data) || $report(_exceptionable2, {
161
- path: _path2 + ".data",
162
- expected: "Record<string, string | number>",
163
- value: input3.data
164
- })) && $vo1(input3.data, _path2 + ".data", _exceptionable2) || $report(_exceptionable2, {
165
- path: _path2 + ".data",
166
- expected: "Record<string, string | number>",
167
- value: input3.data
168
- })].every((flag) => flag);
169
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
170
- const value = input3[key];
171
- if (void 0 === value)
172
- return true;
173
- if (RegExp(/(.*)/).test(key))
174
- return "string" === typeof value || "number" === typeof value || $report(_exceptionable2, {
175
- path: _path2 + $join(key),
176
- expected: "(number | string)",
177
- value
178
- });
179
- return true;
180
- }).every((flag) => flag)].every((flag) => flag);
181
- const $vo2 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.data && null !== input3.data || $report(_exceptionable2, {
182
- path: _path2 + ".data",
183
- expected: "VolcanoData<DiffMethEntry>",
184
- value: input3.data
185
- })) && $vo3(input3.data, _path2 + ".data", _exceptionable2) || $report(_exceptionable2, {
186
- path: _path2 + ".data",
187
- expected: "VolcanoData<DiffMethEntry>",
188
- value: input3.data
189
- }), "number" === typeof input3.sample_size1 || $report(_exceptionable2, {
190
- path: _path2 + ".sample_size1",
191
- expected: "number",
192
- value: input3.sample_size1
193
- }), "number" === typeof input3.sample_size2 || $report(_exceptionable2, {
194
- path: _path2 + ".sample_size2",
195
- expected: "number",
196
- value: input3.sample_size2
197
- })].every((flag) => flag);
198
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.dots) || $report(_exceptionable2, {
199
- path: _path2 + ".dots",
200
- expected: "Array<DiffMethEntry>",
201
- value: input3.dots
202
- })) && input3.dots.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
203
- path: _path2 + ".dots[" + _index1 + "]",
204
- expected: "DiffMethEntry",
205
- value: elem
206
- })) && $vo4(elem, _path2 + ".dots[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
207
- path: _path2 + ".dots[" + _index1 + "]",
208
- expected: "DiffMethEntry",
209
- value: elem
210
- })).every((flag) => flag) || $report(_exceptionable2, {
211
- path: _path2 + ".dots",
212
- expected: "Array<DiffMethEntry>",
213
- value: input3.dots
214
- }), "string" === typeof input3.volcanoPng || $report(_exceptionable2, {
215
- path: _path2 + ".volcanoPng",
216
- expected: "string",
217
- value: input3.volcanoPng
218
- }), ("object" === typeof input3.plotExtent && null !== input3.plotExtent || $report(_exceptionable2, {
219
- path: _path2 + ".plotExtent",
220
- expected: "PlotExtent",
221
- value: input3.plotExtent
222
- })) && $vo5(input3.plotExtent, _path2 + ".plotExtent", _exceptionable2) || $report(_exceptionable2, {
223
- path: _path2 + ".plotExtent",
224
- expected: "PlotExtent",
225
- value: input3.plotExtent
226
- }), "number" === typeof input3.totalRows || $report(_exceptionable2, {
227
- path: _path2 + ".totalRows",
228
- expected: "number",
229
- value: input3.totalRows
230
- }), "number" === typeof input3.totalSignificantRows || $report(_exceptionable2, {
231
- path: _path2 + ".totalSignificantRows",
232
- expected: "number",
233
- value: input3.totalSignificantRows
234
- }), void 0 === input3.cacheId || "string" === typeof input3.cacheId || $report(_exceptionable2, {
235
- path: _path2 + ".cacheId",
236
- expected: "(string | undefined)",
237
- value: input3.cacheId
238
- })].every((flag) => flag);
239
- const $vo4 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.original_p_value || $report(_exceptionable2, {
240
- path: _path2 + ".original_p_value",
241
- expected: "number",
242
- value: input3.original_p_value
243
- }), void 0 === input3.adjusted_p_value || "number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
244
- path: _path2 + ".adjusted_p_value",
245
- expected: "(number | undefined)",
246
- value: input3.adjusted_p_value
247
- }), "number" === typeof input3.fold_change || $report(_exceptionable2, {
248
- path: _path2 + ".fold_change",
249
- expected: "number",
250
- value: input3.fold_change
251
- }), "string" === typeof input3.promoter_id || $report(_exceptionable2, {
252
- path: _path2 + ".promoter_id",
253
- expected: "string",
254
- value: input3.promoter_id
255
- }), "string" === typeof input3.gene_name || $report(_exceptionable2, {
256
- path: _path2 + ".gene_name",
257
- expected: "string",
258
- value: input3.gene_name
259
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
260
- path: _path2 + ".chr",
261
- expected: "string",
262
- value: input3.chr
263
- }), "number" === typeof input3.start || $report(_exceptionable2, {
264
- path: _path2 + ".start",
265
- expected: "number",
266
- value: input3.start
267
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
268
- path: _path2 + ".stop",
269
- expected: "number",
270
- value: input3.stop
271
- })].every((flag) => flag);
272
- const $vo5 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.xMin || $report(_exceptionable2, {
273
- path: _path2 + ".xMin",
274
- expected: "number",
275
- value: input3.xMin
276
- }), "number" === typeof input3.xMax || $report(_exceptionable2, {
277
- path: _path2 + ".xMax",
278
- expected: "number",
279
- value: input3.xMax
280
- }), "number" === typeof input3.yMin || $report(_exceptionable2, {
281
- path: _path2 + ".yMin",
282
- expected: "number",
283
- value: input3.yMin
284
- }), "number" === typeof input3.yMax || $report(_exceptionable2, {
285
- path: _path2 + ".yMax",
286
- expected: "number",
287
- value: input3.yMax
288
- }), "number" === typeof input3.xMinUnpadded || $report(_exceptionable2, {
289
- path: _path2 + ".xMinUnpadded",
290
- expected: "number",
291
- value: input3.xMinUnpadded
292
- }), "number" === typeof input3.xMaxUnpadded || $report(_exceptionable2, {
293
- path: _path2 + ".xMaxUnpadded",
294
- expected: "number",
295
- value: input3.xMaxUnpadded
296
- }), "number" === typeof input3.yMinUnpadded || $report(_exceptionable2, {
297
- path: _path2 + ".yMinUnpadded",
298
- expected: "number",
299
- value: input3.yMinUnpadded
300
- }), "number" === typeof input3.yMaxUnpadded || $report(_exceptionable2, {
301
- path: _path2 + ".yMaxUnpadded",
302
- expected: "number",
303
- value: input3.yMaxUnpadded
304
- }), "number" === typeof input3.dotRadiusPx || $report(_exceptionable2, {
305
- path: _path2 + ".dotRadiusPx",
306
- expected: "number",
307
- value: input3.dotRadiusPx
308
- }), "number" === typeof input3.pixelWidth || $report(_exceptionable2, {
309
- path: _path2 + ".pixelWidth",
310
- expected: "number",
311
- value: input3.pixelWidth
312
- }), "number" === typeof input3.pixelHeight || $report(_exceptionable2, {
313
- path: _path2 + ".pixelHeight",
314
- expected: "number",
315
- value: input3.pixelHeight
316
- }), "number" === typeof input3.plotLeft || $report(_exceptionable2, {
317
- path: _path2 + ".plotLeft",
318
- expected: "number",
319
- value: input3.plotLeft
320
- }), "number" === typeof input3.plotTop || $report(_exceptionable2, {
321
- path: _path2 + ".plotTop",
322
- expected: "number",
323
- value: input3.plotTop
324
- }), "number" === typeof input3.plotRight || $report(_exceptionable2, {
325
- path: _path2 + ".plotRight",
326
- expected: "number",
327
- value: input3.plotRight
328
- }), "number" === typeof input3.plotBottom || $report(_exceptionable2, {
329
- path: _path2 + ".plotBottom",
330
- expected: "number",
331
- value: input3.plotBottom
332
- }), "number" === typeof input3.minNonZeroPValue || $report(_exceptionable2, {
333
- path: _path2 + ".minNonZeroPValue",
334
- expected: "number",
335
- value: input3.minNonZeroPValue
336
- })].every((flag) => flag);
337
- const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
338
- if (void 0 !== input3.sample_size1)
339
- return $vo2(input3, _path2, _exceptionable2);
340
- return $vo0(input3, _path2, _exceptionable2);
341
- })();
342
- return ("object" === typeof input2 && null !== input2 || $report(true, {
343
- path: _path + "",
344
- expected: "(DiffMethFullResponse | DiffMethPreAnalysisResponse)",
345
- value: input2
346
- })) && $vu0(input2, _path + "", true) || $report(true, {
347
- path: _path + "",
348
- expected: "(DiffMethFullResponse | DiffMethPreAnalysisResponse)",
349
- value: input2
350
- });
351
- })(input, "$input", true);
352
- }
353
- const success = 0 === errors.length;
354
- return {
355
- success,
356
- errors,
357
- data: success ? input : void 0
358
- };
359
- };
360
-
361
- export {
362
- diffMethPayload,
363
- validDiffMethRequest,
364
- validDiffMethResponse
365
- };
@@ -1,97 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/aiProjectTrainModel.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/aiProjectTrainModel.ts
10
- var aiProjectTrainModelPayload = {
11
- request: {
12
- typeId: "AIProjectTrainModelRequest"
13
- },
14
- response: {
15
- typeId: "AIProjectTrainModelResponse"
16
- }
17
- };
18
-
19
- // dist/aiProjectTrainModel.ts
20
- var validAIProjectTrainModelRequest = (input) => {
21
- const errors = [];
22
- const __is = (input2) => {
23
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.projectId || "string" === typeof input3.projectId);
24
- return "object" === typeof input2 && null !== input2 && $io0(input2);
25
- };
26
- if (false === __is(input)) {
27
- const $report = import_typia.createValidate.report(errors);
28
- ((input2, _path, _exceptionable = true) => {
29
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
30
- path: _path2 + ".genome",
31
- expected: "string",
32
- value: input3.genome
33
- }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
34
- path: _path2 + ".dslabel",
35
- expected: "string",
36
- value: input3.dslabel
37
- }), void 0 === input3.projectId || "string" === typeof input3.projectId || $report(_exceptionable2, {
38
- path: _path2 + ".projectId",
39
- expected: "(string | undefined)",
40
- value: input3.projectId
41
- })].every((flag) => flag);
42
- return ("object" === typeof input2 && null !== input2 || $report(true, {
43
- path: _path + "",
44
- expected: "AIProjectTrainModelRequest",
45
- value: input2
46
- })) && $vo0(input2, _path + "", true) || $report(true, {
47
- path: _path + "",
48
- expected: "AIProjectTrainModelRequest",
49
- value: input2
50
- });
51
- })(input, "$input", true);
52
- }
53
- const success = 0 === errors.length;
54
- return {
55
- success,
56
- errors,
57
- data: success ? input : void 0
58
- };
59
- };
60
- var validAIProjectTrainModelResponse = (input) => {
61
- const errors = [];
62
- const __is = (input2) => {
63
- const $io0 = (input3) => "ok" === input3.status || "error" === input3.status;
64
- return "object" === typeof input2 && null !== input2 && $io0(input2);
65
- };
66
- if (false === __is(input)) {
67
- const $report = import_typia.createValidate.report(errors);
68
- ((input2, _path, _exceptionable = true) => {
69
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["ok" === input3.status || "error" === input3.status || $report(_exceptionable2, {
70
- path: _path2 + ".status",
71
- expected: '("error" | "ok")',
72
- value: input3.status
73
- })].every((flag) => flag);
74
- return ("object" === typeof input2 && null !== input2 || $report(true, {
75
- path: _path + "",
76
- expected: "AIProjectTrainModelResponse",
77
- value: input2
78
- })) && $vo0(input2, _path + "", true) || $report(true, {
79
- path: _path + "",
80
- expected: "AIProjectTrainModelResponse",
81
- value: input2
82
- });
83
- })(input, "$input", true);
84
- }
85
- const success = 0 === errors.length;
86
- return {
87
- success,
88
- errors,
89
- data: success ? input : void 0
90
- };
91
- };
92
-
93
- export {
94
- aiProjectTrainModelPayload,
95
- validAIProjectTrainModelRequest,
96
- validAIProjectTrainModelResponse
97
- };