@vitessce/schemas 3.6.6 → 3.6.8

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.
package/dist/index.js CHANGED
@@ -4018,6 +4018,9 @@ const configSchema1_0_16 = configSchema1_0_13.extend({
4018
4018
  const configSchema1_0_17 = configSchema1_0_16.extend({
4019
4019
  version: z.literal("1.0.17")
4020
4020
  });
4021
+ const configSchema1_0_18 = configSchema1_0_17.extend({
4022
+ version: z.literal("1.0.18")
4023
+ });
4021
4024
  let getRandomValues;
4022
4025
  const rnds8 = new Uint8Array(16);
4023
4026
  function rng() {
@@ -5901,7 +5904,54 @@ function upgradeFrom1_0_16(config) {
5901
5904
  version: "1.0.17"
5902
5905
  };
5903
5906
  }
5904
- const latestConfigSchema = configSchema1_0_17;
5907
+ function upgradeFrom1_0_17(config) {
5908
+ const newConfig = cloneDeep(config);
5909
+ const { datasets } = newConfig;
5910
+ const newDatasets = datasets.map((datasetDef) => {
5911
+ const { files } = datasetDef;
5912
+ const newFiles = files.map((fileDef) => {
5913
+ const { fileType, options } = fileDef;
5914
+ if (fileType === "spatialdata.zarr" || fileType === "spatialdata.zarr.zip") {
5915
+ if (options.labels && options.shapes) {
5916
+ throw new Error("Cannot upgrade both labels and shapes at the same time. For now, a workaround is to include two separate spatialdata.zarr file definitions, one for labels and one for shapes.");
5917
+ }
5918
+ if (options.labels) {
5919
+ const newOptions = {
5920
+ ...options,
5921
+ obsSegmentations: options.labels
5922
+ };
5923
+ delete newOptions.labels;
5924
+ return {
5925
+ ...fileDef,
5926
+ options: newOptions
5927
+ };
5928
+ }
5929
+ if (options.shapes) {
5930
+ const newOptions = {
5931
+ ...options,
5932
+ obsSegmentations: options.shapes
5933
+ };
5934
+ delete newOptions.shapes;
5935
+ return {
5936
+ ...fileDef,
5937
+ options: newOptions
5938
+ };
5939
+ }
5940
+ }
5941
+ return fileDef;
5942
+ });
5943
+ return {
5944
+ ...datasetDef,
5945
+ files: newFiles
5946
+ };
5947
+ });
5948
+ return {
5949
+ ...newConfig,
5950
+ datasets: newDatasets,
5951
+ version: "1.0.18"
5952
+ };
5953
+ }
5954
+ const latestConfigSchema = configSchema1_0_18;
5905
5955
  const SCHEMA_HANDLERS = [
5906
5956
  [configSchema0_1_0, upgradeFrom0_1_0],
5907
5957
  [configSchema1_0_0, upgradeFrom1_0_0],
@@ -5920,7 +5970,8 @@ const SCHEMA_HANDLERS = [
5920
5970
  [configSchema1_0_13, upgradeFrom1_0_13],
5921
5971
  [configSchema1_0_14, upgradeFrom1_0_14],
5922
5972
  [configSchema1_0_15, upgradeFrom1_0_15],
5923
- [configSchema1_0_16, upgradeFrom1_0_16]
5973
+ [configSchema1_0_16, upgradeFrom1_0_16],
5974
+ [configSchema1_0_17, upgradeFrom1_0_17]
5924
5975
  ];
5925
5976
  var re = { exports: {} };
5926
5977
  var constants;
@@ -7952,9 +8003,7 @@ const FileType$1 = {
7952
8003
  OBS_SETS_SPATIALDATA_ZARR: "obsSets.spatialdata.zarr",
7953
8004
  OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
7954
8005
  FEATURE_LABELS_SPATIALDATA_ZARR: "featureLabels.spatialdata.zarr",
7955
- // TODO:
7956
- // OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
7957
- // OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
8006
+ OBS_POINTS_SPATIALDATA_ZARR: "obsPoints.spatialdata.zarr",
7958
8007
  // SpatialData - zipped
7959
8008
  IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
7960
8009
  LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
@@ -7963,6 +8012,7 @@ const FileType$1 = {
7963
8012
  OBS_SETS_SPATIALDATA_ZARR_ZIP: "obsSets.spatialdata.zarr.zip",
7964
8013
  OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
7965
8014
  FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
8015
+ OBS_POINTS_SPATIALDATA_ZARR_ZIP: "obsPoints.spatialdata.zarr.zip",
7966
8016
  // MuData
7967
8017
  OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
7968
8018
  OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
@@ -8209,6 +8259,7 @@ const CoordinationType$1 = {
8209
8259
  [FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: DataType$1.OBS_FEATURE_MATRIX,
8210
8260
  [FileType$1.OBS_SETS_SPATIALDATA_ZARR]: DataType$1.OBS_SETS,
8211
8261
  [FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: DataType$1.FEATURE_LABELS,
8262
+ [FileType$1.OBS_POINTS_SPATIALDATA_ZARR]: DataType$1.OBS_POINTS,
8212
8263
  // For new file types to support old file types
8213
8264
  [FileType$1.OBS_EMBEDDING_CELLS_JSON]: DataType$1.OBS_EMBEDDING,
8214
8265
  [FileType$1.OBS_LOCATIONS_CELLS_JSON]: DataType$1.OBS_LOCATIONS,
@@ -8382,6 +8433,9 @@ const CoordinationType$1 = {
8382
8433
  },
8383
8434
  [FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: {
8384
8435
  zip: FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR_ZIP
8436
+ },
8437
+ [FileType$1.OBS_POINTS_SPATIALDATA_ZARR]: {
8438
+ zip: FileType$1.OBS_POINTS_SPATIALDATA_ZARR_ZIP
8385
8439
  }
8386
8440
  });
8387
8441
  [
@@ -9538,10 +9592,14 @@ const imageSpatialdataSchema = z.object({
9538
9592
  coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
9539
9593
  });
9540
9594
  const obsSegmentationsSpatialdataSchema = z.object({
9541
- // TODO: should this be renamed labelsSpatialdataSchema?
9542
- // TODO: support obsTypesFromChannelNames?
9543
- path: z.string(),
9544
- tablePath: z.string().optional().describe("The path to a table which annotates the labels. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
9595
+ // TODO: support obsTypesFromElementNames?
9596
+ path: z.string().describe("The path to the segmentation data, stored in either shapes/ or labels/."),
9597
+ tablePath: z.string().optional().describe("The path to a table which annotates the labels or shapes. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
9598
+ coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
9599
+ });
9600
+ const obsPointsSpatialdataSchema = z.object({
9601
+ path: z.string().describe("The path to the point data."),
9602
+ tablePath: z.string().optional().describe("The path to a table which annotates the points. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
9545
9603
  coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
9546
9604
  });
9547
9605
  const obsLocationsSpatialdataSchema = z.object({
@@ -9681,13 +9739,10 @@ const spatialdataZarrSchema = z.object({
9681
9739
  image: imageSpatialdataSchema,
9682
9740
  // TODO: should this be a special schema
9683
9741
  // to allow specifying fileUid (like for embeddingType)?
9684
- // TODO: allow multiple labels?
9685
- labels: obsSegmentationsSpatialdataSchema,
9742
+ // TODO: allow multiple labels/shapes?
9743
+ obsSegmentations: obsSegmentationsSpatialdataSchema,
9744
+ obsPoints: obsPointsSpatialdataSchema,
9686
9745
  // TODO: allow multiple shapes?
9687
- // TODO: unify labels and shapes to obsSegmentations,
9688
- // then distinguish in expand function based on
9689
- // "labels/*" vs. "shapes/*" in path?
9690
- shapes: obsSegmentationsSpatialdataSchema,
9691
9746
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
9692
9747
  obsSpots: obsSpotsSpatialdataSchema,
9693
9748
  // TODO: obsPoints
@@ -9817,6 +9872,7 @@ export {
9817
9872
  obsLocationsSpatialdataSchema,
9818
9873
  obsPointsAnndataSchema,
9819
9874
  obsPointsCsvSchema,
9875
+ obsPointsSpatialdataSchema,
9820
9876
  obsSegmentationsAnndataSchema,
9821
9877
  obsSegmentationsOmeTiffSchema,
9822
9878
  obsSegmentationsOmeZarrSchema,
@@ -222,6 +222,19 @@ export declare const obsSegmentationsSpatialdataSchema: z.ZodObject<{
222
222
  tablePath?: string | undefined;
223
223
  coordinateSystem?: string | undefined;
224
224
  }>;
225
+ export declare const obsPointsSpatialdataSchema: z.ZodObject<{
226
+ path: z.ZodString;
227
+ tablePath: z.ZodOptional<z.ZodString>;
228
+ coordinateSystem: z.ZodOptional<z.ZodString>;
229
+ }, "strip", z.ZodTypeAny, {
230
+ path: string;
231
+ tablePath?: string | undefined;
232
+ coordinateSystem?: string | undefined;
233
+ }, {
234
+ path: string;
235
+ tablePath?: string | undefined;
236
+ coordinateSystem?: string | undefined;
237
+ }>;
225
238
  export declare const obsLocationsSpatialdataSchema: z.ZodObject<{
226
239
  path: z.ZodString;
227
240
  coordinateSystem: z.ZodOptional<z.ZodString>;
@@ -1200,7 +1213,7 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
1200
1213
  path: string;
1201
1214
  coordinateSystem?: string | undefined;
1202
1215
  }>>;
1203
- labels: z.ZodOptional<z.ZodObject<{
1216
+ obsSegmentations: z.ZodOptional<z.ZodObject<{
1204
1217
  path: z.ZodString;
1205
1218
  tablePath: z.ZodOptional<z.ZodString>;
1206
1219
  coordinateSystem: z.ZodOptional<z.ZodString>;
@@ -1213,7 +1226,7 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
1213
1226
  tablePath?: string | undefined;
1214
1227
  coordinateSystem?: string | undefined;
1215
1228
  }>>;
1216
- shapes: z.ZodOptional<z.ZodObject<{
1229
+ obsPoints: z.ZodOptional<z.ZodObject<{
1217
1230
  path: z.ZodString;
1218
1231
  tablePath: z.ZodOptional<z.ZodString>;
1219
1232
  coordinateSystem: z.ZodOptional<z.ZodString>;
@@ -1297,12 +1310,12 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
1297
1310
  path: string;
1298
1311
  coordinateSystem?: string | undefined;
1299
1312
  } | undefined;
1300
- labels?: {
1313
+ obsSegmentations?: {
1301
1314
  path: string;
1302
1315
  tablePath?: string | undefined;
1303
1316
  coordinateSystem?: string | undefined;
1304
1317
  } | undefined;
1305
- shapes?: {
1318
+ obsPoints?: {
1306
1319
  path: string;
1307
1320
  tablePath?: string | undefined;
1308
1321
  coordinateSystem?: string | undefined;
@@ -1334,12 +1347,12 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
1334
1347
  path: string;
1335
1348
  coordinateSystem?: string | undefined;
1336
1349
  } | undefined;
1337
- labels?: {
1350
+ obsSegmentations?: {
1338
1351
  path: string;
1339
1352
  tablePath?: string | undefined;
1340
1353
  coordinateSystem?: string | undefined;
1341
1354
  } | undefined;
1342
- shapes?: {
1355
+ obsPoints?: {
1343
1356
  path: string;
1344
1357
  tablePath?: string | undefined;
1345
1358
  coordinateSystem?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"file-def-options.d.ts","sourceRoot":"","sources":["../src/file-def-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuKxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK7B,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AAGH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AAIH,eAAO,MAAM,sBAAsB;;;;;;;;;EAKjC,CAAC;AACH,eAAO,MAAM,iCAAiC;;;;;;;;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;EAY9B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBlB,CAAC;AAEb,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBtB,CAAC"}
@@ -172,12 +172,20 @@ export const imageSpatialdataSchema = z.object({
172
172
  .describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.'),
173
173
  });
174
174
  export const obsSegmentationsSpatialdataSchema = z.object({
175
- // TODO: should this be renamed labelsSpatialdataSchema?
176
- // TODO: support obsTypesFromChannelNames?
177
- path: z.string(),
175
+ // TODO: support obsTypesFromElementNames?
176
+ path: z.string().describe('The path to the segmentation data, stored in either shapes/ or labels/.'),
177
+ tablePath: z.string()
178
+ .optional()
179
+ .describe('The path to a table which annotates the labels or shapes. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.'),
180
+ coordinateSystem: z.string()
181
+ .optional()
182
+ .describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.'),
183
+ });
184
+ export const obsPointsSpatialdataSchema = z.object({
185
+ path: z.string().describe('The path to the point data.'),
178
186
  tablePath: z.string()
179
187
  .optional()
180
- .describe('The path to a table which annotates the labels. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.'),
188
+ .describe('The path to a table which annotates the points. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.'),
181
189
  coordinateSystem: z.string()
182
190
  .optional()
183
191
  .describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.'),
@@ -335,13 +343,10 @@ export const spatialdataZarrSchema = z.object({
335
343
  image: imageSpatialdataSchema,
336
344
  // TODO: should this be a special schema
337
345
  // to allow specifying fileUid (like for embeddingType)?
338
- // TODO: allow multiple labels?
339
- labels: obsSegmentationsSpatialdataSchema,
346
+ // TODO: allow multiple labels/shapes?
347
+ obsSegmentations: obsSegmentationsSpatialdataSchema,
348
+ obsPoints: obsPointsSpatialdataSchema,
340
349
  // TODO: allow multiple shapes?
341
- // TODO: unify labels and shapes to obsSegmentations,
342
- // then distinguish in expand function based on
343
- // "labels/*" vs. "shapes/*" in path?
344
- shapes: obsSegmentationsSpatialdataSchema,
345
350
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
346
351
  obsSpots: obsSpotsSpatialdataSchema,
347
352
  // TODO: obsPoints
@@ -3,7 +3,7 @@ export { latestConfigSchema } from './previous-config-meta.js';
3
3
  export { latestFileDefSchema } from './previous-config-schemas.js';
4
4
  export { upgradeAndParse, VERSIONED_CONFIG_SCHEMAS } from './view-config-versions.js';
5
5
  export { rasterJsonSchema } from './raster-json.js';
6
- export { obsEmbeddingCsvSchema, obsSetsCsvSchema, obsSpotsCsvSchema, obsPointsCsvSchema, obsLocationsCsvSchema, obsLabelsCsvSchema, featureLabelsCsvSchema, sampleSetsCsvSchema, obsSetsAnndataSchema, sampleSetsAnndataSchema, obsEmbeddingAnndataSchema, obsSpotsAnndataSchema, obsPointsAnndataSchema, obsLocationsAnndataSchema, obsLabelsAnndataSchema, obsFeatureMatrixAnndataSchema, obsFeatureColumnsAnndataSchema, obsSegmentationsAnndataSchema, featureLabelsAnndataSchema, sampleEdgesAnndataSchema, comparisonMetadataAnndataSchema, featureStatsAnndataSchema, featureSetStatsAnndataSchema, obsSetStatsAnndataSchema, anndataZarrSchema, anndataH5adSchema, spatialdataZarrSchema, imageOmeZarrSchema, imageOmeTiffSchema, imageSpatialdataSchema, obsSegmentationsOmeTiffSchema, obsSegmentationsOmeZarrSchema, obsSegmentationsSpatialdataSchema, obsFeatureMatrixSpatialdataSchema, obsSpotsSpatialdataSchema, obsLocationsSpatialdataSchema, obsSetsSpatialdataSchema, meshGlbSchema, } from './file-def-options.js';
6
+ export { obsEmbeddingCsvSchema, obsSetsCsvSchema, obsSpotsCsvSchema, obsPointsCsvSchema, obsLocationsCsvSchema, obsLabelsCsvSchema, featureLabelsCsvSchema, sampleSetsCsvSchema, obsSetsAnndataSchema, sampleSetsAnndataSchema, obsEmbeddingAnndataSchema, obsSpotsAnndataSchema, obsPointsAnndataSchema, obsLocationsAnndataSchema, obsLabelsAnndataSchema, obsFeatureMatrixAnndataSchema, obsFeatureColumnsAnndataSchema, obsSegmentationsAnndataSchema, featureLabelsAnndataSchema, sampleEdgesAnndataSchema, comparisonMetadataAnndataSchema, featureStatsAnndataSchema, featureSetStatsAnndataSchema, obsSetStatsAnndataSchema, anndataZarrSchema, anndataH5adSchema, spatialdataZarrSchema, imageOmeZarrSchema, imageOmeTiffSchema, imageSpatialdataSchema, obsSegmentationsOmeTiffSchema, obsSegmentationsOmeZarrSchema, obsSegmentationsSpatialdataSchema, obsFeatureMatrixSpatialdataSchema, obsSpotsSpatialdataSchema, obsPointsSpatialdataSchema, obsLocationsSpatialdataSchema, obsSetsSpatialdataSchema, meshGlbSchema, } from './file-def-options.js';
7
7
  export { anndataCellsZarrSchema, anndataCellSetsZarrSchema, anndataExpressionMatrixZarrSchema, cellsJsonSchema, } from './file-def-options-legacy.js';
8
8
  export { obsSetPath, rgbArray, obsSetsSchema, obsSetsTabularSchema, } from './shared.js';
9
9
  export { imageLayerObj, cellsLayerObj, neighborhoodsLayerObj, moleculesLayerObj, } from './spatial-layers.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,yBAAyB,EACzB,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,sBAAsB,EACtB,6BAA6B,EAC7B,8BAA8B,EAC9B,6BAA6B,EAC7B,0BAA0B,EAC1B,wBAAwB,EACxB,+BAA+B,EAC/B,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,EACxB,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,6BAA6B,EAC7B,6BAA6B,EAC7B,iCAAiC,EACjC,iCAAiC,EACjC,yBAAyB,EACzB,6BAA6B,EAC7B,wBAAwB,EACxB,aAAa,GACd,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6B,EAC7B,wBAAwB,EACxB,aAAa,GACd,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,yBAAyB,EACzB,iCAAiC,EACjC,eAAe,GAChB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,UAAU,EACV,QAAQ,EACR,aAAa,EACb,oBAAoB,GACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC"}
package/dist-tsc/index.js CHANGED
@@ -3,7 +3,7 @@ export { latestConfigSchema } from './previous-config-meta.js';
3
3
  export { latestFileDefSchema } from './previous-config-schemas.js';
4
4
  export { upgradeAndParse, VERSIONED_CONFIG_SCHEMAS } from './view-config-versions.js';
5
5
  export { rasterJsonSchema } from './raster-json.js';
6
- export { obsEmbeddingCsvSchema, obsSetsCsvSchema, obsSpotsCsvSchema, obsPointsCsvSchema, obsLocationsCsvSchema, obsLabelsCsvSchema, featureLabelsCsvSchema, sampleSetsCsvSchema, obsSetsAnndataSchema, sampleSetsAnndataSchema, obsEmbeddingAnndataSchema, obsSpotsAnndataSchema, obsPointsAnndataSchema, obsLocationsAnndataSchema, obsLabelsAnndataSchema, obsFeatureMatrixAnndataSchema, obsFeatureColumnsAnndataSchema, obsSegmentationsAnndataSchema, featureLabelsAnndataSchema, sampleEdgesAnndataSchema, comparisonMetadataAnndataSchema, featureStatsAnndataSchema, featureSetStatsAnndataSchema, obsSetStatsAnndataSchema, anndataZarrSchema, anndataH5adSchema, spatialdataZarrSchema, imageOmeZarrSchema, imageOmeTiffSchema, imageSpatialdataSchema, obsSegmentationsOmeTiffSchema, obsSegmentationsOmeZarrSchema, obsSegmentationsSpatialdataSchema, obsFeatureMatrixSpatialdataSchema, obsSpotsSpatialdataSchema, obsLocationsSpatialdataSchema, obsSetsSpatialdataSchema, meshGlbSchema, } from './file-def-options.js';
6
+ export { obsEmbeddingCsvSchema, obsSetsCsvSchema, obsSpotsCsvSchema, obsPointsCsvSchema, obsLocationsCsvSchema, obsLabelsCsvSchema, featureLabelsCsvSchema, sampleSetsCsvSchema, obsSetsAnndataSchema, sampleSetsAnndataSchema, obsEmbeddingAnndataSchema, obsSpotsAnndataSchema, obsPointsAnndataSchema, obsLocationsAnndataSchema, obsLabelsAnndataSchema, obsFeatureMatrixAnndataSchema, obsFeatureColumnsAnndataSchema, obsSegmentationsAnndataSchema, featureLabelsAnndataSchema, sampleEdgesAnndataSchema, comparisonMetadataAnndataSchema, featureStatsAnndataSchema, featureSetStatsAnndataSchema, obsSetStatsAnndataSchema, anndataZarrSchema, anndataH5adSchema, spatialdataZarrSchema, imageOmeZarrSchema, imageOmeTiffSchema, imageSpatialdataSchema, obsSegmentationsOmeTiffSchema, obsSegmentationsOmeZarrSchema, obsSegmentationsSpatialdataSchema, obsFeatureMatrixSpatialdataSchema, obsSpotsSpatialdataSchema, obsPointsSpatialdataSchema, obsLocationsSpatialdataSchema, obsSetsSpatialdataSchema, meshGlbSchema, } from './file-def-options.js';
7
7
  export { anndataCellsZarrSchema, anndataCellSetsZarrSchema, anndataExpressionMatrixZarrSchema, cellsJsonSchema, } from './file-def-options-legacy.js';
8
8
  export { obsSetPath, rgbArray, obsSetsSchema, obsSetsTabularSchema, } from './shared.js';
9
9
  export { imageLayerObj, cellsLayerObj, neighborhoodsLayerObj, moleculesLayerObj, } from './spatial-layers.js';
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { configSchema0_1_0, configSchema1_0_0, configSchema1_0_1, configSchema1_0_2, configSchema1_0_3, configSchema1_0_4, configSchema1_0_5, configSchema1_0_6, configSchema1_0_7, configSchema1_0_8, configSchema1_0_9, configSchema1_0_10, configSchema1_0_11, configSchema1_0_12, configSchema1_0_13, configSchema1_0_14, configSchema1_0_15, configSchema1_0_16, configSchema1_0_17 } from './previous-config-schemas.js';
2
+ import { configSchema0_1_0, configSchema1_0_0, configSchema1_0_1, configSchema1_0_2, configSchema1_0_3, configSchema1_0_4, configSchema1_0_5, configSchema1_0_6, configSchema1_0_7, configSchema1_0_8, configSchema1_0_9, configSchema1_0_10, configSchema1_0_11, configSchema1_0_12, configSchema1_0_13, configSchema1_0_14, configSchema1_0_15, configSchema1_0_16, configSchema1_0_17, configSchema1_0_18 } from './previous-config-schemas.js';
3
3
  export declare const latestConfigSchema: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  public: z.ZodOptional<z.ZodBoolean>;
@@ -159,10 +159,10 @@ export declare const latestConfigSchema: z.ZodObject<{
159
159
  coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
160
160
  }>, "many">;
161
161
  initStrategy: z.ZodEnum<["none", "auto"]>;
162
- version: z.ZodLiteral<"1.0.17">;
162
+ version: z.ZodLiteral<"1.0.18">;
163
163
  }, "strip", z.ZodTypeAny, {
164
164
  name: string;
165
- version: "1.0.17";
165
+ version: "1.0.18";
166
166
  datasets: {
167
167
  uid: string;
168
168
  files: {
@@ -204,7 +204,7 @@ export declare const latestConfigSchema: z.ZodObject<{
204
204
  coordinationSpace?: z.objectOutputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip"> | undefined;
205
205
  }, {
206
206
  name: string;
207
- version: "1.0.17";
207
+ version: "1.0.18";
208
208
  datasets: {
209
209
  uid: string;
210
210
  files: {
@@ -245,7 +245,7 @@ export declare const latestConfigSchema: z.ZodObject<{
245
245
  uid?: string | undefined;
246
246
  coordinationSpace?: z.objectInputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip"> | undefined;
247
247
  }>;
248
- export type AnyVersionConfig = z.infer<typeof configSchema0_1_0> | z.infer<typeof configSchema1_0_0> | z.infer<typeof configSchema1_0_1> | z.infer<typeof configSchema1_0_2> | z.infer<typeof configSchema1_0_3> | z.infer<typeof configSchema1_0_4> | z.infer<typeof configSchema1_0_5> | z.infer<typeof configSchema1_0_6> | z.infer<typeof configSchema1_0_7> | z.infer<typeof configSchema1_0_8> | z.infer<typeof configSchema1_0_9> | z.infer<typeof configSchema1_0_10> | z.infer<typeof configSchema1_0_11> | z.infer<typeof configSchema1_0_12> | z.infer<typeof configSchema1_0_13> | z.infer<typeof configSchema1_0_14> | z.infer<typeof configSchema1_0_15> | z.infer<typeof configSchema1_0_16> | z.infer<typeof configSchema1_0_17>;
248
+ export type AnyVersionConfig = z.infer<typeof configSchema0_1_0> | z.infer<typeof configSchema1_0_0> | z.infer<typeof configSchema1_0_1> | z.infer<typeof configSchema1_0_2> | z.infer<typeof configSchema1_0_3> | z.infer<typeof configSchema1_0_4> | z.infer<typeof configSchema1_0_5> | z.infer<typeof configSchema1_0_6> | z.infer<typeof configSchema1_0_7> | z.infer<typeof configSchema1_0_8> | z.infer<typeof configSchema1_0_9> | z.infer<typeof configSchema1_0_10> | z.infer<typeof configSchema1_0_11> | z.infer<typeof configSchema1_0_12> | z.infer<typeof configSchema1_0_13> | z.infer<typeof configSchema1_0_14> | z.infer<typeof configSchema1_0_15> | z.infer<typeof configSchema1_0_16> | z.infer<typeof configSchema1_0_17> | z.infer<typeof configSchema1_0_18>;
249
249
  export type UpgradeFunction = (config: any) => AnyVersionConfig;
250
250
  export declare const SCHEMA_HANDLERS: [z.ZodTypeAny, UpgradeFunction][];
251
251
  //# sourceMappingURL=previous-config-meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"previous-config-meta.d.ts","sourceRoot":"","sources":["../src/previous-config-meta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kB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OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAErC,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,GAAG,KAAK,gBAAgB,CAAC;AAEhE,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,CAAC,UAAU,EAAE,eAAe,CAAC,EAoB5D,CAAC"}
@@ -1,6 +1,6 @@
1
- import { configSchema0_1_0, configSchema1_0_0, configSchema1_0_1, configSchema1_0_2, configSchema1_0_3, configSchema1_0_4, configSchema1_0_5, configSchema1_0_6, configSchema1_0_7, configSchema1_0_8, configSchema1_0_9, configSchema1_0_10, configSchema1_0_11, configSchema1_0_12, configSchema1_0_13, configSchema1_0_14, configSchema1_0_15, configSchema1_0_16, configSchema1_0_17, } from './previous-config-schemas.js';
2
- import { upgradeFrom0_1_0, upgradeFrom1_0_0, upgradeFrom1_0_1, upgradeFrom1_0_2, upgradeFrom1_0_3, upgradeFrom1_0_4, upgradeFrom1_0_5, upgradeFrom1_0_6, upgradeFrom1_0_7, upgradeFrom1_0_8, upgradeFrom1_0_9, upgradeFrom1_0_10, upgradeFrom1_0_11, upgradeFrom1_0_12, upgradeFrom1_0_13, upgradeFrom1_0_14, upgradeFrom1_0_15, upgradeFrom1_0_16, } from './previous-config-upgraders.js';
3
- export const latestConfigSchema = configSchema1_0_17;
1
+ import { configSchema0_1_0, configSchema1_0_0, configSchema1_0_1, configSchema1_0_2, configSchema1_0_3, configSchema1_0_4, configSchema1_0_5, configSchema1_0_6, configSchema1_0_7, configSchema1_0_8, configSchema1_0_9, configSchema1_0_10, configSchema1_0_11, configSchema1_0_12, configSchema1_0_13, configSchema1_0_14, configSchema1_0_15, configSchema1_0_16, configSchema1_0_17, configSchema1_0_18, } from './previous-config-schemas.js';
2
+ import { upgradeFrom0_1_0, upgradeFrom1_0_0, upgradeFrom1_0_1, upgradeFrom1_0_2, upgradeFrom1_0_3, upgradeFrom1_0_4, upgradeFrom1_0_5, upgradeFrom1_0_6, upgradeFrom1_0_7, upgradeFrom1_0_8, upgradeFrom1_0_9, upgradeFrom1_0_10, upgradeFrom1_0_11, upgradeFrom1_0_12, upgradeFrom1_0_13, upgradeFrom1_0_14, upgradeFrom1_0_15, upgradeFrom1_0_16, upgradeFrom1_0_17, } from './previous-config-upgraders.js';
3
+ export const latestConfigSchema = configSchema1_0_18;
4
4
  export const SCHEMA_HANDLERS = [
5
5
  [configSchema0_1_0, upgradeFrom0_1_0],
6
6
  [configSchema1_0_0, upgradeFrom1_0_0],
@@ -20,4 +20,5 @@ export const SCHEMA_HANDLERS = [
20
20
  [configSchema1_0_14, upgradeFrom1_0_14],
21
21
  [configSchema1_0_15, upgradeFrom1_0_15],
22
22
  [configSchema1_0_16, upgradeFrom1_0_16],
23
+ [configSchema1_0_17, upgradeFrom1_0_17],
23
24
  ];
@@ -4295,4 +4295,249 @@ export declare const configSchema1_0_17: z.ZodObject<{
4295
4295
  uid?: string | undefined;
4296
4296
  coordinationSpace?: z.objectInputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip"> | undefined;
4297
4297
  }>;
4298
+ export declare const configSchema1_0_18: z.ZodObject<{
4299
+ name: z.ZodString;
4300
+ public: z.ZodOptional<z.ZodBoolean>;
4301
+ description: z.ZodOptional<z.ZodString>;
4302
+ uid: z.ZodOptional<z.ZodString>;
4303
+ datasets: z.ZodArray<z.ZodObject<{
4304
+ uid: z.ZodString;
4305
+ name: z.ZodOptional<z.ZodString>;
4306
+ description: z.ZodOptional<z.ZodString>;
4307
+ files: z.ZodArray<z.ZodObject<{
4308
+ name: z.ZodOptional<z.ZodString>;
4309
+ fileType: z.ZodString;
4310
+ url: z.ZodOptional<z.ZodString>;
4311
+ options: z.ZodOptional<z.ZodAny>;
4312
+ requestInit: z.ZodOptional<z.ZodObject<{
4313
+ method: z.ZodOptional<z.ZodString>;
4314
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4315
+ body: z.ZodOptional<z.ZodString>;
4316
+ mode: z.ZodOptional<z.ZodString>;
4317
+ credentials: z.ZodOptional<z.ZodString>;
4318
+ cache: z.ZodOptional<z.ZodString>;
4319
+ redirect: z.ZodOptional<z.ZodString>;
4320
+ referrer: z.ZodOptional<z.ZodString>;
4321
+ integrity: z.ZodOptional<z.ZodString>;
4322
+ }, "strip", z.ZodTypeAny, {
4323
+ method?: string | undefined;
4324
+ headers?: Record<string, any> | undefined;
4325
+ body?: string | undefined;
4326
+ mode?: string | undefined;
4327
+ credentials?: string | undefined;
4328
+ cache?: string | undefined;
4329
+ redirect?: string | undefined;
4330
+ referrer?: string | undefined;
4331
+ integrity?: string | undefined;
4332
+ }, {
4333
+ method?: string | undefined;
4334
+ headers?: Record<string, any> | undefined;
4335
+ body?: string | undefined;
4336
+ mode?: string | undefined;
4337
+ credentials?: string | undefined;
4338
+ cache?: string | undefined;
4339
+ redirect?: string | undefined;
4340
+ referrer?: string | undefined;
4341
+ integrity?: string | undefined;
4342
+ }>>;
4343
+ coordinationValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4344
+ }, "strip", z.ZodTypeAny, {
4345
+ fileType: string;
4346
+ name?: string | undefined;
4347
+ url?: string | undefined;
4348
+ options?: any;
4349
+ requestInit?: {
4350
+ method?: string | undefined;
4351
+ headers?: Record<string, any> | undefined;
4352
+ body?: string | undefined;
4353
+ mode?: string | undefined;
4354
+ credentials?: string | undefined;
4355
+ cache?: string | undefined;
4356
+ redirect?: string | undefined;
4357
+ referrer?: string | undefined;
4358
+ integrity?: string | undefined;
4359
+ } | undefined;
4360
+ coordinationValues?: Record<string, string> | undefined;
4361
+ }, {
4362
+ fileType: string;
4363
+ name?: string | undefined;
4364
+ url?: string | undefined;
4365
+ options?: any;
4366
+ requestInit?: {
4367
+ method?: string | undefined;
4368
+ headers?: Record<string, any> | undefined;
4369
+ body?: string | undefined;
4370
+ mode?: string | undefined;
4371
+ credentials?: string | undefined;
4372
+ cache?: string | undefined;
4373
+ redirect?: string | undefined;
4374
+ referrer?: string | undefined;
4375
+ integrity?: string | undefined;
4376
+ } | undefined;
4377
+ coordinationValues?: Record<string, string> | undefined;
4378
+ }>, "many">;
4379
+ }, "strip", z.ZodTypeAny, {
4380
+ uid: string;
4381
+ files: {
4382
+ fileType: string;
4383
+ name?: string | undefined;
4384
+ url?: string | undefined;
4385
+ options?: any;
4386
+ requestInit?: {
4387
+ method?: string | undefined;
4388
+ headers?: Record<string, any> | undefined;
4389
+ body?: string | undefined;
4390
+ mode?: string | undefined;
4391
+ credentials?: string | undefined;
4392
+ cache?: string | undefined;
4393
+ redirect?: string | undefined;
4394
+ referrer?: string | undefined;
4395
+ integrity?: string | undefined;
4396
+ } | undefined;
4397
+ coordinationValues?: Record<string, string> | undefined;
4398
+ }[];
4399
+ name?: string | undefined;
4400
+ description?: string | undefined;
4401
+ }, {
4402
+ uid: string;
4403
+ files: {
4404
+ fileType: string;
4405
+ name?: string | undefined;
4406
+ url?: string | undefined;
4407
+ options?: any;
4408
+ requestInit?: {
4409
+ method?: string | undefined;
4410
+ headers?: Record<string, any> | undefined;
4411
+ body?: string | undefined;
4412
+ mode?: string | undefined;
4413
+ credentials?: string | undefined;
4414
+ cache?: string | undefined;
4415
+ redirect?: string | undefined;
4416
+ referrer?: string | undefined;
4417
+ integrity?: string | undefined;
4418
+ } | undefined;
4419
+ coordinationValues?: Record<string, string> | undefined;
4420
+ }[];
4421
+ name?: string | undefined;
4422
+ description?: string | undefined;
4423
+ }>, "many">;
4424
+ coordinationSpace: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodRecord<z.ZodString, z.ZodAny>, z.objectOutputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip">, z.objectInputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip">>>;
4425
+ layout: z.ZodArray<z.ZodObject<{
4426
+ uid: z.ZodOptional<z.ZodString>;
4427
+ component: z.ZodString;
4428
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4429
+ x: z.ZodNumber;
4430
+ y: z.ZodNumber;
4431
+ w: z.ZodOptional<z.ZodNumber>;
4432
+ h: z.ZodOptional<z.ZodNumber>;
4433
+ coordinationScopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
4434
+ coordinationScopesBy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>>>;
4435
+ }, "strip", z.ZodTypeAny, {
4436
+ component: string;
4437
+ x: number;
4438
+ y: number;
4439
+ uid?: string | undefined;
4440
+ props?: Record<string, any> | undefined;
4441
+ w?: number | undefined;
4442
+ h?: number | undefined;
4443
+ coordinationScopes?: Record<string, string | string[]> | undefined;
4444
+ coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
4445
+ }, {
4446
+ component: string;
4447
+ x: number;
4448
+ y: number;
4449
+ uid?: string | undefined;
4450
+ props?: Record<string, any> | undefined;
4451
+ w?: number | undefined;
4452
+ h?: number | undefined;
4453
+ coordinationScopes?: Record<string, string | string[]> | undefined;
4454
+ coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
4455
+ }>, "many">;
4456
+ initStrategy: z.ZodEnum<["none", "auto"]>;
4457
+ version: z.ZodLiteral<"1.0.18">;
4458
+ }, "strip", z.ZodTypeAny, {
4459
+ name: string;
4460
+ version: "1.0.18";
4461
+ datasets: {
4462
+ uid: string;
4463
+ files: {
4464
+ fileType: string;
4465
+ name?: string | undefined;
4466
+ url?: string | undefined;
4467
+ options?: any;
4468
+ requestInit?: {
4469
+ method?: string | undefined;
4470
+ headers?: Record<string, any> | undefined;
4471
+ body?: string | undefined;
4472
+ mode?: string | undefined;
4473
+ credentials?: string | undefined;
4474
+ cache?: string | undefined;
4475
+ redirect?: string | undefined;
4476
+ referrer?: string | undefined;
4477
+ integrity?: string | undefined;
4478
+ } | undefined;
4479
+ coordinationValues?: Record<string, string> | undefined;
4480
+ }[];
4481
+ name?: string | undefined;
4482
+ description?: string | undefined;
4483
+ }[];
4484
+ layout: {
4485
+ component: string;
4486
+ x: number;
4487
+ y: number;
4488
+ uid?: string | undefined;
4489
+ props?: Record<string, any> | undefined;
4490
+ w?: number | undefined;
4491
+ h?: number | undefined;
4492
+ coordinationScopes?: Record<string, string | string[]> | undefined;
4493
+ coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
4494
+ }[];
4495
+ initStrategy: "none" | "auto";
4496
+ public?: boolean | undefined;
4497
+ description?: string | undefined;
4498
+ uid?: string | undefined;
4499
+ coordinationSpace?: z.objectOutputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip"> | undefined;
4500
+ }, {
4501
+ name: string;
4502
+ version: "1.0.18";
4503
+ datasets: {
4504
+ uid: string;
4505
+ files: {
4506
+ fileType: string;
4507
+ name?: string | undefined;
4508
+ url?: string | undefined;
4509
+ options?: any;
4510
+ requestInit?: {
4511
+ method?: string | undefined;
4512
+ headers?: Record<string, any> | undefined;
4513
+ body?: string | undefined;
4514
+ mode?: string | undefined;
4515
+ credentials?: string | undefined;
4516
+ cache?: string | undefined;
4517
+ redirect?: string | undefined;
4518
+ referrer?: string | undefined;
4519
+ integrity?: string | undefined;
4520
+ } | undefined;
4521
+ coordinationValues?: Record<string, string> | undefined;
4522
+ }[];
4523
+ name?: string | undefined;
4524
+ description?: string | undefined;
4525
+ }[];
4526
+ layout: {
4527
+ component: string;
4528
+ x: number;
4529
+ y: number;
4530
+ uid?: string | undefined;
4531
+ props?: Record<string, any> | undefined;
4532
+ w?: number | undefined;
4533
+ h?: number | undefined;
4534
+ coordinationScopes?: Record<string, string | string[]> | undefined;
4535
+ coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
4536
+ }[];
4537
+ initStrategy: "none" | "auto";
4538
+ public?: boolean | undefined;
4539
+ description?: string | undefined;
4540
+ uid?: string | undefined;
4541
+ coordinationSpace?: z.objectInputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip"> | undefined;
4542
+ }>;
4298
4543
  //# sourceMappingURL=previous-config-schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"previous-config-schemas.d.ts","sourceRoot":"","sources":["../src/previous-config-schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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@ -206,3 +206,7 @@ export const configSchema1_0_16 = configSchema1_0_13.extend({
206
206
  export const configSchema1_0_17 = configSchema1_0_16.extend({
207
207
  version: z.literal('1.0.17'),
208
208
  });
209
+ // spatialdata.zarr options schema changes.
210
+ export const configSchema1_0_18 = configSchema1_0_17.extend({
211
+ version: z.literal('1.0.18'),
212
+ });
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { configSchema0_1_0, configSchema1_0_0, configSchema1_0_1, configSchema1_0_2, configSchema1_0_3, configSchema1_0_4, configSchema1_0_5, configSchema1_0_6, configSchema1_0_7, configSchema1_0_8, configSchema1_0_9, configSchema1_0_10, configSchema1_0_11, configSchema1_0_12, configSchema1_0_13, configSchema1_0_14, configSchema1_0_15, configSchema1_0_16, configSchema1_0_17 } from './previous-config-schemas.js';
2
+ import { configSchema0_1_0, configSchema1_0_0, configSchema1_0_1, configSchema1_0_2, configSchema1_0_3, configSchema1_0_4, configSchema1_0_5, configSchema1_0_6, configSchema1_0_7, configSchema1_0_8, configSchema1_0_9, configSchema1_0_10, configSchema1_0_11, configSchema1_0_12, configSchema1_0_13, configSchema1_0_14, configSchema1_0_15, configSchema1_0_16, configSchema1_0_17, configSchema1_0_18 } from './previous-config-schemas.js';
3
3
  /**
4
4
  * Convert an older view config to a newer view config.
5
5
  * @param {object} config A v0.1.0 "legacy" view config.
@@ -23,4 +23,5 @@ export declare function upgradeFrom1_0_13(config: z.infer<typeof configSchema1_0
23
23
  export declare function upgradeFrom1_0_14(config: z.infer<typeof configSchema1_0_14>): z.infer<typeof configSchema1_0_15>;
24
24
  export declare function upgradeFrom1_0_15(config: z.infer<typeof configSchema1_0_15>): z.infer<typeof configSchema1_0_16>;
25
25
  export declare function upgradeFrom1_0_16(config: z.infer<typeof configSchema1_0_16>): z.infer<typeof configSchema1_0_17>;
26
+ export declare function upgradeFrom1_0_17(config: z.infer<typeof configSchema1_0_17>): z.infer<typeof configSchema1_0_18>;
26
27
  //# sourceMappingURL=previous-config-upgraders.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"previous-config-upgraders.d.ts","sourceRoot":"","sources":["../src/previous-config-upgraders.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AAqDtC;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,EACzC,UAAU,GAAE,MAAM,GAAG,IAAW,GAC/B,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAoGnC;AAED,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACxC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAyEnC;AAMD,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACxC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAmCnC;AAED,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACxC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAyBnC;AAED,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACxC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB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AC,OAAO,kBAAkB,CAAC,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAkEpC;AAOD,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAOpC;AAYD,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAwCpC;AAMD,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CA+CpC;AAKD,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAuCpC"}
1
+ {"version":3,"file":"previous-config-upgraders.d.ts","sourceRoot":"","sources":["../src/previous-config-upgraders.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AAqDtC;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,EACz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K,CAAC,OAAO,kBAAkB,CAAC,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAuCpC;AAKD,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAkDpC"}
@@ -629,3 +629,55 @@ export function upgradeFrom1_0_16(config) {
629
629
  version: '1.0.17',
630
630
  };
631
631
  }
632
+ // Added in version 1.0.18:
633
+ // - Convert obsSets.anndata.zarr and obsFeatureColumns.anndata.zarr options
634
+ // from array into object property.
635
+ export function upgradeFrom1_0_17(config) {
636
+ const newConfig = cloneDeep(config);
637
+ const { datasets } = newConfig;
638
+ // eslint-disable-next-line max-len
639
+ const newDatasets = datasets.map((datasetDef) => {
640
+ const { files } = datasetDef;
641
+ // eslint-disable-next-line max-len
642
+ const newFiles = files.map((fileDef) => {
643
+ const { fileType, options } = fileDef;
644
+ if (fileType === 'spatialdata.zarr' || fileType === 'spatialdata.zarr.zip') {
645
+ if (options.labels && options.shapes) {
646
+ throw new Error('Cannot upgrade both labels and shapes at the same time. For now, a workaround is to include two separate spatialdata.zarr file definitions, one for labels and one for shapes.');
647
+ }
648
+ if (options.labels) {
649
+ const newOptions = {
650
+ ...options,
651
+ obsSegmentations: options.labels,
652
+ };
653
+ delete newOptions.labels;
654
+ return {
655
+ ...fileDef,
656
+ options: newOptions,
657
+ };
658
+ }
659
+ if (options.shapes) {
660
+ const newOptions = {
661
+ ...options,
662
+ obsSegmentations: options.shapes,
663
+ };
664
+ delete newOptions.shapes;
665
+ return {
666
+ ...fileDef,
667
+ options: newOptions,
668
+ };
669
+ }
670
+ }
671
+ return fileDef;
672
+ });
673
+ return {
674
+ ...datasetDef,
675
+ files: newFiles,
676
+ };
677
+ });
678
+ return {
679
+ ...newConfig,
680
+ datasets: newDatasets,
681
+ version: '1.0.18',
682
+ };
683
+ }
@@ -21,7 +21,7 @@ describe('src/app/view-config-utils.js', () => {
21
21
  });
22
22
  it('upgrades more than once', () => {
23
23
  const latestConfig = upgradeAndParse(legacyViewConfig1_0_0);
24
- expect(latestConfig.version).toEqual('1.0.17');
24
+ expect(latestConfig.version).toEqual('1.0.18');
25
25
  });
26
26
  });
27
27
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/schemas",
3
- "version": "3.6.6",
3
+ "version": "3.6.8",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -23,11 +23,11 @@
23
23
  "semver": "^7.3.8",
24
24
  "uuid": "^9.0.0",
25
25
  "zod": "^3.21.4",
26
- "@vitessce/constants": "3.6.6",
27
- "@vitessce/constants-internal": "3.6.6",
28
- "@vitessce/plugins": "3.6.6",
29
- "@vitessce/utils": "3.6.6",
30
- "@vitessce/globals": "3.6.6"
26
+ "@vitessce/constants": "3.6.8",
27
+ "@vitessce/constants-internal": "3.6.8",
28
+ "@vitessce/plugins": "3.6.8",
29
+ "@vitessce/utils": "3.6.8",
30
+ "@vitessce/globals": "3.6.8"
31
31
  },
32
32
  "devDependencies": {
33
33
  "json-schema-to-zod": "^0.6.3",
@@ -197,12 +197,20 @@ export const imageSpatialdataSchema = z.object({
197
197
  .describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.'),
198
198
  });
199
199
  export const obsSegmentationsSpatialdataSchema = z.object({
200
- // TODO: should this be renamed labelsSpatialdataSchema?
201
- // TODO: support obsTypesFromChannelNames?
202
- path: z.string(),
200
+ // TODO: support obsTypesFromElementNames?
201
+ path: z.string().describe('The path to the segmentation data, stored in either shapes/ or labels/.'),
202
+ tablePath: z.string()
203
+ .optional()
204
+ .describe('The path to a table which annotates the labels or shapes. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.'),
205
+ coordinateSystem: z.string()
206
+ .optional()
207
+ .describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.'),
208
+ });
209
+ export const obsPointsSpatialdataSchema = z.object({
210
+ path: z.string().describe('The path to the point data.'),
203
211
  tablePath: z.string()
204
212
  .optional()
205
- .describe('The path to a table which annotates the labels. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.'),
213
+ .describe('The path to a table which annotates the points. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.'),
206
214
  coordinateSystem: z.string()
207
215
  .optional()
208
216
  .describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.'),
@@ -371,13 +379,10 @@ export const spatialdataZarrSchema = z.object({
371
379
  image: imageSpatialdataSchema,
372
380
  // TODO: should this be a special schema
373
381
  // to allow specifying fileUid (like for embeddingType)?
374
- // TODO: allow multiple labels?
375
- labels: obsSegmentationsSpatialdataSchema,
382
+ // TODO: allow multiple labels/shapes?
383
+ obsSegmentations: obsSegmentationsSpatialdataSchema,
384
+ obsPoints: obsPointsSpatialdataSchema,
376
385
  // TODO: allow multiple shapes?
377
- // TODO: unify labels and shapes to obsSegmentations,
378
- // then distinguish in expand function based on
379
- // "labels/*" vs. "shapes/*" in path?
380
- shapes: obsSegmentationsSpatialdataSchema,
381
386
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
382
387
  obsSpots: obsSpotsSpatialdataSchema,
383
388
  // TODO: obsPoints
package/src/index.ts CHANGED
@@ -39,6 +39,7 @@ export {
39
39
  obsSegmentationsSpatialdataSchema,
40
40
  obsFeatureMatrixSpatialdataSchema,
41
41
  obsSpotsSpatialdataSchema,
42
+ obsPointsSpatialdataSchema,
42
43
  obsLocationsSpatialdataSchema,
43
44
  obsSetsSpatialdataSchema,
44
45
  meshGlbSchema,
@@ -20,6 +20,7 @@ import {
20
20
  configSchema1_0_15,
21
21
  configSchema1_0_16,
22
22
  configSchema1_0_17,
23
+ configSchema1_0_18,
23
24
  } from './previous-config-schemas.js';
24
25
  import {
25
26
  upgradeFrom0_1_0,
@@ -40,9 +41,10 @@ import {
40
41
  upgradeFrom1_0_14,
41
42
  upgradeFrom1_0_15,
42
43
  upgradeFrom1_0_16,
44
+ upgradeFrom1_0_17,
43
45
  } from './previous-config-upgraders.js';
44
46
 
45
- export const latestConfigSchema = configSchema1_0_17;
47
+ export const latestConfigSchema = configSchema1_0_18;
46
48
 
47
49
  export type AnyVersionConfig =
48
50
  z.infer<typeof configSchema0_1_0> |
@@ -63,7 +65,8 @@ export type AnyVersionConfig =
63
65
  z.infer<typeof configSchema1_0_14> |
64
66
  z.infer<typeof configSchema1_0_15> |
65
67
  z.infer<typeof configSchema1_0_16> |
66
- z.infer<typeof configSchema1_0_17>;
68
+ z.infer<typeof configSchema1_0_17> |
69
+ z.infer<typeof configSchema1_0_18>;
67
70
 
68
71
  export type UpgradeFunction = (config: any) => AnyVersionConfig;
69
72
 
@@ -86,4 +89,5 @@ export const SCHEMA_HANDLERS: [z.ZodTypeAny, UpgradeFunction][] = [
86
89
  [configSchema1_0_14, upgradeFrom1_0_14],
87
90
  [configSchema1_0_15, upgradeFrom1_0_15],
88
91
  [configSchema1_0_16, upgradeFrom1_0_16],
92
+ [configSchema1_0_17, upgradeFrom1_0_17],
89
93
  ];
@@ -262,3 +262,8 @@ export const configSchema1_0_16 = configSchema1_0_13.extend({
262
262
  export const configSchema1_0_17 = configSchema1_0_16.extend({
263
263
  version: z.literal('1.0.17'),
264
264
  });
265
+
266
+ // spatialdata.zarr options schema changes.
267
+ export const configSchema1_0_18 = configSchema1_0_17.extend({
268
+ version: z.literal('1.0.18'),
269
+ });
@@ -25,6 +25,7 @@ import {
25
25
  configSchema1_0_15,
26
26
  configSchema1_0_16,
27
27
  configSchema1_0_17,
28
+ configSchema1_0_18,
28
29
  } from './previous-config-schemas.js';
29
30
 
30
31
 
@@ -785,3 +786,60 @@ export function upgradeFrom1_0_16(
785
786
  version: '1.0.17',
786
787
  };
787
788
  }
789
+
790
+ // Added in version 1.0.18:
791
+ // - Convert obsSets.anndata.zarr and obsFeatureColumns.anndata.zarr options
792
+ // from array into object property.
793
+ export function upgradeFrom1_0_17(
794
+ config: z.infer<typeof configSchema1_0_17>,
795
+ ): z.infer<typeof configSchema1_0_18> {
796
+ const newConfig = cloneDeep(config);
797
+
798
+ const { datasets } = newConfig;
799
+ // eslint-disable-next-line max-len
800
+ const newDatasets = datasets.map((datasetDef): z.infer<typeof configSchema1_0_17.shape.datasets.element> => {
801
+ const { files } = datasetDef;
802
+ // eslint-disable-next-line max-len
803
+ const newFiles = files.map((fileDef): z.infer<typeof configSchema1_0_17.shape.datasets.element.shape.files.element> => {
804
+ const { fileType, options } = fileDef;
805
+ if (fileType === 'spatialdata.zarr' || fileType === 'spatialdata.zarr.zip') {
806
+ if (options.labels && options.shapes) {
807
+ throw new Error('Cannot upgrade both labels and shapes at the same time. For now, a workaround is to include two separate spatialdata.zarr file definitions, one for labels and one for shapes.');
808
+ }
809
+ if (options.labels) {
810
+ const newOptions = {
811
+ ...options,
812
+ obsSegmentations: options.labels,
813
+ };
814
+ delete newOptions.labels;
815
+ return {
816
+ ...fileDef,
817
+ options: newOptions,
818
+ };
819
+ }
820
+ if (options.shapes) {
821
+ const newOptions = {
822
+ ...options,
823
+ obsSegmentations: options.shapes,
824
+ };
825
+ delete newOptions.shapes;
826
+ return {
827
+ ...fileDef,
828
+ options: newOptions,
829
+ };
830
+ }
831
+ }
832
+ return fileDef;
833
+ });
834
+ return {
835
+ ...datasetDef,
836
+ files: newFiles,
837
+ };
838
+ });
839
+
840
+ return {
841
+ ...newConfig,
842
+ datasets: newDatasets,
843
+ version: '1.0.18',
844
+ };
845
+ }
@@ -40,7 +40,7 @@ describe('src/app/view-config-utils.js', () => {
40
40
  });
41
41
  it('upgrades more than once', () => {
42
42
  const latestConfig = upgradeAndParse(legacyViewConfig1_0_0);
43
- expect(latestConfig.version).toEqual('1.0.17');
43
+ expect(latestConfig.version).toEqual('1.0.18');
44
44
  });
45
45
  });
46
46
  });