@sjcrh/proteinpaint-types 2.169.0 → 2.170.1

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 (42) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-EBPGV76U.js → chunk-33FYSH3O.js} +130 -2
  3. package/dist/{chunk-GIPUG4HD.js → chunk-447IAMTQ.js} +130 -2
  4. package/dist/{chunk-ZXPLL3NT.js → chunk-53QZTLJK.js} +417 -185
  5. package/dist/{chunk-PZHVYGSD.js → chunk-A5Z4YYMF.js} +492 -236
  6. package/dist/{chunk-5F24QFE7.js → chunk-BPDR66LV.js} +385 -151
  7. package/dist/{chunk-C27KCAQH.js → chunk-CUU7POGC.js} +417 -185
  8. package/dist/{chunk-FTPYJPUB.js → chunk-FK7OCBPT.js} +5 -1
  9. package/dist/{chunk-OLXOQLZH.js → chunk-GNLX5NQ5.js} +243 -49
  10. package/dist/{chunk-GZKTMVAU.js → chunk-HDED6K55.js} +515 -153
  11. package/dist/{chunk-LXW2FSLR.js → chunk-MH3TDIL4.js} +439 -207
  12. package/dist/{chunk-OLWNM7QP.js → chunk-MJEQEGN4.js} +130 -2
  13. package/dist/{chunk-5OMJAZK4.js → chunk-QL6YSLN6.js} +171 -43
  14. package/dist/{chunk-CC32XCET.js → chunk-UQNHLAZN.js} +660 -298
  15. package/dist/{chunk-VQOCGHP2.js → chunk-YCURJJSC.js} +5 -1
  16. package/dist/{chunk-MCL6EDOS.js → chunk-ZAMM6EMS.js} +421 -189
  17. package/dist/correlationVolcano.js +1 -1
  18. package/dist/grin2.js +1 -1
  19. package/dist/healthcheck.js +1 -1
  20. package/dist/index.js +15 -15
  21. package/dist/termdb.boxplot.js +1 -1
  22. package/dist/termdb.categories.js +1 -1
  23. package/dist/termdb.chat.js +1 -1
  24. package/dist/termdb.cluster.js +1 -1
  25. package/dist/termdb.descrstats.js +1 -1
  26. package/dist/termdb.numericcategories.js +1 -1
  27. package/dist/termdb.percentile.js +1 -1
  28. package/dist/termdb.termsbyids.js +1 -1
  29. package/dist/termdb.topTermsByType.js +1 -1
  30. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  31. package/dist/termdb.violin.js +1 -1
  32. package/package.json +1 -1
  33. package/src/dataset.ts +8 -2
  34. package/src/filter.ts +7 -1
  35. package/src/index.ts +1 -0
  36. package/src/routes/grin2.ts +5 -0
  37. package/src/routes/healthcheck.ts +1 -0
  38. package/src/routes/termdb.boxplot.ts +6 -2
  39. package/src/routes/termdb.violin.ts +12 -4
  40. package/src/terms/term.ts +3 -1
  41. package/src/terms/termCollection.ts +52 -0
  42. package/src/terms/tw.ts +3 -2
