@sjcrh/proteinpaint-types 2.86.0 → 2.87.1

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 (233) hide show
  1. package/README.md +22 -0
  2. package/dist/brainImaging.js +11 -0
  3. package/dist/brainImagingSamples.js +11 -0
  4. package/dist/burden.js +11 -0
  5. package/dist/chunk-37ZPCVP5.js +111 -0
  6. package/dist/chunk-5GG2FNAY.js +62 -0
  7. package/dist/chunk-5JWTIWVB.js +222 -0
  8. package/dist/chunk-5RZYB4M4.js +171 -0
  9. package/dist/chunk-6EFB6ZMB.js +62 -0
  10. package/dist/chunk-6LFMFM2C.js +122 -0
  11. package/dist/chunk-7PMGKVWQ.js +62 -0
  12. package/dist/chunk-7Z3IHB43.js +152 -0
  13. package/dist/chunk-B3D26X6X.js +337 -0
  14. package/dist/chunk-BY2JABTF.js +256 -0
  15. package/dist/chunk-CETMA2FU.js +144 -0
  16. package/dist/chunk-DCN75URO.js +1740 -0
  17. package/dist/chunk-DIDZMC3G.js +96 -0
  18. package/dist/chunk-DKSPASWZ.js +4058 -0
  19. package/dist/chunk-EWRK4PKZ.js +62 -0
  20. package/dist/chunk-FDTUTGQG.js +288 -0
  21. package/dist/chunk-FZ6QOTGM.js +205 -0
  22. package/dist/chunk-GU7LIGHN.js +174 -0
  23. package/dist/chunk-IL33L6MY.js +126 -0
  24. package/dist/chunk-INDBFC54.js +1538 -0
  25. package/dist/chunk-IT7IGDC4.js +1697 -0
  26. package/dist/chunk-IWG5IPXG.js +3409 -0
  27. package/dist/chunk-JEQ3TBVQ.js +1472 -0
  28. package/dist/chunk-JPW6LFDQ.js +1507 -0
  29. package/dist/chunk-K2KQTFQI.js +113 -0
  30. package/dist/chunk-M33KP65Z.js +3347 -0
  31. package/dist/chunk-MUJUKENL.js +62 -0
  32. package/dist/chunk-N45Z3JCY.js +62 -0
  33. package/dist/chunk-OMHEDUNA.js +62 -0
  34. package/dist/chunk-OY3EKV7F.js +130 -0
  35. package/dist/chunk-Q56YNQFK.js +3417 -0
  36. package/dist/chunk-QDIIM52V.js +165 -0
  37. package/dist/chunk-QX7QLUKY.js +228 -0
  38. package/dist/chunk-RLFGMVJZ.js +234 -0
  39. package/dist/chunk-SDOWCOGK.js +96 -0
  40. package/dist/chunk-UCG25D2C.js +109 -0
  41. package/dist/chunk-UIU3IQH4.js +62 -0
  42. package/dist/chunk-W3F2RMPU.js +3494 -0
  43. package/dist/chunk-W3QYIXXF.js +273 -0
  44. package/dist/chunk-XGAOGA3F.js +159 -0
  45. package/dist/chunk-XJCQEOPB.js +61 -0
  46. package/dist/chunk-XLBSZOMF.js +117 -0
  47. package/dist/chunk-XQQ5G6N6.js +109 -0
  48. package/dist/chunk-Z6B6IQIY.js +1785 -0
  49. package/dist/dataset.js +11 -0
  50. package/dist/dsdata.js +11 -0
  51. package/dist/dzimages.js +11 -0
  52. package/dist/gdc.maf.js +11 -0
  53. package/dist/gdc.mafBuild.js +11 -0
  54. package/dist/gdc.topMutatedGenes.js +11 -0
  55. package/dist/genelookup.js +11 -0
  56. package/dist/genesetEnrichment.js +11 -0
  57. package/dist/genesetOverrepresentation.js +11 -0
  58. package/dist/healthcheck.js +11 -0
  59. package/dist/hicdata.js +11 -0
  60. package/dist/hicgenome.js +11 -0
  61. package/dist/hicstat.js +11 -0
  62. package/dist/index.js +347 -0
  63. package/dist/isoformlst.js +11 -0
  64. package/dist/ntseq.js +11 -0
  65. package/dist/pdomain.js +11 -0
  66. package/dist/samplewsimages.js +11 -0
  67. package/dist/snp.js +11 -0
  68. package/dist/termdb.DE.js +11 -0
  69. package/dist/termdb.boxplot.js +11 -0
  70. package/dist/termdb.categories.js +11 -0
  71. package/dist/termdb.cluster.js +11 -0
  72. package/dist/termdb.cohort.summary.js +11 -0
  73. package/dist/termdb.cohorts.js +11 -0
  74. package/dist/termdb.descrstats.js +11 -0
  75. package/dist/termdb.numericcategories.js +11 -0
  76. package/dist/termdb.percentile.js +11 -0
  77. package/dist/termdb.rootterm.js +11 -0
  78. package/dist/termdb.sampleImages.js +11 -0
  79. package/dist/termdb.singleSampleMutation.js +11 -0
  80. package/dist/termdb.singlecellDEgenes.js +11 -0
  81. package/dist/termdb.singlecellData.js +11 -0
  82. package/dist/termdb.singlecellSamples.js +11 -0
  83. package/dist/termdb.termchildren.js +11 -0
  84. package/dist/termdb.termsbyids.js +11 -0
  85. package/dist/termdb.topTermsByType.js +11 -0
  86. package/dist/termdb.topVariablyExpressedGenes.js +11 -0
  87. package/dist/termdb.violin.js +11 -0
  88. package/dist/tileserver.js +11 -0
  89. package/dist/wsimages.js +11 -0
  90. package/package.json +17 -15
  91. package/src/Mclass.ts +8 -0
  92. package/src/dataset.ts +1588 -0
  93. package/src/docs.json +16417 -0
  94. package/src/fileOrUrl.ts +15 -0
  95. package/src/filter.ts +125 -0
  96. package/src/genome.ts +123 -0
  97. package/src/index.ts +67 -0
  98. package/src/routes/brainImaging.ts +47 -0
  99. package/src/routes/brainImagingSamples.ts +25 -0
  100. package/src/routes/burden.ts +111 -0
  101. package/src/routes/dataset.ts +14 -0
  102. package/src/routes/dsdata.ts +14 -0
  103. package/src/routes/dzimages.ts +25 -0
  104. package/src/routes/errorResponse.ts +6 -0
  105. package/src/routes/filter.gdc.ts +15 -0
  106. package/src/routes/gdc.maf.ts +52 -0
  107. package/src/routes/gdc.mafBuild.ts +20 -0
  108. package/src/routes/gdc.topMutatedGenes.ts +37 -0
  109. package/src/routes/genelookup.ts +22 -0
  110. package/src/routes/genesetEnrichment.ts +60 -0
  111. package/src/routes/genesetOverrepresentation.ts +48 -0
  112. package/src/routes/healthcheck.ts +79 -0
  113. package/src/routes/hicdata.ts +48 -0
  114. package/src/routes/hicgenome.ts +50 -0
  115. package/src/routes/hicstat.ts +57 -0
  116. package/src/routes/isoformlst.ts +14 -0
  117. package/src/routes/ntseq.ts +14 -0
  118. package/src/routes/pdomain.ts +14 -0
  119. package/src/routes/routeApi.ts +41 -0
  120. package/src/routes/samplewsimages.ts +27 -0
  121. package/src/routes/snp.ts +13 -0
  122. package/src/routes/termdb.DE.ts +57 -0
  123. package/src/routes/termdb.boxplot.ts +78 -0
  124. package/src/routes/termdb.categories.ts +73 -0
  125. package/src/routes/termdb.cluster.ts +103 -0
  126. package/src/routes/termdb.cohort.summary.ts +14 -0
  127. package/src/routes/termdb.cohorts.ts +14 -0
  128. package/src/routes/termdb.descrstats.ts +78 -0
  129. package/src/routes/termdb.numericcategories.ts +32 -0
  130. package/src/routes/termdb.percentile.ts +65 -0
  131. package/src/routes/termdb.rootterm.ts +49 -0
  132. package/src/routes/termdb.sampleImages.ts +26 -0
  133. package/src/routes/termdb.singleSampleMutation.ts +29 -0
  134. package/src/routes/termdb.singlecellDEgenes.ts +41 -0
  135. package/src/routes/termdb.singlecellData.ts +69 -0
  136. package/src/routes/termdb.singlecellSamples.ts +46 -0
  137. package/src/routes/termdb.termchildren.ts +49 -0
  138. package/src/routes/termdb.termsbyids.ts +26 -0
  139. package/src/routes/termdb.topTermsByType.ts +32 -0
  140. package/src/routes/termdb.topVariablyExpressedGenes.ts +56 -0
  141. package/src/routes/termdb.violin.ts +122 -0
  142. package/src/routes/tileserver.ts +14 -0
  143. package/src/routes/wsimages.ts +24 -0
  144. package/src/terms/categorical.ts +106 -0
  145. package/src/terms/condition.ts +55 -0
  146. package/src/terms/geneExpression.ts +32 -0
  147. package/src/terms/geneVariant.ts +51 -0
  148. package/src/terms/metaboliteIntensity.ts +31 -0
  149. package/src/terms/numeric.ts +253 -0
  150. package/src/terms/q.ts +38 -0
  151. package/src/terms/samplelst.ts +41 -0
  152. package/src/terms/singleCellCellType.ts +22 -0
  153. package/src/terms/singleCellGeneExpression.ts +28 -0
  154. package/src/terms/snp.ts +28 -0
  155. package/src/terms/snps.ts +110 -0
  156. package/src/terms/term.ts +184 -0
  157. package/src/terms/tw.ts +38 -0
  158. package/src/terms/updated-types.ts +9 -0
  159. package/src/termsetting.ts +197 -0
  160. package/src/test/numeric.type.spec.ts +275 -0
  161. package/src/vocab.ts +37 -0
  162. package/dist/routes.ts +0 -28911
  163. package/src/Mclass.js +0 -0
  164. package/src/checkers/routes.js +0 -167
  165. package/src/dataset.js +0 -0
  166. package/src/fileOrUrl.js +0 -0
  167. package/src/filter.js +0 -0
  168. package/src/genome.js +0 -0
  169. package/src/index.js +0 -66
  170. package/src/routes/brainImaging.js +0 -11
  171. package/src/routes/brainImagingSamples.js +0 -11
  172. package/src/routes/burden.js +0 -44
  173. package/src/routes/dataset.js +0 -12
  174. package/src/routes/dsdata.js +0 -12
  175. package/src/routes/dzimages.js +0 -12
  176. package/src/routes/errorResponse.js +0 -0
  177. package/src/routes/filter.gdc.js +0 -0
  178. package/src/routes/gdc.maf.js +0 -17
  179. package/src/routes/gdc.mafBuild.js +0 -12
  180. package/src/routes/gdc.topMutatedGenes.js +0 -12
  181. package/src/routes/genelookup.js +0 -12
  182. package/src/routes/genesetEnrichment.js +0 -12
  183. package/src/routes/genesetOverrepresentation.js +0 -12
  184. package/src/routes/healthcheck.js +0 -23
  185. package/src/routes/hicdata.js +0 -12
  186. package/src/routes/hicgenome.js +0 -29
  187. package/src/routes/hicstat.js +0 -12
  188. package/src/routes/isoformlst.js +0 -12
  189. package/src/routes/ntseq.js +0 -12
  190. package/src/routes/pdomain.js +0 -12
  191. package/src/routes/routeApi.js +0 -0
  192. package/src/routes/samplewsimages.js +0 -12
  193. package/src/routes/snp.js +0 -11
  194. package/src/routes/termdb.DE.js +0 -13
  195. package/src/routes/termdb.boxplot.js +0 -12
  196. package/src/routes/termdb.categories.js +0 -48
  197. package/src/routes/termdb.cluster.js +0 -12
  198. package/src/routes/termdb.cohort.summary.js +0 -12
  199. package/src/routes/termdb.cohorts.js +0 -12
  200. package/src/routes/termdb.descrstats.js +0 -48
  201. package/src/routes/termdb.numericcategories.js +0 -12
  202. package/src/routes/termdb.percentile.js +0 -49
  203. package/src/routes/termdb.rootterm.js +0 -27
  204. package/src/routes/termdb.sampleImages.js +0 -12
  205. package/src/routes/termdb.singleSampleMutation.js +0 -12
  206. package/src/routes/termdb.singlecellDEgenes.js +0 -12
  207. package/src/routes/termdb.singlecellData.js +0 -12
  208. package/src/routes/termdb.singlecellSamples.js +0 -12
  209. package/src/routes/termdb.termchildren.js +0 -28
  210. package/src/routes/termdb.termsbyids.js +0 -12
  211. package/src/routes/termdb.topTermsByType.js +0 -12
  212. package/src/routes/termdb.topVariablyExpressedGenes.js +0 -12
  213. package/src/routes/termdb.violin.js +0 -49
  214. package/src/routes/tileserver.js +0 -12
  215. package/src/routes/wsimages.js +0 -12
  216. package/src/terms/categorical.js +0 -0
  217. package/src/terms/condition.js +0 -0
  218. package/src/terms/geneExpression.js +0 -0
  219. package/src/terms/geneVariant.js +0 -0
  220. package/src/terms/metaboliteIntensity.js +0 -0
  221. package/src/terms/numeric.js +0 -0
  222. package/src/terms/q.js +0 -0
  223. package/src/terms/samplelst.js +0 -0
  224. package/src/terms/singleCellCellType.js +0 -0
  225. package/src/terms/singleCellGeneExpression.js +0 -0
  226. package/src/terms/snp.js +0 -0
  227. package/src/terms/snps.js +0 -0
  228. package/src/terms/term.js +0 -0
  229. package/src/terms/tw.js +0 -0
  230. package/src/terms/updated-types.js +0 -0
  231. package/src/termsetting.js +0 -0
  232. package/src/test/numeric.type.spec.js +0 -117
  233. package/src/vocab.js +0 -0
