@sjcrh/proteinpaint-types 2.146.2 → 2.147.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 (38) hide show
  1. package/dist/aiProjectSelectedWSImages.js +1 -1
  2. package/dist/aiProjectTrainModel.js +11 -0
  3. package/dist/brainImaging.js +1 -1
  4. package/dist/{chunk-75OHIZMS.js → chunk-225Q2ZUA.js} +2 -6
  5. package/dist/{chunk-74B7B2CV.js → chunk-2ZJS3NUY.js} +258 -82
  6. package/dist/{chunk-NBV7HYBA.js → chunk-3SKFYOKV.js} +407 -515
  7. package/dist/{chunk-G5KSPYQG.js → chunk-4SJC57Y6.js} +403 -511
  8. package/dist/{chunk-4VEXL32Q.js → chunk-75GS5ZG5.js} +381 -489
  9. package/dist/{chunk-2BHWLFKE.js → chunk-ETMCI34A.js} +2 -6
  10. package/dist/{chunk-7ICZFAGK.js → chunk-KSVIBMFQ.js} +1049 -797
  11. package/dist/{chunk-C246BWQE.js → chunk-NQUMNEVO.js} +258 -82
  12. package/dist/{chunk-4DNCZQOB.js → chunk-OOQIRLS5.js} +258 -82
  13. package/dist/{chunk-5KADNZH2.js → chunk-RA7IEGS4.js} +408 -516
  14. package/dist/chunk-UYJA4UM7.js +97 -0
  15. package/dist/{chunk-GCAZSDCW.js → chunk-WL7ZVGZS.js} +403 -511
  16. package/dist/correlationVolcano.js +1 -1
  17. package/dist/index.js +48 -40
  18. package/dist/samplewsimages.js +1 -1
  19. package/dist/termdb.boxplot.js +1 -1
  20. package/dist/termdb.categories.js +1 -1
  21. package/dist/termdb.cluster.js +1 -1
  22. package/dist/termdb.descrstats.js +1 -1
  23. package/dist/termdb.percentile.js +1 -1
  24. package/dist/termdb.termsbyids.js +1 -1
  25. package/dist/termdb.topTermsByType.js +1 -1
  26. package/package.json +1 -1
  27. package/src/dataset.ts +15 -12
  28. package/src/index.ts +2 -0
  29. package/src/routes/aiProjectSelectedWSImages.ts +0 -1
  30. package/src/routes/aiProjectTrainModel.ts +20 -0
  31. package/src/routes/brainImaging.ts +3 -3
  32. package/src/terms/categorical.ts +9 -90
  33. package/src/terms/q.ts +6 -1
  34. package/src/terms/qualitative.ts +73 -0
  35. package/src/terms/singleCellCellType.ts +6 -10
  36. package/src/terms/snp.ts +9 -13
  37. package/src/terms/term.ts +2 -2
  38. package/src/terms/tw.ts +3 -4
@@ -67,7 +67,7 @@ var validSampleWSImagesResponse = (input) => {
67
67
  const $io0 = (input3) => Array.isArray(input3.sampleWSImages) && input3.sampleWSImages.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
68
68
  const $io1 = (input3) => (void 0 === input3.id || "number" === typeof input3.id) && "string" === typeof input3.filename && (void 0 === input3.metadata || "string" === typeof input3.metadata) && (void 0 === input3.predictionLayers || Array.isArray(input3.predictionLayers) && input3.predictionLayers.every((elem) => "string" === typeof elem)) && (void 0 === input3.annotations || Array.isArray(input3.annotations) && input3.annotations.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && (void 0 === input3.predictions || Array.isArray(input3.predictions) && input3.predictions.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && (void 0 === input3.classes || Array.isArray(input3.classes) && input3.classes.every((elem) => "object" === typeof elem && null !== elem && $io4(elem))) && true && (void 0 === input3.activePatchColor || "string" === typeof input3.activePatchColor) && (void 0 === input3.tileSize || "number" === typeof input3.tileSize);
69
69
  const $io2 = (input3) => "string" === typeof input3["class"] && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1]));
70
- const $io3 = (input3) => "string" === typeof input3.type && "string" === typeof input3["class"] && "number" === typeof input3.uncertainty && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1]));
70
+ const $io3 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.uncertainty && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1]));
71
71
  const $io4 = (input3) => "number" === typeof input3.id && "string" === typeof input3.key_shortcut && "string" === typeof input3.label && "string" === typeof input3.color;
72
72
  return "object" === typeof input2 && null !== input2 && $io0(input2);
73
73
  };
@@ -200,11 +200,7 @@ var validSampleWSImagesResponse = (input) => {
200
200
  expected: "[number, number]",
201
201
  value: input3.zoomCoordinates
202
202
  })].every((flag) => flag);
203
- const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.type || $report(_exceptionable2, {
204
- path: _path2 + ".type",
205
- expected: "string",
206
- value: input3.type
207
- }), "string" === typeof input3["class"] || $report(_exceptionable2, {
203
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3["class"] || $report(_exceptionable2, {
208
204
  path: _path2 + '["class"]',
209
205
  expected: "string",
210
206
  value: input3["class"]