@@ -65,7 +65,7 @@ var validHealthCheckResponse = (input) => {
65
65
  const errors = [];
66
66
  const __is = (input2) => {
67
67
  const $join = import_typia.createValidate.join;
68
- const $io0 = (input3) => ("ok" === input3.status || "error" === input3.status) && ("object" === typeof input3.genomes && null !== input3.genomes && false === Array.isArray(input3.genomes) && $io1(input3.genomes)) && ("object" === typeof input3.versionInfo && null !== input3.versionInfo && $io6(input3.versionInfo)) && (void 0 === input3.byDataset || "object" === typeof input3.byDataset && null !== input3.byDataset && false === Array.isArray(input3.byDataset) && $io9(input3.byDataset)) && (void 0 === input3.auth || "object" === typeof input3.auth && null !== input3.auth && false === Array.isArray(input3.auth) && $io10(input3.auth)) && (void 0 === input3.w || Array.isArray(input3.w) && input3.w.every((elem) => "number" === typeof elem)) && (void 0 === input3.rs || "number" === typeof input3.rs);
68
+ const $io0 = (input3) => ("ok" === input3.status || "error" === input3.status) && ("object" === typeof input3.genomes && null !== input3.genomes && false === Array.isArray(input3.genomes) && $io1(input3.genomes)) && ("object" === typeof input3.versionInfo && null !== input3.versionInfo && $io6(input3.versionInfo)) && (void 0 === input3.byDataset || "object" === typeof input3.byDataset && null !== input3.byDataset && false === Array.isArray(input3.byDataset) && $io9(input3.byDataset)) && (void 0 === input3.auth || "object" === typeof input3.auth && null !== input3.auth && false === Array.isArray(input3.auth) && $io10(input3.auth)) && (void 0 === input3.w || Array.isArray(input3.w) && input3.w.every((elem) => "number" === typeof elem)) && (void 0 === input3.rs || "number" === typeof input3.rs) && Array.isArray(input3.dsInitStatus);
69
69
  const $io1 = (input3) => Object.keys(input3).every((key) => {
70
70
  const value = input3[key];
71
71
  if (void 0 === value)
@@ -169,6 +169,10 @@ var validHealthCheckResponse = (input) => {
169
169
  path: _path2 + ".rs",
170
170
  expected: "(number | undefined)",
171
171
  value: input3.rs
172
+ }), Array.isArray(input3.dsInitStatus) || $report(_exceptionable2, {
173
+ path: _path2 + ".dsInitStatus",
174
+ expected: "Array<any>",
175
+ value: input3.dsInitStatus
172
176
  })].every((flag) => flag);
173
177
  const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
174
178
  const value = input3[key];
@@ -114,6 +114,8 @@ var validViolinRequest = (input) => {
114
114
  const $io36 = (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)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
115
115
  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)));
116
116
  const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
117
+ 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;
118
+ 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) && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem)) && (void 0 === input3.termlst || Array.isArray(input3.termlst)) && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs);
117
119
  const $iu0 = (input3) => (() => {
118
120
  if ("tvslst" === input3.type)
119
121
  return $io1(input3);
@@ -145,6 +147,8 @@ var validViolinRequest = (input) => {
145
147
  const $iu4 = (input3) => (() => {
146
148
  if (void 0 !== input3.ranges)
147
149
  return $io13(input3);
150
+ if (void 0 !== input3.ratio)
151
+ return $io39(input3);
148
152
  return (() => {
149
153
  if ($io3(input3))
150
154
  return $io3(input3);
@@ -318,11 +322,11 @@ var validViolinRequest = (input) => {
318
322
  value: input3.type
319
323
  }), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
320
324
  path: _path2 + ".tvs",
321
- expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
325
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
322
326
  value: input3.tvs
323
327
  })) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
324
328
  path: _path2 + ".tvs",
325
- expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
329
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
326
330
  value: input3.tvs
327
331
  })].every((flag) => flag);
328
332
  const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
@@ -2175,6 +2179,128 @@ var validViolinRequest = (input) => {
2175
2179
  expected: "string",
2176
2180
  value: input3.value
2177
2181
  })].every((flag) => flag);
