@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.
Files changed (33) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-CJVAIEUK.js → chunk-2DJFVQUQ.js} +273 -203
  3. package/dist/{chunk-HJEEUTW3.js → chunk-44LN7YTE.js} +82 -12
  4. package/dist/{chunk-QYQNPL6O.js → chunk-4SOVPEYQ.js} +125 -55
  5. package/dist/{chunk-U5H2DV3T.js → chunk-5KF6Z3GL.js} +82 -12
  6. package/dist/{chunk-GZRRMIZZ.js → chunk-63OD34W2.js} +273 -203
  7. package/dist/{chunk-CMC3WJO7.js → chunk-7NKZVHIZ.js} +251 -177
  8. package/dist/{chunk-YIF5KN5P.js → chunk-7WEVNKAM.js} +273 -203
  9. package/dist/{chunk-ZGX6LDVV.js → chunk-F4YCPOQV.js} +82 -12
  10. package/dist/{chunk-7LV73FRY.js → chunk-LHJGTOZJ.js} +292 -222
  11. package/dist/{chunk-Z763D57O.js → chunk-Q6MWNJ2V.js} +469 -325
  12. package/dist/{chunk-CJKG67B2.js → chunk-TWNJZBZK.js} +61 -17
  13. package/dist/{chunk-VZNEPZ73.js → chunk-UQEAM7BH.js} +273 -203
  14. package/dist/{chunk-6VN4YVWP.js → chunk-URHI6FFP.js} +333 -189
  15. package/dist/{chunk-JVEPTUQN.js → chunk-W7UCAYSF.js} +82 -12
  16. package/dist/correlationVolcano.js +1 -1
  17. package/dist/index.js +14 -14
  18. package/dist/termdb.boxplot.js +1 -1
  19. package/dist/termdb.categories.js +1 -1
  20. package/dist/termdb.chat.js +1 -1
  21. package/dist/termdb.cluster.js +1 -1
  22. package/dist/termdb.descrstats.js +1 -1
  23. package/dist/termdb.numericcategories.js +1 -1
  24. package/dist/termdb.percentile.js +1 -1
  25. package/dist/termdb.runChart.js +1 -1
  26. package/dist/termdb.termsbyids.js +1 -1
  27. package/dist/termdb.topTermsByType.js +1 -1
  28. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  29. package/dist/termdb.violin.js +1 -1
  30. package/package.json +1 -1
  31. package/src/dataset.ts +6 -0
  32. package/src/routes/termdb.runChart.ts +29 -12
  33. package/src/terms/termCollection.ts +2 -2
@@ -78,16 +78,17 @@ var validNumericCategoriesRequest = (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) => "string" === typeof 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) && $io41(input3.propsByTermId));
82
- const $io41 = (input3) => Object.keys(input3).every((key) => {
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) && $io42(value);
88
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io43(value);
88
89
  return true;
89
90
  });
90
- const $io42 = (input3) => Object.keys(input3).every((key) => {
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;
@@ -2209,15 +2210,19 @@ var validNumericCategoriesRequest = (input) => {
2209
2210
  value: input3.collectionId
2210
2211
  }), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
2211
2212
  path: _path2 + ".termlst",
2212
- expected: "Array<string>",
2213
+ expected: "Array<BaseTerm>",
2213
2214
  value: input3.termlst
2214
- })) && input3.termlst.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2215
+ })) && input3.termlst.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2215
2216
  path: _path2 + ".termlst[" + _index42 + "]",
2216
- expected: "string",
2217
+ expected: "BaseTerm",
2218
+ value: elem
2219
+ })) && $vo41(elem, _path2 + ".termlst[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
2220
+ path: _path2 + ".termlst[" + _index42 + "]",
2221
+ expected: "BaseTerm",
2217
2222
  value: elem
2218
2223
  })).every((flag) => flag) || $report(_exceptionable2, {
2219
2224
  path: _path2 + ".termlst",
2220
- expected: "Array<string>",
2225
+ expected: "Array<BaseTerm>",
2221
2226
  value: input3.termlst
2222
2227
  }), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
