@sjcrh/proteinpaint-types 2.188.1 → 2.190.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/README.md +8 -20
  2. package/dist/index.js +422 -553
  3. package/dist/index.js.map +7 -0
  4. package/package.json +13 -25
  5. package/dist/aiProjectAdmin.js +0 -11
  6. package/dist/aiProjectSelectedWSImages.js +0 -11
  7. package/dist/aiProjectTrainModel.js +0 -11
  8. package/dist/alphaGenome.js +0 -11
  9. package/dist/alphaGenomeTypes.js +0 -11
  10. package/dist/brainImaging.js +0 -11
  11. package/dist/brainImagingSamples.js +0 -11
  12. package/dist/burden.js +0 -11
  13. package/dist/chunk-2744ACBX.js +0 -126
  14. package/dist/chunk-2BCLGYAG.js +0 -96
  15. package/dist/chunk-2C4X5B6N.js +0 -62
  16. package/dist/chunk-2VJRTZE2.js +0 -287
  17. package/dist/chunk-46YIGVUP.js +0 -908
  18. package/dist/chunk-4EAGOSMN.js +0 -128
  19. package/dist/chunk-5H2LJKPX.js +0 -104
  20. package/dist/chunk-5L4VF3ZL.js +0 -266
  21. package/dist/chunk-5N7V62ZL.js +0 -231
  22. package/dist/chunk-62XTWOVJ.js +0 -273
  23. package/dist/chunk-6GKG55BT.js +0 -232
  24. package/dist/chunk-7MUISZHS.js +0 -61
  25. package/dist/chunk-7OA6G77M.js +0 -113
  26. package/dist/chunk-AGMCAWBR.js +0 -454
  27. package/dist/chunk-BCBSHTHS.js +0 -75
  28. package/dist/chunk-BZVFHGN3.js +0 -350
  29. package/dist/chunk-CQXBQY2H.js +0 -161
  30. package/dist/chunk-D7AKQKDG.js +0 -238
  31. package/dist/chunk-DDKGTDDB.js +0 -6739
  32. package/dist/chunk-DI4Q26E7.js +0 -16
  33. package/dist/chunk-DUCWIRPX.js +0 -311
  34. package/dist/chunk-EIJT53QB.js +0 -240
  35. package/dist/chunk-EOKM345J.js +0 -222
  36. package/dist/chunk-FK7OCBPT.js +0 -341
  37. package/dist/chunk-FMC4G5BP.js +0 -62
  38. package/dist/chunk-G4MMYXP6.js +0 -405
  39. package/dist/chunk-GTS2G4R4.js +0 -62
  40. package/dist/chunk-HQV2A7JV.js +0 -62
  41. package/dist/chunk-IS74WYQF.js +0 -207
  42. package/dist/chunk-JDF7A2LY.js +0 -361
  43. package/dist/chunk-JEQGBUK2.js +0 -5993
  44. package/dist/chunk-K4FSDTDW.js +0 -109
  45. package/dist/chunk-KCMPDEH7.js +0 -62
  46. package/dist/chunk-LC6KLHCJ.js +0 -8903
  47. package/dist/chunk-LQYSPLDQ.js +0 -3613
  48. package/dist/chunk-LRVF7U64.js +0 -62
  49. package/dist/chunk-MHDQO7R5.js +0 -195
  50. package/dist/chunk-MKYLCBTP.js +0 -5475
  51. package/dist/chunk-MNT3GF7M.js +0 -3628
  52. package/dist/chunk-MVB7LQS5.js +0 -3986
  53. package/dist/chunk-P25WDNMD.js +0 -171
  54. package/dist/chunk-PTE2I7DF.js +0 -91
  55. package/dist/chunk-Q3HGHP3J.js +0 -174
  56. package/dist/chunk-QNH3PKJK.js +0 -343
  57. package/dist/chunk-RPX4TVMD.js +0 -14
  58. package/dist/chunk-RXJNXOZC.js +0 -326
  59. package/dist/chunk-SDZIGJY3.js +0 -5931
  60. package/dist/chunk-SZZXZZKO.js +0 -3991
  61. package/dist/chunk-TD4YLTHL.js +0 -158
  62. package/dist/chunk-TEXOICIS.js +0 -11810
  63. package/dist/chunk-THQOFV2K.js +0 -205
  64. package/dist/chunk-TQQWSHFM.js +0 -5980
  65. package/dist/chunk-U3BTVE5T.js +0 -111
  66. package/dist/chunk-UBOVHONH.js +0 -62
  67. package/dist/chunk-ULKGA7YY.js +0 -158
  68. package/dist/chunk-UYJA4UM7.js +0 -97
  69. package/dist/chunk-V3JDD3ZG.js +0 -3671
  70. package/dist/chunk-VJB6F2HL.js +0 -309
  71. package/dist/chunk-VUKRI3TG.js +0 -164
  72. package/dist/chunk-W3F3CLYP.js +0 -61
  73. package/dist/chunk-X4JBWMXY.js +0 -130
  74. package/dist/chunk-X5E72ZXA.js +0 -5979
  75. package/dist/chunk-YNHC5SXO.js +0 -1780
  76. package/dist/chunk-YPEFUAJW.js +0 -62
  77. package/dist/chunk-YSTMGNYR.js +0 -113
  78. package/dist/chunk-YW5G4M5D.js +0 -158
  79. package/dist/chunk-Z3IYM5OK.js +0 -296
  80. package/dist/chunk-ZCV62ELK.js +0 -96
  81. package/dist/chunk-ZIOJDN75.js +0 -197
  82. package/dist/chunk-ZMDZYG5B.js +0 -4224
  83. package/dist/clearwsisession.js +0 -78
  84. package/dist/clearwsisessions.js +0 -13
  85. package/dist/correlationVolcano.js +0 -11
  86. package/dist/dataset.js +0 -11
  87. package/dist/deleteWSITileSelection.js +0 -11
  88. package/dist/dsdata.js +0 -11
  89. package/dist/dzimages.js +0 -11
  90. package/dist/gdc.grin2.js +0 -17
  91. package/dist/gdc.maf.js +0 -11
  92. package/dist/gdc.mafBuild.js +0 -11
  93. package/dist/genelookup.js +0 -11
  94. package/dist/genesetEnrichment.js +0 -11
  95. package/dist/genesetOverrepresentation.js +0 -11
  96. package/dist/grin2.js +0 -11
  97. package/dist/healthcheck.js +0 -11
  98. package/dist/hicdata.js +0 -11
  99. package/dist/hicgenome.js +0 -11
  100. package/dist/hicstat.js +0 -11
  101. package/dist/img.js +0 -11
  102. package/dist/isoformlst.js +0 -11
  103. package/dist/ntseq.js +0 -11
  104. package/dist/pdomain.js +0 -11
  105. package/dist/samplewsimages.js +0 -13
  106. package/dist/saveWSIAnnotation.js +0 -11
  107. package/dist/snp.js +0 -11
  108. package/dist/termdb.DE.js +0 -11
  109. package/dist/termdb.categories.js +0 -11
  110. package/dist/termdb.chat.js +0 -3631
  111. package/dist/termdb.chat2.js +0 -15
  112. package/dist/termdb.cluster.js +0 -11
  113. package/dist/termdb.cohort.summary.js +0 -11
  114. package/dist/termdb.cohorts.js +0 -11
  115. package/dist/termdb.dapVolcano.js +0 -11
  116. package/dist/termdb.descrstats.js +0 -11
  117. package/dist/termdb.diffMeth.js +0 -11
  118. package/dist/termdb.dmr.js +0 -11
  119. package/dist/termdb.filterTermValues.js +0 -11
  120. package/dist/termdb.isoformAvailability.js +0 -11
  121. package/dist/termdb.numericcategories.js +0 -11
  122. package/dist/termdb.percentile.js +0 -11
  123. package/dist/termdb.profileFormScores.js +0 -11
  124. package/dist/termdb.profileForms2Scores.js +0 -11
  125. package/dist/termdb.profileScores.js +0 -11
  126. package/dist/termdb.proteome.js +0 -11
  127. package/dist/termdb.rootterm.js +0 -11
  128. package/dist/termdb.runChart.js +0 -13
  129. package/dist/termdb.sampleImages.js +0 -11
  130. package/dist/termdb.sampleScatter.js +0 -11
  131. package/dist/termdb.singleSampleMutation.js +0 -11
  132. package/dist/termdb.singlecellDEgenes.js +0 -11
  133. package/dist/termdb.singlecellData.js +0 -11
  134. package/dist/termdb.singlecellSamples.js +0 -11
  135. package/dist/termdb.termchildren.js +0 -11
  136. package/dist/termdb.termsbyids.js +0 -11
  137. package/dist/termdb.topMutatedGenes.js +0 -11
  138. package/dist/termdb.topTermsByType.js +0 -11
  139. package/dist/termdb.topVariablyExpressedGenes.js +0 -11
  140. package/dist/termdb.violinBox.js +0 -17
  141. package/dist/tileserver.js +0 -11
  142. package/dist/wsimages.js +0 -11
  143. package/dist/wsisamples.js +0 -11
  144. package/src/Mclass.ts +0 -8
  145. package/src/dataset.ts +0 -2186
  146. package/src/docs.json +0 -16417
  147. package/src/fileOrUrl.ts +0 -15
  148. package/src/filter.ts +0 -110
  149. package/src/genome.ts +0 -129
  150. package/src/index.ts +0 -94
  151. package/src/routes/aiProjectAdmin.ts +0 -37
  152. package/src/routes/aiProjectSelectedWSImages.ts +0 -48
  153. package/src/routes/aiProjectTrainModel.ts +0 -20
  154. package/src/routes/alphaGenome.ts +0 -27
  155. package/src/routes/alphaGenomeTypes.ts +0 -21
  156. package/src/routes/brainImaging.ts +0 -47
  157. package/src/routes/brainImagingSamples.ts +0 -25
  158. package/src/routes/burden.ts +0 -113
  159. package/src/routes/clearwsisessions.ts +0 -19
  160. package/src/routes/correlationVolcano.ts +0 -51
  161. package/src/routes/dataset.ts +0 -14
  162. package/src/routes/deleteWSITileSelection.ts +0 -25
  163. package/src/routes/dsdata.ts +0 -14
  164. package/src/routes/dzimages.ts +0 -25
  165. package/src/routes/errorResponse.ts +0 -6
  166. package/src/routes/filter.gdc.ts +0 -15
  167. package/src/routes/gdc.grin2.ts +0 -246
  168. package/src/routes/gdc.maf.ts +0 -52
  169. package/src/routes/gdc.mafBuild.ts +0 -20
  170. package/src/routes/genelookup.ts +0 -22
  171. package/src/routes/genesetEnrichment.ts +0 -116
  172. package/src/routes/genesetOverrepresentation.ts +0 -48
  173. package/src/routes/grin2.ts +0 -173
  174. package/src/routes/healthcheck.ts +0 -80
  175. package/src/routes/hicdata.ts +0 -48
  176. package/src/routes/hicgenome.ts +0 -50
  177. package/src/routes/hicstat.ts +0 -57
  178. package/src/routes/img.ts +0 -23
  179. package/src/routes/isoformlst.ts +0 -14
  180. package/src/routes/ntseq.ts +0 -14
  181. package/src/routes/pdomain.ts +0 -14
  182. package/src/routes/routeApi.ts +0 -47
  183. package/src/routes/samplewsimages.ts +0 -44
  184. package/src/routes/saveWSIAnnotation.ts +0 -25
  185. package/src/routes/snp.ts +0 -13
  186. package/src/routes/termdb.DE.ts +0 -220
  187. package/src/routes/termdb.categories.ts +0 -74
  188. package/src/routes/termdb.chat2.ts +0 -190
  189. package/src/routes/termdb.cluster.ts +0 -134
  190. package/src/routes/termdb.cohort.summary.ts +0 -14
  191. package/src/routes/termdb.cohorts.ts +0 -14
  192. package/src/routes/termdb.dapVolcano.ts +0 -35
  193. package/src/routes/termdb.descrstats.ts +0 -75
  194. package/src/routes/termdb.diffMeth.ts +0 -63
  195. package/src/routes/termdb.dmr.ts +0 -121
  196. package/src/routes/termdb.filterTermValues.ts +0 -23
  197. package/src/routes/termdb.isoformAvailability.ts +0 -22
  198. package/src/routes/termdb.numericcategories.ts +0 -32
  199. package/src/routes/termdb.percentile.ts +0 -67
  200. package/src/routes/termdb.profileFormScores.ts +0 -26
  201. package/src/routes/termdb.profileForms2Scores.ts +0 -25
  202. package/src/routes/termdb.profileScores.ts +0 -27
  203. package/src/routes/termdb.proteome.ts +0 -13
  204. package/src/routes/termdb.rootterm.ts +0 -49
  205. package/src/routes/termdb.runChart.ts +0 -66
  206. package/src/routes/termdb.sampleImages.ts +0 -26
  207. package/src/routes/termdb.sampleScatter.ts +0 -60
  208. package/src/routes/termdb.singleSampleMutation.ts +0 -51
  209. package/src/routes/termdb.singlecellDEgenes.ts +0 -50
  210. package/src/routes/termdb.singlecellData.ts +0 -75
  211. package/src/routes/termdb.singlecellSamples.ts +0 -50
  212. package/src/routes/termdb.termchildren.ts +0 -49
  213. package/src/routes/termdb.termsbyids.ts +0 -26
  214. package/src/routes/termdb.topMutatedGenes.ts +0 -51
  215. package/src/routes/termdb.topTermsByType.ts +0 -32
  216. package/src/routes/termdb.topVariablyExpressedGenes.ts +0 -54
  217. package/src/routes/termdb.violinBox.ts +0 -230
  218. package/src/routes/tileserver.ts +0 -14
  219. package/src/routes/wsimages.ts +0 -34
  220. package/src/routes/wsisamples.ts +0 -25
  221. package/src/termdb.matrix.ts +0 -57
  222. package/src/terms/categorical.ts +0 -18
  223. package/src/terms/condition.ts +0 -73
  224. package/src/terms/date.ts +0 -20
  225. package/src/terms/dnaMethylation.ts +0 -28
  226. package/src/terms/geneExpression.ts +0 -38
  227. package/src/terms/geneVariant.ts +0 -132
  228. package/src/terms/isoformExpression.ts +0 -36
  229. package/src/terms/metaboliteIntensity.ts +0 -30
  230. package/src/terms/numeric.ts +0 -278
  231. package/src/terms/proteomeAbundance.ts +0 -38
  232. package/src/terms/q.ts +0 -105
  233. package/src/terms/qualitative.ts +0 -73
  234. package/src/terms/samplelst.ts +0 -34
  235. package/src/terms/singleCellCellType.ts +0 -18
  236. package/src/terms/singleCellGeneExpression.ts +0 -32
  237. package/src/terms/snp.ts +0 -24
  238. package/src/terms/snps.ts +0 -111
  239. package/src/terms/ssGSEA.ts +0 -26
  240. package/src/terms/term.ts +0 -60
  241. package/src/terms/termCollection.ts +0 -139
  242. package/src/terms/tw.ts +0 -64
  243. package/src/termsetting.ts +0 -201
  244. package/src/test/numeric.type.spec.ts +0 -275
  245. package/src/vocab.ts +0 -37
