@sjcrh/proteinpaint-types 2.184.0 → 2.185.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.
@@ -0,0 +1,341 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-YNHC5SXO.js";
5
+
6
+ // dist/termdb.diffMeth.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/termdb.diffMeth.ts
10
+ var diffMethPayload = {
11
+ request: {
12
+ typeId: "DiffMethRequest"
13
+ },
14
+ response: {
15
+ typeId: "DiffMethResponse"
16
+ }
17
+ };
18
+
19
+ // dist/termdb.diffMeth.ts
20
+ var validDiffMethRequest = (input) => {
21
+ const errors = [];
22
+ const __is = (input2) => {
23
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && (void 0 === input3.min_samples_per_group || "number" === typeof input3.min_samples_per_group) && true && true && (void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis) && ("object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io1(input3.volcanoRender));
24
+ const $io1 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io2(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots);
25
+ const $io2 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
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, void 0 === input3.min_samples_per_group || "number" === typeof input3.min_samples_per_group || $report(_exceptionable2, {
40
+ path: _path2 + ".min_samples_per_group",
41
+ expected: "(number | undefined)",
42
+ value: input3.min_samples_per_group
43
+ }), true, true, void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis || $report(_exceptionable2, {
44
+ path: _path2 + ".preAnalysis",
45
+ expected: "(boolean | undefined)",
46
+ value: input3.preAnalysis
47
+ }), ("object" === typeof input3.volcanoRender && null !== input3.volcanoRender || $report(_exceptionable2, {
48
+ path: _path2 + ".volcanoRender",
49
+ expected: "VolcanoRenderRequest",
50
+ value: input3.volcanoRender
51
+ })) && $vo1(input3.volcanoRender, _path2 + ".volcanoRender", _exceptionable2) || $report(_exceptionable2, {
52
+ path: _path2 + ".volcanoRender",
53
+ expected: "VolcanoRenderRequest",
54
+ value: input3.volcanoRender
55
+ })].every((flag) => flag);
56
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds || $report(_exceptionable2, {
57
+ path: _path2 + ".significanceThresholds",
58
+ expected: "SignificanceThresholds",
59
+ value: input3.significanceThresholds
60
+ })) && $vo2(input3.significanceThresholds, _path2 + ".significanceThresholds", _exceptionable2) || $report(_exceptionable2, {
61
+ path: _path2 + ".significanceThresholds",
62
+ expected: "SignificanceThresholds",
63
+ value: input3.significanceThresholds
64
+ }), "number" === typeof input3.pixelWidth || $report(_exceptionable2, {
65
+ path: _path2 + ".pixelWidth",
66
+ expected: "number",
67
+ value: input3.pixelWidth
68
+ }), "number" === typeof input3.pixelHeight || $report(_exceptionable2, {
69
+ path: _path2 + ".pixelHeight",
70
+ expected: "number",
71
+ value: input3.pixelHeight
72
+ }), void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant || $report(_exceptionable2, {
73
+ path: _path2 + ".colorSignificant",
74
+ expected: "(string | undefined)",
75
+ value: input3.colorSignificant
76
+ }), void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp || $report(_exceptionable2, {
77
+ path: _path2 + ".colorSignificantUp",
78
+ expected: "(string | undefined)",
79
+ value: input3.colorSignificantUp
80
+ }), void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown || $report(_exceptionable2, {
81
+ path: _path2 + ".colorSignificantDown",
82
+ expected: "(string | undefined)",
83
+ value: input3.colorSignificantDown
84
+ }), void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant || $report(_exceptionable2, {
85
+ path: _path2 + ".colorNonsignificant",
86
+ expected: "(string | undefined)",
87
+ value: input3.colorNonsignificant
88
+ }), void 0 === input3.dotRadius || "number" === typeof input3.dotRadius || $report(_exceptionable2, {
89
+ path: _path2 + ".dotRadius",
90
+ expected: "(number | undefined)",
91
+ value: input3.dotRadius
92
+ }), void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots || $report(_exceptionable2, {
93
+ path: _path2 + ".maxInteractiveDots",
94
+ expected: "(number | undefined)",
95
+ value: input3.maxInteractiveDots
96
+ })].every((flag) => flag);
97
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.pValueCutoff || $report(_exceptionable2, {
98
+ path: _path2 + ".pValueCutoff",
99
+ expected: "number",
100
+ value: input3.pValueCutoff
101
+ }), "adjusted" === input3.pValueType || "original" === input3.pValueType || $report(_exceptionable2, {
102
+ path: _path2 + ".pValueType",
103
+ expected: '("adjusted" | "original")',
104
+ value: input3.pValueType
105
+ }), "number" === typeof input3.foldChangeCutoff || $report(_exceptionable2, {
106
+ path: _path2 + ".foldChangeCutoff",
107
+ expected: "number",
108
+ value: input3.foldChangeCutoff
109
+ })].every((flag) => flag);
110
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
111
+ path: _path + "",
112
+ expected: "DiffMethRequest",
113
+ value: input2
114
+ })) && $vo0(input2, _path + "", true) || $report(true, {
115
+ path: _path + "",
116
+ expected: "DiffMethRequest",
117
+ value: input2
118
+ });
119
+ })(input, "$input", true);
120
+ }
121
+ const success = 0 === errors.length;
122
+ return {
123
+ success,
124
+ errors,
125
+ data: success ? input : void 0
126
+ };
127
+ };
128
+ var validDiffMethResponse = (input) => {
129
+ const errors = [];
130
+ const __is = (input2) => {
131
+ const $join = import_typia.createValidate.join;
132
+ const $io0 = (input3) => "object" === typeof input3.data && null !== input3.data && false === Array.isArray(input3.data) && $io1(input3.data);
133
+ const $io1 = (input3) => Object.keys(input3).every((key) => {
134
+ const value = input3[key];
135
+ if (void 0 === value)
136
+ return true;
137
+ if (RegExp(/(.*)/).test(key))
138
+ return "string" === typeof value || "number" === typeof value;
139
+ return true;
140
+ });
141
+ const $io2 = (input3) => "object" === typeof input3.data && null !== input3.data && $io3(input3.data) && "number" === typeof input3.sample_size1 && "number" === typeof input3.sample_size2;
142
+ const $io3 = (input3) => Array.isArray(input3.dots) && input3.dots.every((elem) => "object" === typeof elem && null !== elem && $io4(elem)) && "string" === typeof input3.volcanoPng && ("object" === typeof input3.plotExtent && null !== input3.plotExtent && $io5(input3.plotExtent)) && "number" === typeof input3.totalRows && "number" === typeof input3.totalSignificantRows && (void 0 === input3.cacheId || "string" === typeof input3.cacheId);
143
+ const $io4 = (input3) => "number" === typeof input3.original_p_value && "number" === typeof input3.adjusted_p_value && "number" === typeof input3.fold_change && "string" === typeof input3.promoter_id && "string" === typeof input3.gene_name && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
144
+ const $io5 = (input3) => "number" === typeof input3.xMin && "number" === typeof input3.xMax && "number" === typeof input3.yMin && "number" === typeof input3.yMax && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && "number" === typeof input3.plotLeft && "number" === typeof input3.plotTop && "number" === typeof input3.plotRight && "number" === typeof input3.plotBottom && "number" === typeof input3.minNonZeroPValue;
145
+ const $iu0 = (input3) => (() => {
146
+ if (void 0 !== input3.sample_size1)
147
+ return $io2(input3);
148
+ return $io0(input3);
149
+ })();
150
+ return "object" === typeof input2 && null !== input2 && $iu0(input2);
151
+ };
152
+ if (false === __is(input)) {
153
+ const $report = import_typia.createValidate.report(errors);
154
+ ((input2, _path, _exceptionable = true) => {
155
+ const $join = import_typia.createValidate.join;
156
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.data && null !== input3.data && false === Array.isArray(input3.data) || $report(_exceptionable2, {
157
+ path: _path2 + ".data",
158
+ expected: "Record<string, string | number>",
159
+ value: input3.data
160
+ })) && $vo1(input3.data, _path2 + ".data", _exceptionable2) || $report(_exceptionable2, {
161
+ path: _path2 + ".data",
162
+ expected: "Record<string, string | number>",
163
+ value: input3.data
164
+ })].every((flag) => flag);
165
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
166
+ const value = input3[key];
167
+ if (void 0 === value)
168
+ return true;
169
+ if (RegExp(/(.*)/).test(key))
170
+ return "string" === typeof value || "number" === typeof value || $report(_exceptionable2, {
171
+ path: _path2 + $join(key),
172
+ expected: "(number | string)",
173
+ value
174
+ });
175
+ return true;
176
+ }).every((flag) => flag)].every((flag) => flag);
177
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.data && null !== input3.data || $report(_exceptionable2, {
178
+ path: _path2 + ".data",
179
+ expected: "VolcanoData<DiffMethEntry>",
180
+ value: input3.data
181
+ })) && $vo3(input3.data, _path2 + ".data", _exceptionable2) || $report(_exceptionable2, {
182
+ path: _path2 + ".data",
183
+ expected: "VolcanoData<DiffMethEntry>",
184
+ value: input3.data
185
+ }), "number" === typeof input3.sample_size1 || $report(_exceptionable2, {
186
+ path: _path2 + ".sample_size1",
187
+ expected: "number",
188
+ value: input3.sample_size1
189
+ }), "number" === typeof input3.sample_size2 || $report(_exceptionable2, {
190
+ path: _path2 + ".sample_size2",
191
+ expected: "number",
192
+ value: input3.sample_size2
193
+ })].every((flag) => flag);
194
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.dots) || $report(_exceptionable2, {
195
+ path: _path2 + ".dots",
196
+ expected: "Array<DiffMethEntry>",
197
+ value: input3.dots
198
+ })) && input3.dots.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
199
+ path: _path2 + ".dots[" + _index1 + "]",
200
+ expected: "DiffMethEntry",
201
+ value: elem
202
+ })) && $vo4(elem, _path2 + ".dots[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
203
+ path: _path2 + ".dots[" + _index1 + "]",
204
+ expected: "DiffMethEntry",
205
+ value: elem
206
+ })).every((flag) => flag) || $report(_exceptionable2, {
207
+ path: _path2 + ".dots",
208
+ expected: "Array<DiffMethEntry>",
209
+ value: input3.dots
210
+ }), "string" === typeof input3.volcanoPng || $report(_exceptionable2, {
211
+ path: _path2 + ".volcanoPng",
212
+ expected: "string",
213
+ value: input3.volcanoPng
214
+ }), ("object" === typeof input3.plotExtent && null !== input3.plotExtent || $report(_exceptionable2, {
215
+ path: _path2 + ".plotExtent",
216
+ expected: "PlotExtent",
217
+ value: input3.plotExtent
218
+ })) && $vo5(input3.plotExtent, _path2 + ".plotExtent", _exceptionable2) || $report(_exceptionable2, {
219
+ path: _path2 + ".plotExtent",
220
+ expected: "PlotExtent",
221
+ value: input3.plotExtent
222
+ }), "number" === typeof input3.totalRows || $report(_exceptionable2, {
223
+ path: _path2 + ".totalRows",
224
+ expected: "number",
225
+ value: input3.totalRows
226
+ }), "number" === typeof input3.totalSignificantRows || $report(_exceptionable2, {
227
+ path: _path2 + ".totalSignificantRows",
228
+ expected: "number",
229
+ value: input3.totalSignificantRows
230
+ }), void 0 === input3.cacheId || "string" === typeof input3.cacheId || $report(_exceptionable2, {
231
+ path: _path2 + ".cacheId",
232
+ expected: "(string | undefined)",
233
+ value: input3.cacheId
234
+ })].every((flag) => flag);
235
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.original_p_value || $report(_exceptionable2, {
236
+ path: _path2 + ".original_p_value",
237
+ expected: "number",
238
+ value: input3.original_p_value
239
+ }), "number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
240
+ path: _path2 + ".adjusted_p_value",
241
+ expected: "number",
242
+ value: input3.adjusted_p_value
243
+ }), "number" === typeof input3.fold_change || $report(_exceptionable2, {
244
+ path: _path2 + ".fold_change",
245
+ expected: "number",
246
+ value: input3.fold_change
247
+ }), "string" === typeof input3.promoter_id || $report(_exceptionable2, {
248
+ path: _path2 + ".promoter_id",
249
+ expected: "string",
250
+ value: input3.promoter_id
251
+ }), "string" === typeof input3.gene_name || $report(_exceptionable2, {
252
+ path: _path2 + ".gene_name",
253
+ expected: "string",
254
+ value: input3.gene_name
255
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
256
+ path: _path2 + ".chr",
257
+ expected: "string",
258
+ value: input3.chr
259
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
260
+ path: _path2 + ".start",
261
+ expected: "number",
262
+ value: input3.start
263
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
264
+ path: _path2 + ".stop",
265
+ expected: "number",
266
+ value: input3.stop
267
+ })].every((flag) => flag);
268
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.xMin || $report(_exceptionable2, {
269
+ path: _path2 + ".xMin",
270
+ expected: "number",
271
+ value: input3.xMin
272
+ }), "number" === typeof input3.xMax || $report(_exceptionable2, {
273
+ path: _path2 + ".xMax",
274
+ expected: "number",
275
+ value: input3.xMax
276
+ }), "number" === typeof input3.yMin || $report(_exceptionable2, {
277
+ path: _path2 + ".yMin",
278
+ expected: "number",
279
+ value: input3.yMin
280
+ }), "number" === typeof input3.yMax || $report(_exceptionable2, {
281
+ path: _path2 + ".yMax",
282
+ expected: "number",
283
+ value: input3.yMax
284
+ }), "number" === typeof input3.pixelWidth || $report(_exceptionable2, {
285
+ path: _path2 + ".pixelWidth",
286
+ expected: "number",
287
+ value: input3.pixelWidth
288
+ }), "number" === typeof input3.pixelHeight || $report(_exceptionable2, {
289
+ path: _path2 + ".pixelHeight",
290
+ expected: "number",
291
+ value: input3.pixelHeight
292
+ }), "number" === typeof input3.plotLeft || $report(_exceptionable2, {
293
+ path: _path2 + ".plotLeft",
294
+ expected: "number",
295
+ value: input3.plotLeft
296
+ }), "number" === typeof input3.plotTop || $report(_exceptionable2, {
297
+ path: _path2 + ".plotTop",
298
+ expected: "number",
299
+ value: input3.plotTop
300
+ }), "number" === typeof input3.plotRight || $report(_exceptionable2, {
301
+ path: _path2 + ".plotRight",
302
+ expected: "number",
303
+ value: input3.plotRight
304
+ }), "number" === typeof input3.plotBottom || $report(_exceptionable2, {
305
+ path: _path2 + ".plotBottom",
306
+ expected: "number",
307
+ value: input3.plotBottom
308
+ }), "number" === typeof input3.minNonZeroPValue || $report(_exceptionable2, {
309
+ path: _path2 + ".minNonZeroPValue",
310
+ expected: "number",
311
+ value: input3.minNonZeroPValue
312
+ })].every((flag) => flag);
313
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
314
+ if (void 0 !== input3.sample_size1)
315
+ return $vo2(input3, _path2, _exceptionable2);
316
+ return $vo0(input3, _path2, _exceptionable2);
317
+ })();
318
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
319
+ path: _path + "",
320
+ expected: "(DiffMethFullResponse | DiffMethPreAnalysisResponse)",
321
+ value: input2
322
+ })) && $vu0(input2, _path + "", true) || $report(true, {
323
+ path: _path + "",
324
+ expected: "(DiffMethFullResponse | DiffMethPreAnalysisResponse)",
325
+ value: input2
326
+ });
327
+ })(input, "$input", true);
328
+ }
329
+ const success = 0 === errors.length;
330
+ return {
331
+ success,
332
+ errors,
333
+ data: success ? input : void 0
334
+ };
335
+ };
336
+
337
+ export {
338
+ diffMethPayload,
339
+ validDiffMethRequest,
340
+ validDiffMethResponse
341
+ };
@@ -21,15 +21,18 @@ var genesetEnrichmentPayload = {
21
21
  var validGenesetEnrichmentRequest = (input) => {
22
22
  const errors = [];
23
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) && "number" === typeof input3.num_permutations && ("blitzgsea" === input3.method || "cerno" === input3.method);
24
+ const $io0 = (input3) => (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.fold_change || Array.isArray(input3.fold_change) && input3.fold_change.every((elem) => "number" === typeof elem)) && (void 0 === input3.cacheId || "string" === typeof input3.cacheId) && (void 0 === input3.dslabel || "string" === typeof input3.dslabel) && (void 0 === input3.daRequest || "object" === typeof input3.daRequest && null !== input3.daRequest && $io1(input3.daRequest)) && (void 0 === input3.fetchDE || "boolean" === typeof input3.fetchDE) && "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.num_permutations || "number" === typeof input3.num_permutations) && ("blitzgsea" === input3.method || "cerno" === input3.method);
25
+ const $io1 = (input3) => (void 0 === input3.genome || "string" === typeof input3.genome) && (void 0 === input3.dslabel || "string" === typeof input3.dslabel) && true && (void 0 === input3.min_count || "number" === typeof input3.min_count) && (void 0 === input3.min_total_count || "number" === typeof input3.min_total_count) && (void 0 === input3.cpm_cutoff || "number" === typeof input3.cpm_cutoff) && (void 0 === input3.storage_type || "text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method) && true && true && (void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis) && (void 0 === input3.volcanoRender || "object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io2(input3.volcanoRender));
26
+ const $io2 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io3(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots);
27
+ const $io3 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
25
28
  return "object" === typeof input2 && null !== input2 && $io0(input2);
26
29
  };