2223
2228
  path: _path2 + ".numerators",
@@ -2239,12 +2244,77 @@ var validNumericCategoriesRequest = (input) => {
2239
2244
  path: _path2 + ".propsByTermId",
2240
2245
  expected: "__type.o6",
2241
2246
  value: input3.propsByTermId
2242
- })) && $vo41(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2247
+ })) && $vo42(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2243
2248
  path: _path2 + ".propsByTermId",
2244
2249
  expected: "__type.o6",
2245
2250
  value: input3.propsByTermId
2246
2251
  })].every((flag) => flag);
2247
- const $vo41 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2252
+ const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2253
+ path: _path2 + ".id",
2254
+ expected: "string",
2255
+ value: input3.id
2256
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2257
+ path: _path2 + ".name",
2258
+ expected: "string",
2259
+ value: input3.name
2260
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
2261
+ path: _path2 + ".type",
2262
+ expected: "string",
2263
+ value: input3.type
2264
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2265
+ path: _path2 + ".child_types",
2266
+ expected: "(Array<string> | undefined)",
2267
+ value: input3.child_types
2268
+ })) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2269
+ path: _path2 + ".child_types[" + _index44 + "]",
2270
+ expected: "string",
2271
+ value: elem
2272
+ })).every((flag) => flag) || $report(_exceptionable2, {
2273
+ path: _path2 + ".child_types",
2274
+ expected: "(Array<string> | undefined)",
2275
+ value: input3.child_types
2276
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2277
+ path: _path2 + ".hashtmldetail",
2278
+ expected: "(boolean | undefined)",
2279
+ value: input3.hashtmldetail
2280
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2281
+ path: _path2 + ".included_types",
2282
+ expected: "(Array<string> | undefined)",
2283
+ value: input3.included_types
2284
+ })) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2285
+ path: _path2 + ".included_types[" + _index45 + "]",
2286
+ expected: "string",
2287
+ value: elem
2288
+ })).every((flag) => flag) || $report(_exceptionable2, {
2289
+ path: _path2 + ".included_types",
2290
+ expected: "(Array<string> | undefined)",
2291
+ value: input3.included_types
2292
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2293
+ path: _path2 + ".isleaf",
2294
+ expected: "(boolean | undefined)",
2295
+ value: input3.isleaf
2296
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2297
+ path: _path2 + ".values",
2298
+ expected: "(TermValues | undefined)",
2299
+ value: input3.values
2300
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2301
+ path: _path2 + ".values",
2302
+ expected: "(TermValues | undefined)",
2303
+ value: input3.values
2304
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2305
+ path: _path2 + ".skipValuesBuild",
2306
+ expected: "(boolean | undefined)",
2307
+ value: input3.skipValuesBuild
2308
+ }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2309
+ path: _path2 + ".valueConversion",
2310
+ expected: "(__type.o1 | undefined)",
2311
+ value: input3.valueConversion
2312
+ })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2313
+ path: _path2 + ".valueConversion",
2314
+ expected: "(__type.o1 | undefined)",
2315
+ value: input3.valueConversion
2316
+ })].every((flag) => flag);
2317
+ const $vo42 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2248
2318
  const value = input3[key];
2249
2319
  if (void 0 === value)
2250
2320
  return true;
@@ -2253,14 +2323,14 @@ var validNumericCategoriesRequest = (input) => {
2253
2323
  path: _path2 + $join(key),
2254
2324
  expected: "__type.o7",
2255
2325
  value
2256
- })) && $vo42(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2326
+ })) && $vo43(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2257
2327
  path: _path2 + $join(key),
2258
2328
  expected: "__type.o7",
2259
2329
  value
2260
2330
  });
2261
2331
  return true;
2262
2332
  }).every((flag) => flag)].every((flag) => flag);
2263
- const $vo42 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2333
+ const $vo43 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2264
2334
  const value = input3[key];
2265
2335
  if (void 0 === value)
2266
2336
  return true;