@sjcrh/proteinpaint-types 2.146.4-1 → 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 +5 -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
@@ -2,7 +2,7 @@ import {
2
2
  aiProjectSelectedWSImagesResponsePayload,
3
3
  validAiProjectSelectedWSImagesRequest,
4
4
  validAiProjectSelectedWSImagesResponse
5
- } from "./chunk-75OHIZMS.js";
5
+ } from "./chunk-225Q2ZUA.js";
6
6
  import "./chunk-YNHC5SXO.js";
7
7
  export {
8
8
  aiProjectSelectedWSImagesResponsePayload,
@@ -0,0 +1,11 @@
1
+ import {
2
+ aiProjectTrainModelPayload,
3
+ validAIProjectTrainModelRequest,
4
+ validAIProjectTrainModelResponse
5
+ } from "./chunk-UYJA4UM7.js";
6
+ import "./chunk-YNHC5SXO.js";
7
+ export {
8
+ aiProjectTrainModelPayload,
9
+ validAIProjectTrainModelRequest,
10
+ validAIProjectTrainModelResponse
11
+ };
@@ -2,7 +2,7 @@ import {
2
2
  brainImagingPayload,
3
3
  validBrainImagingRequest,
4
4
  validBrainImagingResponse
5
- } from "./chunk-7ICZFAGK.js";
5
+ } from "./chunk-KSVIBMFQ.js";
6
6
  import "./chunk-YNHC5SXO.js";
7
7
  export {
8
8
  brainImagingPayload,
@@ -75,7 +75,7 @@ var validAiProjectSelectedWSImagesResponse = (input) => {
75
75
  const $io0 = (input3) => Array.isArray(input3.wsimages) && input3.wsimages.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
76
76
  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);
77
77
  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]));
78
- 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]));
78
+ 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]));
79
79
  const $io4 = (input3) => "number" === typeof input3.id && "string" === typeof input3.key_shortcut && "string" === typeof input3.label && "string" === typeof input3.color;
80
80
  return "object" === typeof input2 && null !== input2 && $io0(input2);
81
81
  };
@@ -208,11 +208,7 @@ var validAiProjectSelectedWSImagesResponse = (input) => {
208
208
  expected: "[number, number]",
209
209
  value: input3.zoomCoordinates
210
210
  })].every((flag) => flag);
211
- const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.type || $report(_exceptionable2, {
212
- path: _path2 + ".type",
213
- expected: "string",
214
- value: input3.type
215
- }), "string" === typeof input3["class"] || $report(_exceptionable2, {
211
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3["class"] || $report(_exceptionable2, {
216
212
  path: _path2 + '["class"]',
217
213
  expected: "string",
218
214
  value: input3["class"]