@sjcrh/proteinpaint-types 2.189.0 → 2.190.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 (245) hide show
  1. package/README.md +8 -20
  2. package/dist/index.js +422 -553
  3. package/dist/index.js.map +7 -0
  4. package/package.json +13 -25
  5. package/dist/aiProjectAdmin.js +0 -11
  6. package/dist/aiProjectSelectedWSImages.js +0 -11
  7. package/dist/aiProjectTrainModel.js +0 -11
  8. package/dist/alphaGenome.js +0 -11
  9. package/dist/alphaGenomeTypes.js +0 -11
  10. package/dist/brainImaging.js +0 -11
  11. package/dist/brainImagingSamples.js +0 -11
  12. package/dist/burden.js +0 -11
  13. package/dist/chunk-2744ACBX.js +0 -126
  14. package/dist/chunk-2BCLGYAG.js +0 -96
  15. package/dist/chunk-2C4X5B6N.js +0 -62
  16. package/dist/chunk-2VJRTZE2.js +0 -287
  17. package/dist/chunk-2X36CBQF.js +0 -158
  18. package/dist/chunk-46YIGVUP.js +0 -908
  19. package/dist/chunk-4EAGOSMN.js +0 -128
  20. package/dist/chunk-5H2LJKPX.js +0 -104
  21. package/dist/chunk-5L4VF3ZL.js +0 -266
  22. package/dist/chunk-5N7V62ZL.js +0 -231
  23. package/dist/chunk-62XTWOVJ.js +0 -273
  24. package/dist/chunk-6GKG55BT.js +0 -232
  25. package/dist/chunk-7MUISZHS.js +0 -61
  26. package/dist/chunk-7OA6G77M.js +0 -113
  27. package/dist/chunk-BCBSHTHS.js +0 -75
  28. package/dist/chunk-CQXBQY2H.js +0 -161
  29. package/dist/chunk-CWACV4MW.js +0 -305
  30. package/dist/chunk-D7AKQKDG.js +0 -238
  31. package/dist/chunk-DDKGTDDB.js +0 -6739
  32. package/dist/chunk-DI4Q26E7.js +0 -16
  33. package/dist/chunk-EIJT53QB.js +0 -240
  34. package/dist/chunk-EOKM345J.js +0 -222
  35. package/dist/chunk-FK7OCBPT.js +0 -341
  36. package/dist/chunk-FMC4G5BP.js +0 -62
  37. package/dist/chunk-GCJESMM2.js +0 -354
  38. package/dist/chunk-GTS2G4R4.js +0 -62
  39. package/dist/chunk-HD3J5BKM.js +0 -409
  40. package/dist/chunk-HQV2A7JV.js +0 -62
  41. package/dist/chunk-IS74WYQF.js +0 -207
  42. package/dist/chunk-JEQGBUK2.js +0 -5993
  43. package/dist/chunk-K4FSDTDW.js +0 -109
  44. package/dist/chunk-KCMPDEH7.js +0 -62
  45. package/dist/chunk-KXYFG2HO.js +0 -307
  46. package/dist/chunk-LC6KLHCJ.js +0 -8903
  47. package/dist/chunk-LQYSPLDQ.js +0 -3613
  48. package/dist/chunk-LRVF7U64.js +0 -62
  49. package/dist/chunk-MHDQO7R5.js +0 -195
  50. package/dist/chunk-MKYLCBTP.js +0 -5475
  51. package/dist/chunk-MNT3GF7M.js +0 -3628
  52. package/dist/chunk-MVB7LQS5.js +0 -3986
  53. package/dist/chunk-P25WDNMD.js +0 -171
  54. package/dist/chunk-P3WBZJFF.js +0 -158
  55. package/dist/chunk-PTE2I7DF.js +0 -91
  56. package/dist/chunk-Q3HGHP3J.js +0 -174
  57. package/dist/chunk-RPX4TVMD.js +0 -14
  58. package/dist/chunk-RXJNXOZC.js +0 -326
  59. package/dist/chunk-SDZIGJY3.js +0 -5931
  60. package/dist/chunk-SLXGWQZ4.js +0 -458
  61. package/dist/chunk-SZZXZZKO.js +0 -3991
  62. package/dist/chunk-TD4YLTHL.js +0 -158
  63. package/dist/chunk-TEXOICIS.js +0 -11810
  64. package/dist/chunk-THQOFV2K.js +0 -205
  65. package/dist/chunk-TLZ5ROOU.js +0 -347
  66. package/dist/chunk-TQQWSHFM.js +0 -5980
  67. package/dist/chunk-U3BTVE5T.js +0 -111
  68. package/dist/chunk-UBOVHONH.js +0 -62
  69. package/dist/chunk-UDTEGP3G.js +0 -365
  70. package/dist/chunk-UYJA4UM7.js +0 -97
  71. package/dist/chunk-V3JDD3ZG.js +0 -3671
  72. package/dist/chunk-VUKRI3TG.js +0 -164
  73. package/dist/chunk-W3F3CLYP.js +0 -61
  74. package/dist/chunk-X4JBWMXY.js +0 -130
  75. package/dist/chunk-X5E72ZXA.js +0 -5979
  76. package/dist/chunk-YNHC5SXO.js +0 -1780
  77. package/dist/chunk-YPEFUAJW.js +0 -62
  78. package/dist/chunk-YSTMGNYR.js +0 -113
  79. package/dist/chunk-Z3IYM5OK.js +0 -296
  80. package/dist/chunk-ZCV62ELK.js +0 -96
  81. package/dist/chunk-ZIOJDN75.js +0 -197
  82. package/dist/chunk-ZMDZYG5B.js +0 -4224
  83. package/dist/clearwsisession.js +0 -78
  84. package/dist/clearwsisessions.js +0 -13
  85. package/dist/correlationVolcano.js +0 -11
  86. package/dist/dataset.js +0 -11
  87. package/dist/deleteWSITileSelection.js +0 -11
  88. package/dist/dsdata.js +0 -11
  89. package/dist/dzimages.js +0 -11
  90. package/dist/gdc.grin2.js +0 -17
  91. package/dist/gdc.maf.js +0 -11
  92. package/dist/gdc.mafBuild.js +0 -11
  93. package/dist/genelookup.js +0 -11
  94. package/dist/genesetEnrichment.js +0 -11
  95. package/dist/genesetOverrepresentation.js +0 -11
  96. package/dist/grin2.js +0 -11
  97. package/dist/healthcheck.js +0 -11
  98. package/dist/hicdata.js +0 -11
  99. package/dist/hicgenome.js +0 -11
  100. package/dist/hicstat.js +0 -11
  101. package/dist/img.js +0 -11
  102. package/dist/isoformlst.js +0 -11
  103. package/dist/ntseq.js +0 -11
  104. package/dist/pdomain.js +0 -11
  105. package/dist/samplewsimages.js +0 -13
  106. package/dist/saveWSIAnnotation.js +0 -11
  107. package/dist/snp.js +0 -11
  108. package/dist/termdb.DE.js +0 -11
  109. package/dist/termdb.categories.js +0 -11
  110. package/dist/termdb.chat.js +0 -3631
  111. package/dist/termdb.chat2.js +0 -15
  112. package/dist/termdb.cluster.js +0 -11
  113. package/dist/termdb.cohort.summary.js +0 -11
  114. package/dist/termdb.cohorts.js +0 -11
  115. package/dist/termdb.dapVolcano.js +0 -11
  116. package/dist/termdb.descrstats.js +0 -11
  117. package/dist/termdb.diffMeth.js +0 -11
  118. package/dist/termdb.dmr.js +0 -11
  119. package/dist/termdb.filterTermValues.js +0 -11
  120. package/dist/termdb.isoformAvailability.js +0 -11
  121. package/dist/termdb.numericcategories.js +0 -11
  122. package/dist/termdb.percentile.js +0 -11
  123. package/dist/termdb.profileFormScores.js +0 -11
  124. package/dist/termdb.profileForms2Scores.js +0 -11
  125. package/dist/termdb.profileScores.js +0 -11
  126. package/dist/termdb.proteome.js +0 -11
  127. package/dist/termdb.rootterm.js +0 -11
  128. package/dist/termdb.runChart.js +0 -13
  129. package/dist/termdb.sampleImages.js +0 -11
  130. package/dist/termdb.sampleScatter.js +0 -11
  131. package/dist/termdb.singleSampleMutation.js +0 -11
  132. package/dist/termdb.singlecellDEgenes.js +0 -11
  133. package/dist/termdb.singlecellData.js +0 -11
  134. package/dist/termdb.singlecellSamples.js +0 -11
  135. package/dist/termdb.termchildren.js +0 -11
  136. package/dist/termdb.termsbyids.js +0 -11
  137. package/dist/termdb.topMutatedGenes.js +0 -11
  138. package/dist/termdb.topTermsByType.js +0 -11
  139. package/dist/termdb.topVariablyExpressedGenes.js +0 -11
  140. package/dist/termdb.violinBox.js +0 -17
  141. package/dist/tileserver.js +0 -11
  142. package/dist/wsimages.js +0 -11
  143. package/dist/wsisamples.js +0 -11
  144. package/src/Mclass.ts +0 -8
  145. package/src/dataset.ts +0 -2188
  146. package/src/docs.json +0 -16417
  147. package/src/fileOrUrl.ts +0 -15
  148. package/src/filter.ts +0 -110
  149. package/src/genome.ts +0 -129
  150. package/src/index.ts +0 -94
  151. package/src/routes/aiProjectAdmin.ts +0 -37
  152. package/src/routes/aiProjectSelectedWSImages.ts +0 -47
  153. package/src/routes/aiProjectTrainModel.ts +0 -20
  154. package/src/routes/alphaGenome.ts +0 -27
  155. package/src/routes/alphaGenomeTypes.ts +0 -21
  156. package/src/routes/brainImaging.ts +0 -47
  157. package/src/routes/brainImagingSamples.ts +0 -25
  158. package/src/routes/burden.ts +0 -113
  159. package/src/routes/clearwsisessions.ts +0 -19
  160. package/src/routes/correlationVolcano.ts +0 -51
  161. package/src/routes/dataset.ts +0 -14
  162. package/src/routes/deleteWSITileSelection.ts +0 -25
  163. package/src/routes/dsdata.ts +0 -14
  164. package/src/routes/dzimages.ts +0 -25
  165. package/src/routes/errorResponse.ts +0 -6
  166. package/src/routes/filter.gdc.ts +0 -15
  167. package/src/routes/gdc.grin2.ts +0 -246
  168. package/src/routes/gdc.maf.ts +0 -52
  169. package/src/routes/gdc.mafBuild.ts +0 -20
  170. package/src/routes/genelookup.ts +0 -22
  171. package/src/routes/genesetEnrichment.ts +0 -116
  172. package/src/routes/genesetOverrepresentation.ts +0 -48
  173. package/src/routes/grin2.ts +0 -173
  174. package/src/routes/healthcheck.ts +0 -80
  175. package/src/routes/hicdata.ts +0 -48
  176. package/src/routes/hicgenome.ts +0 -50
  177. package/src/routes/hicstat.ts +0 -57
  178. package/src/routes/img.ts +0 -23
  179. package/src/routes/isoformlst.ts +0 -14
  180. package/src/routes/ntseq.ts +0 -14
  181. package/src/routes/pdomain.ts +0 -14
  182. package/src/routes/routeApi.ts +0 -47
  183. package/src/routes/samplewsimages.ts +0 -44
  184. package/src/routes/saveWSIAnnotation.ts +0 -25
  185. package/src/routes/snp.ts +0 -13
  186. package/src/routes/termdb.DE.ts +0 -226
  187. package/src/routes/termdb.categories.ts +0 -74
  188. package/src/routes/termdb.chat2.ts +0 -190
  189. package/src/routes/termdb.cluster.ts +0 -134
  190. package/src/routes/termdb.cohort.summary.ts +0 -14
  191. package/src/routes/termdb.cohorts.ts +0 -14
  192. package/src/routes/termdb.dapVolcano.ts +0 -35
  193. package/src/routes/termdb.descrstats.ts +0 -75
  194. package/src/routes/termdb.diffMeth.ts +0 -63
  195. package/src/routes/termdb.dmr.ts +0 -121
  196. package/src/routes/termdb.filterTermValues.ts +0 -23
  197. package/src/routes/termdb.isoformAvailability.ts +0 -22
  198. package/src/routes/termdb.numericcategories.ts +0 -32
  199. package/src/routes/termdb.percentile.ts +0 -67
  200. package/src/routes/termdb.profileFormScores.ts +0 -26
  201. package/src/routes/termdb.profileForms2Scores.ts +0 -25
  202. package/src/routes/termdb.profileScores.ts +0 -27
  203. package/src/routes/termdb.proteome.ts +0 -13
  204. package/src/routes/termdb.rootterm.ts +0 -49
  205. package/src/routes/termdb.runChart.ts +0 -66
  206. package/src/routes/termdb.sampleImages.ts +0 -26
  207. package/src/routes/termdb.sampleScatter.ts +0 -60
  208. package/src/routes/termdb.singleSampleMutation.ts +0 -51
  209. package/src/routes/termdb.singlecellDEgenes.ts +0 -50
  210. package/src/routes/termdb.singlecellData.ts +0 -75
  211. package/src/routes/termdb.singlecellSamples.ts +0 -50
  212. package/src/routes/termdb.termchildren.ts +0 -49
  213. package/src/routes/termdb.termsbyids.ts +0 -26
  214. package/src/routes/termdb.topMutatedGenes.ts +0 -51
  215. package/src/routes/termdb.topTermsByType.ts +0 -32
  216. package/src/routes/termdb.topVariablyExpressedGenes.ts +0 -54
  217. package/src/routes/termdb.violinBox.ts +0 -230
  218. package/src/routes/tileserver.ts +0 -14
  219. package/src/routes/wsimages.ts +0 -34
  220. package/src/routes/wsisamples.ts +0 -25
  221. package/src/termdb.matrix.ts +0 -57
  222. package/src/terms/categorical.ts +0 -18
  223. package/src/terms/condition.ts +0 -73
  224. package/src/terms/date.ts +0 -20
  225. package/src/terms/dnaMethylation.ts +0 -28
  226. package/src/terms/geneExpression.ts +0 -38
  227. package/src/terms/geneVariant.ts +0 -132
  228. package/src/terms/isoformExpression.ts +0 -36
  229. package/src/terms/metaboliteIntensity.ts +0 -30
  230. package/src/terms/numeric.ts +0 -278
  231. package/src/terms/proteomeAbundance.ts +0 -38
  232. package/src/terms/q.ts +0 -105
  233. package/src/terms/qualitative.ts +0 -73
  234. package/src/terms/samplelst.ts +0 -34
  235. package/src/terms/singleCellCellType.ts +0 -18
  236. package/src/terms/singleCellGeneExpression.ts +0 -32
  237. package/src/terms/snp.ts +0 -24
  238. package/src/terms/snps.ts +0 -111
  239. package/src/terms/ssGSEA.ts +0 -26
  240. package/src/terms/term.ts +0 -60
  241. package/src/terms/termCollection.ts +0 -139
  242. package/src/terms/tw.ts +0 -64
  243. package/src/termsetting.ts +0 -201
  244. package/src/test/numeric.type.spec.ts +0 -275
  245. package/src/vocab.ts +0 -37
