@sjcrh/proteinpaint-types 2.86.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 +17 -15
  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 -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,62 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/tileserver.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/tileserver.ts
10
+ var tilePayload = {
11
+ request: {
12
+ typeId: "TileRequest"
13
+ },
14
+ response: {
15
+ typeId: "TileResponse"
16
+ }
17
+ // examples: []
18
+ };
19
+
20
+ // dist/tileserver.ts
21
+ var validTileRequest = (input) => {
22
+ const errors = [];
23
+ const __is = (input2) => {
24
+ return true;
25
+ };
26
+ if (false === __is(input)) {
27
+ const $report = import_typia.createValidate.report(errors);
28
+ /* @__PURE__ */ ((input2, _path, _exceptionable = true) => {
29
+ return true;
30
+ })(input, "$input", true);
31
+ }
32
+ const success = 0 === errors.length;
33
+ return {
34
+ success,
35
+ errors,
36
+ data: success ? input : void 0
37
+ };
38
+ };
39
+ var validTileResponse = (input) => {
40
+ const errors = [];
41
+ const __is = (input2) => {
42
+ return true;
43
+ };
44
+ if (false === __is(input)) {
45
+ const $report = import_typia.createValidate.report(errors);
46
+ /* @__PURE__ */ ((input2, _path, _exceptionable = true) => {
47
+ return true;
48
+ })(input, "$input", true);
49
+ }
50
+ const success = 0 === errors.length;
51
+ return {
52
+ success,
53
+ errors,
54
+ data: success ? input : void 0
55
+ };
56
+ };
57
+
58
+ export {
59
+ tilePayload,
60
+ validTileRequest,
61
+ validTileResponse
62
+ };
@@ -0,0 +1,122 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/termdb.DE.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/termdb.DE.ts
10
+ var diffExpPayload = {
11
+ request: {
12
+ typeId: "DERequest"
13
+ },
14
+ response: {
15
+ typeId: "DEResponse"
16
+ // will combine this with type checker
17
+ //valid: (t) => {}
18
+ }
19
+ };
20
+
21
+ // dist/termdb.DE.ts
22
+ var validDERequest = (input) => {
23
+ const errors = [];
24
+ const __is = (input2) => {
25
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && "number" === typeof input3.min_count && "number" === typeof input3.min_total_count && ("text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method);
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) => ["string" === typeof input3.genome || $report(_exceptionable2, {
32
+ path: _path2 + ".genome",
33
+ expected: "string",
34
+ value: input3.genome
35
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
36
+ path: _path2 + ".dslabel",
37
+ expected: "string",
38
+ value: input3.dslabel
39
+ }), true, "number" === typeof input3.min_count || $report(_exceptionable2, {
40
+ path: _path2 + ".min_count",
41
+ expected: "number",
42
+ value: input3.min_count
43
+ }), "number" === typeof input3.min_total_count || $report(_exceptionable2, {
44
+ path: _path2 + ".min_total_count",
45
+ expected: "number",
46
+ value: input3.min_total_count
47
+ }), "text" === input3.storage_type || "HDF5" === input3.storage_type || $report(_exceptionable2, {
48
+ path: _path2 + ".storage_type",
49
+ expected: '("HDF5" | "text")',
50
+ value: input3.storage_type
51
+ }), void 0 === input3.method || "string" === typeof input3.method || $report(_exceptionable2, {
52
+ path: _path2 + ".method",
53
+ expected: "(string | undefined)",
54
+ value: input3.method
55
+ })].every((flag) => flag);
56
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
57
+ path: _path + "",
58
+ expected: "DERequest",
59
+ value: input2
60
+ })) && $vo0(input2, _path + "", true) || $report(true, {
61
+ path: _path + "",
62
+ expected: "DERequest",
63
+ value: input2
64
+ });
65
+ })(input, "$input", true);
66
+ }
67
+ const success = 0 === errors.length;
68
+ return {
69
+ success,
70
+ errors,
71
+ data: success ? input : void 0
72
+ };
73
+ };
74
+ var validDEResponse = (input) => {
75
+ const errors = [];
76
+ const __is = (input2) => {
77
+ return "object" === typeof input2 && null !== input2 && ("string" === typeof input2.data && "number" === typeof input2.sample_size1 && "number" === typeof input2.sample_size2 && "string" === typeof input2.method);
78
+ };
79
+ if (false === __is(input)) {
80
+ const $report = import_typia.createValidate.report(errors);
81
+ ((input2, _path, _exceptionable = true) => {
82
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.data || $report(_exceptionable2, {
83
+ path: _path2 + ".data",
84
+ expected: "string",
85
+ value: input3.data
86
+ }), "number" === typeof input3.sample_size1 || $report(_exceptionable2, {
87
+ path: _path2 + ".sample_size1",
88
+ expected: "number",
89
+ value: input3.sample_size1
90
+ }), "number" === typeof input3.sample_size2 || $report(_exceptionable2, {
91
+ path: _path2 + ".sample_size2",
92
+ expected: "number",
93
+ value: input3.sample_size2
94
+ }), "string" === typeof input3.method || $report(_exceptionable2, {
95
+ path: _path2 + ".method",
96
+ expected: "string",
97
+ value: input3.method
98
+ })].every((flag) => flag);
99
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
100
+ path: _path + "",
101
+ expected: "DEResponse",
102
+ value: input2
103
+ })) && $vo0(input2, _path + "", true) || $report(true, {
104
+ path: _path + "",
105
+ expected: "DEResponse",
106
+ value: input2
107
+ });
108
+ })(input, "$input", true);
109
+ }
110
+ const success = 0 === errors.length;
111
+ return {
112
+ success,
113
+ errors,
114
+ data: success ? input : void 0
115
+ };
116
+ };
117
+
118
+ export {
119
+ diffExpPayload,
120
+ validDERequest,
121
+ validDEResponse
122
+ };
@@ -0,0 +1,62 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/termdb.cohort.summary.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/termdb.cohort.summary.ts
10
+ var termdbCohortSummaryPayload = {
11
+ request: {
12
+ typeId: "TermdbCohortSummaryRequest"
13
+ },
14
+ response: {
15
+ typeId: "TermdbCohortSummaryResponse"
16
+ }
17
+ // examples: []
18
+ };
19
+
20
+ // dist/termdb.cohort.summary.ts
21
+ var validTermdbCohortSummaryRequest = (input) => {
22
+ const errors = [];
23
+ const __is = (input2) => {
24
+ return true;
25
+ };
26
+ if (false === __is(input)) {
27
+ const $report = import_typia.createValidate.report(errors);
28
+ /* @__PURE__ */ ((input2, _path, _exceptionable = true) => {
29
+ return true;
30
+ })(input, "$input", true);
31
+ }
32
+ const success = 0 === errors.length;
33
+ return {
34
+ success,
35
+ errors,
36
+ data: success ? input : void 0
37
+ };
38
+ };
39
+ var validTermdbCohortSummaryResponse = (input) => {
40
+ const errors = [];
41
+ const __is = (input2) => {
42
+ return true;
43
+ };
44
+ if (false === __is(input)) {
45
+ const $report = import_typia.createValidate.report(errors);
46
+ /* @__PURE__ */ ((input2, _path, _exceptionable = true) => {
47
+ return true;
48
+ })(input, "$input", true);
49
+ }
50
+ const success = 0 === errors.length;
51
+ return {
52
+ success,
53
+ errors,
54
+ data: success ? input : void 0
55
+ };
56
+ };
57
+
58
+ export {
59
+ termdbCohortSummaryPayload,
60
+ validTermdbCohortSummaryRequest,
61
+ validTermdbCohortSummaryResponse
62
+ };
@@ -0,0 +1,152 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/gdc.topMutatedGenes.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/gdc.topMutatedGenes.ts
10
+ var gdcTopMutatedGenePayload = {
11
+ request: {
12
+ typeId: "GdcTopMutatedGeneRequest"
13
+ },
14
+ response: {
15
+ typeId: "GdcTopMutatedGeneResponse"
16
+ }
17
+ //examples: []
18
+ };
19
+
20
+ // dist/gdc.topMutatedGenes.ts
21
+ var validGdcTopMutatedGeneRequest = (input) => {
22
+ const errors = [];
23
+ const __is = (input2) => {
24
+ const $io0 = (input3) => (void 0 === input3.geneFilter || "CGC" === input3.geneFilter) && (void 0 === input3.maxGenes || "number" === typeof input3.maxGenes) && (void 0 === input3.filter0 || "object" === typeof input3.filter0 && null !== input3.filter0 && false === Array.isArray(input3.filter0) && $io1(input3.filter0));
25
+ const $io1 = (input3) => true;
26
+ return "object" === typeof input2 && null !== input2 && false === Array.isArray(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) => [void 0 === input3.geneFilter || "CGC" === input3.geneFilter || $report(_exceptionable2, {
32
+ path: _path2 + ".geneFilter",
33
+ expected: '("CGC" | undefined)',
34
+ value: input3.geneFilter
35
+ }), void 0 === input3.maxGenes || "number" === typeof input3.maxGenes || $report(_exceptionable2, {
36
+ path: _path2 + ".maxGenes",
37
+ expected: "(number | undefined)",
38
+ value: input3.maxGenes
39
+ }), void 0 === input3.filter0 || ("object" === typeof input3.filter0 && null !== input3.filter0 && false === Array.isArray(input3.filter0) || $report(_exceptionable2, {
40
+ path: _path2 + ".filter0",
41
+ expected: "(object | undefined)",
42
+ value: input3.filter0
43
+ })) && $vo1(input3.filter0, _path2 + ".filter0", _exceptionable2) || $report(_exceptionable2, {
44
+ path: _path2 + ".filter0",
45
+ expected: "(object | undefined)",
46
+ value: input3.filter0
47
+ })].every((flag) => flag);
48
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => true;
49
+ return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
50
+ path: _path + "",
51
+ expected: "GdcTopMutatedGeneRequest",
52
+ value: input2
53
+ })) && $vo0(input2, _path + "", true) || $report(true, {
54
+ path: _path + "",
55
+ expected: "GdcTopMutatedGeneRequest",
56
+ value: input2
57
+ });
58
+ })(input, "$input", true);
59
+ }
60
+ const success = 0 === errors.length;
61
+ return {
62
+ success,
63
+ errors,
64
+ data: success ? input : void 0
65
+ };
66
+ };
67
+ var validGdcTopMutatedGeneResponse = (input) => {
68
+ const errors = [];
69
+ const __is = (input2) => {
70
+ const $io0 = (input3) => Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
71
+ const $io1 = (input3) => "string" === typeof input3.gene && (void 0 === input3.mutationStat || Array.isArray(input3.mutationStat) && input3.mutationStat.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)));
72
+ const $io2 = (input3) => (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3["class"] || "string" === typeof input3["class"]) && "number" === typeof input3.count;
73
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
74
+ };
75
+ if (false === __is(input)) {
76
+ const $report = import_typia.createValidate.report(errors);
77
+ ((input2, _path, _exceptionable = true) => {
78
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.genes) || $report(_exceptionable2, {
79
+ path: _path2 + ".genes",
80
+ expected: "Array<GdcGene>",
81
+ value: input3.genes
82
+ })) && input3.genes.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
83
+ path: _path2 + ".genes[" + _index1 + "]",
84
+ expected: "GdcGene",
85
+ value: elem
86
+ })) && $vo1(elem, _path2 + ".genes[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
87
+ path: _path2 + ".genes[" + _index1 + "]",
88
+ expected: "GdcGene",
89
+ value: elem
90
+ })).every((flag) => flag) || $report(_exceptionable2, {
91
+ path: _path2 + ".genes",
92
+ expected: "Array<GdcGene>",
93
+ value: input3.genes
94
+ })].every((flag) => flag);
95
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.gene || $report(_exceptionable2, {
96
+ path: _path2 + ".gene",
97
+ expected: "string",
98
+ value: input3.gene
99
+ }), void 0 === input3.mutationStat || (Array.isArray(input3.mutationStat) || $report(_exceptionable2, {
100
+ path: _path2 + ".mutationStat",
101
+ expected: "(Array<__type> | undefined)",
102
+ value: input3.mutationStat
103
+ })) && input3.mutationStat.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
104
+ path: _path2 + ".mutationStat[" + _index2 + "]",
105
+ expected: "__type",
106
+ value: elem
107
+ })) && $vo2(elem, _path2 + ".mutationStat[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
108
+ path: _path2 + ".mutationStat[" + _index2 + "]",
109
+ expected: "__type",
110
+ value: elem
111
+ })).every((flag) => flag) || $report(_exceptionable2, {
112
+ path: _path2 + ".mutationStat",
113
+ expected: "(Array<__type> | undefined)",
114
+ value: input3.mutationStat
115
+ })].every((flag) => flag);
116
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
117
+ path: _path2 + ".dt",
118
+ expected: "(number | undefined)",
119
+ value: input3.dt
120
+ }), void 0 === input3["class"] || "string" === typeof input3["class"] || $report(_exceptionable2, {
121
+ path: _path2 + '["class"]',
122
+ expected: "(string | undefined)",
123
+ value: input3["class"]
124
+ }), "number" === typeof input3.count || $report(_exceptionable2, {
125
+ path: _path2 + ".count",
126
+ expected: "number",
127
+ value: input3.count
128
+ })].every((flag) => flag);
129
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
130
+ path: _path + "",
131
+ expected: "GdcTopMutatedGeneResponse",
132
+ value: input2
133
+ })) && $vo0(input2, _path + "", true) || $report(true, {
134
+ path: _path + "",
135
+ expected: "GdcTopMutatedGeneResponse",
136
+ value: input2
137
+ });
138
+ })(input, "$input", true);
139
+ }
140
+ const success = 0 === errors.length;
141
+ return {
142
+ success,
143
+ errors,
144
+ data: success ? input : void 0
145
+ };
146
+ };
147
+
148
+ export {
149
+ gdcTopMutatedGenePayload,
150
+ validGdcTopMutatedGeneRequest,
151
+ validGdcTopMutatedGeneResponse
152
+ };