@sjcrh/proteinpaint-types 2.176.0 → 2.177.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-CJVAIEUK.js → chunk-2DJFVQUQ.js} +273 -203
- package/dist/{chunk-HJEEUTW3.js → chunk-44LN7YTE.js} +82 -12
- package/dist/{chunk-QYQNPL6O.js → chunk-4SOVPEYQ.js} +125 -55
- package/dist/{chunk-U5H2DV3T.js → chunk-5KF6Z3GL.js} +82 -12
- package/dist/{chunk-GZRRMIZZ.js → chunk-63OD34W2.js} +273 -203
- package/dist/{chunk-CMC3WJO7.js → chunk-7NKZVHIZ.js} +251 -177
- package/dist/{chunk-YIF5KN5P.js → chunk-7WEVNKAM.js} +273 -203
- package/dist/{chunk-ZGX6LDVV.js → chunk-F4YCPOQV.js} +82 -12
- package/dist/{chunk-7LV73FRY.js → chunk-LHJGTOZJ.js} +292 -222
- package/dist/{chunk-Z763D57O.js → chunk-Q6MWNJ2V.js} +469 -325
- package/dist/{chunk-CJKG67B2.js → chunk-TWNJZBZK.js} +61 -17
- package/dist/{chunk-VZNEPZ73.js → chunk-UQEAM7BH.js} +273 -203
- package/dist/{chunk-6VN4YVWP.js → chunk-URHI6FFP.js} +333 -189
- package/dist/{chunk-JVEPTUQN.js → chunk-W7UCAYSF.js} +82 -12
- package/dist/correlationVolcano.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.chat.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.runChart.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 +6 -0
- package/src/routes/termdb.runChart.ts +29 -12
- package/src/terms/termCollection.ts +2 -2
|
@@ -78,16 +78,17 @@ var validChatRequest = (input) => {
|
|
|
78
78
|
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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
79
79
|
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
80
80
|
const $io39 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io40(input3.term)) && "number" === typeof input3.ratio;
|
|
81
|
-
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "
|
|
82
|
-
const $io41 = (input3) =>
|
|
81
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io41(elem))) && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io42(input3.propsByTermId));
|
|
82
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
|
|
83
|
+
const $io42 = (input3) => Object.keys(input3).every((key) => {
|
|
83
84
|
const value = input3[key];
|
|
84
85
|
if (void 0 === value)
|
|
85
86
|
return true;
|
|
86
87
|
if (RegExp(/(.*)/).test(key))
|
|
87
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
88
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io43(value);
|
|
88
89
|
return true;
|
|
89
90
|
});
|
|
90
|
-
const $
|
|
91
|
+
const $io43 = (input3) => Object.keys(input3).every((key) => {
|
|
91
92
|
const value = input3[key];
|
|
92
93
|
if (void 0 === value)
|
|
93
94
|
return true;
|
|
@@ -2205,15 +2206,19 @@ var validChatRequest = (input) => {
|
|
|
2205
2206
|
value: input3.collectionId
|
|
2206
2207
|
}), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
|
|
2207
2208
|
path: _path2 + ".termlst",
|
|
2208
|
-
expected: "Array<
|
|
2209
|
+
expected: "Array<BaseTerm>",
|
|
2209
2210
|
value: input3.termlst
|
|
2210
|
-
})) && input3.termlst.map((elem, _index42) => "
|
|
2211
|
+
})) && input3.termlst.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2211
2212
|
path: _path2 + ".termlst[" + _index42 + "]",
|
|
2212
|
-
expected: "
|
|
2213
|
+
expected: "BaseTerm",
|
|
2214
|
+
value: elem
|
|
2215
|
+
})) && $vo41(elem, _path2 + ".termlst[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2216
|
+
path: _path2 + ".termlst[" + _index42 + "]",
|
|
2217
|
+
expected: "BaseTerm",
|
|
2213
2218
|
value: elem
|
|
2214
2219
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2215
2220
|
path: _path2 + ".termlst",
|
|
2216
|
-
expected: "Array<
|
|
2221
|
+
expected: "Array<BaseTerm>",
|
|
2217
2222
|
value: input3.termlst
|
|
2218
2223
|
}), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
|
|
2219
2224
|
path: _path2 + ".numerators",
|
|
@@ -2235,12 +2240,77 @@ var validChatRequest = (input) => {
|
|
|
2235
2240
|
path: _path2 + ".propsByTermId",
|
|
2236
2241
|
expected: "__type.o6",
|
|
2237
2242
|
value: input3.propsByTermId
|
|
2238
|
-
})) && $
|
|
2243
|
+
})) && $vo42(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2239
2244
|
path: _path2 + ".propsByTermId",
|
|
2240
2245
|
expected: "__type.o6",
|
|
2241
2246
|
value: input3.propsByTermId
|
|
2242
2247
|
})].every((flag) => flag);
|
|
2243
|
-
const $vo41 = (input3, _path2, _exceptionable2 = true) => [
|
|
2248
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2249
|
+
path: _path2 + ".id",
|
|
2250
|
+
expected: "string",
|
|
2251
|
+
value: input3.id
|
|
2252
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2253
|
+
path: _path2 + ".name",
|
|
2254
|
+
expected: "string",
|
|
2255
|
+
value: input3.name
|
|
2256
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2257
|
+
path: _path2 + ".type",
|
|
2258
|
+
expected: "string",
|
|
2259
|
+
value: input3.type
|
|
2260
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2261
|
+
path: _path2 + ".child_types",
|
|
2262
|
+
expected: "(Array<string> | undefined)",
|
|
2263
|
+
value: input3.child_types
|
|
2264
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2265
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
2266
|
+
expected: "string",
|
|
2267
|
+
value: elem
|
|
2268
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2269
|
+
path: _path2 + ".child_types",
|
|
2270
|
+
expected: "(Array<string> | undefined)",
|
|
2271
|
+
value: input3.child_types
|
|
2272
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2273
|
+
path: _path2 + ".hashtmldetail",
|
|
2274
|
+
expected: "(boolean | undefined)",
|
|
2275
|
+
value: input3.hashtmldetail
|
|
2276
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2277
|
+
path: _path2 + ".included_types",
|
|
2278
|
+
expected: "(Array<string> | undefined)",
|
|
2279
|
+
value: input3.included_types
|
|
2280
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2281
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
2282
|
+
expected: "string",
|
|
2283
|
+
value: elem
|
|
2284
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2285
|
+
path: _path2 + ".included_types",
|
|
2286
|
+
expected: "(Array<string> | undefined)",
|
|
2287
|
+
value: input3.included_types
|
|
2288
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2289
|
+
path: _path2 + ".isleaf",
|
|
2290
|
+
expected: "(boolean | undefined)",
|
|
2291
|
+
value: input3.isleaf
|
|
2292
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2293
|
+
path: _path2 + ".values",
|
|
2294
|
+
expected: "(TermValues | undefined)",
|
|
2295
|
+
value: input3.values
|
|
2296
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2297
|
+
path: _path2 + ".values",
|
|
2298
|
+
expected: "(TermValues | undefined)",
|
|
2299
|
+
value: input3.values
|
|
2300
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2301
|
+
path: _path2 + ".skipValuesBuild",
|
|
2302
|
+
expected: "(boolean | undefined)",
|
|
2303
|
+
value: input3.skipValuesBuild
|
|
2304
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2305
|
+
path: _path2 + ".valueConversion",
|
|
2306
|
+
expected: "(__type.o1 | undefined)",
|
|
2307
|
+
value: input3.valueConversion
|
|
2308
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2309
|
+
path: _path2 + ".valueConversion",
|
|
2310
|
+
expected: "(__type.o1 | undefined)",
|
|
2311
|
+
value: input3.valueConversion
|
|
2312
|
+
})].every((flag) => flag);
|
|
2313
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2244
2314
|
const value = input3[key];
|
|
2245
2315
|
if (void 0 === value)
|
|
2246
2316
|
return true;
|
|
@@ -2249,14 +2319,14 @@ var validChatRequest = (input) => {
|
|
|
2249
2319
|
path: _path2 + $join(key),
|
|
2250
2320
|
expected: "__type.o7",
|
|
2251
2321
|
value
|
|
2252
|
-
})) && $
|
|
2322
|
+
})) && $vo43(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2253
2323
|
path: _path2 + $join(key),
|
|
2254
2324
|
expected: "__type.o7",
|
|
2255
2325
|
value
|
|
2256
2326
|
});
|
|
2257
2327
|
return true;
|
|
2258
2328
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2259
|
-
const $
|
|
2329
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2260
2330
|
const value = input3[key];
|
|
2261
2331
|
if (void 0 === value)
|
|
2262
2332
|
return true;
|