@vitessce/schemas 3.8.13 → 3.9.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.
package/dist/index.js
CHANGED
|
@@ -8119,6 +8119,7 @@ const CoordinationType$1 = {
|
|
|
8119
8119
|
OBS_SET_HIGHLIGHT: "obsSetHighlight",
|
|
8120
8120
|
OBS_SET_EXPANSION: "obsSetExpansion",
|
|
8121
8121
|
OBS_SET_COLOR: "obsSetColor",
|
|
8122
|
+
FEATURE_COLOR: "featureColor",
|
|
8122
8123
|
FEATURE_HIGHLIGHT: "featureHighlight",
|
|
8123
8124
|
FEATURE_SELECTION: "featureSelection",
|
|
8124
8125
|
FEATURE_SET_SELECTION: "featureSetSelection",
|
|
@@ -8693,6 +8694,8 @@ const CoordinationType$1 = {
|
|
|
8693
8694
|
CoordinationType$1.OBS_SET_FILTER,
|
|
8694
8695
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
8695
8696
|
CoordinationType$1.OBS_SET_COLOR,
|
|
8697
|
+
CoordinationType$1.FEATURE_COLOR,
|
|
8698
|
+
CoordinationType$1.FEATURE_FILTER_MODE,
|
|
8696
8699
|
CoordinationType$1.FEATURE_HIGHLIGHT,
|
|
8697
8700
|
CoordinationType$1.FEATURE_SELECTION,
|
|
8698
8701
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
@@ -8907,6 +8910,8 @@ const CoordinationType$1 = {
|
|
|
8907
8910
|
CoordinationType$1.SPATIAL_SPOT_STROKE_WIDTH,
|
|
8908
8911
|
CoordinationType$1.SPATIAL_LAYER_COLOR,
|
|
8909
8912
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
8913
|
+
CoordinationType$1.FEATURE_COLOR,
|
|
8914
|
+
CoordinationType$1.FEATURE_FILTER_MODE,
|
|
8910
8915
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
8911
8916
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
8912
8917
|
CoordinationType$1.FEATURE_SELECTION,
|
|
@@ -9616,7 +9621,9 @@ const obsSegmentationsSpatialdataSchema = z.object({
|
|
|
9616
9621
|
const obsPointsSpatialdataSchema = z.object({
|
|
9617
9622
|
path: z.string().describe("The path to the point data."),
|
|
9618
9623
|
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."),
|
|
9619
|
-
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.')
|
|
9624
|
+
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.'),
|
|
9625
|
+
featureIndexColumn: z.string().optional().describe("The name of the column in the table which contains the feature (e.g., gene) indices associated with each point (aligned with the table var.index dataframe column)."),
|
|
9626
|
+
mortonCodeColumn: z.string().optional().describe('The name of the column in the table which contains the Morton codes for each point, used for efficient spatial querying. If not provided, Vitessce will assume the default column name "morton_code_2d".')
|
|
9620
9627
|
});
|
|
9621
9628
|
const obsLocationsSpatialdataSchema = z.object({
|
|
9622
9629
|
path: z.string(),
|
|
@@ -226,14 +226,20 @@ export declare const obsPointsSpatialdataSchema: z.ZodObject<{
|
|
|
226
226
|
path: z.ZodString;
|
|
227
227
|
tablePath: z.ZodOptional<z.ZodString>;
|
|
228
228
|
coordinateSystem: z.ZodOptional<z.ZodString>;
|
|
229
|
+
featureIndexColumn: z.ZodOptional<z.ZodString>;
|
|
230
|
+
mortonCodeColumn: z.ZodOptional<z.ZodString>;
|
|
229
231
|
}, "strip", z.ZodTypeAny, {
|
|
230
232
|
path: string;
|
|
231
233
|
tablePath?: string | undefined;
|
|
232
234
|
coordinateSystem?: string | undefined;
|
|
235
|
+
featureIndexColumn?: string | undefined;
|
|
236
|
+
mortonCodeColumn?: string | undefined;
|
|
233
237
|
}, {
|
|
234
238
|
path: string;
|
|
235
239
|
tablePath?: string | undefined;
|
|
236
240
|
coordinateSystem?: string | undefined;
|
|
241
|
+
featureIndexColumn?: string | undefined;
|
|
242
|
+
mortonCodeColumn?: string | undefined;
|
|
237
243
|
}>;
|
|
238
244
|
export declare const obsLocationsSpatialdataSchema: z.ZodObject<{
|
|
239
245
|
path: z.ZodString;
|
|
@@ -1271,14 +1277,20 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
|
|
|
1271
1277
|
path: z.ZodString;
|
|
1272
1278
|
tablePath: z.ZodOptional<z.ZodString>;
|
|
1273
1279
|
coordinateSystem: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
featureIndexColumn: z.ZodOptional<z.ZodString>;
|
|
1281
|
+
mortonCodeColumn: z.ZodOptional<z.ZodString>;
|
|
1274
1282
|
}, "strip", z.ZodTypeAny, {
|
|
1275
1283
|
path: string;
|
|
1276
1284
|
tablePath?: string | undefined;
|
|
1277
1285
|
coordinateSystem?: string | undefined;
|
|
1286
|
+
featureIndexColumn?: string | undefined;
|
|
1287
|
+
mortonCodeColumn?: string | undefined;
|
|
1278
1288
|
}, {
|
|
1279
1289
|
path: string;
|
|
1280
1290
|
tablePath?: string | undefined;
|
|
1281
1291
|
coordinateSystem?: string | undefined;
|
|
1292
|
+
featureIndexColumn?: string | undefined;
|
|
1293
|
+
mortonCodeColumn?: string | undefined;
|
|
1282
1294
|
}>>;
|
|
1283
1295
|
obsFeatureMatrix: z.ZodOptional<z.ZodObject<{
|
|
1284
1296
|
path: z.ZodString;
|
|
@@ -1398,6 +1410,8 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
|
|
|
1398
1410
|
path: string;
|
|
1399
1411
|
tablePath?: string | undefined;
|
|
1400
1412
|
coordinateSystem?: string | undefined;
|
|
1413
|
+
featureIndexColumn?: string | undefined;
|
|
1414
|
+
mortonCodeColumn?: string | undefined;
|
|
1401
1415
|
} | undefined;
|
|
1402
1416
|
obsFeatureMatrix?: {
|
|
1403
1417
|
path: string;
|
|
@@ -1449,6 +1463,8 @@ export declare const spatialdataZarrSchema: z.ZodObject<{
|
|
|
1449
1463
|
path: string;
|
|
1450
1464
|
tablePath?: string | undefined;
|
|
1451
1465
|
coordinateSystem?: string | undefined;
|
|
1466
|
+
featureIndexColumn?: string | undefined;
|
|
1467
|
+
mortonCodeColumn?: string | undefined;
|
|
1452
1468
|
} | undefined;
|
|
1453
1469
|
obsFeatureMatrix?: {
|
|
1454
1470
|
path: string;
|
|
@@ -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;;;;;;;;;;;;EAS5C,CAAC;AACH,eAAO,MAAM,0BAA0B
|
|
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,C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;;;;EAqBlB,CAAC;AAEb,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BtB,CAAC"}
|
|
@@ -189,6 +189,12 @@ export const obsPointsSpatialdataSchema = z.object({
|
|
|
189
189
|
coordinateSystem: z.string()
|
|
190
190
|
.optional()
|
|
191
191
|
.describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.'),
|
|
192
|
+
featureIndexColumn: z.string()
|
|
193
|
+
.optional()
|
|
194
|
+
.describe('The name of the column in the table which contains the feature (e.g., gene) indices associated with each point (aligned with the table var.index dataframe column).'),
|
|
195
|
+
mortonCodeColumn: z.string()
|
|
196
|
+
.optional()
|
|
197
|
+
.describe('The name of the column in the table which contains the Morton codes for each point, used for efficient spatial querying. If not provided, Vitessce will assume the default column name "morton_code_2d".'),
|
|
192
198
|
});
|
|
193
199
|
export const obsLocationsSpatialdataSchema = z.object({
|
|
194
200
|
path: z.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/schemas",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.1",
|
|
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.
|
|
27
|
-
"@vitessce/constants-internal": "3.
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/
|
|
30
|
-
"@vitessce/
|
|
26
|
+
"@vitessce/constants": "3.9.1",
|
|
27
|
+
"@vitessce/constants-internal": "3.9.1",
|
|
28
|
+
"@vitessce/plugins": "3.9.1",
|
|
29
|
+
"@vitessce/utils": "3.9.1",
|
|
30
|
+
"@vitessce/globals": "3.9.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"json-schema-to-zod": "^0.6.3",
|
package/src/file-def-options.ts
CHANGED
|
@@ -214,6 +214,12 @@ export const obsPointsSpatialdataSchema = z.object({
|
|
|
214
214
|
coordinateSystem: z.string()
|
|
215
215
|
.optional()
|
|
216
216
|
.describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.'),
|
|
217
|
+
featureIndexColumn: z.string()
|
|
218
|
+
.optional()
|
|
219
|
+
.describe('The name of the column in the table which contains the feature (e.g., gene) indices associated with each point (aligned with the table var.index dataframe column).'),
|
|
220
|
+
mortonCodeColumn: z.string()
|
|
221
|
+
.optional()
|
|
222
|
+
.describe('The name of the column in the table which contains the Morton codes for each point, used for efficient spatial querying. If not provided, Vitessce will assume the default column name "morton_code_2d".'),
|
|
217
223
|
});
|
|
218
224
|
export const obsLocationsSpatialdataSchema = z.object({
|
|
219
225
|
path: z.string(),
|