2182
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2183
+ path: _path2 + ".join",
2184
+ expected: "(string | undefined)",
2185
+ value: input3.join
2186
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2187
+ path: _path2 + ".isnot",
2188
+ expected: "(boolean | undefined)",
2189
+ value: input3.isnot
2190
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2191
+ path: _path2 + ".term",
2192
+ expected: "TermCollection",
2193
+ value: input3.term
2194
+ })) && $vo40(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2195
+ path: _path2 + ".term",
2196
+ expected: "TermCollection",
2197
+ value: input3.term
2198
+ }), "number" === typeof input3.ratio || $report(_exceptionable2, {
2199
+ path: _path2 + ".ratio",
2200
+ expected: "number",
2201
+ value: input3.ratio
2202
+ })].every((flag) => flag);
2203
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2204
+ path: _path2 + ".id",
2205
+ expected: "string",
2206
+ value: input3.id
2207
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2208
+ path: _path2 + ".name",
2209
+ expected: "string",
2210
+ value: input3.name
2211
+ }), "termCollection" === input3.type || $report(_exceptionable2, {
2212
+ path: _path2 + ".type",
2213
+ expected: '"termCollection"',
2214
+ value: input3.type
2215
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2216
+ path: _path2 + ".child_types",
2217
+ expected: "(Array<string> | undefined)",
2218
+ value: input3.child_types
2219
+ })) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2220
+ path: _path2 + ".child_types[" + _index41 + "]",
2221
+ expected: "string",
2222
+ value: elem
2223
+ })).every((flag) => flag) || $report(_exceptionable2, {
2224
+ path: _path2 + ".child_types",
2225
+ expected: "(Array<string> | undefined)",
2226
+ value: input3.child_types
2227
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2228
+ path: _path2 + ".hashtmldetail",
2229
+ expected: "(boolean | undefined)",
2230
+ value: input3.hashtmldetail
2231
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2232
+ path: _path2 + ".included_types",
2233
+ expected: "(Array<string> | undefined)",
2234
+ value: input3.included_types
2235
+ })) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2236
+ path: _path2 + ".included_types[" + _index42 + "]",
2237
+ expected: "string",
2238
+ value: elem
2239
+ })).every((flag) => flag) || $report(_exceptionable2, {
2240
+ path: _path2 + ".included_types",
2241
+ expected: "(Array<string> | undefined)",
2242
+ value: input3.included_types
2243
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2244
+ path: _path2 + ".isleaf",
2245
+ expected: "(boolean | undefined)",
2246
+ value: input3.isleaf
2247
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2248
+ path: _path2 + ".values",
2249
+ expected: "(TermValues | undefined)",
2250
+ value: input3.values
2251
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2252
+ path: _path2 + ".values",
2253
+ expected: "(TermValues | undefined)",
2254
+ value: input3.values
2255
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2256
+ path: _path2 + ".skipValuesBuild",
2257
+ expected: "(boolean | undefined)",
2258
+ value: input3.skipValuesBuild
2259
+ }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2260
+ path: _path2 + ".valueConversion",
2261
+ expected: "(__type.o1 | undefined)",
2262
+ value: input3.valueConversion
2263
+ })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2264
+ path: _path2 + ".valueConversion",
2265
+ expected: "(__type.o1 | undefined)",
2266
+ value: input3.valueConversion
2267
+ }), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
2268
+ path: _path2 + ".collectionId",
2269
+ expected: "(string | undefined)",
2270
+ value: input3.collectionId
2271
+ }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
2272
+ path: _path2 + ".lst",
2273
+ expected: "(Array<string> | undefined)",
2274
+ value: input3.lst
2275
+ })) && input3.lst.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2276
+ path: _path2 + ".lst[" + _index43 + "]",
2277
+ expected: "string",
2278
+ value: elem
2279
+ })).every((flag) => flag) || $report(_exceptionable2, {
2280
+ path: _path2 + ".lst",
2281
+ expected: "(Array<string> | undefined)",
2282
+ value: input3.lst
2283
+ }), void 0 === input3.termlst || Array.isArray(input3.termlst) || $report(_exceptionable2, {
2284
+ path: _path2 + ".termlst",
2285
+ expected: "(Array<any> | undefined)",
2286
+ value: input3.termlst
2287
+ }), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
2288
+ path: _path2 + ".numerators",
2289
+ expected: "(Array<string> | undefined)",
2290
+ value: input3.numerators
2291
+ })) && input3.numerators.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2292
+ path: _path2 + ".numerators[" + _index44 + "]",
2293
+ expected: "string",
2294
+ value: elem
2295
+ })).every((flag) => flag) || $report(_exceptionable2, {
2296
+ path: _path2 + ".numerators",
2297
+ expected: "(Array<string> | undefined)",
2298
+ value: input3.numerators
2299
+ }), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
2300
+ path: _path2 + ".newTvs",
2301
+ expected: "(boolean | undefined)",
2302
+ value: input3.newTvs
2303
+ })].every((flag) => flag);
2178
2304
  const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
2179
2305
  if ("tvslst" === input3.type)
2180
2306
  return $vo1(input3, _path2, _exceptionable2);
@@ -2218,6 +2344,8 @@ var validViolinRequest = (input) => {
2218
2344
  const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
2219
2345
  if (void 0 !== input3.ranges)
2220
2346
  return $vo13(input3, _path2, _exceptionable2);
2347
+ if (void 0 !== input3.ratio)
2348
+ return $vo39(input3, _path2, _exceptionable2);
2221
2349
  return $vo3(input3, _path2, false) || $vo29(input3, _path2, false) || $vo32(input3, _path2, false);
2222
2350
  })();
