@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,62 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/isoformlst.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/isoformlst.ts
10
- var isoformlstPayload = {
11
- request: {
12
- typeId: "IsoformLstRequest"
13
- },
14
- response: {
15
- typeId: "IsoformLstResponse"
16
- }
17
- //examples: []
18
- };
19
-
20
- // dist/isoformlst.ts
21
- var validIsoformLstRequest = (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 validIsoformLstResponse = (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
- isoformlstPayload,
60
- validIsoformLstRequest,
61
- validIsoformLstResponse
62
- };
@@ -1,113 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/genesetOverrepresentation.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/genesetOverrepresentation.ts
10
- var genesetOverrepresentationPayload = {
11
- request: {
12
- typeId: "GenesetOverrepresentationRequest"
13
- },
14
- response: {
15
- typeId: "GenesetOverrepresentationResponse"
16
- }
17
- // examples: []
18
- };
19
-
20
- // dist/genesetOverrepresentation.ts
21
- var validGenesetOverrepresentationRequest = (input) => {
22
- const errors = [];
23
- const __is = (input2) => {
24
- const $io0 = (input3) => "string" === typeof input3.sample_genes && (void 0 === input3.background_genes || "string" === typeof input3.background_genes) && "string" === typeof input3.genome && "string" === typeof input3.geneSetGroup && "boolean" === typeof input3.filter_non_coding_genes;
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.sample_genes || $report(_exceptionable2, {
31
- path: _path2 + ".sample_genes",
32
- expected: "string",
33
- value: input3.sample_genes
34
- }), void 0 === input3.background_genes || "string" === typeof input3.background_genes || $report(_exceptionable2, {
35
- path: _path2 + ".background_genes",
36
- expected: "(string | undefined)",
37
- value: input3.background_genes
38
- }), "string" === typeof input3.genome || $report(_exceptionable2, {
39
- path: _path2 + ".genome",
40
- expected: "string",
41
- value: input3.genome
42
- }), "string" === typeof input3.geneSetGroup || $report(_exceptionable2, {
43
- path: _path2 + ".geneSetGroup",
44
- expected: "string",
45
- value: input3.geneSetGroup
46
- }), "boolean" === typeof input3.filter_non_coding_genes || $report(_exceptionable2, {
47
- path: _path2 + ".filter_non_coding_genes",
48
- expected: "boolean",
49
- value: input3.filter_non_coding_genes
50
- })].every((flag) => flag);
51
- return ("object" === typeof input2 && null !== input2 || $report(true, {
52
- path: _path + "",
53
- expected: "GenesetOverrepresentationRequest",
54
- value: input2
55
- })) && $vo0(input2, _path + "", true) || $report(true, {
56
- path: _path + "",
57
- expected: "GenesetOverrepresentationRequest",
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 validGenesetOverrepresentationResponse = (input) => {
70
- const errors = [];
71
- const __is = (input2) => {
72
- return "object" === typeof input2 && null !== input2 && ("string" === typeof input2.pathway_name && "number" === typeof input2.p_value_original && "number" === typeof input2.p_value_adjusted);
73
- };
74
- if (false === __is(input)) {
75
- const $report = import_typia.createValidate.report(errors);
76
- ((input2, _path, _exceptionable = true) => {
77
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.pathway_name || $report(_exceptionable2, {
78
- path: _path2 + ".pathway_name",
79
- expected: "string",
80
- value: input3.pathway_name
81
- }), "number" === typeof input3.p_value_original || $report(_exceptionable2, {
82
- path: _path2 + ".p_value_original",
83
- expected: "number",
84
- value: input3.p_value_original
85
- }), "number" === typeof input3.p_value_adjusted || $report(_exceptionable2, {
86
- path: _path2 + ".p_value_adjusted",
87
- expected: "number",
88
- value: input3.p_value_adjusted
89
- })].every((flag) => flag);
90
- return ("object" === typeof input2 && null !== input2 || $report(true, {
91
- path: _path + "",
92
- expected: "GenesetOverrepresentationResponse",
93
- value: input2
94
- })) && $vo0(input2, _path + "", true) || $report(true, {
95
- path: _path + "",
96
- expected: "GenesetOverrepresentationResponse",
97
- value: input2
98
- });
99
- })(input, "$input", true);
100
- }
101
- const success = 0 === errors.length;
102
- return {
103
- success,
104
- errors,
105
- data: success ? input : void 0
106
- };
107
- };
108
-
109
- export {
110
- genesetOverrepresentationPayload,
111
- validGenesetOverrepresentationRequest,
112
- validGenesetOverrepresentationResponse
113
- };
@@ -1,158 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/saveWSIAnnotation.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/saveWSIAnnotation.ts
10
- var saveWSIAnnotationPayload = {
11
- request: {
12
- typeId: "SaveWSIAnnotationRequest"
13
- },
14
- response: {
15
- typeId: "SaveWSIAnnotationResponse"
16
- }
17
- };
18
-
19
- // dist/saveWSIAnnotation.ts
20
- var validSaveWSIAnnotationRequest = (input) => {
21
- const errors = [];
22
- const __is = (input2) => {
23
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && ("object" === typeof input3.tileSelection && null !== input3.tileSelection && $io1(input3.tileSelection)) && "number" === typeof input3.classId && "number" === typeof input3.projectId && "string" === typeof input3.wsimage;
24
- const $io1 = (input3) => Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1]) && (void 0 === input3["class"] || "string" === typeof input3["class"]) && (0 === input3.flag || 1 === input3.flag || 2 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
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
- }), ("object" === typeof input3.tileSelection && null !== input3.tileSelection || $report(_exceptionable2, {
39
- path: _path2 + ".tileSelection",
40
- expected: "TileSelection",
41
- value: input3.tileSelection
42
- })) && $vo1(input3.tileSelection, _path2 + ".tileSelection", _exceptionable2) || $report(_exceptionable2, {
43
- path: _path2 + ".tileSelection",
44
- expected: "TileSelection",
45
- value: input3.tileSelection
46
- }), "number" === typeof input3.classId || $report(_exceptionable2, {
47
- path: _path2 + ".classId",
48
- expected: "number",
49
- value: input3.classId
50
- }), "number" === typeof input3.projectId || $report(_exceptionable2, {
51
- path: _path2 + ".projectId",
52
- expected: "number",
53
- value: input3.projectId
54
- }), "string" === typeof input3.wsimage || $report(_exceptionable2, {
55
- path: _path2 + ".wsimage",
56
- expected: "string",
57
- value: input3.wsimage
58
- })].every((flag) => flag);
59
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.zoomCoordinates) || $report(_exceptionable2, {
60
- path: _path2 + ".zoomCoordinates",
61
- expected: "[number, number]",
62
- value: input3.zoomCoordinates
63
- })) && ((input3.zoomCoordinates.length === 2 || $report(_exceptionable2, {
64
- path: _path2 + ".zoomCoordinates",
65
- expected: "[number, number]",
66
- value: input3.zoomCoordinates
67
- })) && [
68
- "number" === typeof input3.zoomCoordinates[0] || $report(_exceptionable2, {
69
- path: _path2 + ".zoomCoordinates[0]",
70
- expected: "number",
71
- value: input3.zoomCoordinates[0]
72
- }),
73
- "number" === typeof input3.zoomCoordinates[1] || $report(_exceptionable2, {
74
- path: _path2 + ".zoomCoordinates[1]",
75
- expected: "number",
76
- value: input3.zoomCoordinates[1]
77
- })
78
- ].every((flag) => flag)) || $report(_exceptionable2, {
79
- path: _path2 + ".zoomCoordinates",
80
- expected: "[number, number]",
81
- value: input3.zoomCoordinates
82
- }), void 0 === input3["class"] || "string" === typeof input3["class"] || $report(_exceptionable2, {
83
- path: _path2 + '["class"]',
84
- expected: "(string | undefined)",
85
- value: input3["class"]
86
- }), 0 === input3.flag || 1 === input3.flag || 2 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
87
- path: _path2 + ".flag",
88
- expected: "(0 | 1 | 2 | 3)",
89
- value: input3.flag
90
- }), "string" === typeof input3.id || $report(_exceptionable2, {
91
- path: _path2 + ".id",
92
- expected: "string",
93
- value: input3.id
94
- }), "string" === typeof input3.timestamp || $report(_exceptionable2, {
95
- path: _path2 + ".timestamp",
96
- expected: "string",
97
- value: input3.timestamp
98
- })].every((flag) => flag);
99
- return ("object" === typeof input2 && null !== input2 || $report(true, {
100
- path: _path + "",
101
- expected: "SaveWSIAnnotationRequest",
102
- value: input2
103
- })) && $vo0(input2, _path + "", true) || $report(true, {
104
- path: _path + "",
105
- expected: "SaveWSIAnnotationRequest",
106
- value: input2
107
- });
108
- })(input, "$input", true);
109
- }
110
- const success = 0 === errors.length;
111
- return {
112
- success,
113
- errors,
114
- data: success ? input : void 0
115
- };
116
- };
117
- var validSaveWSIAnnotationResponse = (input) => {
118
- const errors = [];
119
- const __is = (input2) => {
120
- const $io0 = (input3) => ("ok" === input3.status || "error" === input3.status) && (void 0 === input3.error || "string" === typeof input3.error);
121
- return "object" === typeof input2 && null !== input2 && $io0(input2);
122
- };
123
- if (false === __is(input)) {
124
- const $report = import_typia.createValidate.report(errors);
125
- ((input2, _path, _exceptionable = true) => {
126
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["ok" === input3.status || "error" === input3.status || $report(_exceptionable2, {
127
- path: _path2 + ".status",
128
- expected: '("error" | "ok")',
129
- value: input3.status
130
- }), void 0 === input3.error || "string" === typeof input3.error || $report(_exceptionable2, {
131
- path: _path2 + ".error",
132
- expected: "(string | undefined)",
133
- value: input3.error
134
- })].every((flag) => flag);
135
- return ("object" === typeof input2 && null !== input2 || $report(true, {
136
- path: _path + "",
137
- expected: "SaveWSIAnnotationResponse",
138
- value: input2
139
- })) && $vo0(input2, _path + "", true) || $report(true, {
140
- path: _path + "",
141
- expected: "SaveWSIAnnotationResponse",
142
- value: input2
143
- });
144
- })(input, "$input", true);
145
- }
146
- const success = 0 === errors.length;
147
- return {
148
- success,
149
- errors,
150
- data: success ? input : void 0
151
- };
152
- };
153
-
154
- export {
155
- saveWSIAnnotationPayload,
156
- validSaveWSIAnnotationRequest,
157
- validSaveWSIAnnotationResponse
158
- };
@@ -1,296 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/termdb.singlecellData.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/termdb.singlecellData.ts
10
- var termdbSingleCellDataPayload = {
11
- request: {
12
- typeId: "TermdbSingleCellDataRequest"
13
- },
14
- response: {
15
- typeId: "TermdbSingleCellDataResponse"
16
- }
17
- // examples: []
18
- };
19
-
20
- // dist/termdb.singlecellData.ts
21
- var validTermdbSingleCellDataRequest = (input) => {
22
- const errors = [];
23
- const __is = (input2) => {
24
- const $join = import_typia.createValidate.join;
25
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && ("object" === typeof input3.sample && null !== input3.sample && $io1(input3.sample)) && (Array.isArray(input3.plots) && input3.plots.every((elem) => "string" === typeof elem)) && (void 0 === input3.checkPlotAvailability || "boolean" === typeof input3.checkPlotAvailability) && (void 0 === input3.gene || "string" === typeof input3.gene) && (void 0 === input3.colorBy || "string" === typeof input3.colorBy) && (void 0 === input3.colorMap || "object" === typeof input3.colorMap && null !== input3.colorMap && false === Array.isArray(input3.colorMap) && $io2(input3.colorMap)) && true;
26
- const $io1 = (input3) => (void 0 === input3.eID || "string" === typeof input3.eID) && "string" === typeof input3.sID;
27
- const $io2 = (input3) => Object.keys(input3).every((key) => {
28
- const value = input3[key];
29
- if (void 0 === value)
30
- return true;
31
- if (RegExp(/(.*)/).test(key))
32
- return "string" === typeof value;
33
- return true;
34
- });
35
- return "object" === typeof input2 && null !== input2 && $io0(input2);
36
- };
37
- if (false === __is(input)) {
38
- const $report = import_typia.createValidate.report(errors);
39
- ((input2, _path, _exceptionable = true) => {
40
- const $join = import_typia.createValidate.join;
41
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
42
- path: _path2 + ".genome",
43
- expected: "string",
44
- value: input3.genome
45
- }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
46
- path: _path2 + ".dslabel",
47
- expected: "string",
48
- value: input3.dslabel
49
- }), ("object" === typeof input3.sample && null !== input3.sample || $report(_exceptionable2, {
50
- path: _path2 + ".sample",
51
- expected: "__type",
52
- value: input3.sample
53
- })) && $vo1(input3.sample, _path2 + ".sample", _exceptionable2) || $report(_exceptionable2, {
54
- path: _path2 + ".sample",
55
- expected: "__type",
56
- value: input3.sample
57
- }), (Array.isArray(input3.plots) || $report(_exceptionable2, {
58
- path: _path2 + ".plots",
59
- expected: "Array<string>",
60
- value: input3.plots
61
- })) && input3.plots.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
62
- path: _path2 + ".plots[" + _index1 + "]",
63
- expected: "string",
64
- value: elem
65
- })).every((flag) => flag) || $report(_exceptionable2, {
66
- path: _path2 + ".plots",
67
- expected: "Array<string>",
68
- value: input3.plots
69
- }), void 0 === input3.checkPlotAvailability || "boolean" === typeof input3.checkPlotAvailability || $report(_exceptionable2, {
70
- path: _path2 + ".checkPlotAvailability",
71
- expected: "(boolean | undefined)",
72
- value: input3.checkPlotAvailability
73
- }), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
74
- path: _path2 + ".gene",
75
- expected: "(string | undefined)",
76
- value: input3.gene
77
- }), void 0 === input3.colorBy || "string" === typeof input3.colorBy || $report(_exceptionable2, {
78
- path: _path2 + ".colorBy",
79
- expected: "(string | undefined)",
80
- value: input3.colorBy
81
- }), void 0 === input3.colorMap || ("object" === typeof input3.colorMap && null !== input3.colorMap && false === Array.isArray(input3.colorMap) || $report(_exceptionable2, {
82
- path: _path2 + ".colorMap",
83
- expected: "(__type.o1 | undefined)",
84
- value: input3.colorMap
85
- })) && $vo2(input3.colorMap, _path2 + ".colorMap", _exceptionable2) || $report(_exceptionable2, {
86
- path: _path2 + ".colorMap",
87
- expected: "(__type.o1 | undefined)",
88
- value: input3.colorMap
89
- }), true].every((flag) => flag);
90
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.eID || "string" === typeof input3.eID || $report(_exceptionable2, {
91
- path: _path2 + ".eID",
92
- expected: "(string | undefined)",
93
- value: input3.eID
94
- }), "string" === typeof input3.sID || $report(_exceptionable2, {
95
- path: _path2 + ".sID",
96
- expected: "string",
97
- value: input3.sID
98
- })].every((flag) => flag);
99
- const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
100
- const value = input3[key];
101
- if (void 0 === value)
102
- return true;
103
- if (RegExp(/(.*)/).test(key))
104
- return "string" === typeof value || $report(_exceptionable2, {
105
- path: _path2 + $join(key),
106
- expected: "string",
107
- value
108
- });
109
- return true;
110
- }).every((flag) => flag)].every((flag) => flag);
111
- return ("object" === typeof input2 && null !== input2 || $report(true, {
112
- path: _path + "",
113
- expected: "TermdbSingleCellDataRequest",
114
- value: input2
115
- })) && $vo0(input2, _path + "", true) || $report(true, {
116
- path: _path + "",
117
- expected: "TermdbSingleCellDataRequest",
118
- value: input2
119
- });
120
- })(input, "$input", true);
121
- }
122
- const success = 0 === errors.length;
123
- return {
124
- success,
125
- errors,
126
- data: success ? input : void 0
127
- };
128
- };
129
- var validTermdbSingleCellDataResponse = (input) => {
130
- const errors = [];
131
- const __is = (input2) => {
132
- const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
133
- const $io1 = (input3) => "boolean" === typeof input3.nodata;
134
- const $io2 = (input3) => Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io3(elem));
135
- const $io3 = (input3) => "string" === typeof input3.name && (Array.isArray(input3.expCells) && input3.expCells.every((elem) => "object" === typeof elem && null !== elem && $io4(elem))) && (Array.isArray(input3.noExpCells) && input3.noExpCells.every((elem) => "object" === typeof elem && null !== elem && $io4(elem))) && (Array.isArray(input3.colorColumns) && input3.colorColumns.every((elem) => "string" === typeof elem)) && "string" === typeof input3.colorBy && true;
136
- const $io4 = (input3) => "string" === typeof input3.cellId && "number" === typeof input3.x && "number" === typeof input3.y && (void 0 === input3.z || "number" === typeof input3.z) && "string" === typeof input3.category && (void 0 === input3.geneExp || "number" === typeof input3.geneExp);
137
- const $iu0 = (input3) => (() => {
138
- if (void 0 !== input3.status)
139
- return $io0(input3);
140
- if (void 0 !== input3.nodata)
141
- return $io1(input3);
142
- if (void 0 !== input3.plots)
143
- return $io2(input3);
144
- return false;
145
- })();
146
- return "object" === typeof input2 && null !== input2 && $iu0(input2);
147
- };
148
- if (false === __is(input)) {
149
- const $report = import_typia.createValidate.report(errors);
150
- ((input2, _path, _exceptionable = true) => {
151
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.status || $report(_exceptionable2, {
152
- path: _path2 + ".status",
153
- expected: "number",
154
- value: input3.status
155
- }), "string" === typeof input3.error || $report(_exceptionable2, {
156
- path: _path2 + ".error",
157
- expected: "string",
158
- value: input3.error
159
- })].every((flag) => flag);
160
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.nodata || $report(_exceptionable2, {
161
- path: _path2 + ".nodata",
162
- expected: "boolean",
163
- value: input3.nodata
164
- })].every((flag) => flag);
165
- const $vo2 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.plots) || $report(_exceptionable2, {
166
- path: _path2 + ".plots",
167
- expected: "Array<Plot>",
168
- value: input3.plots
169
- })) && input3.plots.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
170
- path: _path2 + ".plots[" + _index1 + "]",
171
- expected: "Plot",
172
- value: elem
173
- })) && $vo3(elem, _path2 + ".plots[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
174
- path: _path2 + ".plots[" + _index1 + "]",
175
- expected: "Plot",
176
- value: elem
177
- })).every((flag) => flag) || $report(_exceptionable2, {
178
- path: _path2 + ".plots",
179
- expected: "Array<Plot>",
180
- value: input3.plots
181
- })].every((flag) => flag);
182
- const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
183
- path: _path2 + ".name",
184
- expected: "string",
185
- value: input3.name
186
- }), (Array.isArray(input3.expCells) || $report(_exceptionable2, {
187
- path: _path2 + ".expCells",
188
- expected: "Array<Cell>",
189
- value: input3.expCells
190
- })) && input3.expCells.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
191
- path: _path2 + ".expCells[" + _index2 + "]",
192
- expected: "Cell",
193
- value: elem
194
- })) && $vo4(elem, _path2 + ".expCells[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
195
- path: _path2 + ".expCells[" + _index2 + "]",
196
- expected: "Cell",
197
- value: elem
198
- })).every((flag) => flag) || $report(_exceptionable2, {
199
- path: _path2 + ".expCells",
200
- expected: "Array<Cell>",
201
- value: input3.expCells
202
- }), (Array.isArray(input3.noExpCells) || $report(_exceptionable2, {
203
- path: _path2 + ".noExpCells",
204
- expected: "Array<Cell>",
205
- value: input3.noExpCells
206
- })) && input3.noExpCells.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
207
- path: _path2 + ".noExpCells[" + _index3 + "]",
208
- expected: "Cell",
209
- value: elem
210
- })) && $vo4(elem, _path2 + ".noExpCells[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
211
- path: _path2 + ".noExpCells[" + _index3 + "]",
212
- expected: "Cell",
213
- value: elem
214
- })).every((flag) => flag) || $report(_exceptionable2, {
215
- path: _path2 + ".noExpCells",
216
- expected: "Array<Cell>",
217
- value: input3.noExpCells
218
- }), (Array.isArray(input3.colorColumns) || $report(_exceptionable2, {
219
- path: _path2 + ".colorColumns",
220
- expected: "Array<string>",
221
- value: input3.colorColumns
222
- })) && input3.colorColumns.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
223
- path: _path2 + ".colorColumns[" + _index4 + "]",
224
- expected: "string",
225
- value: elem
226
- })).every((flag) => flag) || $report(_exceptionable2, {
227
- path: _path2 + ".colorColumns",
228
- expected: "Array<string>",
229
- value: input3.colorColumns
230
- }), "string" === typeof input3.colorBy || $report(_exceptionable2, {
231
- path: _path2 + ".colorBy",
232
- expected: "string",
233
- value: input3.colorBy
234
- }), true].every((flag) => flag);
235
- const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.cellId || $report(_exceptionable2, {
236
- path: _path2 + ".cellId",
237
- expected: "string",
238
- value: input3.cellId
239
- }), "number" === typeof input3.x || $report(_exceptionable2, {
240
- path: _path2 + ".x",
241
- expected: "number",
242
- value: input3.x
243
- }), "number" === typeof input3.y || $report(_exceptionable2, {
244
- path: _path2 + ".y",
245
- expected: "number",
246
- value: input3.y
247
- }), void 0 === input3.z || "number" === typeof input3.z || $report(_exceptionable2, {
248
- path: _path2 + ".z",
249
- expected: "(number | undefined)",
250
- value: input3.z
251
- }), "string" === typeof input3.category || $report(_exceptionable2, {
252
- path: _path2 + ".category",
253
- expected: "string",
254
- value: input3.category
255
- }), void 0 === input3.geneExp || "number" === typeof input3.geneExp || $report(_exceptionable2, {
256
- path: _path2 + ".geneExp",
257
- expected: "(number | undefined)",
258
- value: input3.geneExp
259
- })].every((flag) => flag);
260
- const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
261
- if (void 0 !== input3.status)
262
- return $vo0(input3, _path2, _exceptionable2);
263
- if (void 0 !== input3.nodata)
264
- return $vo1(input3, _path2, _exceptionable2);
265
- if (void 0 !== input3.plots)
266
- return $vo2(input3, _path2, _exceptionable2);
267
- return $report(_exceptionable2, {
268
- path: _path2,
269
- expected: "(ErrorResponse | NodataResponse | HasdataResponse)",
270
- value: input3
271
- });
272
- })();
273
- return ("object" === typeof input2 && null !== input2 || $report(true, {
274
- path: _path + "",
275
- expected: "(ErrorResponse | HasdataResponse | NodataResponse)",
276
- value: input2
277
- })) && $vu0(input2, _path + "", true) || $report(true, {
278
- path: _path + "",
279
- expected: "(ErrorResponse | HasdataResponse | NodataResponse)",
280
- value: input2
281
- });
282
- })(input, "$input", true);
283
- }
284
- const success = 0 === errors.length;
285
- return {
286
- success,
287
- errors,
288
- data: success ? input : void 0
289
- };
290
- };
291
-
292
- export {
293
- termdbSingleCellDataPayload,
294
- validTermdbSingleCellDataRequest,
295
- validTermdbSingleCellDataResponse
296
- };