@sjcrh/proteinpaint-types 2.130.0 → 2.132.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/brainImaging.js +1 -1
- package/dist/{chunk-KHM52S5N.js → chunk-2XROHKXU.js} +25 -5
- package/dist/{chunk-PX7P2A6A.js → chunk-3VVALC2P.js} +65 -13
- package/dist/{chunk-24RS7HFO.js → chunk-447OFOQM.js} +65 -13
- package/dist/{chunk-5VCMJ7QL.js → chunk-45AF7AQH.js} +118 -74
- package/dist/{chunk-WSL4JPUP.js → chunk-7QZTJ7A4.js} +25 -5
- package/dist/{chunk-Y5BVEGR2.js → chunk-7RY7HC24.js} +85 -17
- package/dist/{chunk-VZMNH6SN.js → chunk-G36XAK7Y.js} +4 -3
- package/dist/{chunk-WK4CKVHY.js → chunk-HYSQJBXK.js} +25 -5
- package/dist/{chunk-6C4DMGK3.js → chunk-J7ODYX6N.js} +25 -5
- package/dist/{chunk-BMHL5ZZJ.js → chunk-MBQT6GOO.js} +100 -20
- package/dist/{chunk-CI6OEJNH.js → chunk-ODP5ODIV.js} +65 -13
- package/dist/{chunk-UXXLPWL2.js → chunk-QXF3NCJ4.js} +65 -13
- package/dist/{chunk-WHO7HCNU.js → chunk-UL54XEPY.js} +25 -5
- package/dist/{chunk-RP6RBKKL.js → chunk-UMGJNQ2O.js} +65 -13
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +1 -1
- package/dist/index.js +14 -14
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.singleSampleMutation.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +7 -0
- package/src/routes/gdc.grin2.ts +41 -32
- package/src/routes/termdb.singleSampleMutation.ts +2 -2
- package/src/termdb.matrix.ts +9 -0
- package/src/terms/term.ts +3 -0
|
@@ -28,8 +28,9 @@ var runGRIN2Payload = {
|
|
|
28
28
|
var validGdcGRIN2listRequest = (input) => {
|
|
29
29
|
const errors = [];
|
|
30
30
|
const __is = (input2) => {
|
|
31
|
-
const $io0 = (input3) => (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && $io1(input3.mafOptions)) &&
|
|
31
|
+
const $io0 = (input3) => (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && $io1(input3.mafOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io2(input3.cnvOptions)) && true;
|
|
32
32
|
const $io1 = (input3) => "WXS" === input3.experimentalStrategy;
|
|
33
|
+
const $io2 = (input3) => void 0 === input3.dataType || "string" === typeof input3.dataType;
|
|
33
34
|
return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
|
|
34
35
|
};
|
|
35
36
|
if (false === __is(input)) {
|
|
@@ -43,12 +44,25 @@ var validGdcGRIN2listRequest = (input) => {
|
|
|
43
44
|
path: _path2 + ".mafOptions",
|
|
44
45
|
expected: "(__type | undefined)",
|
|
45
46
|
value: input3.mafOptions
|
|
46
|
-
}),
|
|
47
|
+
}), void 0 === input3.cnvOptions || ("object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) || $report(_exceptionable2, {
|
|
48
|
+
path: _path2 + ".cnvOptions",
|
|
49
|
+
expected: "(__type.o1 | undefined)",
|
|
50
|
+
value: input3.cnvOptions
|
|
51
|
+
})) && $vo2(input3.cnvOptions, _path2 + ".cnvOptions", _exceptionable2) || $report(_exceptionable2, {
|
|
52
|
+
path: _path2 + ".cnvOptions",
|
|
53
|
+
expected: "(__type.o1 | undefined)",
|
|
54
|
+
value: input3.cnvOptions
|
|
55
|
+
}), true].every((flag) => flag);
|
|
47
56
|
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["WXS" === input3.experimentalStrategy || $report(_exceptionable2, {
|
|
48
57
|
path: _path2 + ".experimentalStrategy",
|
|
49
58
|
expected: '"WXS"',
|
|
50
59
|
value: input3.experimentalStrategy
|
|
51
60
|
})].every((flag) => flag);
|
|
61
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.dataType || "string" === typeof input3.dataType || $report(_exceptionable2, {
|
|
62
|
+
path: _path2 + ".dataType",
|
|
63
|
+
expected: "(string | undefined)",
|
|
64
|
+
value: input3.dataType
|
|
65
|
+
})].every((flag) => flag);
|
|
52
66
|
return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
|
|
53
67
|
path: _path + "",
|
|
54
68
|
expected: "GdcGRIN2listRequest",
|
|
@@ -70,21 +84,38 @@ var validGdcGRIN2listRequest = (input) => {
|
|
|
70
84
|
var validGdcGRIN2listResponse = (input) => {
|
|
71
85
|
const errors = [];
|
|
72
86
|
const __is = (input2) => {
|
|
73
|
-
const $io0 = (input3) =>
|
|
74
|
-
const $io1 = (input3) => "
|
|
75
|
-
const $io2 = (input3) => "number" === typeof input3.
|
|
76
|
-
const $io3 = (input3) =>
|
|
77
|
-
const $io4 = (input3) =>
|
|
78
|
-
const $io5 = (input3) => "
|
|
79
|
-
const $io6 = (input3) => "string" === typeof input3.
|
|
80
|
-
const $io7 = (input3) =>
|
|
81
|
-
const $io8 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $
|
|
82
|
-
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
87
|
+
const $io0 = (input3) => (void 0 === input3.mafFiles || "object" === typeof input3.mafFiles && null !== input3.mafFiles && $io1(input3.mafFiles)) && (void 0 === input3.cnvFiles || "object" === typeof input3.cnvFiles && null !== input3.cnvFiles && $io8(input3.cnvFiles));
|
|
88
|
+
const $io1 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.filesTotal && "number" === typeof input3.maxTotalSizeCompressed && (void 0 === input3.fileCounts || "object" === typeof input3.fileCounts && null !== input3.fileCounts && $io3(input3.fileCounts)) && (void 0 === input3.appliedFilters || "object" === typeof input3.appliedFilters && null !== input3.appliedFilters && false === Array.isArray(input3.appliedFilters) && $io4(input3.appliedFilters)) && (void 0 === input3.deduplicationStats || "object" === typeof input3.deduplicationStats && null !== input3.deduplicationStats && $io5(input3.deduplicationStats));
|
|
89
|
+
const $io2 = (input3) => "string" === typeof input3.id && "string" === typeof input3.case_submitter_id && "string" === typeof input3.case_uuid && "number" === typeof input3.file_size && (Array.isArray(input3.sample_types) && input3.sample_types.every((elem) => "string" === typeof elem)) && "string" === typeof input3.project_id && (void 0 === input3.file_format || "MAF" === input3.file_format);
|
|
90
|
+
const $io3 = (input3) => "number" === typeof input3.maf;
|
|
91
|
+
const $io4 = (input3) => void 0 === input3.experimentalStrategy || "WXS" === input3.experimentalStrategy;
|
|
92
|
+
const $io5 = (input3) => "number" === typeof input3.originalFileCount && "number" === typeof input3.deduplicatedFileCount && "number" === typeof input3.duplicatesRemoved && (void 0 === input3.caseDetails || Array.isArray(input3.caseDetails) && input3.caseDetails.every((elem) => "object" === typeof elem && null !== elem && $io6(elem))) && (Array.isArray(input3.filteredFiles) && input3.filteredFiles.every((elem) => "object" === typeof elem && null !== elem && $io7(elem)));
|
|
93
|
+
const $io6 = (input3) => "string" === typeof input3.caseName && "number" === typeof input3.fileCount && "number" === typeof input3.keptFileSize;
|
|
94
|
+
const $io7 = (input3) => "string" === typeof input3.fileId && "number" === typeof input3.fileSize && "string" === typeof input3.reason;
|
|
95
|
+
const $io8 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.maxTotalSizeCompressed;
|
|
96
|
+
return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
|
|
83
97
|
};
|
|
84
98
|
if (false === __is(input)) {
|
|
85
99
|
const $report = import_typia.createValidate.report(errors);
|
|
86
100
|
((input2, _path, _exceptionable = true) => {
|
|
87
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => [
|
|
101
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.mafFiles || ("object" === typeof input3.mafFiles && null !== input3.mafFiles || $report(_exceptionable2, {
|
|
102
|
+
path: _path2 + ".mafFiles",
|
|
103
|
+
expected: "(__type | undefined)",
|
|
104
|
+
value: input3.mafFiles
|
|
105
|
+
})) && $vo1(input3.mafFiles, _path2 + ".mafFiles", _exceptionable2) || $report(_exceptionable2, {
|
|
106
|
+
path: _path2 + ".mafFiles",
|
|
107
|
+
expected: "(__type | undefined)",
|
|
108
|
+
value: input3.mafFiles
|
|
109
|
+
}), void 0 === input3.cnvFiles || ("object" === typeof input3.cnvFiles && null !== input3.cnvFiles || $report(_exceptionable2, {
|
|
110
|
+
path: _path2 + ".cnvFiles",
|
|
111
|
+
expected: "(__type.o6 | undefined)",
|
|
112
|
+
value: input3.cnvFiles
|
|
113
|
+
})) && $vo8(input3.cnvFiles, _path2 + ".cnvFiles", _exceptionable2) || $report(_exceptionable2, {
|
|
114
|
+
path: _path2 + ".cnvFiles",
|
|
115
|
+
expected: "(__type.o6 | undefined)",
|
|
116
|
+
value: input3.cnvFiles
|
|
117
|
+
})].every((flag) => flag);
|
|
118
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.files) || $report(_exceptionable2, {
|
|
88
119
|
path: _path2 + ".files",
|
|
89
120
|
expected: "Array<GdcGRIN2File>",
|
|
90
121
|
value: input3.files
|
|
@@ -92,7 +123,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
92
123
|
path: _path2 + ".files[" + _index1 + "]",
|
|
93
124
|
expected: "GdcGRIN2File",
|
|
94
125
|
value: elem
|
|
95
|
-
})) && $
|
|
126
|
+
})) && $vo2(elem, _path2 + ".files[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
96
127
|
path: _path2 + ".files[" + _index1 + "]",
|
|
97
128
|
expected: "GdcGRIN2File",
|
|
98
129
|
value: elem
|
|
@@ -110,46 +141,30 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
110
141
|
value: input3.maxTotalSizeCompressed
|
|
111
142
|
}), void 0 === input3.fileCounts || ("object" === typeof input3.fileCounts && null !== input3.fileCounts || $report(_exceptionable2, {
|
|
112
143
|
path: _path2 + ".fileCounts",
|
|
113
|
-
expected: "(__type | undefined)",
|
|
144
|
+
expected: "(__type.o1 | undefined)",
|
|
114
145
|
value: input3.fileCounts
|
|
115
|
-
})) && $
|
|
146
|
+
})) && $vo3(input3.fileCounts, _path2 + ".fileCounts", _exceptionable2) || $report(_exceptionable2, {
|
|
116
147
|
path: _path2 + ".fileCounts",
|
|
117
|
-
expected: "(__type | undefined)",
|
|
148
|
+
expected: "(__type.o1 | undefined)",
|
|
118
149
|
value: input3.fileCounts
|
|
119
150
|
}), void 0 === input3.appliedFilters || ("object" === typeof input3.appliedFilters && null !== input3.appliedFilters && false === Array.isArray(input3.appliedFilters) || $report(_exceptionable2, {
|
|
120
151
|
path: _path2 + ".appliedFilters",
|
|
121
|
-
expected: "(__type.
|
|
152
|
+
expected: "(__type.o2 | undefined)",
|
|
122
153
|
value: input3.appliedFilters
|
|
123
|
-
})) && $
|
|
154
|
+
})) && $vo4(input3.appliedFilters, _path2 + ".appliedFilters", _exceptionable2) || $report(_exceptionable2, {
|
|
124
155
|
path: _path2 + ".appliedFilters",
|
|
125
|
-
expected: "(__type.
|
|
156
|
+
expected: "(__type.o2 | undefined)",
|
|
126
157
|
value: input3.appliedFilters
|
|
127
158
|
}), void 0 === input3.deduplicationStats || ("object" === typeof input3.deduplicationStats && null !== input3.deduplicationStats || $report(_exceptionable2, {
|
|
128
159
|
path: _path2 + ".deduplicationStats",
|
|
129
|
-
expected: "(__type.
|
|
160
|
+
expected: "(__type.o3 | undefined)",
|
|
130
161
|
value: input3.deduplicationStats
|
|
131
|
-
})) && $
|
|
162
|
+
})) && $vo5(input3.deduplicationStats, _path2 + ".deduplicationStats", _exceptionable2) || $report(_exceptionable2, {
|
|
132
163
|
path: _path2 + ".deduplicationStats",
|
|
133
|
-
expected: "(__type.
|
|
164
|
+
expected: "(__type.o3 | undefined)",
|
|
134
165
|
value: input3.deduplicationStats
|
|
135
|
-
}), void 0 === input3.mafFiles || ("object" === typeof input3.mafFiles && null !== input3.mafFiles || $report(_exceptionable2, {
|
|
136
|
-
path: _path2 + ".mafFiles",
|
|
137
|
-
expected: "(__type.o5 | undefined)",
|
|
138
|
-
value: input3.mafFiles
|
|
139
|
-
})) && $vo7(input3.mafFiles, _path2 + ".mafFiles", _exceptionable2) || $report(_exceptionable2, {
|
|
140
|
-
path: _path2 + ".mafFiles",
|
|
141
|
-
expected: "(__type.o5 | undefined)",
|
|
142
|
-
value: input3.mafFiles
|
|
143
|
-
}), void 0 === input3.cnvFiles || ("object" === typeof input3.cnvFiles && null !== input3.cnvFiles || $report(_exceptionable2, {
|
|
144
|
-
path: _path2 + ".cnvFiles",
|
|
145
|
-
expected: "(__type.o6 | undefined)",
|
|
146
|
-
value: input3.cnvFiles
|
|
147
|
-
})) && $vo8(input3.cnvFiles, _path2 + ".cnvFiles", _exceptionable2) || $report(_exceptionable2, {
|
|
148
|
-
path: _path2 + ".cnvFiles",
|
|
149
|
-
expected: "(__type.o6 | undefined)",
|
|
150
|
-
value: input3.cnvFiles
|
|
151
166
|
})].every((flag) => flag);
|
|
152
|
-
const $
|
|
167
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
153
168
|
path: _path2 + ".id",
|
|
154
169
|
expected: "string",
|
|
155
170
|
value: input3.id
|
|
@@ -186,17 +201,17 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
186
201
|
expected: '("MAF" | undefined)',
|
|
187
202
|
value: input3.file_format
|
|
188
203
|
})].every((flag) => flag);
|
|
189
|
-
const $
|
|
204
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.maf || $report(_exceptionable2, {
|
|
190
205
|
path: _path2 + ".maf",
|
|
191
206
|
expected: "number",
|
|
192
207
|
value: input3.maf
|
|
193
208
|
})].every((flag) => flag);
|
|
194
|
-
const $
|
|
209
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.experimentalStrategy || "WXS" === input3.experimentalStrategy || $report(_exceptionable2, {
|
|
195
210
|
path: _path2 + ".experimentalStrategy",
|
|
196
211
|
expected: '("WXS" | undefined)',
|
|
197
212
|
value: input3.experimentalStrategy
|
|
198
213
|
})].every((flag) => flag);
|
|
199
|
-
const $
|
|
214
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.originalFileCount || $report(_exceptionable2, {
|
|
200
215
|
path: _path2 + ".originalFileCount",
|
|
201
216
|
expected: "number",
|
|
202
217
|
value: input3.originalFileCount
|
|
@@ -214,11 +229,11 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
214
229
|
value: input3.caseDetails
|
|
215
230
|
})) && input3.caseDetails.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
216
231
|
path: _path2 + ".caseDetails[" + _index3 + "]",
|
|
217
|
-
expected: "__type.
|
|
232
|
+
expected: "__type.o4",
|
|
218
233
|
value: elem
|
|
219
|
-
})) && $
|
|
234
|
+
})) && $vo6(elem, _path2 + ".caseDetails[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
220
235
|
path: _path2 + ".caseDetails[" + _index3 + "]",
|
|
221
|
-
expected: "__type.
|
|
236
|
+
expected: "__type.o4",
|
|
222
237
|
value: elem
|
|
223
238
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
224
239
|
path: _path2 + ".caseDetails",
|
|
@@ -230,18 +245,18 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
230
245
|
value: input3.filteredFiles
|
|
231
246
|
})) && input3.filteredFiles.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
232
247
|
path: _path2 + ".filteredFiles[" + _index4 + "]",
|
|
233
|
-
expected: "__type.
|
|
248
|
+
expected: "__type.o5",
|
|
234
249
|
value: elem
|
|
235
|
-
})) && $
|
|
250
|
+
})) && $vo7(elem, _path2 + ".filteredFiles[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
236
251
|
path: _path2 + ".filteredFiles[" + _index4 + "]",
|
|
237
|
-
expected: "__type.
|
|
252
|
+
expected: "__type.o5",
|
|
238
253
|
value: elem
|
|
239
254
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
240
255
|
path: _path2 + ".filteredFiles",
|
|
241
256
|
expected: "Array<__type>.o1",
|
|
242
257
|
value: input3.filteredFiles
|
|
243
258
|
})].every((flag) => flag);
|
|
244
|
-
const $
|
|
259
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.caseName || $report(_exceptionable2, {
|
|
245
260
|
path: _path2 + ".caseName",
|
|
246
261
|
expected: "string",
|
|
247
262
|
value: input3.caseName
|
|
@@ -254,7 +269,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
254
269
|
expected: "number",
|
|
255
270
|
value: input3.keptFileSize
|
|
256
271
|
})].every((flag) => flag);
|
|
257
|
-
const $
|
|
272
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fileId || $report(_exceptionable2, {
|
|
258
273
|
path: _path2 + ".fileId",
|
|
259
274
|
expected: "string",
|
|
260
275
|
value: input3.fileId
|
|
@@ -267,7 +282,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
267
282
|
expected: "string",
|
|
268
283
|
value: input3.reason
|
|
269
284
|
})].every((flag) => flag);
|
|
270
|
-
const $
|
|
285
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.files) || $report(_exceptionable2, {
|
|
271
286
|
path: _path2 + ".files",
|
|
272
287
|
expected: "Array<GdcGRIN2File>",
|
|
273
288
|
value: input3.files
|
|
@@ -275,7 +290,7 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
275
290
|
path: _path2 + ".files[" + _index5 + "]",
|
|
276
291
|
expected: "GdcGRIN2File",
|
|
277
292
|
value: elem
|
|
278
|
-
})) && $
|
|
293
|
+
})) && $vo2(elem, _path2 + ".files[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
279
294
|
path: _path2 + ".files[" + _index5 + "]",
|
|
280
295
|
expected: "GdcGRIN2File",
|
|
281
296
|
value: elem
|
|
@@ -283,25 +298,12 @@ var validGdcGRIN2listResponse = (input) => {
|
|
|
283
298
|
path: _path2 + ".files",
|
|
284
299
|
expected: "Array<GdcGRIN2File>",
|
|
285
300
|
value: input3.files
|
|
301
|
+
}), "number" === typeof input3.maxTotalSizeCompressed || $report(_exceptionable2, {
|
|
302
|
+
path: _path2 + ".maxTotalSizeCompressed",
|
|
303
|
+
expected: "number",
|
|
304
|
+
value: input3.maxTotalSizeCompressed
|
|
286
305
|
})].every((flag) => flag);
|
|
287
|
-
|
|
288
|
-
path: _path2 + ".files",
|
|
289
|
-
expected: "Array<GdcGRIN2File>",
|
|
290
|
-
value: input3.files
|
|
291
|
-
})) && input3.files.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
292
|
-
path: _path2 + ".files[" + _index6 + "]",
|
|
293
|
-
expected: "GdcGRIN2File",
|
|
294
|
-
value: elem
|
|
295
|
-
})) && $vo1(elem, _path2 + ".files[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
296
|
-
path: _path2 + ".files[" + _index6 + "]",
|
|
297
|
-
expected: "GdcGRIN2File",
|
|
298
|
-
value: elem
|
|
299
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
300
|
-
path: _path2 + ".files",
|
|
301
|
-
expected: "Array<GdcGRIN2File>",
|
|
302
|
-
value: input3.files
|
|
303
|
-
})].every((flag) => flag);
|
|
304
|
-
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
306
|
+
return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
|
|
305
307
|
path: _path + "",
|
|
306
308
|
expected: "GdcGRIN2listResponse",
|
|
307
309
|
value: input2
|
|
@@ -323,7 +325,7 @@ var validRunGRIN2Request = (input) => {
|
|
|
323
325
|
const errors = [];
|
|
324
326
|
const __is = (input2) => {
|
|
325
327
|
const $join = import_typia.createValidate.join;
|
|
326
|
-
const $io0 = (input3) => "object" === typeof input3.caseFiles && null !== input3.caseFiles && false === Array.isArray(input3.caseFiles) && $io1(input3.caseFiles) && (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && false === Array.isArray(input3.mafOptions) && $io3(input3.mafOptions));
|
|
328
|
+
const $io0 = (input3) => "object" === typeof input3.caseFiles && null !== input3.caseFiles && false === Array.isArray(input3.caseFiles) && $io1(input3.caseFiles) && (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && false === Array.isArray(input3.mafOptions) && $io3(input3.mafOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io4(input3.cnvOptions));
|
|
327
329
|
const $io1 = (input3) => Object.keys(input3).every((key) => {
|
|
328
330
|
const value = input3[key];
|
|
329
331
|
if (void 0 === value)
|
|
@@ -332,8 +334,9 @@ var validRunGRIN2Request = (input) => {
|
|
|
332
334
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
|
|
333
335
|
return true;
|
|
334
336
|
});
|
|
335
|
-
const $io2 = (input3) => void 0 === input3.maf || "string" === typeof input3.maf;
|
|
336
|
-
const $io3 = (input3) => (void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth) && (void 0 === input3.minAltAlleleCount || "number" === typeof input3.minAltAlleleCount);
|
|
337
|
+
const $io2 = (input3) => (void 0 === input3.maf || "string" === typeof input3.maf) && (void 0 === input3.cnv || "string" === typeof input3.cnv);
|
|
338
|
+
const $io3 = (input3) => (void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth) && (void 0 === input3.minAltAlleleCount || "number" === typeof input3.minAltAlleleCount) && (void 0 === input3.consequences || Array.isArray(input3.consequences) && input3.consequences.every((elem) => "string" === typeof elem)) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator);
|
|
339
|
+
const $io4 = (input3) => (void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold) && (void 0 === input3.gainThreshold || "number" === typeof input3.gainThreshold) && (void 0 === input3.segLength || "number" === typeof input3.segLength);
|
|
337
340
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
338
341
|
};
|
|
339
342
|
if (false === __is(input)) {
|
|
@@ -356,6 +359,14 @@ var validRunGRIN2Request = (input) => {
|
|
|
356
359
|
path: _path2 + ".mafOptions",
|
|
357
360
|
expected: "(__type.o2 | undefined)",
|
|
358
361
|
value: input3.mafOptions
|
|
362
|
+
}), void 0 === input3.cnvOptions || ("object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) || $report(_exceptionable2, {
|
|
363
|
+
path: _path2 + ".cnvOptions",
|
|
364
|
+
expected: "(__type.o3 | undefined)",
|
|
365
|
+
value: input3.cnvOptions
|
|
366
|
+
})) && $vo4(input3.cnvOptions, _path2 + ".cnvOptions", _exceptionable2) || $report(_exceptionable2, {
|
|
367
|
+
path: _path2 + ".cnvOptions",
|
|
368
|
+
expected: "(__type.o3 | undefined)",
|
|
369
|
+
value: input3.cnvOptions
|
|
359
370
|
})].every((flag) => flag);
|
|
360
371
|
const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
361
372
|
const value = input3[key];
|
|
@@ -377,6 +388,10 @@ var validRunGRIN2Request = (input) => {
|
|
|
377
388
|
path: _path2 + ".maf",
|
|
378
389
|
expected: "(string | undefined)",
|
|
379
390
|
value: input3.maf
|
|
391
|
+
}), void 0 === input3.cnv || "string" === typeof input3.cnv || $report(_exceptionable2, {
|
|
392
|
+
path: _path2 + ".cnv",
|
|
393
|
+
expected: "(string | undefined)",
|
|
394
|
+
value: input3.cnv
|
|
380
395
|
})].every((flag) => flag);
|
|
381
396
|
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth || $report(_exceptionable2, {
|
|
382
397
|
path: _path2 + ".minTotalDepth",
|
|
@@ -386,6 +401,35 @@ var validRunGRIN2Request = (input) => {
|
|
|
386
401
|
path: _path2 + ".minAltAlleleCount",
|
|
387
402
|
expected: "(number | undefined)",
|
|
388
403
|
value: input3.minAltAlleleCount
|
|
404
|
+
}), void 0 === input3.consequences || (Array.isArray(input3.consequences) || $report(_exceptionable2, {
|
|
405
|
+
path: _path2 + ".consequences",
|
|
406
|
+
expected: "(Array<string> | undefined)",
|
|
407
|
+
value: input3.consequences
|
|
408
|
+
})) && input3.consequences.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
|
|
409
|
+
path: _path2 + ".consequences[" + _index1 + "]",
|
|
410
|
+
expected: "string",
|
|
411
|
+
value: elem
|
|
412
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
413
|
+
path: _path2 + ".consequences",
|
|
414
|
+
expected: "(Array<string> | undefined)",
|
|
415
|
+
value: input3.consequences
|
|
416
|
+
}), void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator || $report(_exceptionable2, {
|
|
417
|
+
path: _path2 + ".hyperMutator",
|
|
418
|
+
expected: "(number | undefined)",
|
|
419
|
+
value: input3.hyperMutator
|
|
420
|
+
})].every((flag) => flag);
|
|
421
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold || $report(_exceptionable2, {
|
|
422
|
+
path: _path2 + ".lossThreshold",
|
|
423
|
+
expected: "(number | undefined)",
|
|
424
|
+
value: input3.lossThreshold
|
|
425
|
+
}), void 0 === input3.gainThreshold || "number" === typeof input3.gainThreshold || $report(_exceptionable2, {
|
|
426
|
+
path: _path2 + ".gainThreshold",
|
|
427
|
+
expected: "(number | undefined)",
|
|
428
|
+
value: input3.gainThreshold
|
|
429
|
+
}), void 0 === input3.segLength || "number" === typeof input3.segLength || $report(_exceptionable2, {
|
|
430
|
+
path: _path2 + ".segLength",
|
|
431
|
+
expected: "(number | undefined)",
|
|
432
|
+
value: input3.segLength
|
|
389
433
|
})].every((flag) => flag);
|
|
390
434
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
391
435
|
path: _path + "",
|
|
@@ -50,7 +50,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
50
50
|
const $io12 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
51
51
|
const $io13 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
|
|
52
52
|
const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io17(elem)));
|
|
53
|
-
const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
|
|
53
|
+
const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
|
|
54
54
|
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
55
55
|
const value = input3[key];
|
|
56
56
|
if (void 0 === value)
|
|
@@ -66,7 +66,7 @@ var validBrainImagingRequest = (input) => {
|
|
|
66
66
|
const $io19 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
67
67
|
const $io20 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
68
68
|
const $io21 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io22(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
69
|
-
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io29(input3.continuousColorScale));
|
|
69
|
+
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io29(input3.continuousColorScale));
|
|
70
70
|
const $io23 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
71
71
|
const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
72
72
|
const $io25 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
@@ -76,12 +76,12 @@ var validBrainImagingRequest = (input) => {
|
|
|
76
76
|
const $io29 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
77
77
|
const $io30 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
78
78
|
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
79
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values));
|
|
79
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
80
80
|
const $io33 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
81
81
|
const $io34 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io35(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
82
82
|
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values));
|
|
83
|
-
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
84
|
-
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
83
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
84
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
85
85
|
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
86
86
|
const $iu0 = (input3) => (() => {
|
|
87
87
|
if ("string" === typeof input3.type)
|
|
@@ -634,6 +634,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
634
634
|
path: _path2 + ".values",
|
|
635
635
|
expected: "(TermValues | undefined)",
|
|
636
636
|
value: input3.values
|
|
637
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
638
|
+
path: _path2 + ".skipValuesBuild",
|
|
639
|
+
expected: "(boolean | undefined)",
|
|
640
|
+
value: input3.skipValuesBuild
|
|
637
641
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
638
642
|
path: _path2 + ".groupsetting",
|
|
639
643
|
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
@@ -874,6 +878,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
874
878
|
path: _path2 + ".values",
|
|
875
879
|
expected: "(TermValues | undefined)",
|
|
876
880
|
value: input3.values
|
|
881
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
882
|
+
path: _path2 + ".skipValuesBuild",
|
|
883
|
+
expected: "(boolean | undefined)",
|
|
884
|
+
value: input3.skipValuesBuild
|
|
877
885
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
878
886
|
path: _path2 + ".bins",
|
|
879
887
|
expected: "PresetNumericBins",
|
|
@@ -1254,6 +1262,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1254
1262
|
path: _path2 + ".values",
|
|
1255
1263
|
expected: "(TermValues | undefined)",
|
|
1256
1264
|
value: input3.values
|
|
1265
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1266
|
+
path: _path2 + ".skipValuesBuild",
|
|
1267
|
+
expected: "(boolean | undefined)",
|
|
1268
|
+
value: input3.skipValuesBuild
|
|
1257
1269
|
})].every((flag) => flag);
|
|
1258
1270
|
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1259
1271
|
path: _path2 + ".grade",
|
|
@@ -1406,6 +1418,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1406
1418
|
path: _path2 + ".values",
|
|
1407
1419
|
expected: "(TermValues | undefined)",
|
|
1408
1420
|
value: input3.values
|
|
1421
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1422
|
+
path: _path2 + ".skipValuesBuild",
|
|
1423
|
+
expected: "(boolean | undefined)",
|
|
1424
|
+
value: input3.skipValuesBuild
|
|
1409
1425
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1410
1426
|
path: _path2 + ".kind",
|
|
1411
1427
|
expected: '"gene"',
|
|
@@ -1503,6 +1519,10 @@ var validBrainImagingRequest = (input) => {
|
|
|
1503
1519
|
path: _path2 + ".values",
|
|
1504
1520
|
expected: "(TermValues | undefined)",
|
|
1505
1521
|
value: input3.values
|
|
1522
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1523
|
+
path: _path2 + ".skipValuesBuild",
|
|
1524
|
+
expected: "(boolean | undefined)",
|
|
1525
|
+
value: input3.skipValuesBuild
|
|
1506
1526
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1507
1527
|
path: _path2 + ".kind",
|
|
1508
1528
|
expected: '"coord"',
|