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