@@ -1,231 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/termdb.profileForms2Scores.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/termdb.profileForms2Scores.ts
10
- var ProfileForms2ScoresPayload = {
11
- request: {
12
- typeId: "ProfileForms2ScoresRequest"
13
- },
14
- response: {
15
- typeId: "ProfileForms2ScoresResponse"
16
- }
17
- };
18
-
19
- // dist/termdb.profileForms2Scores.ts
20
- var validProfileForms2ScoresRequest = (input) => {
21
- const errors = [];
22
- const __is = (input2) => {
23
- const $io0 = (input3) => Array.isArray(input3.scoreTerms) && input3.scoreTerms.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)) && (void 0 === input3.scScoreTerms || Array.isArray(input3.scScoreTerms) && input3.scScoreTerms.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && true && (void 0 === input3.filterByUserSites || "boolean" === typeof input3.filterByUserSites);
24
- const $io1 = (input3) => "object" === typeof input3.term && null !== input3.term && "string" === typeof input3.term.id && true;
25
- const $io3 = (input3) => "object" === typeof input3.term && null !== input3.term && "string" === typeof input3.term.id && true;
26
- return "object" === typeof input2 && null !== input2 && $io0(input2);
27
- };
28
- if (false === __is(input)) {
29
- const $report = import_typia.createValidate.report(errors);
30
- ((input2, _path, _exceptionable = true) => {
31
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.scoreTerms) || $report(_exceptionable2, {
32
- path: _path2 + ".scoreTerms",
33
- expected: "Array<__type>",
34
- value: input3.scoreTerms
35
- })) && input3.scoreTerms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
36
- path: _path2 + ".scoreTerms[" + _index1 + "]",
37
- expected: "__type",
38
- value: elem
39
- })) && $vo1(elem, _path2 + ".scoreTerms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
40
- path: _path2 + ".scoreTerms[" + _index1 + "]",
41
- expected: "__type",
42
- value: elem
43
- })).every((flag) => flag) || $report(_exceptionable2, {
44
- path: _path2 + ".scoreTerms",
45
- expected: "Array<__type>",
46
- value: input3.scoreTerms
47
- }), void 0 === input3.scScoreTerms || (Array.isArray(input3.scScoreTerms) || $report(_exceptionable2, {
48
- path: _path2 + ".scScoreTerms",
49
- expected: "(Array<__type>.o1 | undefined)",
50
- value: input3.scScoreTerms
51
- })) && input3.scScoreTerms.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
52
- path: _path2 + ".scScoreTerms[" + _index2 + "]",
53
- expected: "__type.o2",
54
- value: elem
55
- })) && $vo3(elem, _path2 + ".scScoreTerms[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
56
- path: _path2 + ".scScoreTerms[" + _index2 + "]",
57
- expected: "__type.o2",
58
- value: elem
59
- })).every((flag) => flag) || $report(_exceptionable2, {
60
- path: _path2 + ".scScoreTerms",
61
- expected: "(Array<__type>.o1 | undefined)",
62
- value: input3.scScoreTerms
63
- }), true, void 0 === input3.filterByUserSites || "boolean" === typeof input3.filterByUserSites || $report(_exceptionable2, {
64
- path: _path2 + ".filterByUserSites",
65
- expected: "(boolean | undefined)",
66
- value: input3.filterByUserSites
67
- })].every((flag) => flag);
68
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
69
- path: _path2 + ".term",
70
- expected: "__type.o1",
71
- value: input3.term
72
- })) && $vo2(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
73
- path: _path2 + ".term",
74
- expected: "__type.o1",
75
- value: input3.term
76
- }), true].every((flag) => flag);
77
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
78
- path: _path2 + ".id",
79
- expected: "string",
80
- value: input3.id
81
- })].every((flag) => flag);
82
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
83
- path: _path2 + ".term",
84
- expected: "__type.o3",
85
- value: input3.term
86
- })) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
87
- path: _path2 + ".term",
88
- expected: "__type.o3",
89
- value: input3.term
90
- }), true].every((flag) => flag);
91
- const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
92
- path: _path2 + ".id",
93
- expected: "string",
94
- value: input3.id
95
- })].every((flag) => flag);
96
- return ("object" === typeof input2 && null !== input2 || $report(true, {
97
- path: _path + "",
98
- expected: "ProfileForms2ScoresRequest",
99
- value: input2
100
- })) && $vo0(input2, _path + "", true) || $report(true, {
101
- path: _path + "",
102
- expected: "ProfileForms2ScoresRequest",
103
- value: input2
104
- });
105
- })(input, "$input", true);
106
- }
107
- const success = 0 === errors.length;
108
- return {
109
- success,
110
- errors,
111
- data: success ? input : void 0
112
- };
113
- };
114
- var validProfileForms2ScoresResponse = (input) => {
115
- const errors = [];
116
- const __is = (input2) => {
117
- const $join = import_typia.createValidate.join;
118
- const $io0 = (input3) => "object" === typeof input3.term2Score && null !== input3.term2Score && false === Array.isArray(input3.term2Score) && $io1(input3.term2Score) && (Array.isArray(input3.sites) && input3.sites.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && "number" === typeof input3.n;
119
- const $io1 = (input3) => Object.keys(input3).every((key) => {
120
- const value = input3[key];
121
- if (void 0 === value)
122
- return true;
123
- if (RegExp(/(.*)/).test(key))
124
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
125
- return true;
126
- });
127
- const $io2 = (input3) => Object.keys(input3).every((key) => {
128
- const value = input3[key];
129
- if (void 0 === value)
130
- return true;
131
- if (RegExp(/(.*)/).test(key))
132
- return "number" === typeof value;
133
- return true;
134
- });
135
- const $io3 = (input3) => "string" === typeof input3.label && "string" === typeof input3.value;
136
- return "object" === typeof input2 && null !== input2 && $io0(input2);
137
- };
138
- if (false === __is(input)) {
139
- const $report = import_typia.createValidate.report(errors);
140
- ((input2, _path, _exceptionable = true) => {
141
- const $join = import_typia.createValidate.join;
142
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term2Score && null !== input3.term2Score && false === Array.isArray(input3.term2Score) || $report(_exceptionable2, {
143
- path: _path2 + ".term2Score",
144
- expected: "__type",
145
- value: input3.term2Score
146
- })) && $vo1(input3.term2Score, _path2 + ".term2Score", _exceptionable2) || $report(_exceptionable2, {
147
- path: _path2 + ".term2Score",
148
- expected: "__type",
149
- value: input3.term2Score
150
- }), (Array.isArray(input3.sites) || $report(_exceptionable2, {
151
- path: _path2 + ".sites",
152
- expected: "Array<__type>",
153
- value: input3.sites
154
- })) && input3.sites.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
155
- path: _path2 + ".sites[" + _index1 + "]",
156
- expected: "__type.o2",
157
- value: elem
158
- })) && $vo3(elem, _path2 + ".sites[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
159
- path: _path2 + ".sites[" + _index1 + "]",
160
- expected: "__type.o2",
161
- value: elem
162
- })).every((flag) => flag) || $report(_exceptionable2, {
163
- path: _path2 + ".sites",
164
- expected: "Array<__type>",
165
- value: input3.sites
166
- }), "number" === typeof input3.n || $report(_exceptionable2, {
167
- path: _path2 + ".n",
168
- expected: "number",
169
- value: input3.n
170
- })].every((flag) => flag);
171
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
172
- const value = input3[key];
173
- if (void 0 === value)
174
- return true;
175
- if (RegExp(/(.*)/).test(key))
176
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
177
- path: _path2 + $join(key),
178
- expected: "__type.o1",
179
- value
180
- })) && $vo2(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
181
- path: _path2 + $join(key),
182
- expected: "__type.o1",
183
- value
184
- });
185
- return true;
186
- }).every((flag) => flag)].every((flag) => flag);
187
- const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
188
- const value = input3[key];
189
- if (void 0 === value)
190
- return true;
191
- if (RegExp(/(.*)/).test(key))
192
- return "number" === typeof value || $report(_exceptionable2, {
193
- path: _path2 + $join(key),
194
- expected: "number",
195
- value
196
- });
197
- return true;
198
- }).every((flag) => flag)].every((flag) => flag);
199
- const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.label || $report(_exceptionable2, {
200
- path: _path2 + ".label",
201
- expected: "string",
202
- value: input3.label
203
- }), "string" === typeof input3.value || $report(_exceptionable2, {
204
- path: _path2 + ".value",
205
- expected: "string",
206
- value: input3.value
207
- })].every((flag) => flag);
208
- return ("object" === typeof input2 && null !== input2 || $report(true, {
209
- path: _path + "",
210
- expected: "ProfileForms2ScoresResponse",
211
- value: input2
212
- })) && $vo0(input2, _path + "", true) || $report(true, {
213
- path: _path + "",
214
- expected: "ProfileForms2ScoresResponse",
215
- value: input2
216
- });
217
- })(input, "$input", true);
218
- }
219
- const success = 0 === errors.length;
220
- return {
221
- success,
222
- errors,
223
- data: success ? input : void 0
224
- };
225
- };
226
-
227
- export {
228
- ProfileForms2ScoresPayload,
229
- validProfileForms2ScoresRequest,
230
- validProfileForms2ScoresResponse
231
- };
@@ -1,273 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.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
- };