@sjcrh/proteinpaint-types 2.188.1 → 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-46YIGVUP.js +0 -908
  18. package/dist/chunk-4EAGOSMN.js +0 -128
  19. package/dist/chunk-5H2LJKPX.js +0 -104
  20. package/dist/chunk-5L4VF3ZL.js +0 -266
  21. package/dist/chunk-5N7V62ZL.js +0 -231
  22. package/dist/chunk-62XTWOVJ.js +0 -273
  23. package/dist/chunk-6GKG55BT.js +0 -232
  24. package/dist/chunk-7MUISZHS.js +0 -61
  25. package/dist/chunk-7OA6G77M.js +0 -113
  26. package/dist/chunk-AGMCAWBR.js +0 -454
  27. package/dist/chunk-BCBSHTHS.js +0 -75
  28. package/dist/chunk-BZVFHGN3.js +0 -350
  29. package/dist/chunk-CQXBQY2H.js +0 -161
  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-DUCWIRPX.js +0 -311
  34. package/dist/chunk-EIJT53QB.js +0 -240
  35. package/dist/chunk-EOKM345J.js +0 -222
  36. package/dist/chunk-FK7OCBPT.js +0 -341
  37. package/dist/chunk-FMC4G5BP.js +0 -62
  38. package/dist/chunk-G4MMYXP6.js +0 -405
  39. package/dist/chunk-GTS2G4R4.js +0 -62
  40. package/dist/chunk-HQV2A7JV.js +0 -62
  41. package/dist/chunk-IS74WYQF.js +0 -207
  42. package/dist/chunk-JDF7A2LY.js +0 -361
  43. package/dist/chunk-JEQGBUK2.js +0 -5993
  44. package/dist/chunk-K4FSDTDW.js +0 -109
  45. package/dist/chunk-KCMPDEH7.js +0 -62
  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-PTE2I7DF.js +0 -91
  55. package/dist/chunk-Q3HGHP3J.js +0 -174
  56. package/dist/chunk-QNH3PKJK.js +0 -343
  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-SZZXZZKO.js +0 -3991
  61. package/dist/chunk-TD4YLTHL.js +0 -158
  62. package/dist/chunk-TEXOICIS.js +0 -11810
  63. package/dist/chunk-THQOFV2K.js +0 -205
  64. package/dist/chunk-TQQWSHFM.js +0 -5980
  65. package/dist/chunk-U3BTVE5T.js +0 -111
  66. package/dist/chunk-UBOVHONH.js +0 -62
  67. package/dist/chunk-ULKGA7YY.js +0 -158
  68. package/dist/chunk-UYJA4UM7.js +0 -97
  69. package/dist/chunk-V3JDD3ZG.js +0 -3671
  70. package/dist/chunk-VJB6F2HL.js +0 -309
  71. package/dist/chunk-VUKRI3TG.js +0 -164
  72. package/dist/chunk-W3F3CLYP.js +0 -61
  73. package/dist/chunk-X4JBWMXY.js +0 -130
  74. package/dist/chunk-X5E72ZXA.js +0 -5979
  75. package/dist/chunk-YNHC5SXO.js +0 -1780
  76. package/dist/chunk-YPEFUAJW.js +0 -62
  77. package/dist/chunk-YSTMGNYR.js +0 -113
  78. package/dist/chunk-YW5G4M5D.js +0 -158
  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 -2186
  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 -48
  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 -220
  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,309 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/samplewsimages.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/samplewsimages.ts
