@sjcrh/proteinpaint-types 2.85.0 → 2.87.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 (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 +19 -14
  91. package/src/Mclass.ts +8 -0
  92. package/src/dataset.ts +1578 -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 -28847
  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,174 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/termdb.rootterm.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/termdb.rootterm.ts
10
+ var rootTermPayload = {
11
+ request: {
12
+ typeId: "RootTermRequest"
13
+ },
14
+ response: {
15
+ typeId: "RootTermResponse"
16
+ },
17
+ examples: [
18
+ {
19
+ request: {
20
+ body: {
21
+ genome: "hg38-test",
22
+ dslabel: "TermdbTest",
23
+ embedder: "localhost",
24
+ default_rootterm: 1,
25
+ cohortValues: "ABC"
26
+ }
27
+ },
28
+ response: {
29
+ header: { status: 200 }
30
+ }
31
+ }
32
+ ]
33
+ };
34
+
35
+ // dist/termdb.rootterm.ts
36
+ var validRootTermRequest = (input) => {
37
+ const errors = [];
38
+ const __is = (input2) => {
39
+ return "object" === typeof input2 && null !== input2 && ("string" === typeof input2.genome && "string" === typeof input2.dslabel && "string" === typeof input2.embedder && "number" === typeof input2.default_rootterm && "string" === typeof input2.cohortValues && "string" === typeof input2.treeFilter);
40
+ };
41
+ if (false === __is(input)) {
42
+ const $report = import_typia.createValidate.report(errors);
43
+ ((input2, _path, _exceptionable = true) => {
44
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
45
+ path: _path2 + ".genome",
46
+ expected: "string",
47
+ value: input3.genome
48
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
49
+ path: _path2 + ".dslabel",
50
+ expected: "string",
51
+ value: input3.dslabel
52
+ }), "string" === typeof input3.embedder || $report(_exceptionable2, {
53
+ path: _path2 + ".embedder",
54
+ expected: "string",
55
+ value: input3.embedder
56
+ }), "number" === typeof input3.default_rootterm || $report(_exceptionable2, {
57
+ path: _path2 + ".default_rootterm",
58
+ expected: "number",
59
+ value: input3.default_rootterm
60
+ }), "string" === typeof input3.cohortValues || $report(_exceptionable2, {
61
+ path: _path2 + ".cohortValues",
62
+ expected: "string",
63
+ value: input3.cohortValues
64
+ }), "string" === typeof input3.treeFilter || $report(_exceptionable2, {
65
+ path: _path2 + ".treeFilter",
66
+ expected: "string",
67
+ value: input3.treeFilter
68
+ })].every((flag) => flag);
69
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
70
+ path: _path + "",
71
+ expected: "RootTermRequest",
72
+ value: input2
73
+ })) && $vo0(input2, _path + "", true) || $report(true, {
74
+ path: _path + "",
75
+ expected: "RootTermRequest",
76
+ value: input2
77
+ });
78
+ })(input, "$input", true);
79
+ }
80
+ const success = 0 === errors.length;
81
+ return {
82
+ success,
83
+ errors,
84
+ data: success ? input : void 0
85
+ };
86
+ };
87
+ var validRootTermResponse = (input) => {
88
+ const errors = [];
89
+ const __is = (input2) => {
90
+ const $io0 = (input3) => Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
91
+ const $io1 = (input3) => "string" === typeof input3.name && "string" === typeof input3.id && "boolean" === typeof input3.isleaf && (Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem));
92
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
93
+ };
94
+ if (false === __is(input)) {
95
+ const $report = import_typia.createValidate.report(errors);
96
+ ((input2, _path, _exceptionable = true) => {
97
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.lst) || $report(_exceptionable2, {
98
+ path: _path2 + ".lst",
99
+ expected: "Array<Entries>",
100
+ value: input3.lst
101
+ })) && input3.lst.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
102
+ path: _path2 + ".lst[" + _index1 + "]",
103
+ expected: "Entries",
104
+ value: elem
105
+ })) && $vo1(elem, _path2 + ".lst[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
106
+ path: _path2 + ".lst[" + _index1 + "]",
107
+ expected: "Entries",
108
+ value: elem
109
+ })).every((flag) => flag) || $report(_exceptionable2, {
110
+ path: _path2 + ".lst",
111
+ expected: "Array<Entries>",
112
+ value: input3.lst
113
+ })].every((flag) => flag);
114
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
115
+ path: _path2 + ".name",
116
+ expected: "string",
117
+ value: input3.name
118
+ }), "string" === typeof input3.id || $report(_exceptionable2, {
119
+ path: _path2 + ".id",
120
+ expected: "string",
121
+ value: input3.id
122
+ }), "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
123
+ path: _path2 + ".isleaf",
124
+ expected: "boolean",
125
+ value: input3.isleaf
126
+ }), (Array.isArray(input3.included_types) || $report(_exceptionable2, {
127
+ path: _path2 + ".included_types",
128
+ expected: "Array<string>",
129
+ value: input3.included_types
130
+ })) && input3.included_types.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable2, {
131
+ path: _path2 + ".included_types[" + _index2 + "]",
132
+ expected: "string",
133
+ value: elem
134
+ })).every((flag) => flag) || $report(_exceptionable2, {
135
+ path: _path2 + ".included_types",
136
+ expected: "Array<string>",
137
+ value: input3.included_types
138
+ }), (Array.isArray(input3.child_types) || $report(_exceptionable2, {
139
+ path: _path2 + ".child_types",
140
+ expected: "Array<string>",
141
+ value: input3.child_types
142
+ })) && input3.child_types.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable2, {
143
+ path: _path2 + ".child_types[" + _index3 + "]",
144
+ expected: "string",
145
+ value: elem
146
+ })).every((flag) => flag) || $report(_exceptionable2, {
147
+ path: _path2 + ".child_types",
148
+ expected: "Array<string>",
149
+ value: input3.child_types
150
+ })].every((flag) => flag);
151
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
152
+ path: _path + "",
153
+ expected: "RootTermResponse",
154
+ value: input2
155
+ })) && $vo0(input2, _path + "", true) || $report(true, {
156
+ path: _path + "",
157
+ expected: "RootTermResponse",
158
+ value: input2
159
+ });
160
+ })(input, "$input", true);
161
+ }
162
+ const success = 0 === errors.length;
163
+ return {
164
+ success,
165
+ errors,
166
+ data: success ? input : void 0
167
+ };
168
+ };
169
+
170
+ export {
171
+ rootTermPayload,
172
+ validRootTermRequest,
173
+ validRootTermResponse
174
+ };
@@ -0,0 +1,126 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/genesetEnrichment.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/genesetEnrichment.ts
10
+ var genesetEnrichmentPayload = {
11
+ request: {
12
+ typeId: "GenesetEnrichmentRequest"
13
+ },
14
+ response: {
15
+ typeId: "GenesetEnrichmentResponse"
16
+ }
17
+ //examples: []
18
+ };
19
+
20
+ // dist/genesetEnrichment.ts
21
+ var validGenesetEnrichmentRequest = (input) => {
22
+ const errors = [];
23
+ const __is = (input2) => {
24
+ const $io0 = (input3) => Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem) && (Array.isArray(input3.fold_change) && input3.fold_change.every((elem) => "number" === typeof elem)) && "boolean" === typeof input3.filter_non_coding_genes && "string" === typeof input3.genome && "string" === typeof input3.geneSetGroup && (void 0 === input3.geneset_name || "string" === typeof input3.geneset_name) && (void 0 === input3.pickle_file || "string" === typeof input3.pickle_file);
25
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
26
+ };
27
+ if (false === __is(input)) {
28
+ const $report = import_typia.createValidate.report(errors);
29
+ ((input2, _path, _exceptionable = true) => {
30
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.genes) || $report(_exceptionable2, {
31
+ path: _path2 + ".genes",
32
+ expected: "Array<string>",
33
+ value: input3.genes
34
+ })) && input3.genes.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
35
+ path: _path2 + ".genes[" + _index1 + "]",
36
+ expected: "string",
37
+ value: elem
38
+ })).every((flag) => flag) || $report(_exceptionable2, {
39
+ path: _path2 + ".genes",
40
+ expected: "Array<string>",
41
+ value: input3.genes
42
+ }), (Array.isArray(input3.fold_change) || $report(_exceptionable2, {
43
+ path: _path2 + ".fold_change",
44
+ expected: "Array<number>",
45
+ value: input3.fold_change
46
+ })) && input3.fold_change.map((elem, _index2) => "number" === typeof elem || $report(_exceptionable2, {
47
+ path: _path2 + ".fold_change[" + _index2 + "]",
48
+ expected: "number",
49
+ value: elem
50
+ })).every((flag) => flag) || $report(_exceptionable2, {
51
+ path: _path2 + ".fold_change",
52
+ expected: "Array<number>",
53
+ value: input3.fold_change
54
+ }), "boolean" === typeof input3.filter_non_coding_genes || $report(_exceptionable2, {
55
+ path: _path2 + ".filter_non_coding_genes",
56
+ expected: "boolean",
57
+ value: input3.filter_non_coding_genes
58
+ }), "string" === typeof input3.genome || $report(_exceptionable2, {
59
+ path: _path2 + ".genome",
60
+ expected: "string",
61
+ value: input3.genome
62
+ }), "string" === typeof input3.geneSetGroup || $report(_exceptionable2, {
63
+ path: _path2 + ".geneSetGroup",
64
+ expected: "string",
65
+ value: input3.geneSetGroup
66
+ }), void 0 === input3.geneset_name || "string" === typeof input3.geneset_name || $report(_exceptionable2, {
67
+ path: _path2 + ".geneset_name",
68
+ expected: "(string | undefined)",
69
+ value: input3.geneset_name
70
+ }), void 0 === input3.pickle_file || "string" === typeof input3.pickle_file || $report(_exceptionable2, {
71
+ path: _path2 + ".pickle_file",
72
+ expected: "(string | undefined)",
73
+ value: input3.pickle_file
74
+ })].every((flag) => flag);
75
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
76
+ path: _path + "",
77
+ expected: "GenesetEnrichmentRequest",
78
+ value: input2
79
+ })) && $vo0(input2, _path + "", true) || $report(true, {
80
+ path: _path + "",
81
+ expected: "GenesetEnrichmentRequest",
82
+ value: input2
83
+ });
84
+ })(input, "$input", true);
85
+ }
86
+ const success = 0 === errors.length;
87
+ return {
88
+ success,
89
+ errors,
90
+ data: success ? input : void 0
91
+ };
92
+ };
93
+ var validGenesetEnrichmentResponse = (input) => {
94
+ const errors = [];
95
+ const __is = (input2) => {
96
+ const $io0 = (input3) => true;
97
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
98
+ };
99
+ if (false === __is(input)) {
100
+ const $report = import_typia.createValidate.report(errors);
101
+ ((input2, _path, _exceptionable = true) => {
102
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [true].every((flag) => flag);
103
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
104
+ path: _path + "",
105
+ expected: "GenesetEnrichmentResponse",
106
+ value: input2
107
+ })) && $vo0(input2, _path + "", true) || $report(true, {
108
+ path: _path + "",
109
+ expected: "GenesetEnrichmentResponse",
110
+ value: input2
111
+ });
112
+ })(input, "$input", true);
113
+ }
114
+ const success = 0 === errors.length;
115
+ return {
116
+ success,
117
+ errors,
118
+ data: success ? input : void 0
119
+ };
120
+ };
121
+
122
+ export {
123
+ genesetEnrichmentPayload,
124
+ validGenesetEnrichmentRequest,
125
+ validGenesetEnrichmentResponse
126
+ };