2223
2351
  const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
@@ -2298,13 +2426,30 @@ var validViolinResponse = (input) => {
2298
2426
  const __is = (input2) => {
2299
2427
  const $join = import_typia.createValidate.join;
2300
2428
  const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
2301
- const $io1 = (input3) => "number" === typeof input3.min && "number" === typeof input3.max && (Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && (void 0 === input3.pvalues || Array.isArray(input3.pvalues) && input3.pvalues.every((elem) => Array.isArray(elem) && elem.every((elem2) => "object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) && $io6(elem2)))) && (null === input3.uncomputableValues || Array.isArray(input3.uncomputableValues) && input3.uncomputableValues.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io7(elem)));
2302
- const $io2 = (input3) => "string" === typeof input3.color && ("object" === typeof input3.density && null !== input3.density && $io3(input3.density)) && true && "string" === typeof input3.label && "number" === typeof input3.plotValueCount && "string" === typeof input3.seriesId && "string" === typeof input3.src && (Array.isArray(input3.summaryStats) && input3.summaryStats.every((elem) => "object" === typeof elem && null !== elem && $io5(elem)));
2303
- const $io3 = (input3) => Array.isArray(input3.bins) && input3.bins.every((elem) => "object" === typeof elem && null !== elem && $io4(elem)) && "number" === typeof input3.densityMax && "number" === typeof input3.densityMin;
2304
- const $io4 = (input3) => "number" === typeof input3.x0 && "number" === typeof input3.x1 && "number" === typeof input3.density;
2305
- const $io5 = (input3) => "string" === typeof input3.id && "string" === typeof input3.label && "number" === typeof input3.value;
2306
- const $io6 = (input3) => (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.html || "string" === typeof input3.html);
2307
- const $io7 = (input3) => Object.keys(input3).every((key) => {
2429
+ const $io1 = (input3) => "object" === typeof input3.bins && null !== input3.bins && false === Array.isArray(input3.bins) && $io2(input3.bins) && ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) && $io3(input3.charts)) && "number" === typeof input3.min && "number" === typeof input3.max && (null === input3.uncomputableValues || Array.isArray(input3.uncomputableValues) && input3.uncomputableValues.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io10(elem)));
2430
+ const $io2 = (input3) => Object.keys(input3).every((key) => {
2431
+ const value = input3[key];
2432
+ if (void 0 === value)
2433
+ return true;
2434
+ if (RegExp(/(.*)/).test(key))
2435
+ return true;
2436
+ return true;
2437
+ });
2438
+ const $io3 = (input3) => Object.keys(input3).every((key) => {
2439
+ const value = input3[key];
2440
+ if (void 0 === value)
2441
+ return true;
2442
+ if (RegExp(/(.*)/).test(key))
2443
+ return "object" === typeof value && null !== value && $io4(value);
2444
+ return true;
2445
+ });
2446
+ const $io4 = (input3) => "string" === typeof input3.chartId && (Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io5(elem))) && (void 0 === input3.pvalues || Array.isArray(input3.pvalues) && input3.pvalues.every((elem) => Array.isArray(elem) && elem.every((elem2) => "object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) && $io9(elem2))));
2447
+ const $io5 = (input3) => "string" === typeof input3.color && "string" === typeof input3.chartId && ("object" === typeof input3.density && null !== input3.density && $io6(input3.density)) && "string" === typeof input3.label && "number" === typeof input3.plotValueCount && "string" === typeof input3.seriesId && "string" === typeof input3.src && (Array.isArray(input3.summaryStats) && input3.summaryStats.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
2448
+ const $io6 = (input3) => Array.isArray(input3.bins) && input3.bins.every((elem) => "object" === typeof elem && null !== elem && $io7(elem)) && "number" === typeof input3.densityMax && "number" === typeof input3.densityMin;
2449
+ const $io7 = (input3) => "number" === typeof input3.x0 && "number" === typeof input3.x1 && "number" === typeof input3.density;
2450
+ const $io8 = (input3) => "string" === typeof input3.id && "string" === typeof input3.label && "number" === typeof input3.value;
2451
+ const $io9 = (input3) => (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.html || "string" === typeof input3.html);
2452
+ const $io10 = (input3) => Object.keys(input3).every((key) => {
2308
2453
  const value = input3[key];
2309
2454
  if (void 0 === value)
2310
2455
  return true;
@@ -2315,7 +2460,7 @@ var validViolinResponse = (input) => {
2315
2460
  const $iu0 = (input3) => (() => {
2316
2461
  if (void 0 !== input3.status)
2317
2462
  return $io0(input3);
2318
- if (void 0 !== input3.min)
2463
+ if (void 0 !== input3.bins)
2319
2464
  return $io1(input3);
2320
2465
  return false;
2321
2466
  })();
@@ -2334,7 +2479,23 @@ var validViolinResponse = (input) => {
2334
2479
  expected: "string",
2335
2480
  value: input3.error
2336
2481
  })].every((flag) => flag);
2337
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.min || $report(_exceptionable2, {
2482
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.bins && null !== input3.bins && false === Array.isArray(input3.bins) || $report(_exceptionable2, {
2483
+ path: _path2 + ".bins",
2484
+ expected: "__type",
2485
+ value: input3.bins
2486
+ })) && $vo2(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
2487
+ path: _path2 + ".bins",
2488
+ expected: "__type",
2489
+ value: input3.bins
2490
+ }), ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) || $report(_exceptionable2, {
2491
+ path: _path2 + ".charts",
2492
+ expected: "__type.o1",
2493
+ value: input3.charts
2494
+ })) && $vo3(input3.charts, _path2 + ".charts", _exceptionable2) || $report(_exceptionable2, {
2495
+ path: _path2 + ".charts",
2496
+ expected: "__type.o1",
2497
+ value: input3.charts
2498
+ }), "number" === typeof input3.min || $report(_exceptionable2, {
2338
2499
  path: _path2 + ".min",
2339
2500
  expected: "number",
2340
2501
  value: input3.min
@@ -2342,16 +2503,61 @@ var validViolinResponse = (input) => {
2342
2503
  path: _path2 + ".max",
2343
2504
  expected: "number",
2344
2505
  value: input3.max
2506
+ }), null === input3.uncomputableValues || (Array.isArray(input3.uncomputableValues) || $report(_exceptionable2, {
2507
+ path: _path2 + ".uncomputableValues",
2508
+ expected: "(Array<__type> | null)",
2509
+ value: input3.uncomputableValues
2510
+ })) && input3.uncomputableValues.map((elem, _index1) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
2511
+ path: _path2 + ".uncomputableValues[" + _index1 + "]",
2512
+ expected: "__type.o3",
2513
+ value: elem
2514
+ })) && $vo10(elem, _path2 + ".uncomputableValues[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
2515
+ path: _path2 + ".uncomputableValues[" + _index1 + "]",
2516
+ expected: "__type.o3",
2517
+ value: elem
2518
+ })).every((flag) => flag) || $report(_exceptionable2, {
2519
+ path: _path2 + ".uncomputableValues",
2520
+ expected: "(Array<__type> | null)",
2521
+ value: input3.uncomputableValues
2522
+ })].every((flag) => flag);
2523
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2524
+ const value = input3[key];
2525
+ if (void 0 === value)
2526
+ return true;
2527
+ if (RegExp(/(.*)/).test(key))
2528
+ return true;
2529
+ return true;
2530
+ }).every((flag) => flag)].every((flag) => flag);
2531
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2532
+ const value = input3[key];
2533
+ if (void 0 === value)
2534
+ return true;
2535
+ if (RegExp(/(.*)/).test(key))
2536
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
2537
+ path: _path2 + $join(key),
2538
+ expected: "__type.o2",
2539
+ value
2540
+ })) && $vo4(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2541
+ path: _path2 + $join(key),
2542
+ expected: "__type.o2",
2543
+ value
2544
+ });
2545
+ return true;
2546
+ }).every((flag) => flag)].every((flag) => flag);
2547
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.chartId || $report(_exceptionable2, {
2548
+ path: _path2 + ".chartId",
2549
+ expected: "string",
2550
+ value: input3.chartId
2345
2551
  }), (Array.isArray(input3.plots) || $report(_exceptionable2, {
2346
2552
  path: _path2 + ".plots",
2347
2553
  expected: "Array<ViolinPlotEntry>",
2348
2554
  value: input3.plots
2349
- })) && input3.plots.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2350
- path: _path2 + ".plots[" + _index1 + "]",
2555
+ })) && input3.plots.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2556
+ path: _path2 + ".plots[" + _index2 + "]",
2351
2557
  expected: "ViolinPlotEntry",