@@ -1,326 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/termdb.sampleScatter.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/termdb.sampleScatter.ts
10
- var termdbSampleScatterPayload = {
11
- request: {
12
- typeId: "TermdbSampleScatterRequest"
13
- },
14
- response: {
15
- typeId: "TermdbSampleScatterResponse"
16
- }
17
- };
18
-
19
- // dist/termdb.sampleScatter.ts
20
- var validTermdbSampleScatterRequest = (input) => {
21
- const errors = [];
22
- const __is = (input2) => {
23
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && true && true && true && (void 0 === input3.coordTWs || Array.isArray(input3.coordTWs)) && (void 0 === input3.plotName || "string" === typeof input3.plotName) && true && true && (void 0 === input3.chartType || "string" === typeof input3.chartType) && true && true && true;
24
- return "object" === typeof input2 && null !== input2 && $io0(input2);
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
- }), true, true, true, true, void 0 === input3.coordTWs || Array.isArray(input3.coordTWs) || $report(_exceptionable2, {
38
- path: _path2 + ".coordTWs",
39
- expected: "(Array<any> | undefined)",
40
- value: input3.coordTWs
41
- }), void 0 === input3.plotName || "string" === typeof input3.plotName || $report(_exceptionable2, {
42
- path: _path2 + ".plotName",
43
- expected: "(string | undefined)",
44
- value: input3.plotName
45
- }), true, true, void 0 === input3.chartType || "string" === typeof input3.chartType || $report(_exceptionable2, {
46
- path: _path2 + ".chartType",
47
- expected: "(string | undefined)",
48
- value: input3.chartType
49
- }), true, true, true].every((flag) => flag);
50
- return ("object" === typeof input2 && null !== input2 || $report(true, {
51
- path: _path + "",
52
- expected: "TermdbSampleScatterRequest",
53
- value: input2
54
- })) && $vo0(input2, _path + "", true) || $report(true, {
55
- path: _path + "",
56
- expected: "TermdbSampleScatterRequest",
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 validTermdbSampleScatterResponse = (input) => {
69
- const errors = [];
70
- const __is = (input2) => {
71
- const $join = import_typia.createValidate.join;
72
- const $io0 = (input3) => "object" === typeof input3.range && null !== input3.range && ("number" === typeof input3.range.xMin && "number" === typeof input3.range.xMax && "number" === typeof input3.range.yMin && "number" === typeof input3.range.yMax) && ("object" === typeof input3.result && null !== input3.result && false === Array.isArray(input3.result) && $io2(input3.result));
73
- const $io2 = (input3) => Object.keys(input3).every((key) => {
74
- const value = input3[key];
75
- if (void 0 === value)
76
- return true;
77
- if (RegExp(/(.*)/).test(key))
78
- return "object" === typeof value && null !== value && $io3(value);
79
- return true;
80
- });
81
- const $io3 = (input3) => Array.isArray(input3.colorLegend) && input3.colorLegend.every((elem) => Array.isArray(elem) && (elem.length === 2 && "string" === typeof elem[0] && ("object" === typeof elem[1] && null !== elem[1] && $io4(elem[1])))) && (Array.isArray(input3.samples) && input3.samples.every((elem) => "object" === typeof elem && null !== elem && $io5(elem))) && (Array.isArray(input3.shapeLegend) && input3.shapeLegend.every((elem) => Array.isArray(elem) && (elem.length === 2 && "string" === typeof elem[0] && ("object" === typeof elem[1] && null !== elem[1] && $io7(elem[1])))));
82
- const $io4 = (input3) => "string" === typeof input3.color && "number" === typeof input3.sampleCount && "string" === typeof input3.key;
83
- const $io5 = (input3) => "string" === typeof input3.category && "string" === typeof input3.sample && (void 0 === input3.info || "object" === typeof input3.info && null !== input3.info && false === Array.isArray(input3.info) && $io6(input3.info)) && "string" === typeof input3.shape && "number" === typeof input3.x && "number" === typeof input3.y && "number" === typeof input3.z;
84
- const $io6 = (input3) => Object.keys(input3).every((key) => {
85
- const value = input3[key];
86
- if (void 0 === value)
87
- return true;
88
- if (RegExp(/(.*)/).test(key))
89
- return true;
90
- return true;
91
- });
92
- const $io7 = (input3) => "number" === typeof input3.shape && "number" === typeof input3.sampleCount && "string" === typeof input3.key;
93
- return "object" === typeof input2 && null !== input2 && $io0(input2);
94
- };
95
- if (false === __is(input)) {
96
- const $report = import_typia.createValidate.report(errors);
97
- ((input2, _path, _exceptionable = true) => {
98
- const $join = import_typia.createValidate.join;
99
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.range && null !== input3.range || $report(_exceptionable2, {
100
- path: _path2 + ".range",
101
- expected: "__type",
102
- value: input3.range
103
- })) && $vo1(input3.range, _path2 + ".range", _exceptionable2) || $report(_exceptionable2, {
104
- path: _path2 + ".range",
105
- expected: "__type",
106
- value: input3.range
107
- }), ("object" === typeof input3.result && null !== input3.result && false === Array.isArray(input3.result) || $report(_exceptionable2, {
108
- path: _path2 + ".result",
109
- expected: "ScatterResult",
110
- value: input3.result
111
- })) && $vo2(input3.result, _path2 + ".result", _exceptionable2) || $report(_exceptionable2, {
112
- path: _path2 + ".result",
113
- expected: "ScatterResult",
114
- value: input3.result
115
- })].every((flag) => flag);
116
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.xMin || $report(_exceptionable2, {
117
- path: _path2 + ".xMin",
118
- expected: "number",
119
- value: input3.xMin
120
- }), "number" === typeof input3.xMax || $report(_exceptionable2, {
121
- path: _path2 + ".xMax",
122
- expected: "number",
123
- value: input3.xMax
124
- }), "number" === typeof input3.yMin || $report(_exceptionable2, {
125
- path: _path2 + ".yMin",
126
- expected: "number",
127
- value: input3.yMin
128
- }), "number" === typeof input3.yMax || $report(_exceptionable2, {
129
- path: _path2 + ".yMax",
130
- expected: "number",
131
- value: input3.yMax
132
- })].every((flag) => flag);
133
- const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
134
- const value = input3[key];
135
- if (void 0 === value)
136
- return true;
137
- if (RegExp(/(.*)/).test(key))
138
- return ("object" === typeof value && null !== value || $report(_exceptionable2, {
139
- path: _path2 + $join(key),
140
- expected: "__type.o1",
141
- value
142
- })) && $vo3(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
143
- path: _path2 + $join(key),
144
- expected: "__type.o1",
145
- value
146
- });
147
- return true;
148
- }).every((flag) => flag)].every((flag) => flag);
149
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.colorLegend) || $report(_exceptionable2, {
150
- path: _path2 + ".colorLegend",
151
- expected: "Array<ColorLegendEntry>",
152
- value: input3.colorLegend
153
- })) && input3.colorLegend.map((elem, _index1) => (Array.isArray(elem) || $report(_exceptionable2, {
154
- path: _path2 + ".colorLegend[" + _index1 + "]",
155
- expected: "ColorLegendEntry",
156
- value: elem
157
- })) && ((elem.length === 2 || $report(_exceptionable2, {
158
- path: _path2 + ".colorLegend[" + _index1 + "]",
159
- expected: "[string, ColorObject]",
160
- value: elem
161
- })) && [
162
- "string" === typeof elem[0] || $report(_exceptionable2, {
163
- path: _path2 + ".colorLegend[" + _index1 + "][0]",
164
- expected: "string",
165
- value: elem[0]
166
- }),
167
- ("object" === typeof elem[1] && null !== elem[1] || $report(_exceptionable2, {
168
- path: _path2 + ".colorLegend[" + _index1 + "][1]",
169
- expected: "ColorObject",
170
- value: elem[1]
171
- })) && $vo4(elem[1], _path2 + ".colorLegend[" + _index1 + "][1]", _exceptionable2) || $report(_exceptionable2, {
172
- path: _path2 + ".colorLegend[" + _index1 + "][1]",
173
- expected: "ColorObject",
174
- value: elem[1]
175
- })
176
- ].every((flag) => flag)) || $report(_exceptionable2, {
177
- path: _path2 + ".colorLegend[" + _index1 + "]",
178
- expected: "ColorLegendEntry",
179
- value: elem
180
- })).every((flag) => flag) || $report(_exceptionable2, {
181
- path: _path2 + ".colorLegend",
182
- expected: "Array<ColorLegendEntry>",
183
- value: input3.colorLegend
184
- }), (Array.isArray(input3.samples) || $report(_exceptionable2, {
185
- path: _path2 + ".samples",
186
- expected: "Array<ScatterSample>",
187
- value: input3.samples
188
- })) && input3.samples.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
189
- path: _path2 + ".samples[" + _index2 + "]",
190
- expected: "ScatterSample",
191
- value: elem
192
- })) && $vo5(elem, _path2 + ".samples[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
193
- path: _path2 + ".samples[" + _index2 + "]",
194
- expected: "ScatterSample",
195
- value: elem
196
- })).every((flag) => flag) || $report(_exceptionable2, {
197
- path: _path2 + ".samples",
198
- expected: "Array<ScatterSample>",
199
- value: input3.samples
200
- }), (Array.isArray(input3.shapeLegend) || $report(_exceptionable2, {
201
- path: _path2 + ".shapeLegend",
202
- expected: "Array<ShapeLegendEntry>",
203
- value: input3.shapeLegend
204
- })) && input3.shapeLegend.map((elem, _index3) => (Array.isArray(elem) || $report(_exceptionable2, {
205
- path: _path2 + ".shapeLegend[" + _index3 + "]",
206
- expected: "ShapeLegendEntry",
207
- value: elem
208
- })) && ((elem.length === 2 || $report(_exceptionable2, {
209
- path: _path2 + ".shapeLegend[" + _index3 + "]",
210
- expected: "[string, ShapeObject]",
211
- value: elem
212
- })) && [
213
- "string" === typeof elem[0] || $report(_exceptionable2, {
214
- path: _path2 + ".shapeLegend[" + _index3 + "][0]",
215
- expected: "string",
216
- value: elem[0]
217
- }),
218
- ("object" === typeof elem[1] && null !== elem[1] || $report(_exceptionable2, {
219
- path: _path2 + ".shapeLegend[" + _index3 + "][1]",
220
- expected: "ShapeObject",
221
- value: elem[1]
222
- })) && $vo7(elem[1], _path2 + ".shapeLegend[" + _index3 + "][1]", _exceptionable2) || $report(_exceptionable2, {
223
- path: _path2 + ".shapeLegend[" + _index3 + "][1]",
224
- expected: "ShapeObject",
225
- value: elem[1]
226
- })
227
- ].every((flag) => flag)) || $report(_exceptionable2, {
228
- path: _path2 + ".shapeLegend[" + _index3 + "]",
229
- expected: "ShapeLegendEntry",
230
- value: elem
231
- })).every((flag) => flag) || $report(_exceptionable2, {
232
- path: _path2 + ".shapeLegend",
233
- expected: "Array<ShapeLegendEntry>",
234
- value: input3.shapeLegend
235
- })].every((flag) => flag);
236
- const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.color || $report(_exceptionable2, {
237
- path: _path2 + ".color",
238
- expected: "string",
239
- value: input3.color
240
- }), "number" === typeof input3.sampleCount || $report(_exceptionable2, {
241
- path: _path2 + ".sampleCount",
242
- expected: "number",
243
- value: input3.sampleCount
244
- }), "string" === typeof input3.key || $report(_exceptionable2, {
245
- path: _path2 + ".key",
246
- expected: "string",
247
- value: input3.key
248
- })].every((flag) => flag);
249
- const $vo5 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.category || $report(_exceptionable2, {
250
- path: _path2 + ".category",
251
- expected: "string",
252
- value: input3.category
253
- }), "string" === typeof input3.sample || $report(_exceptionable2, {
254
- path: _path2 + ".sample",
255
- expected: "string",
256
- value: input3.sample
257
- }), void 0 === input3.info || ("object" === typeof input3.info && null !== input3.info && false === Array.isArray(input3.info) || $report(_exceptionable2, {
258
- path: _path2 + ".info",
259
- expected: "(__type.o2 | undefined)",
260
- value: input3.info
261
- })) && $vo6(input3.info, _path2 + ".info", _exceptionable2) || $report(_exceptionable2, {
262
- path: _path2 + ".info",
263
- expected: "(__type.o2 | undefined)",
264
- value: input3.info
265
- }), "string" === typeof input3.shape || $report(_exceptionable2, {
266
- path: _path2 + ".shape",
267
- expected: "string",
268
- value: input3.shape
269
- }), "number" === typeof input3.x || $report(_exceptionable2, {
270
- path: _path2 + ".x",
271
- expected: "number",
272
- value: input3.x
273
- }), "number" === typeof input3.y || $report(_exceptionable2, {
274
- path: _path2 + ".y",
275
- expected: "number",
276
- value: input3.y
277
- }), "number" === typeof input3.z || $report(_exceptionable2, {
278
- path: _path2 + ".z",
279
- expected: "number",
280
- value: input3.z
281
- })].every((flag) => flag);
282
- const $vo6 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
283
- const value = input3[key];
284
- if (void 0 === value)
285
- return true;
286
- if (RegExp(/(.*)/).test(key))
287
- return true;
288
- return true;
289
- }).every((flag) => flag)].every((flag) => flag);
290
- const $vo7 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.shape || $report(_exceptionable2, {
291
- path: _path2 + ".shape",
292
- expected: "number",
293
- value: input3.shape
294
- }), "number" === typeof input3.sampleCount || $report(_exceptionable2, {
295
- path: _path2 + ".sampleCount",
296
- expected: "number",
297
- value: input3.sampleCount
298
- }), "string" === typeof input3.key || $report(_exceptionable2, {
299
- path: _path2 + ".key",
300
- expected: "string",
301
- value: input3.key
302
- })].every((flag) => flag);
303
- return ("object" === typeof input2 && null !== input2 || $report(true, {
304
- path: _path + "",
305
- expected: "TermdbSampleScatterResponse",
306
- value: input2
307
- })) && $vo0(input2, _path + "", true) || $report(true, {
308
- path: _path + "",
309
- expected: "TermdbSampleScatterResponse",
310
- value: input2
311
- });
312
- })(input, "$input", true);
313
- }
314
- const success = 0 === errors.length;
315
- return {
316
- success,
317
- errors,
318
- data: success ? input : void 0
319
- };
320
- };
321
-
322
- export {
323
- termdbSampleScatterPayload,
324
- validTermdbSampleScatterRequest,
325
- validTermdbSampleScatterResponse
326
- };