@vitessce/schemas 3.6.3 → 3.6.5
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
|
@@ -7874,6 +7874,7 @@ const FileType$1 = {
|
|
|
7874
7874
|
ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
|
|
7875
7875
|
ANNDATA_H5AD: "anndata.h5ad",
|
|
7876
7876
|
SPATIALDATA_ZARR: "spatialdata.zarr",
|
|
7877
|
+
SPATIALDATA_ZARR_ZIP: "spatialdata.zarr.zip",
|
|
7877
7878
|
// Atomic file types
|
|
7878
7879
|
OBS_EMBEDDING_CSV: "obsEmbedding.csv",
|
|
7879
7880
|
OBS_SPOTS_CSV: "obsSpots.csv",
|
|
@@ -7954,6 +7955,14 @@ const FileType$1 = {
|
|
|
7954
7955
|
// TODO:
|
|
7955
7956
|
// OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
|
|
7956
7957
|
// OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
|
|
7958
|
+
// SpatialData - zipped
|
|
7959
|
+
IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
|
|
7960
|
+
LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
|
|
7961
|
+
SHAPES_SPATIALDATA_ZARR_ZIP: "shapes.spatialdata.zarr.zip",
|
|
7962
|
+
OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP: "obsFeatureMatrix.spatialdata.zarr.zip",
|
|
7963
|
+
OBS_SETS_SPATIALDATA_ZARR_ZIP: "obsSets.spatialdata.zarr.zip",
|
|
7964
|
+
OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
|
|
7965
|
+
FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
|
|
7957
7966
|
// MuData
|
|
7958
7967
|
OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
|
|
7959
7968
|
OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
|
|
@@ -8351,6 +8360,28 @@ const CoordinationType$1 = {
|
|
|
8351
8360
|
},
|
|
8352
8361
|
[FileType$1.OBS_SEGMENTATIONS_OME_ZARR]: {
|
|
8353
8362
|
zip: FileType$1.OBS_SEGMENTATIONS_OME_ZARR_ZIP
|
|
8363
|
+
},
|
|
8364
|
+
// For SpatialData:
|
|
8365
|
+
[FileType$1.IMAGE_SPATIALDATA_ZARR]: {
|
|
8366
|
+
zip: FileType$1.IMAGE_SPATIALDATA_ZARR_ZIP
|
|
8367
|
+
},
|
|
8368
|
+
[FileType$1.LABELS_SPATIALDATA_ZARR]: {
|
|
8369
|
+
zip: FileType$1.LABELS_SPATIALDATA_ZARR_ZIP
|
|
8370
|
+
},
|
|
8371
|
+
[FileType$1.SHAPES_SPATIALDATA_ZARR]: {
|
|
8372
|
+
zip: FileType$1.SHAPES_SPATIALDATA_ZARR_ZIP
|
|
8373
|
+
},
|
|
8374
|
+
[FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: {
|
|
8375
|
+
zip: FileType$1.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP
|
|
8376
|
+
},
|
|
8377
|
+
[FileType$1.OBS_SETS_SPATIALDATA_ZARR]: {
|
|
8378
|
+
zip: FileType$1.OBS_SETS_SPATIALDATA_ZARR_ZIP
|
|
8379
|
+
},
|
|
8380
|
+
[FileType$1.OBS_SPOTS_SPATIALDATA_ZARR]: {
|
|
8381
|
+
zip: FileType$1.OBS_SPOTS_SPATIALDATA_ZARR_ZIP
|
|
8382
|
+
},
|
|
8383
|
+
[FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR]: {
|
|
8384
|
+
zip: FileType$1.FEATURE_LABELS_SPATIALDATA_ZARR_ZIP
|
|
8354
8385
|
}
|
|
8355
8386
|
});
|
|
8356
8387
|
[
|
|
@@ -9628,6 +9659,7 @@ const anndataZarrSchema = z.object({
|
|
|
9628
9659
|
z.array(annDataConvenienceFeatureLabelsItem)
|
|
9629
9660
|
]),
|
|
9630
9661
|
obsFeatureMatrix: annDataObsFeatureMatrix,
|
|
9662
|
+
obsFeatureColumns: annDataObsFeatureColumnsArr,
|
|
9631
9663
|
obsSets: annDataObsSetsArr,
|
|
9632
9664
|
obsSpots: annDataObsSpots,
|
|
9633
9665
|
obsPoints: annDataObsPoints,
|
|
@@ -9645,12 +9677,17 @@ const anndataH5adSchema = anndataZarrSchema.extend({
|
|
|
9645
9677
|
const spatialdataZarrSchema = z.object({
|
|
9646
9678
|
// TODO: should `image` be a special schema
|
|
9647
9679
|
// to allow specifying fileUid (like for embeddingType)?
|
|
9648
|
-
// TODO: allow multiple images
|
|
9680
|
+
// TODO: allow multiple images?
|
|
9649
9681
|
image: imageSpatialdataSchema,
|
|
9650
9682
|
// TODO: should this be a special schema
|
|
9651
9683
|
// to allow specifying fileUid (like for embeddingType)?
|
|
9652
|
-
// TODO: allow multiple labels
|
|
9684
|
+
// TODO: allow multiple labels?
|
|
9653
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,
|
|
9654
9691
|
obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
|
|
9655
9692
|
obsSpots: obsSpotsSpatialdataSchema,
|
|
9656
9693
|
// TODO: obsPoints
|
|
@@ -758,6 +758,13 @@ export declare const anndataZarrSchema: z.ZodObject<{
|
|
|
758
758
|
featureFilterPath?: string | undefined;
|
|
759
759
|
initialFeatureFilterPath?: string | undefined;
|
|
760
760
|
}>>;
|
|
761
|
+
obsFeatureColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
762
|
+
path: z.ZodString;
|
|
763
|
+
}, "strip", z.ZodTypeAny, {
|
|
764
|
+
path: string;
|
|
765
|
+
}, {
|
|
766
|
+
path: string;
|
|
767
|
+
}>, "many">>;
|
|
761
768
|
obsSets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
762
769
|
name: z.ZodString;
|
|
763
770
|
path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
@@ -855,6 +862,9 @@ export declare const anndataZarrSchema: z.ZodObject<{
|
|
|
855
862
|
featureFilterPath?: string | undefined;
|
|
856
863
|
initialFeatureFilterPath?: string | undefined;
|
|
857
864
|
} | undefined;
|
|
865
|
+
obsFeatureColumns?: {
|
|
866
|
+
path: string;
|
|
867
|
+
}[] | undefined;
|
|
858
868
|
obsSets?: {
|
|
859
869
|
path: (string | string[]) & (string | string[] | undefined);
|
|
860
870
|
name: string;
|
|
@@ -904,6 +914,9 @@ export declare const anndataZarrSchema: z.ZodObject<{
|
|
|
904
914
|
featureFilterPath?: string | undefined;
|
|
905
915
|
initialFeatureFilterPath?: string | undefined;
|
|
906
916
|
} | undefined;
|
|
917
|
+
obsFeatureColumns?: {
|
|
918
|
+
path: string;
|
|
919
|
+
}[] | undefined;
|
|
907
920
|
obsSets?: {
|
|
908
921
|
path: (string | string[]) & (string | string[] | undefined);
|
|
909
922
|
name: string;
|
|
@@ -950,6 +963,13 @@ export declare const anndataH5adSchema: z.ZodObject<{
|
|
|
950
963
|
name: string;
|
|
951
964
|
scorePath?: string | undefined;
|
|
952
965
|
}>, "many">>;
|
|
966
|
+
obsFeatureColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
967
|
+
path: z.ZodString;
|
|
968
|
+
}, "strip", z.ZodTypeAny, {
|
|
969
|
+
path: string;
|
|
970
|
+
}, {
|
|
971
|
+
path: string;
|
|
972
|
+
}>, "many">>;
|
|
953
973
|
obsEmbedding: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
954
974
|
path: z.ZodString;
|
|
955
975
|
dims: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -1069,6 +1089,9 @@ export declare const anndataH5adSchema: z.ZodObject<{
|
|
|
1069
1089
|
name: string;
|
|
1070
1090
|
scorePath?: string | undefined;
|
|
1071
1091
|
}[] | undefined;
|
|
1092
|
+
obsFeatureColumns?: {
|
|
1093
|
+
path: string;
|
|
1094
|
+
}[] | undefined;
|
|
1072
1095
|
obsEmbedding?: {
|
|
1073
1096
|
path: string;
|
|
1074
1097
|
dims?: number[] | undefined;
|
|
@@ -1119,6 +1142,9 @@ export declare const anndataH5adSchema: z.ZodObject<{
|
|
|
1119
1142
|
name: string;
|
|
1120
1143
|
scorePath?: string | undefined;
|
|
1121
1144
|
}[] | undefined;
|
|
1145
|
+
obsFeatureColumns?: {
|
|
1146
|
+
path: string;
|
|
1147
|
+
}[] | undefined;
|
|
1122
1148
|
obsEmbedding?: {
|
|
1123
1149
|
path: string;
|
|
1124
1150
|
dims?: number[] | undefined;
|
|
@@ -1187,6 +1213,19 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
|
|
|
1187
1213
|
tablePath?: string | undefined;
|
|
1188
1214
|
coordinateSystem?: string | undefined;
|
|
1189
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
|
+
}>>;
|
|
1190
1229
|
obsFeatureMatrix: z.ZodOptional<z.ZodObject<{
|
|
1191
1230
|
path: z.ZodString;
|
|
1192
1231
|
featureFilterPath: z.ZodOptional<z.ZodString>;
|
|
@@ -1263,6 +1302,11 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
|
|
|
1263
1302
|
tablePath?: string | undefined;
|
|
1264
1303
|
coordinateSystem?: string | undefined;
|
|
1265
1304
|
} | undefined;
|
|
1305
|
+
shapes?: {
|
|
1306
|
+
path: string;
|
|
1307
|
+
tablePath?: string | undefined;
|
|
1308
|
+
coordinateSystem?: string | undefined;
|
|
1309
|
+
} | undefined;
|
|
1266
1310
|
obsFeatureMatrix?: {
|
|
1267
1311
|
path: string;
|
|
1268
1312
|
featureFilterPath?: string | undefined;
|
|
@@ -1295,6 +1339,11 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
|
|
|
1295
1339
|
tablePath?: string | undefined;
|
|
1296
1340
|
coordinateSystem?: string | undefined;
|
|
1297
1341
|
} | undefined;
|
|
1342
|
+
shapes?: {
|
|
1343
|
+
path: string;
|
|
1344
|
+
tablePath?: string | undefined;
|
|
1345
|
+
coordinateSystem?: string | undefined;
|
|
1346
|
+
} | undefined;
|
|
1298
1347
|
obsFeatureMatrix?: {
|
|
1299
1348
|
path: string;
|
|
1300
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK7B,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AAGH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBtB,CAAC"}
|
|
@@ -313,6 +313,7 @@ export const anndataZarrSchema = z.object({
|
|
|
313
313
|
z.array(annDataConvenienceFeatureLabelsItem),
|
|
314
314
|
]),
|
|
315
315
|
obsFeatureMatrix: annDataObsFeatureMatrix,
|
|
316
|
+
obsFeatureColumns: annDataObsFeatureColumnsArr,
|
|
316
317
|
obsSets: annDataObsSetsArr,
|
|
317
318
|
obsSpots: annDataObsSpots,
|
|
318
319
|
obsPoints: annDataObsPoints,
|
|
@@ -330,12 +331,17 @@ export const anndataH5adSchema = anndataZarrSchema.extend({
|
|
|
330
331
|
export const spatialdataZarrSchema = z.object({
|
|
331
332
|
// TODO: should `image` be a special schema
|
|
332
333
|
// to allow specifying fileUid (like for embeddingType)?
|
|
333
|
-
// TODO: allow multiple images
|
|
334
|
+
// TODO: allow multiple images?
|
|
334
335
|
image: imageSpatialdataSchema,
|
|
335
336
|
// TODO: should this be a special schema
|
|
336
337
|
// to allow specifying fileUid (like for embeddingType)?
|
|
337
|
-
// TODO: allow multiple labels
|
|
338
|
+
// TODO: allow multiple labels?
|
|
338
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,
|
|
339
345
|
obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
|
|
340
346
|
obsSpots: obsSpotsSpatialdataSchema,
|
|
341
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.5",
|
|
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.5",
|
|
27
|
+
"@vitessce/constants-internal": "3.6.5",
|
|
28
|
+
"@vitessce/plugins": "3.6.5",
|
|
29
|
+
"@vitessce/utils": "3.6.5",
|
|
30
|
+
"@vitessce/globals": "3.6.5"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"json-schema-to-zod": "^0.6.3",
|
package/src/file-def-options.ts
CHANGED
|
@@ -347,6 +347,7 @@ export const anndataZarrSchema = z.object({
|
|
|
347
347
|
z.array(annDataConvenienceFeatureLabelsItem),
|
|
348
348
|
]),
|
|
349
349
|
obsFeatureMatrix: annDataObsFeatureMatrix,
|
|
350
|
+
obsFeatureColumns: annDataObsFeatureColumnsArr,
|
|
350
351
|
obsSets: annDataObsSetsArr,
|
|
351
352
|
obsSpots: annDataObsSpots,
|
|
352
353
|
obsPoints: annDataObsPoints,
|
|
@@ -366,12 +367,17 @@ export const anndataH5adSchema = anndataZarrSchema.extend({
|
|
|
366
367
|
export const spatialdataZarrSchema = z.object({
|
|
367
368
|
// TODO: should `image` be a special schema
|
|
368
369
|
// to allow specifying fileUid (like for embeddingType)?
|
|
369
|
-
// TODO: allow multiple images
|
|
370
|
+
// TODO: allow multiple images?
|
|
370
371
|
image: imageSpatialdataSchema,
|
|
371
372
|
// TODO: should this be a special schema
|
|
372
373
|
// to allow specifying fileUid (like for embeddingType)?
|
|
373
|
-
// TODO: allow multiple labels
|
|
374
|
+
// TODO: allow multiple labels?
|
|
374
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,
|
|
375
381
|
obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
|
|
376
382
|
obsSpots: obsSpotsSpatialdataSchema,
|
|
377
383
|
// TODO: obsPoints
|