2352
2558
  value: elem
2353
- })) && $vo2(elem, _path2 + ".plots[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
2354
- path: _path2 + ".plots[" + _index1 + "]",
2559
+ })) && $vo5(elem, _path2 + ".plots[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
2560
+ path: _path2 + ".plots[" + _index2 + "]",
2355
2561
  expected: "ViolinPlotEntry",
2356
2562
  value: elem
2357
2563
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2362,56 +2568,44 @@ var validViolinResponse = (input) => {
2362
2568
  path: _path2 + ".pvalues",
2363
2569
  expected: "(Array<Array<PValueEntries>> | undefined)",
2364
2570
  value: input3.pvalues
2365
- })) && input3.pvalues.map((elem, _index2) => (Array.isArray(elem) || $report(_exceptionable2, {
2366
- path: _path2 + ".pvalues[" + _index2 + "]",
2571
+ })) && input3.pvalues.map((elem, _index3) => (Array.isArray(elem) || $report(_exceptionable2, {
2572
+ path: _path2 + ".pvalues[" + _index3 + "]",
2367
2573
  expected: "Array<PValueEntries>",
2368
2574
  value: elem
2369
- })) && elem.map((elem2, _index3) => ("object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) || $report(_exceptionable2, {
2370
- path: _path2 + ".pvalues[" + _index2 + "][" + _index3 + "]",
2575
+ })) && elem.map((elem2, _index4) => ("object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) || $report(_exceptionable2, {
2576
+ path: _path2 + ".pvalues[" + _index3 + "][" + _index4 + "]",
2371
2577
  expected: "PValueEntries",
2372
2578
  value: elem2
2373
- })) && $vo6(elem2, _path2 + ".pvalues[" + _index2 + "][" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
2374
- path: _path2 + ".pvalues[" + _index2 + "][" + _index3 + "]",
2579
+ })) && $vo9(elem2, _path2 + ".pvalues[" + _index3 + "][" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
2580
+ path: _path2 + ".pvalues[" + _index3 + "][" + _index4 + "]",
2375
2581
  expected: "PValueEntries",
2376
2582
  value: elem2
2377
2583
  })).every((flag) => flag) || $report(_exceptionable2, {
2378
- path: _path2 + ".pvalues[" + _index2 + "]",
2584
+ path: _path2 + ".pvalues[" + _index3 + "]",
2379
2585
  expected: "Array<PValueEntries>",
2380
2586
  value: elem
2381
2587
  })).every((flag) => flag) || $report(_exceptionable2, {
2382
2588
  path: _path2 + ".pvalues",
2383
2589
  expected: "(Array<Array<PValueEntries>> | undefined)",
2384
2590
  value: input3.pvalues
2385
- }), null === input3.uncomputableValues || (Array.isArray(input3.uncomputableValues) || $report(_exceptionable2, {
2386
- path: _path2 + ".uncomputableValues",
2387
- expected: "(Array<__type> | null)",
2388
- value: input3.uncomputableValues
2389
- })) && input3.uncomputableValues.map((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
2390
- path: _path2 + ".uncomputableValues[" + _index4 + "]",
2391
- expected: "__type",
2392
- value: elem
2393
- })) && $vo7(elem, _path2 + ".uncomputableValues[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
2394
- path: _path2 + ".uncomputableValues[" + _index4 + "]",
2395
- expected: "__type",
2396
- value: elem
2397
- })).every((flag) => flag) || $report(_exceptionable2, {
2398
- path: _path2 + ".uncomputableValues",
2399
- expected: "(Array<__type> | null)",
2400
- value: input3.uncomputableValues
2401
2591
  })].every((flag) => flag);
