@vitessce/constants-internal 3.3.1 → 3.3.3
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 +15 -4
- package/dist-tsc/constant-relationships.d.ts.map +1 -1
- package/dist-tsc/constant-relationships.js +5 -1
- package/dist-tsc/constants.d.ts +1 -0
- package/dist-tsc/constants.d.ts.map +1 -1
- package/dist-tsc/constants.js +2 -0
- package/dist-tsc/coordination.d.ts.map +1 -1
- package/dist-tsc/coordination.js +5 -0
- package/dist-tsc/version.json +3 -3
- package/package.json +1 -1
- package/src/constant-relationships.ts +5 -1
- package/src/constants.ts +2 -0
- package/src/coordination.ts +5 -0
- package/src/version.json +3 -3
package/dist/index.js
CHANGED
|
@@ -44,7 +44,9 @@ const FileType = {
|
|
|
44
44
|
OBS_SEGMENTATIONS_JSON: "obsSegmentations.json",
|
|
45
45
|
OBS_SETS_CSV: "obsSets.csv",
|
|
46
46
|
OBS_SETS_JSON: "obsSets.json",
|
|
47
|
+
// OME-Zarr
|
|
47
48
|
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
49
|
+
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
48
50
|
// AnnData
|
|
49
51
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
|
|
50
52
|
OBS_SETS_ANNDATA_ZARR: "obsSets.anndata.zarr",
|
|
@@ -243,6 +245,7 @@ const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
243
245
|
[FileType.OBS_SETS_CSV]: DataType.OBS_SETS,
|
|
244
246
|
[FileType.OBS_SETS_JSON]: DataType.OBS_SETS,
|
|
245
247
|
[FileType.IMAGE_OME_ZARR]: DataType.IMAGE,
|
|
248
|
+
[FileType.OBS_SEGMENTATIONS_OME_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
246
249
|
[FileType.OBS_FEATURE_MATRIX_ANNDATA_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
247
250
|
[FileType.OBS_SETS_ANNDATA_ZARR]: DataType.OBS_SETS,
|
|
248
251
|
[FileType.OBS_EMBEDDING_ANNDATA_ZARR]: DataType.OBS_EMBEDDING,
|
|
@@ -288,6 +291,7 @@ const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
288
291
|
};
|
|
289
292
|
const DATA_TYPE_COORDINATION_VALUE_USAGE = {
|
|
290
293
|
[DataType.OBS_SEGMENTATIONS]: [
|
|
294
|
+
CoordinationType.FILE_UID,
|
|
291
295
|
CoordinationType.OBS_TYPE
|
|
292
296
|
],
|
|
293
297
|
[DataType.OBS_EMBEDDING]: [
|
|
@@ -319,7 +323,9 @@ const DATA_TYPE_COORDINATION_VALUE_USAGE = {
|
|
|
319
323
|
CoordinationType.FEATURE_VALUE_TYPE
|
|
320
324
|
],
|
|
321
325
|
[DataType.GENOMIC_PROFILES]: [],
|
|
322
|
-
[DataType.IMAGE]: [
|
|
326
|
+
[DataType.IMAGE]: [
|
|
327
|
+
CoordinationType.FILE_UID
|
|
328
|
+
],
|
|
323
329
|
[DataType.NEIGHBORHOODS]: []
|
|
324
330
|
};
|
|
325
331
|
const AUTO_INDEPENDENT_COORDINATION_TYPES = [
|
|
@@ -645,7 +651,9 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
645
651
|
CoordinationType.SPATIAL_SEGMENTATION_FILLED,
|
|
646
652
|
CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH,
|
|
647
653
|
CoordinationType.IMAGE_CHANNEL,
|
|
654
|
+
CoordinationType.IMAGE_LAYER,
|
|
648
655
|
CoordinationType.SEGMENTATION_CHANNEL,
|
|
656
|
+
CoordinationType.SEGMENTATION_LAYER,
|
|
649
657
|
CoordinationType.SPATIAL_CHANNEL_VISIBLE,
|
|
650
658
|
CoordinationType.SPATIAL_CHANNEL_OPACITY,
|
|
651
659
|
CoordinationType.SPATIAL_CHANNEL_WINDOW,
|
|
@@ -663,6 +671,9 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
663
671
|
CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
|
|
664
672
|
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
665
673
|
CoordinationType.OBS_COLOR_ENCODING,
|
|
674
|
+
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
675
|
+
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
676
|
+
CoordinationType.FEATURE_SELECTION,
|
|
666
677
|
CoordinationType.TOOLTIPS_VISIBLE,
|
|
667
678
|
CoordinationType.TOOLTIP_CROSSHAIRS_VISIBLE,
|
|
668
679
|
CoordinationType.LEGEND_VISIBLE,
|
|
@@ -703,10 +714,10 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
703
714
|
]
|
|
704
715
|
};
|
|
705
716
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
706
|
-
const version = "3.3.
|
|
707
|
-
const date = "
|
|
717
|
+
const version = "3.3.3";
|
|
718
|
+
const date = "2024-01-25";
|
|
708
719
|
const branch = "changeset-release/main";
|
|
709
|
-
const hash = "
|
|
720
|
+
const hash = "c2264756";
|
|
710
721
|
const version$1 = {
|
|
711
722
|
note,
|
|
712
723
|
version,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constant-relationships.d.ts","sourceRoot":"","sources":["../src/constant-relationships.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;
|
|
1
|
+
{"version":3,"file":"constant-relationships.d.ts","sourceRoot":"","sources":["../src/constant-relationships.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;CA0DvC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kCAAkC;;CAsC9C,CAAC"}
|
|
@@ -17,6 +17,7 @@ export const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
17
17
|
[FileType.OBS_SETS_CSV]: DataType.OBS_SETS,
|
|
18
18
|
[FileType.OBS_SETS_JSON]: DataType.OBS_SETS,
|
|
19
19
|
[FileType.IMAGE_OME_ZARR]: DataType.IMAGE,
|
|
20
|
+
[FileType.OBS_SEGMENTATIONS_OME_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
20
21
|
[FileType.OBS_FEATURE_MATRIX_ANNDATA_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
21
22
|
[FileType.OBS_SETS_ANNDATA_ZARR]: DataType.OBS_SETS,
|
|
22
23
|
[FileType.OBS_EMBEDDING_ANNDATA_ZARR]: DataType.OBS_EMBEDDING,
|
|
@@ -67,6 +68,7 @@ export const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
67
68
|
*/
|
|
68
69
|
export const DATA_TYPE_COORDINATION_VALUE_USAGE = {
|
|
69
70
|
[DataType.OBS_SEGMENTATIONS]: [
|
|
71
|
+
CoordinationType.FILE_UID,
|
|
70
72
|
CoordinationType.OBS_TYPE,
|
|
71
73
|
],
|
|
72
74
|
[DataType.OBS_EMBEDDING]: [
|
|
@@ -98,6 +100,8 @@ export const DATA_TYPE_COORDINATION_VALUE_USAGE = {
|
|
|
98
100
|
CoordinationType.FEATURE_VALUE_TYPE,
|
|
99
101
|
],
|
|
100
102
|
[DataType.GENOMIC_PROFILES]: [],
|
|
101
|
-
[DataType.IMAGE]: [
|
|
103
|
+
[DataType.IMAGE]: [
|
|
104
|
+
CoordinationType.FILE_UID,
|
|
105
|
+
],
|
|
102
106
|
[DataType.NEIGHBORHOODS]: [],
|
|
103
107
|
};
|
package/dist-tsc/constants.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export declare const FileType: {
|
|
|
48
48
|
OBS_SETS_CSV: string;
|
|
49
49
|
OBS_SETS_JSON: string;
|
|
50
50
|
IMAGE_OME_ZARR: string;
|
|
51
|
+
OBS_SEGMENTATIONS_OME_ZARR: string;
|
|
51
52
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: string;
|
|
52
53
|
OBS_SETS_ANNDATA_ZARR: string;
|
|
53
54
|
OBS_EMBEDDING_ANNDATA_ZARR: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;CAgBpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CAapB,CAAC;AAGF,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;CAgBpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CAapB,CAAC;AAGF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0G5B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
|
package/dist-tsc/constants.js
CHANGED
|
@@ -49,7 +49,9 @@ export const FileType = {
|
|
|
49
49
|
OBS_SEGMENTATIONS_JSON: 'obsSegmentations.json',
|
|
50
50
|
OBS_SETS_CSV: 'obsSets.csv',
|
|
51
51
|
OBS_SETS_JSON: 'obsSets.json',
|
|
52
|
+
// OME-Zarr
|
|
52
53
|
IMAGE_OME_ZARR: 'image.ome-zarr',
|
|
54
|
+
OBS_SEGMENTATIONS_OME_ZARR: 'obsSegmentations.ome-zarr',
|
|
53
55
|
// AnnData
|
|
54
56
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: 'obsFeatureMatrix.anndata.zarr',
|
|
55
57
|
OBS_SETS_ANNDATA_ZARR: 'obsSets.anndata.zarr',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../src/coordination.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mCAAmC,UAc/C,CAAC;AAEF;;;;;;;KAOK;AACL,eAAO,MAAM,4BAA4B;;;
|
|
1
|
+
{"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../src/coordination.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mCAAmC,UAc/C,CAAC;AAEF;;;;;;;KAOK;AACL,eAAO,MAAM,4BAA4B;;;CAiXxC,CAAC"}
|
package/dist-tsc/coordination.js
CHANGED
|
@@ -337,7 +337,9 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
337
337
|
CoordinationType.SPATIAL_SEGMENTATION_FILLED,
|
|
338
338
|
CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH,
|
|
339
339
|
CoordinationType.IMAGE_CHANNEL,
|
|
340
|
+
CoordinationType.IMAGE_LAYER,
|
|
340
341
|
CoordinationType.SEGMENTATION_CHANNEL,
|
|
342
|
+
CoordinationType.SEGMENTATION_LAYER,
|
|
341
343
|
CoordinationType.SPATIAL_CHANNEL_VISIBLE,
|
|
342
344
|
CoordinationType.SPATIAL_CHANNEL_OPACITY,
|
|
343
345
|
CoordinationType.SPATIAL_CHANNEL_WINDOW,
|
|
@@ -355,6 +357,9 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
355
357
|
CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
|
|
356
358
|
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
357
359
|
CoordinationType.OBS_COLOR_ENCODING,
|
|
360
|
+
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
361
|
+
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
362
|
+
CoordinationType.FEATURE_SELECTION,
|
|
358
363
|
CoordinationType.TOOLTIPS_VISIBLE,
|
|
359
364
|
CoordinationType.TOOLTIP_CROSSHAIRS_VISIBLE,
|
|
360
365
|
CoordinationType.LEGEND_VISIBLE,
|
package/dist-tsc/version.json
CHANGED
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ export const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
18
18
|
[FileType.OBS_SETS_CSV]: DataType.OBS_SETS,
|
|
19
19
|
[FileType.OBS_SETS_JSON]: DataType.OBS_SETS,
|
|
20
20
|
[FileType.IMAGE_OME_ZARR]: DataType.IMAGE,
|
|
21
|
+
[FileType.OBS_SEGMENTATIONS_OME_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
21
22
|
[FileType.OBS_FEATURE_MATRIX_ANNDATA_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
22
23
|
[FileType.OBS_SETS_ANNDATA_ZARR]: DataType.OBS_SETS,
|
|
23
24
|
[FileType.OBS_EMBEDDING_ANNDATA_ZARR]: DataType.OBS_EMBEDDING,
|
|
@@ -71,6 +72,7 @@ export const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
71
72
|
*/
|
|
72
73
|
export const DATA_TYPE_COORDINATION_VALUE_USAGE = {
|
|
73
74
|
[DataType.OBS_SEGMENTATIONS]: [
|
|
75
|
+
CoordinationType.FILE_UID,
|
|
74
76
|
CoordinationType.OBS_TYPE,
|
|
75
77
|
],
|
|
76
78
|
[DataType.OBS_EMBEDDING]: [
|
|
@@ -102,6 +104,8 @@ export const DATA_TYPE_COORDINATION_VALUE_USAGE = {
|
|
|
102
104
|
CoordinationType.FEATURE_VALUE_TYPE,
|
|
103
105
|
],
|
|
104
106
|
[DataType.GENOMIC_PROFILES]: [],
|
|
105
|
-
[DataType.IMAGE]: [
|
|
107
|
+
[DataType.IMAGE]: [
|
|
108
|
+
CoordinationType.FILE_UID,
|
|
109
|
+
],
|
|
106
110
|
[DataType.NEIGHBORHOODS]: [],
|
|
107
111
|
};
|
package/src/constants.ts
CHANGED
|
@@ -52,7 +52,9 @@ export const FileType = {
|
|
|
52
52
|
OBS_SEGMENTATIONS_JSON: 'obsSegmentations.json',
|
|
53
53
|
OBS_SETS_CSV: 'obsSets.csv',
|
|
54
54
|
OBS_SETS_JSON: 'obsSets.json',
|
|
55
|
+
// OME-Zarr
|
|
55
56
|
IMAGE_OME_ZARR: 'image.ome-zarr',
|
|
57
|
+
OBS_SEGMENTATIONS_OME_ZARR: 'obsSegmentations.ome-zarr',
|
|
56
58
|
// AnnData
|
|
57
59
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: 'obsFeatureMatrix.anndata.zarr',
|
|
58
60
|
OBS_SETS_ANNDATA_ZARR: 'obsSets.anndata.zarr',
|
package/src/coordination.ts
CHANGED
|
@@ -339,7 +339,9 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
339
339
|
CoordinationType.SPATIAL_SEGMENTATION_FILLED,
|
|
340
340
|
CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH,
|
|
341
341
|
CoordinationType.IMAGE_CHANNEL,
|
|
342
|
+
CoordinationType.IMAGE_LAYER,
|
|
342
343
|
CoordinationType.SEGMENTATION_CHANNEL,
|
|
344
|
+
CoordinationType.SEGMENTATION_LAYER,
|
|
343
345
|
CoordinationType.SPATIAL_CHANNEL_VISIBLE,
|
|
344
346
|
CoordinationType.SPATIAL_CHANNEL_OPACITY,
|
|
345
347
|
CoordinationType.SPATIAL_CHANNEL_WINDOW,
|
|
@@ -357,6 +359,9 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
357
359
|
CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
|
|
358
360
|
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
359
361
|
CoordinationType.OBS_COLOR_ENCODING,
|
|
362
|
+
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
363
|
+
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
364
|
+
CoordinationType.FEATURE_SELECTION,
|
|
360
365
|
CoordinationType.TOOLTIPS_VISIBLE,
|
|
361
366
|
CoordinationType.TOOLTIP_CROSSHAIRS_VISIBLE,
|
|
362
367
|
CoordinationType.LEGEND_VISIBLE,
|
package/src/version.json
CHANGED