@vitessce/schemas 3.6.4 → 3.6.6
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
|
@@ -9677,12 +9677,17 @@ const anndataH5adSchema = anndataZarrSchema.extend({
|
|
|
9677
9677
|
const spatialdataZarrSchema = z.object({
|
|
9678
9678
|
// TODO: should `image` be a special schema
|
|
9679
9679
|
// to allow specifying fileUid (like for embeddingType)?
|
|
9680
|
-
// TODO: allow multiple images
|
|
9680
|
+
// TODO: allow multiple images?
|
|
9681
9681
|
image: imageSpatialdataSchema,
|
|
9682
9682
|
// TODO: should this be a special schema
|
|
9683
9683
|
// to allow specifying fileUid (like for embeddingType)?
|
|
9684
|
-
// TODO: allow multiple labels
|
|
9684
|
+
// TODO: allow multiple labels?
|
|
9685
9685
|
labels: obsSegmentationsSpatialdataSchema,
|
|
9686
|
+
// 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,
|
|
9686
9691
|
obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
|
|
9687
9692
|
obsSpots: obsSpotsSpatialdataSchema,
|
|
9688
9693
|
// TODO: obsPoints
|
|
@@ -1213,6 +1213,19 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
|
|
|
1213
1213
|
tablePath?: string | undefined;
|
|
1214
1214
|
coordinateSystem?: string | undefined;
|
|
1215
1215
|
}>>;
|
|
1216
|
+
shapes: z.ZodOptional<z.ZodObject<{
|
|
1217
|
+
path: z.ZodString;
|
|
1218
|
+
tablePath: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
coordinateSystem: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
}, "strip", z.ZodTypeAny, {
|
|
1221
|
+
path: string;
|
|
1222
|
+
tablePath?: string | undefined;
|
|
1223
|
+
coordinateSystem?: string | undefined;
|
|
1224
|
+
}, {
|
|
1225
|
+
path: string;
|
|
1226
|
+
tablePath?: string | undefined;
|
|
1227
|
+
coordinateSystem?: string | undefined;
|
|
1228
|
+
}>>;
|
|
1216
1229
|
obsFeatureMatrix: z.ZodOptional<z.ZodObject<{
|
|
1217
1230
|
path: z.ZodString;
|
|
1218
1231
|
featureFilterPath: z.ZodOptional<z.ZodString>;
|
|
@@ -1289,6 +1302,11 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
|
|
|
1289
1302
|
tablePath?: string | undefined;
|
|
1290
1303
|
coordinateSystem?: string | undefined;
|
|
1291
1304
|
} | undefined;
|
|
1305
|
+
shapes?: {
|
|
1306
|
+
path: string;
|
|
1307
|
+
tablePath?: string | undefined;
|
|
1308
|
+
coordinateSystem?: string | undefined;
|
|
1309
|
+
} | undefined;
|
|
1292
1310
|
obsFeatureMatrix?: {
|
|
1293
1311
|
path: string;
|
|
1294
1312
|
featureFilterPath?: string | undefined;
|
|
@@ -1321,6 +1339,11 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
|
|
|
1321
1339
|
tablePath?: string | undefined;
|
|
1322
1340
|
coordinateSystem?: string | undefined;
|
|
1323
1341
|
} | undefined;
|
|
1342
|
+
shapes?: {
|
|
1343
|
+
path: string;
|
|
1344
|
+
tablePath?: string | undefined;
|
|
1345
|
+
coordinateSystem?: string | undefined;
|
|
1346
|
+
} | undefined;
|
|
1324
1347
|
obsFeatureMatrix?: {
|
|
1325
1348
|
path: string;
|
|
1326
1349
|
featureFilterPath?: 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;E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,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY3B,CAAC;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY9B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBlB,CAAC;AAEb,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBtB,CAAC"}
|
|
@@ -331,12 +331,17 @@ export const anndataH5adSchema = anndataZarrSchema.extend({
|
|
|
331
331
|
export const spatialdataZarrSchema = z.object({
|
|
332
332
|
// TODO: should `image` be a special schema
|
|
333
333
|
// to allow specifying fileUid (like for embeddingType)?
|
|
334
|
-
// TODO: allow multiple images
|
|
334
|
+
// TODO: allow multiple images?
|
|
335
335
|
image: imageSpatialdataSchema,
|
|
336
336
|
// TODO: should this be a special schema
|
|
337
337
|
// to allow specifying fileUid (like for embeddingType)?
|
|
338
|
-
// TODO: allow multiple labels
|
|
338
|
+
// TODO: allow multiple labels?
|
|
339
339
|
labels: obsSegmentationsSpatialdataSchema,
|
|
340
|
+
// 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,
|
|
340
345
|
obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
|
|
341
346
|
obsSpots: obsSpotsSpatialdataSchema,
|
|
342
347
|
// TODO: obsPoints
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/schemas",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.6",
|
|
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.
|
|
27
|
-
"@vitessce/constants-internal": "3.6.
|
|
28
|
-
"@vitessce/plugins": "3.6.
|
|
29
|
-
"@vitessce/utils": "3.6.
|
|
30
|
-
"@vitessce/globals": "3.6.
|
|
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"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"json-schema-to-zod": "^0.6.3",
|
package/src/file-def-options.ts
CHANGED
|
@@ -367,12 +367,17 @@ export const anndataH5adSchema = anndataZarrSchema.extend({
|
|
|
367
367
|
export const spatialdataZarrSchema = z.object({
|
|
368
368
|
// TODO: should `image` be a special schema
|
|
369
369
|
// to allow specifying fileUid (like for embeddingType)?
|
|
370
|
-
// TODO: allow multiple images
|
|
370
|
+
// TODO: allow multiple images?
|
|
371
371
|
image: imageSpatialdataSchema,
|
|
372
372
|
// TODO: should this be a special schema
|
|
373
373
|
// to allow specifying fileUid (like for embeddingType)?
|
|
374
|
-
// TODO: allow multiple labels
|
|
374
|
+
// TODO: allow multiple labels?
|
|
375
375
|
labels: obsSegmentationsSpatialdataSchema,
|
|
376
|
+
// 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,
|
|
376
381
|
obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
|
|
377
382
|
obsSpots: obsSpotsSpatialdataSchema,
|
|
378
383
|
// TODO: obsPoints
|