2402
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.color || $report(_exceptionable2, {
2592
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.color || $report(_exceptionable2, {
2403
2593
  path: _path2 + ".color",
2404
2594
  expected: "string",
2405
2595
  value: input3.color
2596
+ }), "string" === typeof input3.chartId || $report(_exceptionable2, {
2597
+ path: _path2 + ".chartId",
2598
+ expected: "string",
2599
+ value: input3.chartId
2406
2600
  }), ("object" === typeof input3.density && null !== input3.density || $report(_exceptionable2, {
2407
2601
  path: _path2 + ".density",
2408
2602
  expected: "ViolinDensity",
2409
2603
  value: input3.density
2410
- })) && $vo3(input3.density, _path2 + ".density", _exceptionable2) || $report(_exceptionable2, {
2604
+ })) && $vo6(input3.density, _path2 + ".density", _exceptionable2) || $report(_exceptionable2, {
2411
2605
  path: _path2 + ".density",
2412
2606
  expected: "ViolinDensity",
2413
2607
  value: input3.density
2414
- }), true, "string" === typeof input3.label || $report(_exceptionable2, {
2608
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
2415
2609
  path: _path2 + ".label",
2416
2610
  expected: "string",
2417
2611
  value: input3.label
@@ -2435,7 +2629,7 @@ var validViolinResponse = (input) => {
2435
2629
  path: _path2 + ".summaryStats[" + _index5 + "]",
2436
2630
  expected: "ValuesEntries",
2437
2631
  value: elem
2438
- })) && $vo5(elem, _path2 + ".summaryStats[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
2632
+ })) && $vo8(elem, _path2 + ".summaryStats[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
2439
2633
  path: _path2 + ".summaryStats[" + _index5 + "]",
2440
2634
  expected: "ValuesEntries",
2441
2635
  value: elem
@@ -2444,7 +2638,7 @@ var validViolinResponse = (input) => {
2444
2638
  expected: "Array<ValuesEntries>",
2445
2639
  value: input3.summaryStats
2446
2640
  })].every((flag) => flag);