@@ -0,0 +1,273 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/hicgenome.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/hicgenome.ts
10
+ var hicGenomePayload = {
11
+ request: {
12
+ typeId: "HicGenomeRequest"
13
+ },
14
+ response: {
15
+ typeId: "HicGenomeResponse"
16
+ },
17
+ examples: [
18
+ {
19
+ request: {
20
+ body: {
21
+ embedder: "localhost",
22
+ url: "https://proteinpaint.stjude.org/ppdemo/hg19/hic/hic_demo.hic",
23
+ matrixType: "observed",
24
+ nmeth: "NONE",
25
+ pos1: "3",
26
+ pos2: "2",
27
+ resolution: 1e6
28
+ }
29
+ },
30
+ response: {
31
+ header: { status: 200 }
32
+ }
33
+ }
34
+ ]
35
+ };
36
+
37
+ // dist/hicgenome.ts
38
+ var validHicGenomeRequest = (input) => {
39
+ const errors = [];
40
+ const __is = (input2) => {
41
+ 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 && (Array.isArray(input3.chrlst) && input3.chrlst.every((elem) => "string" === typeof elem)) && "string" === typeof input3.embedder && "boolean" === typeof input3.nochr;
42
+ 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 && (Array.isArray(input3.chrlst) && input3.chrlst.every((elem) => "string" === typeof elem)) && "string" === typeof input3.embedder && "boolean" === typeof input3.nochr;
43
+ const $iu0 = (input3) => (() => {
44
+ if ("string" === typeof input3.url)
45
+ return $io1(input3);
46
+ if ("string" === typeof input3.file)
47
+ return $io0(input3);
48
+ return false;
49
+ })();
50
+ return "object" === typeof input2 && null !== input2 && $iu0(input2);
51
+ };
52
+ if (false === __is(input)) {
53
+ const $report = import_typia.createValidate.report(errors);
54
+ ((input2, _path, _exceptionable = true) => {
55
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.file || $report(_exceptionable2, {
56
+ path: _path2 + ".file",
57
+ expected: "string",
58
+ value: input3.file
59
+ }), (null !== input3.url || $report(_exceptionable2, {
60
+ path: _path2 + ".url",
61
+ expected: "undefined",
62
+ value: input3.url
63
+ })) && (void 0 === input3.url || $report(_exceptionable2, {
64
+ path: _path2 + ".url",
65
+ expected: "undefined",
66
+ value: input3.url
67
+ })), "observed" === input3.matrixType || "expected" === input3.matrixType || "oe" === input3.matrixType || "log(oe)" === input3.matrixType || $report(_exceptionable2, {
68
+ path: _path2 + ".matrixType",
69
+ expected: '("expected" | "log(oe)" | "observed" | "oe")',
70
+ value: input3.matrixType
71
+ }), "number" === typeof input3.resolution || $report(_exceptionable2, {
72
+ path: _path2 + ".resolution",
73
+ expected: "number",
74
+ value: input3.resolution
75
+ }), "string" === typeof input3.nmeth || $report(_exceptionable2, {
76
+ path: _path2 + ".nmeth",
77
+ expected: "string",
78
+ value: input3.nmeth
79
+ }), (Array.isArray(input3.chrlst) || $report(_exceptionable2, {
80
+ path: _path2 + ".chrlst",
81
+ expected: "Array<string>",
82
+ value: input3.chrlst
83
+ })) && input3.chrlst.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
84
+ path: _path2 + ".chrlst[" + _index1 + "]",
85
+ expected: "string",
86
+ value: elem
87
+ })).every((flag) => flag) || $report(_exceptionable2, {
88
+ path: _path2 + ".chrlst",
89
+ expected: "Array<string>",
90
+ value: input3.chrlst
91
+ }), "string" === typeof input3.embedder || $report(_exceptionable2, {
92
+ path: _path2 + ".embedder",
93
+ expected: "string",
94
+ value: input3.embedder
95
+ }), "boolean" === typeof input3.nochr || $report(_exceptionable2, {
96
+ path: _path2 + ".nochr",
97
+ expected: "boolean",
98
+ value: input3.nochr
99
+ })].every((flag) => flag);
100
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [(null !== input3.file || $report(_exceptionable2, {
101
+ path: _path2 + ".file",
102
+ expected: "undefined",
103
+ value: input3.file
104
+ })) && (void 0 === input3.file || $report(_exceptionable2, {
105
+ path: _path2 + ".file",
106
+ expected: "undefined",
107
+ value: input3.file
108
+ })), "string" === typeof input3.url || $report(_exceptionable2, {
109
+ path: _path2 + ".url",
110
+ expected: "string",
111
+ value: input3.url
112
+ }), "observed" === input3.matrixType || "expected" === input3.matrixType || "oe" === input3.matrixType || "log(oe)" === input3.matrixType || $report(_exceptionable2, {
113
+ path: _path2 + ".matrixType",
114
+ expected: '("expected" | "log(oe)" | "observed" | "oe")',
115
+ value: input3.matrixType
116
+ }), "number" === typeof input3.resolution || $report(_exceptionable2, {
117
+ path: _path2 + ".resolution",
118
+ expected: "number",
119
+ value: input3.resolution
120
+ }), "string" === typeof input3.nmeth || $report(_exceptionable2, {
121
+ path: _path2 + ".nmeth",
122
+ expected: "string",
123
+ value: input3.nmeth
124
+ }), (Array.isArray(input3.chrlst) || $report(_exceptionable2, {
125
+ path: _path2 + ".chrlst",
126
+ expected: "Array<string>",
127
+ value: input3.chrlst
128
+ })) && input3.chrlst.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable2, {
129
+ path: _path2 + ".chrlst[" + _index2 + "]",
130
+ expected: "string",
131
+ value: elem
132
+ })).every((flag) => flag) || $report(_exceptionable2, {
133
+ path: _path2 + ".chrlst",
134
+ expected: "Array<string>",
135
+ value: input3.chrlst
136
+ }), "string" === typeof input3.embedder || $report(_exceptionable2, {
137
+ path: _path2 + ".embedder",
138
+ expected: "string",
139
+ value: input3.embedder
140
+ }), "boolean" === typeof input3.nochr || $report(_exceptionable2, {
141
+ path: _path2 + ".nochr",
142
+ expected: "boolean",
143
+ value: input3.nochr
144
+ })].every((flag) => flag);
145
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
146
+ if ("string" === typeof input3.url)
147
+ return $vo1(input3, _path2, _exceptionable2);
148
+ if ("string" === typeof input3.file)
149
+ return $vo0(input3, _path2, _exceptionable2);
150
+ return $report(_exceptionable2, {
151
+ path: _path2,
152
+ expected: '(URLNotFile & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { chrlst: string[]; embedder: string; nochr: boolean; } | FileNotURL & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { chrlst: string[]; embedder: string; nochr: boolean; })',
153
+ value: input3
154
+ });
155
+ })();
156
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
157
+ path: _path + "",
158
+ expected: '(FileNotURL & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { chrlst: string[]; embedder: string; nochr: boolean; } | URLNotFile & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { chrlst: string[]; embedder: string; nochr: boolean; })',
159
+ value: input2
160
+ })) && $vu0(input2, _path + "", true) || $report(true, {
161
+ path: _path + "",
162
+ expected: '(FileNotURL & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { chrlst: string[]; embedder: string; nochr: boolean; } | URLNotFile & { matrixType: "observed" | "expected" | "oe" | "log(oe)"; resolution: number; nmeth: string; } & { chrlst: string[]; embedder: string; nochr: boolean; })',
163
+ value: input2
164
+ });
165
+ })(input, "$input", true);
166
+ }
167
+ const success = 0 === errors.length;
168
+ return {
169
+ success,
170
+ errors,
171
+ data: success ? input : void 0
172
+ };
173
+ };
174
+ var validHicGenomeResponse = (input) => {
175
+ const errors = [];
176
+ const __is = (input2) => {
177
+ const $io0 = (input3) => Array.isArray(input3.data) && input3.data.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)) && (void 0 === input3.error || "string" === typeof input3.error);
178
+ const $io1 = (input3) => "string" === typeof input3.lead && "string" === typeof input3.follow && (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])));
179
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
180
+ };
181
+ if (false === __is(input)) {
182
+ const $report = import_typia.createValidate.report(errors);
183
+ ((input2, _path, _exceptionable = true) => {
184
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.data) || $report(_exceptionable2, {
185
+ path: _path2 + ".data",
186
+ expected: "Array<__type>",
187
+ value: input3.data
188
+ })) && input3.data.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
189
+ path: _path2 + ".data[" + _index1 + "]",
190
+ expected: "__type",
191
+ value: elem
192
+ })) && $vo1(elem, _path2 + ".data[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
193
+ path: _path2 + ".data[" + _index1 + "]",
194
+ expected: "__type",
195
+ value: elem
196
+ })).every((flag) => flag) || $report(_exceptionable2, {
197
+ path: _path2 + ".data",
198
+ expected: "Array<__type>",
199
+ value: input3.data
200
+ }), void 0 === input3.error || "string" === typeof input3.error || $report(_exceptionable2, {
201
+ path: _path2 + ".error",
202
+ expected: "(string | undefined)",
203
+ value: input3.error
204
+ })].every((flag) => flag);
205
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.lead || $report(_exceptionable2, {
206
+ path: _path2 + ".lead",
207
+ expected: "string",
208
+ value: input3.lead
209
+ }), "string" === typeof input3.follow || $report(_exceptionable2, {
210
+ path: _path2 + ".follow",
211
+ expected: "string",
212
+ value: input3.follow
213
+ }), (Array.isArray(input3.items) || $report(_exceptionable2, {
214
+ path: _path2 + ".items",
215
+ expected: "Array<XYZCoord>",
216
+ value: input3.items
217
+ })) && input3.items.map((elem, _index2) => (Array.isArray(elem) || $report(_exceptionable2, {
218
+ path: _path2 + ".items[" + _index2 + "]",
219
+ expected: "XYZCoord",
220
+ value: elem
221
+ })) && ((elem.length === 3 || $report(_exceptionable2, {
222
+ path: _path2 + ".items[" + _index2 + "]",
223
+ expected: "[number, number, number]",
224
+ value: elem
225
+ })) && [
226
+ "number" === typeof elem[0] || $report(_exceptionable2, {
227
+ path: _path2 + ".items[" + _index2 + "][0]",
228
+ expected: "number",
229
+ value: elem[0]
230
+ }),
231
+ "number" === typeof elem[1] || $report(_exceptionable2, {
232
+ path: _path2 + ".items[" + _index2 + "][1]",
233
+ expected: "number",
234
+ value: elem[1]
235
+ }),
236
+ "number" === typeof elem[2] || $report(_exceptionable2, {
237
+ path: _path2 + ".items[" + _index2 + "][2]",
238
+ expected: "number",
239
+ value: elem[2]
240
+ })
241
+ ].every((flag) => flag)) || $report(_exceptionable2, {
242
+ path: _path2 + ".items[" + _index2 + "]",
243
+ expected: "XYZCoord",
244
+ value: elem
245
+ })).every((flag) => flag) || $report(_exceptionable2, {
246
+ path: _path2 + ".items",
247
+ expected: "Array<XYZCoord>",
248
+ value: input3.items
249
+ })].every((flag) => flag);
250
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
251
+ path: _path + "",
252
+ expected: "HicGenomeResponse",
253
+ value: input2
254
+ })) && $vo0(input2, _path + "", true) || $report(true, {
255
+ path: _path + "",
256
+ expected: "HicGenomeResponse",
257
+ value: input2
258
+ });
259
+ })(input, "$input", true);
260
+ }
261
+ const success = 0 === errors.length;
262
+ return {
263
+ success,
264
+ errors,
265
+ data: success ? input : void 0
266
+ };
267
+ };
268
+
269
+ export {
270
+ hicGenomePayload,
271
+ validHicGenomeRequest,
272
+ validHicGenomeResponse
273
+ };
@@ -0,0 +1,159 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/termdb.singlecellDEgenes.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/termdb.singlecellDEgenes.ts
10
+ var termdbSingleCellDEgenesPayload = {
11
+ request: {
12
+ typeId: "TermdbSingleCellDEgenesRequest"
13
+ },
14
+ response: {
15
+ typeId: "TermdbSingleCellDEgenesResponse"
16
+ }
17
+ // examples: []
18
+ };
19
+
20
+ // dist/termdb.singlecellDEgenes.ts
21
+ var validTermdbSingleCellDEgenesRequest = (input) => {
22
+ const errors = [];
23
+ const __is = (input2) => {
24
+ return "object" === typeof input2 && null !== input2 && ("string" === typeof input2.genome && "string" === typeof input2.dslabel && "string" === typeof input2.sample && "string" === typeof input2.columnName && "string" === typeof input2.categoryName);
25
+ };
26
+ if (false === __is(input)) {
27
+ const $report = import_typia.createValidate.report(errors);
28
+ ((input2, _path, _exceptionable = true) => {
29
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
30
+ path: _path2 + ".genome",
31
+ expected: "string",
32
+ value: input3.genome
33
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
34
+ path: _path2 + ".dslabel",
35
+ expected: "string",
36
+ value: input3.dslabel
37
+ }), "string" === typeof input3.sample || $report(_exceptionable2, {
38
+ path: _path2 + ".sample",
39
+ expected: "string",
40
+ value: input3.sample
41
+ }), "string" === typeof input3.columnName || $report(_exceptionable2, {
42
+ path: _path2 + ".columnName",
43
+ expected: "string",
44
+ value: input3.columnName
45
+ }), "string" === typeof input3.categoryName || $report(_exceptionable2, {
46
+ path: _path2 + ".categoryName",
47
+ expected: "string",
48
+ value: input3.categoryName
49
+ })].every((flag) => flag);
50
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
51
+ path: _path + "",
52
+ expected: "TermdbSingleCellDEgenesRequest",
53
+ value: input2
54
+ })) && $vo0(input2, _path + "", true) || $report(true, {
55
+ path: _path + "",
56
+ expected: "TermdbSingleCellDEgenesRequest",
57
+ value: input2
58
+ });
59
+ })(input, "$input", true);
60
+ }
61
+ const success = 0 === errors.length;
62
+ return {
63
+ success,
64
+ errors,
65
+ data: success ? input : void 0
66
+ };
67
+ };
68
+ var validTermdbSingleCellDEgenesResponse = (input) => {
69
+ const errors = [];
70
+ const __is = (input2) => {
71
+ const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
72
+ const $io1 = (input3) => Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $io2(elem));
73
+ const $io2 = (input3) => "string" === typeof input3.name && "number" === typeof input3.p_val_adj && "number" === typeof input3.avg_log2FC;
74
+ const $iu0 = (input3) => (() => {
75
+ if (void 0 !== input3.status)
76
+ return $io0(input3);
77
+ if (void 0 !== input3.genes)
78
+ return $io1(input3);
79
+ return false;
80
+ })();
81
+ return "object" === typeof input2 && null !== input2 && $iu0(input2);
82
+ };
83
+ if (false === __is(input)) {
84
+ const $report = import_typia.createValidate.report(errors);
85
+ ((input2, _path, _exceptionable = true) => {
86
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.status || $report(_exceptionable2, {
87
+ path: _path2 + ".status",
88
+ expected: "number",
89
+ value: input3.status
90
+ }), "string" === typeof input3.error || $report(_exceptionable2, {
91
+ path: _path2 + ".error",
92
+ expected: "string",
93
+ value: input3.error
94
+ })].every((flag) => flag);
95
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.genes) || $report(_exceptionable2, {
96
+ path: _path2 + ".genes",
97
+ expected: "Array<__type>",
98
+ value: input3.genes
99
+ })) && input3.genes.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
100
+ path: _path2 + ".genes[" + _index1 + "]",
101
+ expected: "__type",
102
+ value: elem
103
+ })) && $vo2(elem, _path2 + ".genes[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
104
+ path: _path2 + ".genes[" + _index1 + "]",
105
+ expected: "__type",
106
+ value: elem
107
+ })).every((flag) => flag) || $report(_exceptionable2, {
108
+ path: _path2 + ".genes",
109
+ expected: "Array<__type>",
110
+ value: input3.genes
111
+ })].every((flag) => flag);
112
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
113
+ path: _path2 + ".name",
114
+ expected: "string",
115
+ value: input3.name
116
+ }), "number" === typeof input3.p_val_adj || $report(_exceptionable2, {
117
+ path: _path2 + ".p_val_adj",
118
+ expected: "number",
119
+ value: input3.p_val_adj
120
+ }), "number" === typeof input3.avg_log2FC || $report(_exceptionable2, {
121
+ path: _path2 + ".avg_log2FC",
122
+ expected: "number",
123
+ value: input3.avg_log2FC
124
+ })].every((flag) => flag);
125
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
126
+ if (void 0 !== input3.status)
127
+ return $vo0(input3, _path2, _exceptionable2);
128
+ if (void 0 !== input3.genes)
129
+ return $vo1(input3, _path2, _exceptionable2);
130
+ return $report(_exceptionable2, {
131
+ path: _path2,
132
+ expected: "(ErrorResponse | HasDataResponse)",
133
+ value: input3
134
+ });
135
+ })();
136
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
137
+ path: _path + "",
138
+ expected: "(ErrorResponse | HasDataResponse)",
139
+ value: input2
140
+ })) && $vu0(input2, _path + "", true) || $report(true, {
141
+ path: _path + "",
142
+ expected: "(ErrorResponse | HasDataResponse)",
143
+ value: input2
144
+ });
145
+ })(input, "$input", true);
146
+ }
147
+ const success = 0 === errors.length;
148
+ return {
149
+ success,
150
+ errors,
151
+ data: success ? input : void 0
152
+ };
153
+ };
154
+
155
+ export {
156
+ termdbSingleCellDEgenesPayload,
157
+ validTermdbSingleCellDEgenesRequest,
158
+ validTermdbSingleCellDEgenesResponse
159
+ };
@@ -0,0 +1,61 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/snp.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/snp.ts
10
+ var snpPayload = {
11
+ request: {
12
+ typeId: "SnpRequest"
13
+ },
14
+ response: {
15
+ typeId: "SnpResponse"
16
+ }
17
+ };
18
+
19
+ // dist/snp.ts
20
+ var validSnpRequest = (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 validSnpResponse = (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
+ snpPayload,
59
+ validSnpRequest,
60
+ validSnpResponse
61
+ };
@@ -0,0 +1,117 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.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
+ return "object" === typeof input2 && null !== input2 && ("string" === typeof input2.genome && "string" === typeof input2.dslabel && "string" === typeof input2.sampleId && "string" === typeof input2.wsimage);
25
+ };
26
+ if (false === __is(input)) {
27
+ const $report = import_typia.createValidate.report(errors);
28
+ ((input2, _path, _exceptionable = true) => {
29
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
30
+ path: _path2 + ".genome",
31
+ expected: "string",
32
+ value: input3.genome
33
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
34
+ path: _path2 + ".dslabel",
35
+ expected: "string",
36
+ value: input3.dslabel
37
+ }), "string" === typeof input3.sampleId || $report(_exceptionable2, {
38
+ path: _path2 + ".sampleId",
39
+ expected: "string",
40
+ value: input3.sampleId
41
+ }), "string" === typeof input3.wsimage || $report(_exceptionable2, {
42
+ path: _path2 + ".wsimage",
43
+ expected: "string",
44
+ value: input3.wsimage
45
+ })].every((flag) => flag);
46
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
47
+ path: _path + "",
48
+ expected: "WSImagesRequest",
49
+ value: input2
50
+ })) && $vo0(input2, _path + "", true) || $report(true, {
51
+ path: _path + "",
52
+ expected: "WSImagesRequest",
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 validWSImagesResponse = (input) => {
65
+ const errors = [];
66
+ const __is = (input2) => {
67
+ const $io0 = (input3) => (void 0 === input3.sessionId || "string" === typeof input3.sessionId) && (Array.isArray(input3.slide_dimensions) && input3.slide_dimensions.every((elem) => "number" === typeof elem)) && "string" === typeof input3.status;
68
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
69
+ };
70
+ if (false === __is(input)) {
71
+ const $report = import_typia.createValidate.report(errors);
72
+ ((input2, _path, _exceptionable = true) => {
73
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.sessionId || "string" === typeof input3.sessionId || $report(_exceptionable2, {
74
+ path: _path2 + ".sessionId",
75
+ expected: "(string | undefined)",
76
+ value: input3.sessionId
77
+ }), (Array.isArray(input3.slide_dimensions) || $report(_exceptionable2, {
78
+ path: _path2 + ".slide_dimensions",
79
+ expected: "Array<number>",
80
+ value: input3.slide_dimensions
81
+ })) && input3.slide_dimensions.map((elem, _index1) => "number" === typeof elem || $report(_exceptionable2, {
82
+ path: _path2 + ".slide_dimensions[" + _index1 + "]",
83
+ expected: "number",
84
+ value: elem
85
+ })).every((flag) => flag) || $report(_exceptionable2, {
86
+ path: _path2 + ".slide_dimensions",
87
+ expected: "Array<number>",
88
+ value: input3.slide_dimensions
89
+ }), "string" === typeof input3.status || $report(_exceptionable2, {
90
+ path: _path2 + ".status",
91
+ expected: "string",
92
+ value: input3.status
93
+ })].every((flag) => flag);
94
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
95
+ path: _path + "",
96
+ expected: "WSImagesResponse",
97
+ value: input2
98
+ })) && $vo0(input2, _path + "", true) || $report(true, {
99
+ path: _path + "",
100
+ expected: "WSImagesResponse",
101
+ value: input2
102
+ });
103
+ })(input, "$input", true);
104
+ }
105
+ const success = 0 === errors.length;
106
+ return {
107
+ success,
108
+ errors,
109
+ data: success ? input : void 0
110
+ };
111
+ };
112
+
113
+ export {
114
+ wsImagesPayload,
115
+ validWSImagesRequest,
116
+ validWSImagesResponse
117
+ };