10
- var WSImage = class {
11
- constructor(filename) {
12
- this.filename = filename;
13
- }
14
- };
15
- var sampleWSImagesPayload = {
16
- request: {
17
- typeId: "SampleWSImagesRequest"
18
- },
19
- response: {
20
- typeId: "SampleWSImagesResponse"
21
- }
22
- // examples: []
23
- };
24
-
25
- // dist/samplewsimages.ts
26
- var validSampleWSImagesRequest = (input) => {
27
- const errors = [];
28
- const __is = (input2) => {
29
- return "object" === typeof input2 && null !== input2 && ("string" === typeof input2.genome && "string" === typeof input2.dslabel && "string" === typeof input2.sample_id && "string" === typeof input2.wsimage);
30
- };
31
- if (false === __is(input)) {
32
- const $report = import_typia.createValidate.report(errors);
33
- ((input2, _path, _exceptionable = true) => {
34
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
35
- path: _path2 + ".genome",
36
- expected: "string",
37
- value: input3.genome
38
- }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
39
- path: _path2 + ".dslabel",
40
- expected: "string",
41
- value: input3.dslabel
42
- }), "string" === typeof input3.sample_id || $report(_exceptionable2, {
43
- path: _path2 + ".sample_id",
44
- expected: "string",
45
- value: input3.sample_id
46
- }), "string" === typeof input3.wsimage || $report(_exceptionable2, {
47
- path: _path2 + ".wsimage",
48
- expected: "string",
49
- value: input3.wsimage
50
- })].every((flag) => flag);
51
- return ("object" === typeof input2 && null !== input2 || $report(true, {
52
- path: _path + "",
53
- expected: "SampleWSImagesRequest",
54
- value: input2
55
- })) && $vo0(input2, _path + "", true) || $report(true, {
56
- path: _path + "",
57
- expected: "SampleWSImagesRequest",
58
- value: input2
59
- });
60
- })(input, "$input", true);
61
- }
62
- const success = 0 === errors.length;
63
- return {
64
- success,
65
- errors,
66
- data: success ? input : void 0
67
- };
68
- };
69
- var validSampleWSImagesResponse = (input) => {
70
- const errors = [];
71
- const __is = (input2) => {
72
- const $io0 = (input3) => Array.isArray(input3.sampleWSImages) && input3.sampleWSImages.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
73
- const $io1 = (input3) => (void 0 === input3.id || "number" === typeof input3.id) && "string" === typeof input3.filename && (void 0 === input3.metadata || "string" === typeof input3.metadata) && (void 0 === input3.predictionLayers || Array.isArray(input3.predictionLayers) && input3.predictionLayers.every((elem) => "string" === typeof elem)) && (void 0 === input3.annotations || Array.isArray(input3.annotations) && input3.annotations.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && (void 0 === input3.predictions || Array.isArray(input3.predictions) && input3.predictions.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && (void 0 === input3.classes || Array.isArray(input3.classes) && input3.classes.every((elem) => "object" === typeof elem && null !== elem && $io4(elem))) && true && (void 0 === input3.activePatchColor || "string" === typeof input3.activePatchColor) && (void 0 === input3.tileSize || "number" === typeof input3.tileSize);
74
- const $io2 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.status && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1])) && (0 === input3.flag || 1 === input3.flag || 2 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
75
- const $io3 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.uncertainty && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1])) && (0 === input3.flag || 1 === input3.flag || 2 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
76
- const $io4 = (input3) => "number" === typeof input3.id && "string" === typeof input3.key_shortcut && "string" === typeof input3.label && "string" === typeof input3.color;
77
- return "object" === typeof input2 && null !== input2 && $io0(input2);
78
- };
79
- if (false === __is(input)) {
80
- const $report = import_typia.createValidate.report(errors);
81
- ((input2, _path, _exceptionable = true) => {
82
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.sampleWSImages) || $report(_exceptionable2, {
83
- path: _path2 + ".sampleWSImages",
84
- expected: "Array<WSImage>",
85
- value: input3.sampleWSImages
86
- })) && input3.sampleWSImages.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
87
- path: _path2 + ".sampleWSImages[" + _index1 + "]",
88
- expected: "WSImage",
89
- value: elem
90
- })) && $vo1(elem, _path2 + ".sampleWSImages[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
91
- path: _path2 + ".sampleWSImages[" + _index1 + "]",
92
- expected: "WSImage",
93
- value: elem
94
- })).every((flag) => flag) || $report(_exceptionable2, {
95
- path: _path2 + ".sampleWSImages",
96
- expected: "Array<WSImage>",
97
- value: input3.sampleWSImages
98
- })].every((flag) => flag);
99
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "number" === typeof input3.id || $report(_exceptionable2, {
100
- path: _path2 + ".id",
101
- expected: "(number | undefined)",
102
- value: input3.id
103
- }), "string" === typeof input3.filename || $report(_exceptionable2, {
104
- path: _path2 + ".filename",
105
- expected: "string",
106
- value: input3.filename
107
- }), void 0 === input3.metadata || "string" === typeof input3.metadata || $report(_exceptionable2, {
108
- path: _path2 + ".metadata",
109
- expected: "(string | undefined)",
110
- value: input3.metadata
111
- }), void 0 === input3.predictionLayers || (Array.isArray(input3.predictionLayers) || $report(_exceptionable2, {
112
- path: _path2 + ".predictionLayers",
113
- expected: "(Array<string> | undefined)",
114
- value: input3.predictionLayers
115
- })) && input3.predictionLayers.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable2, {
116
- path: _path2 + ".predictionLayers[" + _index2 + "]",
117
- expected: "string",
118
- value: elem
119
- })).every((flag) => flag) || $report(_exceptionable2, {
120
- path: _path2 + ".predictionLayers",
121
- expected: "(Array<string> | undefined)",
122
- value: input3.predictionLayers
123
- }), void 0 === input3.annotations || (Array.isArray(input3.annotations) || $report(_exceptionable2, {
124
- path: _path2 + ".annotations",
125
- expected: "(Array<Annotation> | undefined)",
126
- value: input3.annotations
127
- })) && input3.annotations.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
128
- path: _path2 + ".annotations[" + _index3 + "]",
129
- expected: "Annotation",
130
- value: elem
131
- })) && $vo2(elem, _path2 + ".annotations[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
132
- path: _path2 + ".annotations[" + _index3 + "]",
133
- expected: "Annotation",
134
- value: elem
135
- })).every((flag) => flag) || $report(_exceptionable2, {
136
- path: _path2 + ".annotations",
137
- expected: "(Array<Annotation> | undefined)",
138
- value: input3.annotations
139
- }), void 0 === input3.predictions || (Array.isArray(input3.predictions) || $report(_exceptionable2, {
140
- path: _path2 + ".predictions",
141
- expected: "(Array<Prediction> | undefined)",
142
- value: input3.predictions
143
- })) && input3.predictions.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
144
- path: _path2 + ".predictions[" + _index4 + "]",
145
- expected: "Prediction",
146
- value: elem
147
- })) && $vo3(elem, _path2 + ".predictions[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
148
- path: _path2 + ".predictions[" + _index4 + "]",
149
- expected: "Prediction",
150
- value: elem
151
- })).every((flag) => flag) || $report(_exceptionable2, {
152
- path: _path2 + ".predictions",
153
- expected: "(Array<Prediction> | undefined)",
154
- value: input3.predictions
155
- }), void 0 === input3.classes || (Array.isArray(input3.classes) || $report(_exceptionable2, {
156
- path: _path2 + ".classes",
157
- expected: "(Array<WSIClass> | undefined)",
158
- value: input3.classes
159
- })) && input3.classes.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
160
- path: _path2 + ".classes[" + _index5 + "]",
161
- expected: "WSIClass",
162
- value: elem
163
- })) && $vo4(elem, _path2 + ".classes[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
164
- path: _path2 + ".classes[" + _index5 + "]",
165
- expected: "WSIClass",
166
- value: elem
167
- })).every((flag) => flag) || $report(_exceptionable2, {
168
- path: _path2 + ".classes",
169
- expected: "(Array<WSIClass> | undefined)",
170
- value: input3.classes
171
- }), true, void 0 === input3.activePatchColor || "string" === typeof input3.activePatchColor || $report(_exceptionable2, {
172
- path: _path2 + ".activePatchColor",
173
- expected: "(string | undefined)",
174
- value: input3.activePatchColor
175
- }), void 0 === input3.tileSize || "number" === typeof input3.tileSize || $report(_exceptionable2, {
176
- path: _path2 + ".tileSize",
177
- expected: "(number | undefined)",
178
- value: input3.tileSize
179
- })].every((flag) => flag);
180
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3["class"] || $report(_exceptionable2, {
181
- path: _path2 + '["class"]',
182
- expected: "string",
183
- value: input3["class"]
184
- }), "number" === typeof input3.status || $report(_exceptionable2, {
185
- path: _path2 + ".status",
186
- expected: "number",
187
- value: input3.status
188
- }), (Array.isArray(input3.zoomCoordinates) || $report(_exceptionable2, {
189
- path: _path2 + ".zoomCoordinates",
190
- expected: "[number, number]",
191
- value: input3.zoomCoordinates
192
- })) && ((input3.zoomCoordinates.length === 2 || $report(_exceptionable2, {
193
- path: _path2 + ".zoomCoordinates",
194
- expected: "[number, number]",
195
- value: input3.zoomCoordinates
196
- })) && [
197
- "number" === typeof input3.zoomCoordinates[0] || $report(_exceptionable2, {
198
- path: _path2 + ".zoomCoordinates[0]",
199
- expected: "number",
200
- value: input3.zoomCoordinates[0]
201
- }),
202
- "number" === typeof input3.zoomCoordinates[1] || $report(_exceptionable2, {
203
- path: _path2 + ".zoomCoordinates[1]",
204
- expected: "number",
205
- value: input3.zoomCoordinates[1]
206
- })
207
- ].every((flag) => flag)) || $report(_exceptionable2, {
208
- path: _path2 + ".zoomCoordinates",
209
- expected: "[number, number]",
210
- value: input3.zoomCoordinates
211
- }), 0 === input3.flag || 1 === input3.flag || 2 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
212
- path: _path2 + ".flag",
213
- expected: "(0 | 1 | 2 | 3)",
214
- value: input3.flag
215
- }), "string" === typeof input3.id || $report(_exceptionable2, {
216
- path: _path2 + ".id",
217
- expected: "string",
218
- value: input3.id
219
- }), "string" === typeof input3.timestamp || $report(_exceptionable2, {
220
- path: _path2 + ".timestamp",
221
- expected: "string",
222
- value: input3.timestamp
223
- })].every((flag) => flag);
224
- const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3["class"] || $report(_exceptionable2, {
225
- path: _path2 + '["class"]',
226
- expected: "string",
227
- value: input3["class"]
228
- }), "number" === typeof input3.uncertainty || $report(_exceptionable2, {
229
- path: _path2 + ".uncertainty",
230
- expected: "number",
231
- value: input3.uncertainty
232
- }), (Array.isArray(input3.zoomCoordinates) || $report(_exceptionable2, {
233
- path: _path2 + ".zoomCoordinates",
234
- expected: "[number, number]",
235
- value: input3.zoomCoordinates
236
- })) && ((input3.zoomCoordinates.length === 2 || $report(_exceptionable2, {
237
- path: _path2 + ".zoomCoordinates",
238
- expected: "[number, number]",
239
- value: input3.zoomCoordinates
240
- })) && [
241
- "number" === typeof input3.zoomCoordinates[0] || $report(_exceptionable2, {
242
- path: _path2 + ".zoomCoordinates[0]",
243
- expected: "number",
244
- value: input3.zoomCoordinates[0]
245
- }),
246
- "number" === typeof input3.zoomCoordinates[1] || $report(_exceptionable2, {
247
- path: _path2 + ".zoomCoordinates[1]",
248
- expected: "number",
249
- value: input3.zoomCoordinates[1]
250
- })
251
- ].every((flag) => flag)) || $report(_exceptionable2, {
252
- path: _path2 + ".zoomCoordinates",
253
- expected: "[number, number]",
254
- value: input3.zoomCoordinates
255
- }), 0 === input3.flag || 1 === input3.flag || 2 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
256
- path: _path2 + ".flag",
257
- expected: "(0 | 1 | 2 | 3)",
258
- value: input3.flag
259
- }), "string" === typeof input3.id || $report(_exceptionable2, {
260
- path: _path2 + ".id",
261
- expected: "string",
262
- value: input3.id
263
- }), "string" === typeof input3.timestamp || $report(_exceptionable2, {
264
- path: _path2 + ".timestamp",
265
- expected: "string",
266
- value: input3.timestamp
267
- })].every((flag) => flag);
268
- const $vo4 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.id || $report(_exceptionable2, {
269
- path: _path2 + ".id",
270
- expected: "number",
271
- value: input3.id
272
- }), "string" === typeof input3.key_shortcut || $report(_exceptionable2, {
273
- path: _path2 + ".key_shortcut",
274
- expected: "string",
275
- value: input3.key_shortcut
276
- }), "string" === typeof input3.label || $report(_exceptionable2, {
277
- path: _path2 + ".label",
278
- expected: "string",
279
- value: input3.label
280
- }), "string" === typeof input3.color || $report(_exceptionable2, {
281
- path: _path2 + ".color",
282
- expected: "string",
283
- value: input3.color
284
- })].every((flag) => flag);
285
- return ("object" === typeof input2 && null !== input2 || $report(true, {
286
- path: _path + "",
287
- expected: "SampleWSImagesResponse",
288
- value: input2
289
- })) && $vo0(input2, _path + "", true) || $report(true, {
290
- path: _path + "",
291
- expected: "SampleWSImagesResponse",
292
- value: input2
293
- });
294
- })(input, "$input", true);
295
- }
296
- const success = 0 === errors.length;
297
- return {
298
- success,
299
- errors,
300
- data: success ? input : void 0
301
- };
302
- };
303
-
304
- export {
305
- WSImage,
306
- sampleWSImagesPayload,
307
- validSampleWSImagesRequest,
308
- validSampleWSImagesResponse
309
- };
@@ -1,164 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/wsimages.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/wsimages.ts
10
- var wsImagesPayload = {
11
- request: {
12
- typeId: "WSImagesRequest"
13
- },
14
- response: {
15
- typeId: "WSImagesResponse"
16
- }
17
- // examples: []
18
- };
19
-
20
- // dist/wsimages.ts
21
- var validWSImagesRequest = (input) => {
22
- const errors = [];
23
- const __is = (input2) => {
24
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.sampleId || "string" === typeof input3.sampleId) && "string" === typeof input3.wsimage && (void 0 === input3.aiProjectId || "number" === typeof input3.aiProjectId);
25
- return "object" === typeof input2 && null !== input2 && $io0(input2);
26
- };
27
- if (false === __is(input)) {
28
- const $report = import_typia.createValidate.report(errors);
29
- ((input2, _path, _exceptionable = true) => {
30
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
31
- path: _path2 + ".genome",
32
- expected: "string",
33
- value: input3.genome
34
- }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
35
- path: _path2 + ".dslabel",
36
- expected: "string",
37
- value: input3.dslabel
38
- }), void 0 === input3.sampleId || "string" === typeof input3.sampleId || $report(_exceptionable2, {
39
- path: _path2 + ".sampleId",
40
- expected: "(string | undefined)",
41
- value: input3.sampleId
42
- }), "string" === typeof input3.wsimage || $report(_exceptionable2, {
43
- path: _path2 + ".wsimage",
44
- expected: "string",
45
- value: input3.wsimage
46
- }), void 0 === input3.aiProjectId || "number" === typeof input3.aiProjectId || $report(_exceptionable2, {
47
- path: _path2 + ".aiProjectId",
48
- expected: "(number | undefined)",
49
- value: input3.aiProjectId
50
- })].every((flag) => flag);
51
- return ("object" === typeof input2 && null !== input2 || $report(true, {
52
- path: _path + "",
53
- expected: "WSImagesRequest",
54
- value: input2
55
- })) && $vo0(input2, _path + "", true) || $report(true, {
56
- path: _path + "",
57
- expected: "WSImagesRequest",
58
- value: input2
59
- });
60
- })(input, "$input", true);
61
- }
62
- const success = 0 === errors.length;
63
- return {
64
- success,
65
- errors,
66
- data: success ? input : void 0
67
- };
68
- };
69
- var validWSImagesResponse = (input) => {
70
- const errors = [];
71
- const __is = (input2) => {
72
- const $io0 = (input3) => (void 0 === input3.wsiSessionId || "string" === typeof input3.wsiSessionId) && (void 0 === input3.overlays || Array.isArray(input3.overlays) && input3.overlays.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && (Array.isArray(input3.slide_dimensions) && input3.slide_dimensions.every((elem) => "number" === typeof elem)) && (Array.isArray(input3.mpp) && input3.mpp.every((elem) => "number" === typeof elem)) && "string" === typeof input3.status && (void 0 === input3.error || "string" === typeof input3.error);
73
- const $io1 = (input3) => "string" === typeof input3.layerNumber && "string" === typeof input3.predictionOverlayType;
74
- return "object" === typeof input2 && null !== input2 && $io0(input2);
75
- };
76
- if (false === __is(input)) {
77
- const $report = import_typia.createValidate.report(errors);
78
- ((input2, _path, _exceptionable = true) => {
79
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.wsiSessionId || "string" === typeof input3.wsiSessionId || $report(_exceptionable2, {
80
- path: _path2 + ".wsiSessionId",
81
- expected: "(string | undefined)",
82
- value: input3.wsiSessionId
83
- }), void 0 === input3.overlays || (Array.isArray(input3.overlays) || $report(_exceptionable2, {
84
- path: _path2 + ".overlays",
85
- expected: "(Array<PredictionOverlay> | undefined)",
86
- value: input3.overlays
87
- })) && input3.overlays.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
88
- path: _path2 + ".overlays[" + _index1 + "]",
89
- expected: "PredictionOverlay",
90
- value: elem
91
- })) && $vo1(elem, _path2 + ".overlays[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
92
- path: _path2 + ".overlays[" + _index1 + "]",
93
- expected: "PredictionOverlay",
94
- value: elem
95
- })).every((flag) => flag) || $report(_exceptionable2, {
96
- path: _path2 + ".overlays",
97
- expected: "(Array<PredictionOverlay> | undefined)",
98
- value: input3.overlays
99
- }), (Array.isArray(input3.slide_dimensions) || $report(_exceptionable2, {
100
- path: _path2 + ".slide_dimensions",
101
- expected: "Array<number>",
102
- value: input3.slide_dimensions
103
- })) && input3.slide_dimensions.map((elem, _index2) => "number" === typeof elem || $report(_exceptionable2, {
104
- path: _path2 + ".slide_dimensions[" + _index2 + "]",
105
- expected: "number",
106
- value: elem
107
- })).every((flag) => flag) || $report(_exceptionable2, {
108
- path: _path2 + ".slide_dimensions",
109
- expected: "Array<number>",
110
- value: input3.slide_dimensions
111
- }), (Array.isArray(input3.mpp) || $report(_exceptionable2, {
112
- path: _path2 + ".mpp",
113
- expected: "Array<number>",
114
- value: input3.mpp
115
- })) && input3.mpp.map((elem, _index3) => "number" === typeof elem || $report(_exceptionable2, {
116
- path: _path2 + ".mpp[" + _index3 + "]",
117
- expected: "number",
118
- value: elem
119
- })).every((flag) => flag) || $report(_exceptionable2, {
120
- path: _path2 + ".mpp",
121
- expected: "Array<number>",
122
- value: input3.mpp
123
- }), "string" === typeof input3.status || $report(_exceptionable2, {
124
- path: _path2 + ".status",
125
- expected: "string",
126
- value: input3.status
127
- }), void 0 === input3.error || "string" === typeof input3.error || $report(_exceptionable2, {
128
- path: _path2 + ".error",
129
- expected: "(string | undefined)",
130
- value: input3.error
131
- })].every((flag) => flag);
132
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.layerNumber || $report(_exceptionable2, {
133
- path: _path2 + ".layerNumber",
134
- expected: "string",
135
- value: input3.layerNumber
136
- }), "string" === typeof input3.predictionOverlayType || $report(_exceptionable2, {
137
- path: _path2 + ".predictionOverlayType",
138
- expected: "string",
139
- value: input3.predictionOverlayType
140
- })].every((flag) => flag);
141
- return ("object" === typeof input2 && null !== input2 || $report(true, {
142
- path: _path + "",
143
- expected: "WSImagesResponse",
144
- value: input2
145
- })) && $vo0(input2, _path + "", true) || $report(true, {
146
- path: _path + "",
147
- expected: "WSImagesResponse",
148
- value: input2
149
- });
150
- })(input, "$input", true);
151
- }
152
- const success = 0 === errors.length;
153
- return {
154
- success,
155
- errors,
156
- data: success ? input : void 0
157
- };
158
- };
159
-
160
- export {
161
- wsImagesPayload,
162
- validWSImagesRequest,
163
- validWSImagesResponse
164
- };
@@ -1,61 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/termdb.proteome.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/termdb.proteome.ts
10
- var termdbProteomePayload = {
11
- request: {
12
- typeId: "TermdbProteomeRequest"
13
- },
14
- response: {
15
- typeId: "TermdbProteomeResponse"
16
- }
17
- };
18
-
19
- // dist/termdb.proteome.ts
20
- var validTermdbProteomeRequest = (input) => {
21
- const errors = [];
22
- const __is = (input2) => {
23
- return true;
24
- };
25
- if (false === __is(input)) {
26
- const $report = import_typia.createValidate.report(errors);
27
- /* @__PURE__ */ ((input2, _path, _exceptionable = true) => {
28
- return true;
29
- })(input, "$input", true);
30
- }
31
- const success = 0 === errors.length;
32
- return {
33
- success,
34
- errors,
35
- data: success ? input : void 0
36
- };
37
- };
38
- var validTermdbProteomeResponse = (input) => {
39
- const errors = [];
40
- const __is = (input2) => {
41
- return true;
42
- };
43
- if (false === __is(input)) {
44
- const $report = import_typia.createValidate.report(errors);
45
- /* @__PURE__ */ ((input2, _path, _exceptionable = true) => {
46
- return true;
47
- })(input, "$input", true);
48
- }
49
- const success = 0 === errors.length;
50
- return {
51
- success,
52
- errors,
53
- data: success ? input : void 0
54
- };
55
- };
56
-
57
- export {
58
- termdbProteomePayload,
59
- validTermdbProteomeRequest,
60
- validTermdbProteomeResponse
61
- };
@@ -1,130 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/brainImagingSamples.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/brainImagingSamples.ts
10
- var brainImagingSamplesPayload = {
11
- request: {
12
- typeId: "BrainImagingSamplesRequest"
13
- },
14
- response: {
15
- typeId: "BrainImagingSamplesResponse"
16
- }
17
- };
18
-
19
- // dist/brainImagingSamples.ts
20
- var validBrainImagingSamplesRequest = (input) => {
21
- const errors = [];
22
- const __is = (input2) => {
23
- return "object" === typeof input2 && null !== input2 && ("string" === typeof input2.genome && "string" === typeof input2.dslabel && "string" === typeof input2.refKey);
24
- };
25
- if (false === __is(input)) {
26
- const $report = import_typia.createValidate.report(errors);
27
- ((input2, _path, _exceptionable = true) => {
28
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
29
- path: _path2 + ".genome",
30
- expected: "string",
31
- value: input3.genome
32
- }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
33
- path: _path2 + ".dslabel",
34
- expected: "string",
35
- value: input3.dslabel
36
- }), "string" === typeof input3.refKey || $report(_exceptionable2, {
37
- path: _path2 + ".refKey",
38
- expected: "string",
39
- value: input3.refKey
40
- })].every((flag) => flag);
41
- return ("object" === typeof input2 && null !== input2 || $report(true, {
42
- path: _path + "",
43
- expected: "BrainImagingSamplesRequest",
44
- value: input2
45
- })) && $vo0(input2, _path + "", true) || $report(true, {
46
- path: _path + "",
47
- expected: "BrainImagingSamplesRequest",
48
- value: input2
49
- });
50
- })(input, "$input", true);
51
- }
52
- const success = 0 === errors.length;
53
- return {
54
- success,
55
- errors,
56
- data: success ? input : void 0
57
- };
58
- };
59
- var validBrainImagingSamplesResponse = (input) => {
60
- const errors = [];
61
- const __is = (input2) => {
62
- const $join = import_typia.createValidate.join;
63
- const $io0 = (input3) => Array.isArray(input3.samples) && input3.samples.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem));
64
- const $io1 = (input3) => Object.keys(input3).every((key) => {
65
- const value = input3[key];
66
- if (void 0 === value)
67
- return true;
68
- if (RegExp(/(.*)/).test(key))
69
- return "string" === typeof value;
70
- return true;
71
- });
72
- return "object" === typeof input2 && null !== input2 && $io0(input2);
73
- };
74
- if (false === __is(input)) {
75
- const $report = import_typia.createValidate.report(errors);
76
- ((input2, _path, _exceptionable = true) => {
77
- const $join = import_typia.createValidate.join;
78
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.samples) || $report(_exceptionable2, {
79
- path: _path2 + ".samples",
80
- expected: "Array<BrainSample>",
81
- value: input3.samples
82
- })) && input3.samples.map((elem, _index1) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
83
- path: _path2 + ".samples[" + _index1 + "]",
84
- expected: "BrainSample",
85
- value: elem
86
- })) && $vo1(elem, _path2 + ".samples[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
87
- path: _path2 + ".samples[" + _index1 + "]",
88
- expected: "BrainSample",
89
- value: elem
90
- })).every((flag) => flag) || $report(_exceptionable2, {
91
- path: _path2 + ".samples",
92
- expected: "Array<BrainSample>",
93
- value: input3.samples
94
- })].every((flag) => flag);
95
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
96
- const value = input3[key];
97
- if (void 0 === value)
98
- return true;
99
- if (RegExp(/(.*)/).test(key))
100
- return "string" === typeof value || $report(_exceptionable2, {
101
- path: _path2 + $join(key),
102
- expected: "string",
103
- value
104
- });
105
- return true;
106
- }).every((flag) => flag)].every((flag) => flag);
107
- return ("object" === typeof input2 && null !== input2 || $report(true, {
108
- path: _path + "",
109
- expected: "BrainImagingSamplesResponse",
110
- value: input2
111
- })) && $vo0(input2, _path + "", true) || $report(true, {
112
- path: _path + "",
113
- expected: "BrainImagingSamplesResponse",
114
- value: input2
115
- });
116
- })(input, "$input", true);
117
- }
118
- const success = 0 === errors.length;
119
- return {
120
- success,
121
- errors,
122
- data: success ? input : void 0
123
- };
124
- };
125
-
126
- export {
127
- brainImagingSamplesPayload,
128
- validBrainImagingSamplesRequest,
129
- validBrainImagingSamplesResponse
130
- };