2447
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.bins) || $report(_exceptionable2, {
2641
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.bins) || $report(_exceptionable2, {
2448
2642
  path: _path2 + ".bins",
2449
2643
  expected: "Array<BinsEntries>",
2450
2644
  value: input3.bins
@@ -2452,7 +2646,7 @@ var validViolinResponse = (input) => {
2452
2646
  path: _path2 + ".bins[" + _index6 + "]",
2453
2647
  expected: "BinsEntries",
2454
2648
  value: elem
2455
- })) && $vo4(elem, _path2 + ".bins[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
2649
+ })) && $vo7(elem, _path2 + ".bins[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
2456
2650
  path: _path2 + ".bins[" + _index6 + "]",
2457
2651
  expected: "BinsEntries",
2458
2652
  value: elem
@@ -2469,7 +2663,7 @@ var validViolinResponse = (input) => {
2469
2663
  expected: "number",
2470
2664
  value: input3.densityMin
2471
2665
  })].every((flag) => flag);
2472
- const $vo4 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.x0 || $report(_exceptionable2, {
2666
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.x0 || $report(_exceptionable2, {
2473
2667
  path: _path2 + ".x0",
2474
2668
  expected: "number",
2475
2669
  value: input3.x0
@@ -2482,7 +2676,7 @@ var validViolinResponse = (input) => {
2482
2676
  expected: "number",
2483
2677
  value: input3.density
2484
2678
  })].every((flag) => flag);
2485
- const $vo5 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2679
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2486
2680
  path: _path2 + ".id",
2487
2681
  expected: "string",
2488
2682
  value: input3.id
@@ -2495,7 +2689,7 @@ var validViolinResponse = (input) => {
2495
2689
  expected: "number",
2496
2690
  value: input3.value
2497
2691
  })].every((flag) => flag);
2498
- const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
2692
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
2499
2693
  path: _path2 + ".value",
2500
2694
  expected: "(string | undefined)",
2501
2695
  value: input3.value
@@ -2504,7 +2698,7 @@ var validViolinResponse = (input) => {
2504
2698
  expected: "(string | undefined)",
2505
2699
  value: input3.html
2506
2700
  })].every((flag) => flag);
2507
- const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2701
+ const $vo10 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2508
2702
  const value = input3[key];
2509
2703
  if (void 0 === value)
2510
2704
  return true;
@@ -2519,7 +2713,7 @@ var validViolinResponse = (input) => {
2519
2713
  const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
2520
2714
  if (void 0 !== input3.status)
2521
2715
  return $vo0(input3, _path2, _exceptionable2);
2522
- if (void 0 !== input3.min)
2716
+ if (void 0 !== input3.bins)
2523
2717
  return $vo1(input3, _path2, _exceptionable2);
2524
2718
  return $report(_exceptionable2, {
2525
2719
  path: _path2,