@vitessce/vit-s 3.6.13 → 3.6.15

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 (2) hide show
  1. package/dist/index.js +19 -2
  2. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -31126,6 +31126,7 @@ const FileType$1 = {
31126
31126
  OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
31127
31127
  FEATURE_LABELS_SPATIALDATA_ZARR: "featureLabels.spatialdata.zarr",
31128
31128
  OBS_POINTS_SPATIALDATA_ZARR: "obsPoints.spatialdata.zarr",
31129
+ OBS_EMBEDDING_SPATIALDATA_ZARR: "obsEmbedding.spatialdata.zarr",
31129
31130
  // SpatialData - zipped
31130
31131
  IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
31131
31132
  LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
@@ -31135,6 +31136,7 @@ const FileType$1 = {
31135
31136
  OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
31136
31137
  FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
31137
31138
  OBS_POINTS_SPATIALDATA_ZARR_ZIP: "obsPoints.spatialdata.zarr.zip",
31139
+ OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP: "obsEmbedding.spatialdata.zarr.zip",
31138
31140
  // MuData
31139
31141
  OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
31140
31142
  OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
@@ -31387,6 +31389,7 @@ const STATUS = {
31387
31389
  [FileType$1.OBS_SETS_SPATIALDATA_ZARR]: DataType$1.OBS_SETS,
31388
31390
  [FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: DataType$1.FEATURE_LABELS,
31389
31391
  [FileType$1.OBS_POINTS_SPATIALDATA_ZARR]: DataType$1.OBS_POINTS,
31392
+ [FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR]: DataType$1.OBS_EMBEDDING,
31390
31393
  // For new file types to support old file types
31391
31394
  [FileType$1.OBS_EMBEDDING_CELLS_JSON]: DataType$1.OBS_EMBEDDING,
31392
31395
  [FileType$1.OBS_LOCATIONS_CELLS_JSON]: DataType$1.OBS_LOCATIONS,
@@ -31563,6 +31566,9 @@ const DATA_TYPE_COORDINATION_VALUE_USAGE = {
31563
31566
  },
31564
31567
  [FileType$1.OBS_POINTS_SPATIALDATA_ZARR]: {
31565
31568
  zip: FileType$1.OBS_POINTS_SPATIALDATA_ZARR_ZIP
31569
+ },
31570
+ [FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR]: {
31571
+ zip: FileType$1.OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP
31566
31572
  }
31567
31573
  });
31568
31574
  const AUTO_INDEPENDENT_COORDINATION_TYPES = [
@@ -32237,7 +32243,7 @@ const AUTO_INDEPENDENT_COORDINATION_TYPES = [
32237
32243
  CoordinationType$1.HIERARCHY_LEVELS
32238
32244
  ]
32239
32245
  });
32240
- const version = "3.6.13";
32246
+ const version = "3.6.15";
32241
32247
  const META_VERSION = {
32242
32248
  version
32243
32249
  };
@@ -32685,6 +32691,16 @@ const obsSetsSpatialdataSchema = z.object({
32685
32691
  tablePath: z.string().optional().describe("The path to a table which contains the index for the set values."),
32686
32692
  obsSets: annDataObsSetsArr
32687
32693
  });
32694
+ annDataObsEmbedding.extend({
32695
+ // We extend anndataObsEmbedding which already has properties like `dims` and `path`.
32696
+ region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
32697
+ tablePath: z.string().optional().describe("The path to a table which contains the index for the set values.")
32698
+ });
32699
+ const obsEmbeddingSpatialdataSchemaConvenience = z.union([
32700
+ annDataObsEmbedding,
32701
+ // For convenience, allow an array of items with `embeddingType` properties.
32702
+ z.array(annDataConvenienceObsEmbeddingItem)
32703
+ ]);
32688
32704
  z.object({
32689
32705
  targetX: z.number(),
32690
32706
  targetY: z.number(),
@@ -32793,9 +32809,10 @@ z.object({
32793
32809
  // TODO: obsPoints
32794
32810
  // TODO: obsLocations
32795
32811
  obsSets: obsSetsSpatialdataSchema,
32796
- // TODO: obsEmbedding
32812
+ obsEmbedding: obsEmbeddingSpatialdataSchemaConvenience,
32797
32813
  // TODO: obsLabels
32798
32814
  // TODO: featureLabels
32815
+ // TODO: allow specifying tablePath and region at the top-level here.
32799
32816
  coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
32800
32817
  }).partial();
32801
32818
  z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/vit-s",
3
- "version": "3.6.13",
3
+ "version": "3.6.15",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -28,16 +28,16 @@
28
28
  "zustand": "^5.0.4",
29
29
  "react-aria": "^3.28.0",
30
30
  "react-error-boundary": "^5.0.0",
31
- "@vitessce/styles": "3.6.13",
32
- "@vitessce/abstract": "3.6.13",
33
- "@vitessce/error": "3.6.13",
34
- "@vitessce/constants-internal": "3.6.13",
35
- "@vitessce/plugins": "3.6.13",
36
- "@vitessce/schemas": "3.6.13",
37
- "@vitessce/utils": "3.6.13",
38
- "@vitessce/sets-utils": "3.6.13",
39
- "@vitessce/config": "3.6.13",
40
- "@vitessce/globals": "3.6.13"
31
+ "@vitessce/styles": "3.6.15",
32
+ "@vitessce/abstract": "3.6.15",
33
+ "@vitessce/error": "3.6.15",
34
+ "@vitessce/constants-internal": "3.6.15",
35
+ "@vitessce/plugins": "3.6.15",
36
+ "@vitessce/schemas": "3.6.15",
37
+ "@vitessce/utils": "3.6.15",
38
+ "@vitessce/sets-utils": "3.6.15",
39
+ "@vitessce/config": "3.6.15",
40
+ "@vitessce/globals": "3.6.15"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@testing-library/jest-dom": "^6.6.3",
@@ -46,7 +46,7 @@
46
46
  "react-dom": "^18.0.0",
47
47
  "vite": "^6.3.5",
48
48
  "vitest": "^3.1.4",
49
- "@vitessce/types": "3.6.13"
49
+ "@vitessce/types": "3.6.15"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"