@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,222 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/hicdata.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/hicdata.ts
10
- var hicdataPayload = {
11
- request: {
12
- typeId: "HicdataRequest"
13
- },
14
- response: {
15
- typeId: "HicdataResponse"
16
- }
17
- // examples: []
18
- };
19
-
20
- // dist/hicdata.ts
21
- var validHicdataRequest = (input) => {
22
- const errors = [];
23
- const __is = (input2) => {
24
- const $io0 = (input3) => "string" === typeof input3.file && (null !== input3.url && void 0 === input3.url) && ("observed" === input3.matrixType || "expected" === input3.matrixType || "oe" === input3.matrixType || "log(oe)" === input3.matrixType) && "number" === typeof input3.resolution && "string" === typeof input3.nmeth && "string" === typeof input3.pos1 && "string" === typeof input3.pos2 && (void 0 === input3.isfrag || "boolean" === typeof input3.isfrag) && (void 0 === input3.mincutoff || "number" === typeof input3.mincutoff);
25
- const $io1 = (input3) => null !== input3.file && void 0 === input3.file && "string" === typeof input3.url && ("observed" === input3.matrixType || "expected" === input3.matrixType || "oe" === input3.matrixType || "log(oe)" === input3.matrixType) && "number" === typeof input3.resolution && "string" === typeof input3.nmeth && "string" === typeof input3.pos1 && "string" === typeof input3.pos2 && (void 0 === input3.isfrag || "boolean" === typeof input3.isfrag) && (void 0 === input3.mincutoff || "number" === typeof input3.mincutoff);
26
- const $iu0 = (input3) => (() => {
27
- if ("string" === typeof input3.url)
28
- return $io1(input3);
29
- if ("string" === typeof input3.file)
30
- return $io0(input3);
31
- return false;
32
- })();
33
- return "object" === typeof input2 && null !== input2 && $iu0(input2);
34
- };
35
- if (false === __is(input)) {
36
- const $report = import_typia.createValidate.report(errors);
37
- ((input2, _path, _exceptionable = true) => {
38
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.file || $report(_exceptionable2, {
39
- path: _path2 + ".file",
40
- expected: "string",
41
- value: input3.file
42
- }), (null !== input3.url || $report(_exceptionable2, {
43
- path: _path2 + ".url",
44
- expected: "undefined",
45
- value: input3.url
46
- })) && (void 0 === input3.url || $report(_exceptionable2, {
47
- path: _path2 + ".url",
48
- expected: "undefined",
49
- value: input3.url
50
- })), "observed" === input3.matrixType || "expected" === input3.matrixType || "oe" === input3.matrixType || "log(oe)" === input3.matrixType || $report(_exceptionable2, {
51
- path: _path2 + ".matrixType",
52
- expected: '("expected" | "log(oe)" | "observed" | "oe")',
53
- value: input3.matrixType
54
- }), "number" === typeof input3.resolution || $report(_exceptionable2, {
55
- path: _path2 + ".resolution",
56
- expected: "number",
57
- value: input3.resolution
58
- }), "string" === typeof input3.nmeth || $report(_exceptionable2, {
59
- path: _path2 + ".nmeth",
60
- expected: "string",
61
- value: input3.nmeth
62
- }), "string" === typeof input3.pos1 || $report(_exceptionable2, {
63
- path: _path2 + ".pos1",
64
- expected: "string",
65
- value: input3.pos1
66
- }), "string" === typeof input3.pos2 || $report(_exceptionable2, {
67
- path: _path2 + ".pos2",
68
- expected: "string",
69
- value: input3.pos2
70
- }), void 0 === input3.isfrag || "boolean" === typeof input3.isfrag || $report(_exceptionable2, {
71
- path: _path2 + ".isfrag",
72
- expected: "(boolean | undefined)",
73
- value: input3.isfrag
74
- }), void 0 === input3.mincutoff || "number" === typeof input3.mincutoff || $report(_exceptionable2, {
75
- path: _path2 + ".mincutoff",
76
- expected: "(number | undefined)",
77
- value: input3.mincutoff
78
- })].every((flag) => flag);
79
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [(null !== input3.file || $report(_exceptionable2, {
80
- path: _path2 + ".file",
81
- expected: "undefined",
82
- value: input3.file
83
- })) && (void 0 === input3.file || $report(_exceptionable2, {
84
- path: _path2 + ".file",
85
- expected: "undefined",
86
- value: input3.file
87
- })), "string" === typeof input3.url || $report(_exceptionable2, {
88
- path: _path2 + ".url",
89
- expected: "string",
90
- value: input3.url
91
- }), "observed" === input3.matrixType || "expected" === input3.matrixType || "oe" === input3.matrixType || "log(oe)" === input3.matrixType || $report(_exceptionable2, {
92
- path: _path2 + ".matrixType",
93
- expected: '("expected" | "log(oe)" | "observed" | "oe")',
94
- value: input3.matrixType
95
- }), "number" === typeof input3.resolution || $report(_exceptionable2, {
96
- path: _path2 + ".resolution",
97
- expected: "number",
98
- value: input3.resolution
99
- }), "string" === typeof input3.nmeth || $report(_exceptionable2, {
100
- path: _path2 + ".nmeth",
101
- expected: "string",
102
- value: input3.nmeth
103
- }), "string" === typeof input3.pos1 || $report(_exceptionable2, {
104
- path: _path2 + ".pos1",
105
- expected: "string",
106
- value: input3.pos1
107
- }), "string" === typeof input3.pos2 || $report(_exceptionable2, {
108
- path: _path2 + ".pos2",
109
- expected: "string",
110
- value: input3.pos2
111
- }), void 0 === input3.isfrag || "boolean" === typeof input3.isfrag || $report(_exceptionable2, {
112
- path: _path2 + ".isfrag",
113
- expected: "(boolean | undefined)",
114
- value: input3.isfrag
115
- }), void 0 === input3.mincutoff || "number" === typeof input3.mincutoff || $report(_exceptionable2, {
116
- path: _path2 + ".mincutoff",
117
- expected: "(number | undefined)",
118
- value: input3.mincutoff
119
- })].every((flag) => flag);
120
- const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
121
- if ("string" === typeof input3.url)
122
- return $vo1(input3, _path2, _exceptionable2);
123
- if ("string" === typeof input3.file)
124
- return $vo0(input3, _path2, _exceptionable2);
125
- return $report(_exceptionable2, {
126
- path: _path2,
127
- expected: '(URLNotFile & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { pos1: string; pos2: string; isfrag?: boolean | undefined; mincutoff?: number | undefined; } | FileNotURL & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { pos1: string; pos2: string; isfrag?: boolean | undefined; mincutoff?: number | undefined; })',
128
- value: input3
129
- });
130
- })();
131
- return ("object" === typeof input2 && null !== input2 || $report(true, {
132
- path: _path + "",
133
- expected: '(FileNotURL & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { pos1: string; pos2: string; isfrag?: boolean | undefined; mincutoff?: number | undefined; } | URLNotFile & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { pos1: string; pos2: string; isfrag?: boolean | undefined; mincutoff?: number | undefined; })',
134
- value: input2
135
- })) && $vu0(input2, _path + "", true) || $report(true, {
136
- path: _path + "",
137
- expected: '(FileNotURL & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { pos1: string; pos2: string; isfrag?: boolean | undefined; mincutoff?: number | undefined; } | URLNotFile & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { pos1: string; pos2: string; isfrag?: boolean | undefined; mincutoff?: number | undefined; })',
138
- value: input2
139
- });
140
- })(input, "$input", true);
141
- }
142
- const success = 0 === errors.length;
143
- return {
144
- success,
145
- errors,
146
- data: success ? input : void 0
147
- };
148
- };
149
- var validHicdataResponse = (input) => {
150
- const errors = [];
151
- const __is = (input2) => {
152
- const $io0 = (input3) => (void 0 === input3.error || "string" === typeof input3.error) && (Array.isArray(input3.items) && input3.items.every((elem) => Array.isArray(elem) && (elem.length === 3 && "number" === typeof elem[0] && "number" === typeof elem[1] && "number" === typeof elem[2])));
153
- return "object" === typeof input2 && null !== input2 && $io0(input2);
154
- };
155
- if (false === __is(input)) {
156
- const $report = import_typia.createValidate.report(errors);
157
- ((input2, _path, _exceptionable = true) => {
158
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.error || "string" === typeof input3.error || $report(_exceptionable2, {
159
- path: _path2 + ".error",
160
- expected: "(string | undefined)",
161
- value: input3.error
162
- }), (Array.isArray(input3.items) || $report(_exceptionable2, {
163
- path: _path2 + ".items",
164
- expected: "Array<XYZCoord>",
165
- value: input3.items
166
- })) && input3.items.map((elem, _index1) => (Array.isArray(elem) || $report(_exceptionable2, {
167
- path: _path2 + ".items[" + _index1 + "]",
168
- expected: "XYZCoord",
169
- value: elem
170
- })) && ((elem.length === 3 || $report(_exceptionable2, {
171
- path: _path2 + ".items[" + _index1 + "]",
172
- expected: "[number, number, number]",
173
- value: elem
174
- })) && [
175
- "number" === typeof elem[0] || $report(_exceptionable2, {
176
- path: _path2 + ".items[" + _index1 + "][0]",
177
- expected: "number",
178
- value: elem[0]
179
- }),
180
- "number" === typeof elem[1] || $report(_exceptionable2, {
181
- path: _path2 + ".items[" + _index1 + "][1]",
182
- expected: "number",
183
- value: elem[1]
184
- }),
185
- "number" === typeof elem[2] || $report(_exceptionable2, {
186
- path: _path2 + ".items[" + _index1 + "][2]",
187
- expected: "number",
188
- value: elem[2]
189
- })
190
- ].every((flag) => flag)) || $report(_exceptionable2, {
191
- path: _path2 + ".items[" + _index1 + "]",
192
- expected: "XYZCoord",
193
- value: elem
194
- })).every((flag) => flag) || $report(_exceptionable2, {
195
- path: _path2 + ".items",
196
- expected: "Array<XYZCoord>",
197
- value: input3.items
198
- })].every((flag) => flag);
199
- return ("object" === typeof input2 && null !== input2 || $report(true, {
200
- path: _path + "",
201
- expected: "HicdataResponse",
202
- value: input2
203
- })) && $vo0(input2, _path + "", true) || $report(true, {
204
- path: _path + "",
205
- expected: "HicdataResponse",
206
- value: input2
207
- });
208
- })(input, "$input", true);
209
- }
210
- const success = 0 === errors.length;
211
- return {
212
- success,
213
- errors,
214
- data: success ? input : void 0
215
- };
216
- };
217
-
218
- export {
219
- hicdataPayload,
220
- validHicdataRequest,
221
- validHicdataResponse
222
- };
@@ -1,341 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/healthcheck.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/healthcheck.ts
10
- var healthcheckPayload = {
11
- request: {
12
- typeId: "HealthCheckRequest"
13
- },
14
- response: {
15
- typeId: "HealthCheckResponse"
16
- },
17
- examples: [
18
- {
19
- request: { body: {} }
20
- //response: {}
21
- },
22
- {
23
- request: {
24
- body: { dsLabel: "TermdbTest" }
25
- }
26
- //response: {}
27
- }
28
- ]
29
- };
30
-
31
- // dist/healthcheck.ts
32
- var validHealthCheckRequest = (input) => {
33
- const errors = [];
34
- const __is = (input2) => {
35
- const $io0 = (input3) => void 0 === input3.dslabel || "string" === typeof input3.dslabel;
36
- return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
37
- };
38
- if (false === __is(input)) {
39
- const $report = import_typia.createValidate.report(errors);
40
- ((input2, _path, _exceptionable = true) => {
41
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.dslabel || "string" === typeof input3.dslabel || $report(_exceptionable2, {
42
- path: _path2 + ".dslabel",
43
- expected: "(string | undefined)",
44
- value: input3.dslabel
45
- })].every((flag) => flag);
46
- return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
47
- path: _path + "",
48
- expected: "HealthCheckRequest",
49
- value: input2
50
- })) && $vo0(input2, _path + "", true) || $report(true, {
51
- path: _path + "",
52
- expected: "HealthCheckRequest",
53
- value: input2
54
- });
55
- })(input, "$input", true);
56
- }
57
- const success = 0 === errors.length;
58
- return {
59
- success,
60
- errors,
61
- data: success ? input : void 0
62
- };
63
- };
64
- var validHealthCheckResponse = (input) => {
65
- const errors = [];
66
- const __is = (input2) => {
67
- const $join = import_typia.createValidate.join;
68
- const $io0 = (input3) => ("ok" === input3.status || "error" === input3.status) && ("object" === typeof input3.genomes && null !== input3.genomes && false === Array.isArray(input3.genomes) && $io1(input3.genomes)) && ("object" === typeof input3.versionInfo && null !== input3.versionInfo && $io6(input3.versionInfo)) && (void 0 === input3.byDataset || "object" === typeof input3.byDataset && null !== input3.byDataset && false === Array.isArray(input3.byDataset) && $io9(input3.byDataset)) && (void 0 === input3.auth || "object" === typeof input3.auth && null !== input3.auth && false === Array.isArray(input3.auth) && $io10(input3.auth)) && (void 0 === input3.w || Array.isArray(input3.w) && input3.w.every((elem) => "number" === typeof elem)) && (void 0 === input3.rs || "number" === typeof input3.rs) && Array.isArray(input3.dsInitStatus);
69
- const $io1 = (input3) => Object.keys(input3).every((key) => {
70
- const value = input3[key];
71
- if (void 0 === value)
72
- return true;
73
- if (RegExp(/(.*)/).test(key))
74
- return "object" === typeof value && null !== value && $io2(value);
75
- return true;
76
- });
77
- const $io2 = (input3) => "object" === typeof input3.genedb && null !== input3.genedb && $io3(input3.genedb) && (void 0 === input3.termdbs || "object" === typeof input3.termdbs && null !== input3.termdbs && false === Array.isArray(input3.termdbs) && $io5(input3.termdbs));
78
- const $io3 = (input3) => "string" === typeof input3.buildDate && (void 0 === input3.tables || "object" === typeof input3.tables && null !== input3.tables && false === Array.isArray(input3.tables) && $io4(input3.tables));
79
- const $io4 = (input3) => Object.keys(input3).every((key) => {
80
- const value = input3[key];
81
- if (void 0 === value)
82
- return true;
83
- if (RegExp(/(.*)/).test(key))
84
- return "number" === typeof value;
85
- return true;
86
- });
87
- const $io5 = (input3) => Object.keys(input3).every((key) => {
88
- const value = input3[key];
89
- if (void 0 === value)
90
- return true;
91
- if (RegExp(/(.*)/).test(key))
92
- return "object" === typeof value && null !== value && $io3(value);
93
- return true;
94
- });
95
- const $io6 = (input3) => "string" === typeof input3.pkgver && "string" === typeof input3.codedate && "string" === typeof input3.launchdate && ("object" === typeof input3.deps && null !== input3.deps && false === Array.isArray(input3.deps) && $io7(input3.deps));
96
- const $io7 = (input3) => Object.keys(input3).every((key) => {
97
- const value = input3[key];
98
- if (void 0 === value)
99
- return true;
100
- if (RegExp(/(.*)/).test(key))
101
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io8(value);
102
- return true;
103
- });
104
- const $io8 = (input3) => (void 0 === input3.installed || "string" === typeof input3.installed) && (void 0 === input3.entry || "string" === typeof input3.entry);
105
- const $io9 = (input3) => Object.keys(input3).every((key) => {
106
- const value = input3[key];
107
- if (void 0 === value)
108
- return true;
109
- if (RegExp(/(.*)/).test(key))
110
- return true;
111
- return true;
112
- });
113
- const $io10 = (input3) => void 0 === input3.errors || Array.isArray(input3.errors) && input3.errors.every((elem) => "string" === typeof elem);
114
- return "object" === typeof input2 && null !== input2 && $io0(input2);
115
- };
116
- if (false === __is(input)) {
117
- const $report = import_typia.createValidate.report(errors);
118
- ((input2, _path, _exceptionable = true) => {
119
- const $join = import_typia.createValidate.join;
120
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["ok" === input3.status || "error" === input3.status || $report(_exceptionable2, {
121
- path: _path2 + ".status",
122
- expected: '("error" | "ok")',
123
- value: input3.status
124
- }), ("object" === typeof input3.genomes && null !== input3.genomes && false === Array.isArray(input3.genomes) || $report(_exceptionable2, {
125
- path: _path2 + ".genomes",
126
- expected: "BuildByGenome",
127
- value: input3.genomes
128
- })) && $vo1(input3.genomes, _path2 + ".genomes", _exceptionable2) || $report(_exceptionable2, {
129
- path: _path2 + ".genomes",
130
- expected: "BuildByGenome",
131
- value: input3.genomes
132
- }), ("object" === typeof input3.versionInfo && null !== input3.versionInfo || $report(_exceptionable2, {
133
- path: _path2 + ".versionInfo",
134
- expected: "VersionInfo",
135
- value: input3.versionInfo
136
- })) && $vo6(input3.versionInfo, _path2 + ".versionInfo", _exceptionable2) || $report(_exceptionable2, {
137
- path: _path2 + ".versionInfo",
138
- expected: "VersionInfo",
139
- value: input3.versionInfo
140
- }), void 0 === input3.byDataset || ("object" === typeof input3.byDataset && null !== input3.byDataset && false === Array.isArray(input3.byDataset) || $report(_exceptionable2, {
141
- path: _path2 + ".byDataset",
142
- expected: "(__type.o4 | undefined)",
143
- value: input3.byDataset
144
- })) && $vo9(input3.byDataset, _path2 + ".byDataset", _exceptionable2) || $report(_exceptionable2, {
145
- path: _path2 + ".byDataset",
146
- expected: "(__type.o4 | undefined)",
147
- value: input3.byDataset
148
- }), void 0 === input3.auth || ("object" === typeof input3.auth && null !== input3.auth && false === Array.isArray(input3.auth) || $report(_exceptionable2, {
149
- path: _path2 + ".auth",
150
- expected: "(__type.o5 | undefined)",
151
- value: input3.auth
152
- })) && $vo10(input3.auth, _path2 + ".auth", _exceptionable2) || $report(_exceptionable2, {
153
- path: _path2 + ".auth",
154
- expected: "(__type.o5 | undefined)",
155
- value: input3.auth
156
- }), void 0 === input3.w || (Array.isArray(input3.w) || $report(_exceptionable2, {
157
- path: _path2 + ".w",
158
- expected: "(Array<number> | undefined)",
159
- value: input3.w
160
- })) && input3.w.map((elem, _index1) => "number" === typeof elem || $report(_exceptionable2, {
161
- path: _path2 + ".w[" + _index1 + "]",
162
- expected: "number",
163
- value: elem
164
- })).every((flag) => flag) || $report(_exceptionable2, {
165
- path: _path2 + ".w",
166
- expected: "(Array<number> | undefined)",
167
- value: input3.w
168
- }), void 0 === input3.rs || "number" === typeof input3.rs || $report(_exceptionable2, {
169
- path: _path2 + ".rs",
170
- expected: "(number | undefined)",
171
- value: input3.rs
172
- }), Array.isArray(input3.dsInitStatus) || $report(_exceptionable2, {
173
- path: _path2 + ".dsInitStatus",
174
- expected: "Array<any>",
175
- value: input3.dsInitStatus
176
- })].every((flag) => flag);
177
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
178
- const value = input3[key];
179
- if (void 0 === value)
180
- return true;
181
- if (RegExp(/(.*)/).test(key))
182
- return ("object" === typeof value && null !== value || $report(_exceptionable2, {
183
- path: _path2 + $join(key),
184
- expected: "GenomeBuildInfo",
185
- value
186
- })) && $vo2(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
187
- path: _path2 + $join(key),
188
- expected: "GenomeBuildInfo",
189
- value
190
- });
191
- return true;
192
- }).every((flag) => flag)].every((flag) => flag);
193
- const $vo2 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.genedb && null !== input3.genedb || $report(_exceptionable2, {
194
- path: _path2 + ".genedb",
195
- expected: "DbInfo",
196
- value: input3.genedb
197
- })) && $vo3(input3.genedb, _path2 + ".genedb", _exceptionable2) || $report(_exceptionable2, {
198
- path: _path2 + ".genedb",
199
- expected: "DbInfo",
200
- value: input3.genedb
201
- }), void 0 === input3.termdbs || ("object" === typeof input3.termdbs && null !== input3.termdbs && false === Array.isArray(input3.termdbs) || $report(_exceptionable2, {
202
- path: _path2 + ".termdbs",
203
- expected: "(__type.o1 | undefined)",
204
- value: input3.termdbs
205
- })) && $vo5(input3.termdbs, _path2 + ".termdbs", _exceptionable2) || $report(_exceptionable2, {
206
- path: _path2 + ".termdbs",
207
- expected: "(__type.o1 | undefined)",
208
- value: input3.termdbs
209
- })].every((flag) => flag);
210
- const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.buildDate || $report(_exceptionable2, {
211
- path: _path2 + ".buildDate",
212
- expected: "string",
213
- value: input3.buildDate
214
- }), void 0 === input3.tables || ("object" === typeof input3.tables && null !== input3.tables && false === Array.isArray(input3.tables) || $report(_exceptionable2, {
215
- path: _path2 + ".tables",
216
- expected: "(__type | undefined)",
217
- value: input3.tables
218
- })) && $vo4(input3.tables, _path2 + ".tables", _exceptionable2) || $report(_exceptionable2, {
219
- path: _path2 + ".tables",
220
- expected: "(__type | undefined)",
221
- value: input3.tables
222
- })].every((flag) => flag);
223
- const $vo4 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
224
- const value = input3[key];
225
- if (void 0 === value)
226
- return true;
227
- if (RegExp(/(.*)/).test(key))
228
- return "number" === typeof value || $report(_exceptionable2, {
229
- path: _path2 + $join(key),
230
- expected: "number",
231
- value
232
- });
233
- return true;
234
- }).every((flag) => flag)].every((flag) => flag);
235
- const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
236
- const value = input3[key];
237
- if (void 0 === value)
238
- return true;
239
- if (RegExp(/(.*)/).test(key))
240
- return ("object" === typeof value && null !== value || $report(_exceptionable2, {
241
- path: _path2 + $join(key),
242
- expected: "DbInfo",
243
- value
244
- })) && $vo3(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
245
- path: _path2 + $join(key),
246
- expected: "DbInfo",
247
- value
248
- });
249
- return true;
250
- }).every((flag) => flag)].every((flag) => flag);
251
- const $vo6 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.pkgver || $report(_exceptionable2, {
252
- path: _path2 + ".pkgver",
253
- expected: "string",
254
- value: input3.pkgver
255
- }), "string" === typeof input3.codedate || $report(_exceptionable2, {
256
- path: _path2 + ".codedate",
257
- expected: "string",
258
- value: input3.codedate
259
- }), "string" === typeof input3.launchdate || $report(_exceptionable2, {
260
- path: _path2 + ".launchdate",
261
- expected: "string",
262
- value: input3.launchdate
263
- }), ("object" === typeof input3.deps && null !== input3.deps && false === Array.isArray(input3.deps) || $report(_exceptionable2, {
264
- path: _path2 + ".deps",
265
- expected: "__type.o2",
266
- value: input3.deps
267
- })) && $vo7(input3.deps, _path2 + ".deps", _exceptionable2) || $report(_exceptionable2, {
268
- path: _path2 + ".deps",
269
- expected: "__type.o2",
270
- value: input3.deps
271
- })].every((flag) => flag);
272
- const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
273
- const value = input3[key];
274
- if (void 0 === value)
275
- return true;
276
- if (RegExp(/(.*)/).test(key))
277
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
278
- path: _path2 + $join(key),
279
- expected: "__type.o3",
280
- value
281
- })) && $vo8(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
282
- path: _path2 + $join(key),
283
- expected: "__type.o3",
284
- value
285
- });
286
- return true;
287
- }).every((flag) => flag)].every((flag) => flag);
288
- const $vo8 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.installed || "string" === typeof input3.installed || $report(_exceptionable2, {
289
- path: _path2 + ".installed",
290
- expected: "(string | undefined)",
291
- value: input3.installed
292
- }), void 0 === input3.entry || "string" === typeof input3.entry || $report(_exceptionable2, {
293
- path: _path2 + ".entry",
294
- expected: "(string | undefined)",
295
- value: input3.entry
296
- })].every((flag) => flag);
297
- const $vo9 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
298
- const value = input3[key];
299
- if (void 0 === value)
300
- return true;
301
- if (RegExp(/(.*)/).test(key))
302
- return true;
303
- return true;
304
- }).every((flag) => flag)].every((flag) => flag);
305
- const $vo10 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.errors || (Array.isArray(input3.errors) || $report(_exceptionable2, {
306
- path: _path2 + ".errors",
307
- expected: "(Array<string> | undefined)",
308
- value: input3.errors
309
- })) && input3.errors.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable2, {
310
- path: _path2 + ".errors[" + _index2 + "]",
311
- expected: "string",
312
- value: elem
313
- })).every((flag) => flag) || $report(_exceptionable2, {
314
- path: _path2 + ".errors",
315
- expected: "(Array<string> | undefined)",
316
- value: input3.errors
317
- })].every((flag) => flag);
318
- return ("object" === typeof input2 && null !== input2 || $report(true, {
319
- path: _path + "",
320
- expected: "HealthCheckResponse",
321
- value: input2
322
- })) && $vo0(input2, _path + "", true) || $report(true, {
323
- path: _path + "",
324
- expected: "HealthCheckResponse",
325
- value: input2
326
- });
327
- })(input, "$input", true);
328
- }
329
- const success = 0 === errors.length;
330
- return {
331
- success,
332
- errors,
333
- data: success ? input : void 0
334
- };
335
- };
336
-
337
- export {
338
- healthcheckPayload,
339
- validHealthCheckRequest,
340
- validHealthCheckResponse
341
- };
@@ -1,62 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/termdb.cohorts.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/termdb.cohorts.ts
10
- var termdbCohortsPayload = {
11
- request: {
12
- typeId: "TermdbCohortsRequest"
13
- },
14
- response: {
15
- typeId: "TermdbCohortsResponse"
16
- }
17
- //examples: []
18
- };
19
-
20
- // dist/termdb.cohorts.ts
21
- var validTermdbCohortsRequest = (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 validTermdbCohortsResponse = (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
- termdbCohortsPayload,
60
- validTermdbCohortsRequest,
61
- validTermdbCohortsResponse
62
- };