27
30
  if (false === __is(input)) {
28
31
  const $report = import_typia.createValidate.report(errors);
29
32
  ((input2, _path, _exceptionable = true) => {
30
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.genes) || $report(_exceptionable2, {
33
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
31
34
  path: _path2 + ".genes",
32
- expected: "Array<string>",
35
+ expected: "(Array<string> | undefined)",
33
36
  value: input3.genes
34
37
  })) && input3.genes.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
35
38
  path: _path2 + ".genes[" + _index1 + "]",
@@ -37,11 +40,11 @@ var validGenesetEnrichmentRequest = (input) => {
37
40
  value: elem
38
41
  })).every((flag) => flag) || $report(_exceptionable2, {
39
42
  path: _path2 + ".genes",
40
- expected: "Array<string>",
43
+ expected: "(Array<string> | undefined)",
41
44
  value: input3.genes
42
- }), (Array.isArray(input3.fold_change) || $report(_exceptionable2, {
45
+ }), void 0 === input3.fold_change || (Array.isArray(input3.fold_change) || $report(_exceptionable2, {
43
46
  path: _path2 + ".fold_change",
44
- expected: "Array<number>",
47
+ expected: "(Array<number> | undefined)",
45
48
  value: input3.fold_change
46
49
  })) && input3.fold_change.map((elem, _index2) => "number" === typeof elem || $report(_exceptionable2, {
47
50
  path: _path2 + ".fold_change[" + _index2 + "]",
@@ -49,8 +52,28 @@ var validGenesetEnrichmentRequest = (input) => {
49
52
  value: elem
50
53
  })).every((flag) => flag) || $report(_exceptionable2, {
51
54
  path: _path2 + ".fold_change",
52
- expected: "Array<number>",
55
+ expected: "(Array<number> | undefined)",
53
56
  value: input3.fold_change
57
+ }), void 0 === input3.cacheId || "string" === typeof input3.cacheId || $report(_exceptionable2, {
58
+ path: _path2 + ".cacheId",
59
+ expected: "(string | undefined)",
60
+ value: input3.cacheId
61
+ }), void 0 === input3.dslabel || "string" === typeof input3.dslabel || $report(_exceptionable2, {
62
+ path: _path2 + ".dslabel",
63
+ expected: "(string | undefined)",
64
+ value: input3.dslabel
65
+ }), void 0 === input3.daRequest || ("object" === typeof input3.daRequest && null !== input3.daRequest || $report(_exceptionable2, {
66
+ path: _path2 + ".daRequest",
67
+ expected: "(Partial<DERequest> | undefined)",
68
+ value: input3.daRequest
69
+ })) && $vo1(input3.daRequest, _path2 + ".daRequest", _exceptionable2) || $report(_exceptionable2, {
70
+ path: _path2 + ".daRequest",
71
+ expected: "(Partial<DERequest> | undefined)",
72
+ value: input3.daRequest
73
+ }), void 0 === input3.fetchDE || "boolean" === typeof input3.fetchDE || $report(_exceptionable2, {
74
+ path: _path2 + ".fetchDE",
75
+ expected: "(boolean | undefined)",
76
+ value: input3.fetchDE
54
77
  }), "boolean" === typeof input3.filter_non_coding_genes || $report(_exceptionable2, {
55
78
  path: _path2 + ".filter_non_coding_genes",
56
79
  expected: "boolean",
@@ -67,19 +90,110 @@ var validGenesetEnrichmentRequest = (input) => {
67
90
  path: _path2 + ".geneset_name",
68
91
  expected: "(string | undefined)",
69
92
  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
- }), "number" === typeof input3.num_permutations || $report(_exceptionable2, {
93
+ }), void 0 === input3.num_permutations || "number" === typeof input3.num_permutations || $report(_exceptionable2, {
75
94
  path: _path2 + ".num_permutations",
76
- expected: "number",
95
+ expected: "(number | undefined)",
77
96
  value: input3.num_permutations
78
97
  }), "blitzgsea" === input3.method || "cerno" === input3.method || $report(_exceptionable2, {
79
98
  path: _path2 + ".method",
80
99
  expected: '("blitzgsea" | "cerno")',
81
100
  value: input3.method
82
101
  })].every((flag) => flag);
102
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.genome || "string" === typeof input3.genome || $report(_exceptionable2, {
103
+ path: _path2 + ".genome",
104
+ expected: "(string | undefined)",
105
+ value: input3.genome
106
+ }), void 0 === input3.dslabel || "string" === typeof input3.dslabel || $report(_exceptionable2, {
107
+ path: _path2 + ".dslabel",
108
+ expected: "(string | undefined)",
109
+ value: input3.dslabel
110
+ }), true, void 0 === input3.min_count || "number" === typeof input3.min_count || $report(_exceptionable2, {
111
+ path: _path2 + ".min_count",
112
+ expected: "(number | undefined)",
113
+ value: input3.min_count
114
+ }), void 0 === input3.min_total_count || "number" === typeof input3.min_total_count || $report(_exceptionable2, {
115
+ path: _path2 + ".min_total_count",
116
+ expected: "(number | undefined)",
117
+ value: input3.min_total_count
118
+ }), void 0 === input3.cpm_cutoff || "number" === typeof input3.cpm_cutoff || $report(_exceptionable2, {
119
+ path: _path2 + ".cpm_cutoff",
120
+ expected: "(number | undefined)",
121
+ value: input3.cpm_cutoff
122
+ }), void 0 === input3.storage_type || "text" === input3.storage_type || "HDF5" === input3.storage_type || $report(_exceptionable2, {
123
+ path: _path2 + ".storage_type",
124
+ expected: '("HDF5" | "text" | undefined)',
125
+ value: input3.storage_type
126
+ }), void 0 === input3.method || "string" === typeof input3.method || $report(_exceptionable2, {
127
+ path: _path2 + ".method",
128
+ expected: "(string | undefined)",
129
+ value: input3.method
130
+ }), true, true, void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis || $report(_exceptionable2, {
131
+ path: _path2 + ".preAnalysis",
132
+ expected: "(boolean | undefined)",
133
+ value: input3.preAnalysis
134
+ }), void 0 === input3.volcanoRender || ("object" === typeof input3.volcanoRender && null !== input3.volcanoRender || $report(_exceptionable2, {
135
+ path: _path2 + ".volcanoRender",
136
+ expected: "(VolcanoRenderRequest | undefined)",
137
+ value: input3.volcanoRender
138
+ })) && $vo2(input3.volcanoRender, _path2 + ".volcanoRender", _exceptionable2) || $report(_exceptionable2, {
139
+ path: _path2 + ".volcanoRender",
140
+ expected: "(VolcanoRenderRequest | undefined)",
141
+ value: input3.volcanoRender
142
+ })].every((flag) => flag);
143
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds || $report(_exceptionable2, {
144
+ path: _path2 + ".significanceThresholds",
145
+ expected: "SignificanceThresholds",
146
+ value: input3.significanceThresholds
147
+ })) && $vo3(input3.significanceThresholds, _path2 + ".significanceThresholds", _exceptionable2) || $report(_exceptionable2, {
148
+ path: _path2 + ".significanceThresholds",
149
+ expected: "SignificanceThresholds",
150
+ value: input3.significanceThresholds
151
+ }), "number" === typeof input3.pixelWidth || $report(_exceptionable2, {
152
+ path: _path2 + ".pixelWidth",
153
+ expected: "number",
154
+ value: input3.pixelWidth
155
+ }), "number" === typeof input3.pixelHeight || $report(_exceptionable2, {
156
+ path: _path2 + ".pixelHeight",
157
+ expected: "number",
158
+ value: input3.pixelHeight
159
+ }), void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant || $report(_exceptionable2, {
160
+ path: _path2 + ".colorSignificant",
161
+ expected: "(string | undefined)",
162
+ value: input3.colorSignificant
163
+ }), void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp || $report(_exceptionable2, {
164
+ path: _path2 + ".colorSignificantUp",
165
+ expected: "(string | undefined)",
166
+ value: input3.colorSignificantUp
167
+ }), void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown || $report(_exceptionable2, {
168
+ path: _path2 + ".colorSignificantDown",
169
+ expected: "(string | undefined)",
170
+ value: input3.colorSignificantDown
171
+ }), void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant || $report(_exceptionable2, {
172
+ path: _path2 + ".colorNonsignificant",
173
+ expected: "(string | undefined)",
174
+ value: input3.colorNonsignificant
175
+ }), void 0 === input3.dotRadius || "number" === typeof input3.dotRadius || $report(_exceptionable2, {
176
+ path: _path2 + ".dotRadius",
177
+ expected: "(number | undefined)",
178
+ value: input3.dotRadius
179
+ }), void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots || $report(_exceptionable2, {
180
+ path: _path2 + ".maxInteractiveDots",
181
+ expected: "(number | undefined)",
182
+ value: input3.maxInteractiveDots
183
+ })].every((flag) => flag);
184
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.pValueCutoff || $report(_exceptionable2, {
185
+ path: _path2 + ".pValueCutoff",
186
+ expected: "number",
187
+ value: input3.pValueCutoff
188
+ }), "adjusted" === input3.pValueType || "original" === input3.pValueType || $report(_exceptionable2, {
189
+ path: _path2 + ".pValueType",
190
+ expected: '("adjusted" | "original")',
191
+ value: input3.pValueType
192
+ }), "number" === typeof input3.foldChangeCutoff || $report(_exceptionable2, {
193
+ path: _path2 + ".foldChangeCutoff",
194
+ expected: "number",
195
+ value: input3.foldChangeCutoff
196
+ })].every((flag) => flag);
83
197
  return ("object" === typeof input2 && null !== input2 || $report(true, {
84
198
  path: _path + "",
85
199
  expected: "GenesetEnrichmentRequest",
@@ -104,7 +218,7 @@ var validGenesetEnrichmentResponse = (input) => {
104
218
  const $join = import_typia.createValidate.join;
105
219
  const $io0 = (input3) => "object" === typeof input3.data && null !== input3.data && $iu0(input3.data);
106
220
  const $io1 = (input3) => null !== input3.pathway && void 0 !== input3.pathway && ("string" === typeof input3.pathway || "object" === typeof input3.pathway && null !== input3.pathway && $io2(input3.pathway));
107
- const $io2 = (input3) => Array.isArray(input3.data) && input3.data.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io3(elem)) && "string" === typeof input3.pickle_file;
221
+ const $io2 = (input3) => Array.isArray(input3.data) && input3.data.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io3(elem));
108
222
  const $io3 = (input3) => Object.keys(input3).every((key) => {
109
223
  const value = input3[key];
110
224
  if (void 0 === value)
@@ -177,10 +291,6 @@ var validGenesetEnrichmentResponse = (input) => {
177
291
  path: _path2 + ".data",
178
292
  expected: "Array<blitzgsea_map>",
179
293
  value: input3.data
180
- }), "string" === typeof input3.pickle_file || $report(_exceptionable2, {
181
- path: _path2 + ".pickle_file",
182
- expected: "string",
183
- value: input3.pickle_file
184
294
  })].every((flag) => flag);
185
295
  const $vo3 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
186
296
  const value = input3[key];