@vitessce/constants-internal 3.2.1 → 3.3.0
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 +20 -3
- package/dist-tsc/constant-relationships.d.ts +2 -2
- package/dist-tsc/constant-relationships.d.ts.map +1 -1
- package/dist-tsc/constant-relationships.js +6 -0
- package/dist-tsc/constant-relationships.test.d.ts.map +1 -1
- package/dist-tsc/constants.d.ts +212 -198
- package/dist-tsc/constants.d.ts.map +1 -1
- package/dist-tsc/constants.js +11 -0
- package/dist-tsc/coordination.d.ts +2 -2
- package/dist-tsc/coordination.d.ts.map +1 -1
- package/dist-tsc/index.d.ts +4 -3
- package/dist-tsc/index.d.ts.map +1 -1
- package/dist-tsc/version.json +3 -3
- package/package.json +1 -1
- package/src/{constant-relationships.js → constant-relationships.ts} +8 -0
- package/src/{constants.js → constants.ts} +11 -0
- package/src/version.json +3 -3
- /package/src/{constant-relationships.test.js → constant-relationships.test.ts} +0 -0
- /package/src/{coordination.js → coordination.ts} +0 -0
- /package/src/{index.js → index.ts} +0 -0
package/dist/index.js
CHANGED
|
@@ -32,6 +32,7 @@ const DataType = {
|
|
|
32
32
|
const FileType = {
|
|
33
33
|
// Joint file types
|
|
34
34
|
ANNDATA_ZARR: "anndata.zarr",
|
|
35
|
+
SPATIALDATA_ZARR: "spatialdata.zarr",
|
|
35
36
|
// Atomic file types
|
|
36
37
|
OBS_EMBEDDING_CSV: "obsEmbedding.csv",
|
|
37
38
|
OBS_SPOTS_CSV: "obsSpots.csv",
|
|
@@ -54,6 +55,16 @@ const FileType = {
|
|
|
54
55
|
OBS_SEGMENTATIONS_ANNDATA_ZARR: "obsSegmentations.anndata.zarr",
|
|
55
56
|
OBS_LABELS_ANNDATA_ZARR: "obsLabels.anndata.zarr",
|
|
56
57
|
FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
|
|
58
|
+
// SpatialData
|
|
59
|
+
IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
|
|
60
|
+
LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
|
|
61
|
+
SHAPES_SPATIALDATA_ZARR: "shapes.spatialdata.zarr",
|
|
62
|
+
OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: "obsFeatureMatrix.spatialdata.zarr",
|
|
63
|
+
OBS_SETS_SPATIALDATA_ZARR: "obsSets.spatialdata.zarr",
|
|
64
|
+
OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
|
|
65
|
+
// TODO:
|
|
66
|
+
// OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
|
|
67
|
+
// OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
|
|
57
68
|
// MuData
|
|
58
69
|
OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
|
|
59
70
|
OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
|
|
@@ -252,6 +263,12 @@ const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
252
263
|
[FileType.OBS_SEGMENTATIONS_MUDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
253
264
|
[FileType.OBS_LABELS_MUDATA_ZARR]: DataType.OBS_LABELS,
|
|
254
265
|
[FileType.FEATURE_LABELS_MUDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
266
|
+
[FileType.IMAGE_SPATIALDATA_ZARR]: DataType.IMAGE,
|
|
267
|
+
[FileType.LABELS_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
268
|
+
[FileType.SHAPES_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
269
|
+
[FileType.OBS_SPOTS_SPATIALDATA_ZARR]: DataType.OBS_SPOTS,
|
|
270
|
+
[FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
271
|
+
[FileType.OBS_SETS_SPATIALDATA_ZARR]: DataType.OBS_SETS,
|
|
255
272
|
// For new file types to support old file types
|
|
256
273
|
[FileType.OBS_EMBEDDING_CELLS_JSON]: DataType.OBS_EMBEDDING,
|
|
257
274
|
[FileType.OBS_LOCATIONS_CELLS_JSON]: DataType.OBS_LOCATIONS,
|
|
@@ -686,10 +703,10 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
686
703
|
]
|
|
687
704
|
};
|
|
688
705
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
689
|
-
const version = "3.
|
|
690
|
-
const date = "2023-09-
|
|
706
|
+
const version = "3.3.0";
|
|
707
|
+
const date = "2023-09-28";
|
|
691
708
|
const branch = "changeset-release/main";
|
|
692
|
-
const hash = "
|
|
709
|
+
const hash = "4b4a99ea";
|
|
693
710
|
const version$1 = {
|
|
694
711
|
note,
|
|
695
712
|
version,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* should correspond to one data type. Multiple file types
|
|
4
4
|
* can map onto the same data type.
|
|
5
5
|
*/
|
|
6
|
-
export const FILE_TYPE_DATA_TYPE_MAPPING: {
|
|
6
|
+
export declare const FILE_TYPE_DATA_TYPE_MAPPING: {
|
|
7
7
|
[x: string]: string;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
@@ -11,7 +11,7 @@ export const FILE_TYPE_DATA_TYPE_MAPPING: {
|
|
|
11
11
|
* for matching using the coordinationValues field of file definitions.
|
|
12
12
|
* This enables inferring default values, simplifying view config writing.
|
|
13
13
|
*/
|
|
14
|
-
export const DATA_TYPE_COORDINATION_VALUE_USAGE: {
|
|
14
|
+
export declare const DATA_TYPE_COORDINATION_VALUE_USAGE: {
|
|
15
15
|
[x: string]: string[];
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=constant-relationships.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constant-relationships.d.ts","sourceRoot":"","sources":["../src/constant-relationships.
|
|
1
|
+
{"version":3,"file":"constant-relationships.d.ts","sourceRoot":"","sources":["../src/constant-relationships.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;CAyDvC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kCAAkC;;CAmC9C,CAAC"}
|
|
@@ -37,6 +37,12 @@ export const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
37
37
|
[FileType.OBS_SEGMENTATIONS_MUDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
38
38
|
[FileType.OBS_LABELS_MUDATA_ZARR]: DataType.OBS_LABELS,
|
|
39
39
|
[FileType.FEATURE_LABELS_MUDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
40
|
+
[FileType.IMAGE_SPATIALDATA_ZARR]: DataType.IMAGE,
|
|
41
|
+
[FileType.LABELS_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
42
|
+
[FileType.SHAPES_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
43
|
+
[FileType.OBS_SPOTS_SPATIALDATA_ZARR]: DataType.OBS_SPOTS,
|
|
44
|
+
[FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
45
|
+
[FileType.OBS_SETS_SPATIALDATA_ZARR]: DataType.OBS_SETS,
|
|
40
46
|
// For new file types to support old file types
|
|
41
47
|
[FileType.OBS_EMBEDDING_CELLS_JSON]: DataType.OBS_EMBEDDING,
|
|
42
48
|
[FileType.OBS_LOCATIONS_CELLS_JSON]: DataType.OBS_LOCATIONS,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constant-relationships.test.d.ts","sourceRoot":"","sources":["../src/constant-relationships.test.
|
|
1
|
+
{"version":3,"file":"constant-relationships.test.d.ts","sourceRoot":"","sources":["../src/constant-relationships.test.ts"],"names":[],"mappings":""}
|
package/dist-tsc/constants.d.ts
CHANGED
|
@@ -1,199 +1,213 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
1
|
+
/**
|
|
2
|
+
* This file defines the current constant values.
|
|
3
|
+
* To deprecate a value, add it to ./constants-old.js
|
|
4
|
+
* with a corresponding log message.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ViewType: {
|
|
7
|
+
DESCRIPTION: string;
|
|
8
|
+
STATUS: string;
|
|
9
|
+
SCATTERPLOT: string;
|
|
10
|
+
SPATIAL: string;
|
|
11
|
+
SPATIAL_BETA: string;
|
|
12
|
+
HEATMAP: string;
|
|
13
|
+
LAYER_CONTROLLER: string;
|
|
14
|
+
LAYER_CONTROLLER_BETA: string;
|
|
15
|
+
GENOMIC_PROFILES: string;
|
|
16
|
+
GATING: string;
|
|
17
|
+
FEATURE_LIST: string;
|
|
18
|
+
OBS_SETS: string;
|
|
19
|
+
OBS_SET_SIZES: string;
|
|
20
|
+
OBS_SET_FEATURE_VALUE_DISTRIBUTION: string;
|
|
21
|
+
FEATURE_VALUE_HISTOGRAM: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const DataType: {
|
|
24
|
+
OBS_LABELS: string;
|
|
25
|
+
OBS_EMBEDDING: string;
|
|
26
|
+
OBS_FEATURE_MATRIX: string;
|
|
27
|
+
OBS_SETS: string;
|
|
28
|
+
FEATURE_LABELS: string;
|
|
29
|
+
IMAGE: string;
|
|
30
|
+
OBS_SEGMENTATIONS: string;
|
|
31
|
+
NEIGHBORHOODS: string;
|
|
32
|
+
GENOMIC_PROFILES: string;
|
|
33
|
+
OBS_SPOTS: string;
|
|
34
|
+
OBS_POINTS: string;
|
|
35
|
+
OBS_LOCATIONS: string;
|
|
36
|
+
};
|
|
37
|
+
export declare const FileType: {
|
|
38
|
+
ANNDATA_ZARR: string;
|
|
39
|
+
SPATIALDATA_ZARR: string;
|
|
40
|
+
OBS_EMBEDDING_CSV: string;
|
|
41
|
+
OBS_SPOTS_CSV: string;
|
|
42
|
+
OBS_POINTS_CSV: string;
|
|
43
|
+
OBS_LOCATIONS_CSV: string;
|
|
44
|
+
OBS_LABELS_CSV: string;
|
|
45
|
+
FEATURE_LABELS_CSV: string;
|
|
46
|
+
OBS_FEATURE_MATRIX_CSV: string;
|
|
47
|
+
OBS_SEGMENTATIONS_JSON: string;
|
|
48
|
+
OBS_SETS_CSV: string;
|
|
49
|
+
OBS_SETS_JSON: string;
|
|
50
|
+
IMAGE_OME_ZARR: string;
|
|
51
|
+
OBS_FEATURE_MATRIX_ANNDATA_ZARR: string;
|
|
52
|
+
OBS_SETS_ANNDATA_ZARR: string;
|
|
53
|
+
OBS_EMBEDDING_ANNDATA_ZARR: string;
|
|
54
|
+
OBS_SPOTS_ANNDATA_ZARR: string;
|
|
55
|
+
OBS_POINTS_ANNDATA_ZARR: string;
|
|
56
|
+
OBS_LOCATIONS_ANNDATA_ZARR: string;
|
|
57
|
+
OBS_SEGMENTATIONS_ANNDATA_ZARR: string;
|
|
58
|
+
OBS_LABELS_ANNDATA_ZARR: string;
|
|
59
|
+
FEATURE_LABELS_ANNDATA_ZARR: string;
|
|
60
|
+
IMAGE_SPATIALDATA_ZARR: string;
|
|
61
|
+
LABELS_SPATIALDATA_ZARR: string;
|
|
62
|
+
SHAPES_SPATIALDATA_ZARR: string;
|
|
63
|
+
OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: string;
|
|
64
|
+
OBS_SETS_SPATIALDATA_ZARR: string;
|
|
65
|
+
OBS_SPOTS_SPATIALDATA_ZARR: string;
|
|
66
|
+
OBS_FEATURE_MATRIX_MUDATA_ZARR: string;
|
|
67
|
+
OBS_SETS_MUDATA_ZARR: string;
|
|
68
|
+
OBS_EMBEDDING_MUDATA_ZARR: string;
|
|
69
|
+
OBS_SPOTS_MUDATA_ZARR: string;
|
|
70
|
+
OBS_POINTS_MUDATA_ZARR: string;
|
|
71
|
+
OBS_LOCATIONS_MUDATA_ZARR: string;
|
|
72
|
+
OBS_SEGMENTATIONS_MUDATA_ZARR: string;
|
|
73
|
+
OBS_LABELS_MUDATA_ZARR: string;
|
|
74
|
+
FEATURE_LABELS_MUDATA_ZARR: string;
|
|
75
|
+
GENOMIC_PROFILES_ZARR: string;
|
|
76
|
+
NEIGHBORHOODS_JSON: string;
|
|
77
|
+
IMAGE_OME_TIFF: string;
|
|
78
|
+
OBS_SEGMENTATIONS_OME_TIFF: string;
|
|
79
|
+
OBS_EMBEDDING_CELLS_JSON: string;
|
|
80
|
+
OBS_SEGMENTATIONS_CELLS_JSON: string;
|
|
81
|
+
OBS_LOCATIONS_CELLS_JSON: string;
|
|
82
|
+
OBS_LABELS_CELLS_JSON: string;
|
|
83
|
+
OBS_SETS_CELL_SETS_JSON: string;
|
|
84
|
+
OBS_FEATURE_MATRIX_GENES_JSON: string;
|
|
85
|
+
OBS_FEATURE_MATRIX_CLUSTERS_JSON: string;
|
|
86
|
+
OBS_FEATURE_MATRIX_EXPRESSION_MATRIX_ZARR: string;
|
|
87
|
+
IMAGE_RASTER_JSON: string;
|
|
88
|
+
OBS_SEGMENTATIONS_RASTER_JSON: string;
|
|
89
|
+
OBS_LOCATIONS_MOLECULES_JSON: string;
|
|
90
|
+
OBS_LABELS_MOLECULES_JSON: string;
|
|
91
|
+
CELLS_JSON: string;
|
|
92
|
+
CELL_SETS_JSON: string;
|
|
93
|
+
ANNDATA_CELL_SETS_ZARR: string;
|
|
94
|
+
ANNDATA_CELLS_ZARR: string;
|
|
95
|
+
EXPRESSION_MATRIX_ZARR: string;
|
|
96
|
+
MOLECULES_JSON: string;
|
|
97
|
+
RASTER_JSON: string;
|
|
98
|
+
RASTER_OME_ZARR: string;
|
|
99
|
+
CLUSTERS_JSON: string;
|
|
100
|
+
GENES_JSON: string;
|
|
101
|
+
ANNDATA_EXPRESSION_MATRIX_ZARR: string;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Constants representing names of coordination types,
|
|
105
|
+
* to help prevent typos.
|
|
106
|
+
*/
|
|
107
|
+
export declare const CoordinationType: {
|
|
108
|
+
META_COORDINATION_SCOPES: string;
|
|
109
|
+
META_COORDINATION_SCOPES_BY: string;
|
|
110
|
+
DATASET: string;
|
|
111
|
+
OBS_TYPE: string;
|
|
112
|
+
FEATURE_TYPE: string;
|
|
113
|
+
FEATURE_VALUE_TYPE: string;
|
|
114
|
+
OBS_LABELS_TYPE: string;
|
|
115
|
+
EMBEDDING_TYPE: string;
|
|
116
|
+
EMBEDDING_ZOOM: string;
|
|
117
|
+
EMBEDDING_ROTATION: string;
|
|
118
|
+
EMBEDDING_TARGET_X: string;
|
|
119
|
+
EMBEDDING_TARGET_Y: string;
|
|
120
|
+
EMBEDDING_TARGET_Z: string;
|
|
121
|
+
EMBEDDING_OBS_SET_POLYGONS_VISIBLE: string;
|
|
122
|
+
EMBEDDING_OBS_SET_LABELS_VISIBLE: string;
|
|
123
|
+
EMBEDDING_OBS_SET_LABEL_SIZE: string;
|
|
124
|
+
EMBEDDING_OBS_RADIUS: string;
|
|
125
|
+
EMBEDDING_OBS_RADIUS_MODE: string;
|
|
126
|
+
EMBEDDING_OBS_OPACITY: string;
|
|
127
|
+
EMBEDDING_OBS_OPACITY_MODE: string;
|
|
128
|
+
SPATIAL_ZOOM: string;
|
|
129
|
+
SPATIAL_ROTATION: string;
|
|
130
|
+
SPATIAL_TARGET_X: string;
|
|
131
|
+
SPATIAL_TARGET_Y: string;
|
|
132
|
+
SPATIAL_TARGET_Z: string;
|
|
133
|
+
SPATIAL_TARGET_T: string;
|
|
134
|
+
SPATIAL_ROTATION_X: string;
|
|
135
|
+
SPATIAL_ROTATION_Y: string;
|
|
136
|
+
SPATIAL_ROTATION_Z: string;
|
|
137
|
+
SPATIAL_ROTATION_ORBIT: string;
|
|
138
|
+
SPATIAL_ORBIT_AXIS: string;
|
|
139
|
+
SPATIAL_AXIS_FIXED: string;
|
|
140
|
+
HEATMAP_ZOOM_X: string;
|
|
141
|
+
HEATMAP_ZOOM_Y: string;
|
|
142
|
+
HEATMAP_TARGET_X: string;
|
|
143
|
+
HEATMAP_TARGET_Y: string;
|
|
144
|
+
OBS_FILTER: string;
|
|
145
|
+
OBS_HIGHLIGHT: string;
|
|
146
|
+
OBS_SET_SELECTION: string;
|
|
147
|
+
OBS_SET_HIGHLIGHT: string;
|
|
148
|
+
OBS_SET_EXPANSION: string;
|
|
149
|
+
OBS_SET_COLOR: string;
|
|
150
|
+
FEATURE_FILTER: string;
|
|
151
|
+
FEATURE_HIGHLIGHT: string;
|
|
152
|
+
FEATURE_SELECTION: string;
|
|
153
|
+
FEATURE_VALUE_COLORMAP: string;
|
|
154
|
+
FEATURE_VALUE_TRANSFORM: string;
|
|
155
|
+
FEATURE_VALUE_COLORMAP_RANGE: string;
|
|
156
|
+
OBS_COLOR_ENCODING: string;
|
|
157
|
+
SPATIAL_IMAGE_LAYER: string;
|
|
158
|
+
SPATIAL_SEGMENTATION_LAYER: string;
|
|
159
|
+
SPATIAL_POINT_LAYER: string;
|
|
160
|
+
SPATIAL_NEIGHBORHOOD_LAYER: string;
|
|
161
|
+
GENOMIC_ZOOM_X: string;
|
|
162
|
+
GENOMIC_ZOOM_Y: string;
|
|
163
|
+
GENOMIC_TARGET_X: string;
|
|
164
|
+
GENOMIC_TARGET_Y: string;
|
|
165
|
+
ADDITIONAL_OBS_SETS: string;
|
|
166
|
+
MOLECULE_HIGHLIGHT: string;
|
|
167
|
+
GATING_FEATURE_SELECTION_X: string;
|
|
168
|
+
GATING_FEATURE_SELECTION_Y: string;
|
|
169
|
+
FEATURE_VALUE_TRANSFORM_COEFFICIENT: string;
|
|
170
|
+
TOOLTIPS_VISIBLE: string;
|
|
171
|
+
FILE_UID: string;
|
|
172
|
+
IMAGE_LAYER: string;
|
|
173
|
+
IMAGE_CHANNEL: string;
|
|
174
|
+
SEGMENTATION_LAYER: string;
|
|
175
|
+
SEGMENTATION_CHANNEL: string;
|
|
176
|
+
SPATIAL_TARGET_C: string;
|
|
177
|
+
SPATIAL_LAYER_VISIBLE: string;
|
|
178
|
+
SPATIAL_LAYER_OPACITY: string;
|
|
179
|
+
SPATIAL_LAYER_COLORMAP: string;
|
|
180
|
+
SPATIAL_LAYER_TRANSPARENT_COLOR: string;
|
|
181
|
+
SPATIAL_LAYER_MODEL_MATRIX: string;
|
|
182
|
+
SPATIAL_SEGMENTATION_FILLED: string;
|
|
183
|
+
SPATIAL_SEGMENTATION_STROKE_WIDTH: string;
|
|
184
|
+
SPATIAL_CHANNEL_COLOR: string;
|
|
185
|
+
SPATIAL_CHANNEL_VISIBLE: string;
|
|
186
|
+
SPATIAL_CHANNEL_OPACITY: string;
|
|
187
|
+
SPATIAL_CHANNEL_WINDOW: string;
|
|
188
|
+
PHOTOMETRIC_INTERPRETATION: string;
|
|
189
|
+
SPATIAL_RENDERING_MODE: string;
|
|
190
|
+
VOLUMETRIC_RENDERING_ALGORITHM: string;
|
|
191
|
+
SPATIAL_TARGET_RESOLUTION: string;
|
|
192
|
+
SPATIAL_SLICE_X: string;
|
|
193
|
+
SPATIAL_SLICE_Y: string;
|
|
194
|
+
SPATIAL_SLICE_Z: string;
|
|
195
|
+
SPOT_LAYER: string;
|
|
196
|
+
POINT_LAYER: string;
|
|
197
|
+
SPATIAL_SPOT_RADIUS: string;
|
|
198
|
+
SPATIAL_SPOT_FILLED: string;
|
|
199
|
+
SPATIAL_SPOT_STROKE_WIDTH: string;
|
|
200
|
+
SPATIAL_LAYER_COLOR: string;
|
|
201
|
+
PIXEL_HIGHLIGHT: string;
|
|
202
|
+
TOOLTIP_CROSSHAIRS_VISIBLE: string;
|
|
203
|
+
LEGEND_VISIBLE: string;
|
|
204
|
+
SPATIAL_CHANNEL_LABELS_VISIBLE: string;
|
|
205
|
+
SPATIAL_CHANNEL_LABELS_ORIENTATION: string;
|
|
206
|
+
SPATIAL_CHANNEL_LABEL_SIZE: string;
|
|
207
|
+
};
|
|
208
|
+
export declare const STATUS: {
|
|
209
|
+
LOADING: string;
|
|
210
|
+
SUCCESS: string;
|
|
211
|
+
ERROR: string;
|
|
212
|
+
};
|
|
199
213
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0G5B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
|
package/dist-tsc/constants.js
CHANGED
|
@@ -37,6 +37,7 @@ export const DataType = {
|
|
|
37
37
|
export const FileType = {
|
|
38
38
|
// Joint file types
|
|
39
39
|
ANNDATA_ZARR: 'anndata.zarr',
|
|
40
|
+
SPATIALDATA_ZARR: 'spatialdata.zarr',
|
|
40
41
|
// Atomic file types
|
|
41
42
|
OBS_EMBEDDING_CSV: 'obsEmbedding.csv',
|
|
42
43
|
OBS_SPOTS_CSV: 'obsSpots.csv',
|
|
@@ -59,6 +60,16 @@ export const FileType = {
|
|
|
59
60
|
OBS_SEGMENTATIONS_ANNDATA_ZARR: 'obsSegmentations.anndata.zarr',
|
|
60
61
|
OBS_LABELS_ANNDATA_ZARR: 'obsLabels.anndata.zarr',
|
|
61
62
|
FEATURE_LABELS_ANNDATA_ZARR: 'featureLabels.anndata.zarr',
|
|
63
|
+
// SpatialData
|
|
64
|
+
IMAGE_SPATIALDATA_ZARR: 'image.spatialdata.zarr',
|
|
65
|
+
LABELS_SPATIALDATA_ZARR: 'labels.spatialdata.zarr',
|
|
66
|
+
SHAPES_SPATIALDATA_ZARR: 'shapes.spatialdata.zarr',
|
|
67
|
+
OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: 'obsFeatureMatrix.spatialdata.zarr',
|
|
68
|
+
OBS_SETS_SPATIALDATA_ZARR: 'obsSets.spatialdata.zarr',
|
|
69
|
+
OBS_SPOTS_SPATIALDATA_ZARR: 'obsSpots.spatialdata.zarr',
|
|
70
|
+
// TODO:
|
|
71
|
+
// OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
|
|
72
|
+
// OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
|
|
62
73
|
// MuData
|
|
63
74
|
OBS_FEATURE_MATRIX_MUDATA_ZARR: 'obsFeatureMatrix.mudata.zarr',
|
|
64
75
|
OBS_SETS_MUDATA_ZARR: 'obsSets.mudata.zarr',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const AUTO_INDEPENDENT_COORDINATION_TYPES: string[];
|
|
1
|
+
export declare const AUTO_INDEPENDENT_COORDINATION_TYPES: string[];
|
|
2
2
|
/**
|
|
3
3
|
* Mapping from component type to
|
|
4
4
|
* supported coordination object types.
|
|
@@ -7,7 +7,7 @@ export const AUTO_INDEPENDENT_COORDINATION_TYPES: string[];
|
|
|
7
7
|
* need to get/set.
|
|
8
8
|
* Keys here are the component registry keys.
|
|
9
9
|
*/
|
|
10
|
-
export const COMPONENT_COORDINATION_TYPES: {
|
|
10
|
+
export declare const COMPONENT_COORDINATION_TYPES: {
|
|
11
11
|
[x: string]: string[];
|
|
12
12
|
higlass: string[];
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../src/coordination.
|
|
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;;;CA4WxC,CAAC"}
|
package/dist-tsc/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { ViewType, DataType, FileType, CoordinationType, STATUS } from
|
|
2
|
-
export { FILE_TYPE_DATA_TYPE_MAPPING, DATA_TYPE_COORDINATION_VALUE_USAGE } from
|
|
3
|
-
export { AUTO_INDEPENDENT_COORDINATION_TYPES, COMPONENT_COORDINATION_TYPES } from
|
|
1
|
+
export { ViewType, DataType, FileType, CoordinationType, STATUS, } from './constants.js';
|
|
2
|
+
export { FILE_TYPE_DATA_TYPE_MAPPING, DATA_TYPE_COORDINATION_VALUE_USAGE } from './constant-relationships.js';
|
|
3
|
+
export { AUTO_INDEPENDENT_COORDINATION_TYPES, COMPONENT_COORDINATION_TYPES } from './coordination.js';
|
|
4
|
+
export { default as META_VERSION } from './version.json';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist-tsc/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,GACvD,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,2BAA2B,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AAC9G,OAAO,EAAE,mCAAmC,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AACtG,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist-tsc/version.json
CHANGED
package/package.json
CHANGED
|
@@ -38,6 +38,14 @@ export const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
|
38
38
|
[FileType.OBS_SEGMENTATIONS_MUDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
39
39
|
[FileType.OBS_LABELS_MUDATA_ZARR]: DataType.OBS_LABELS,
|
|
40
40
|
[FileType.FEATURE_LABELS_MUDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
41
|
+
|
|
42
|
+
[FileType.IMAGE_SPATIALDATA_ZARR]: DataType.IMAGE,
|
|
43
|
+
[FileType.LABELS_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
44
|
+
[FileType.SHAPES_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
45
|
+
[FileType.OBS_SPOTS_SPATIALDATA_ZARR]: DataType.OBS_SPOTS,
|
|
46
|
+
[FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
47
|
+
[FileType.OBS_SETS_SPATIALDATA_ZARR]: DataType.OBS_SETS,
|
|
48
|
+
|
|
41
49
|
// For new file types to support old file types
|
|
42
50
|
[FileType.OBS_EMBEDDING_CELLS_JSON]: DataType.OBS_EMBEDDING,
|
|
43
51
|
[FileType.OBS_LOCATIONS_CELLS_JSON]: DataType.OBS_LOCATIONS,
|
|
@@ -40,6 +40,7 @@ export const DataType = {
|
|
|
40
40
|
export const FileType = {
|
|
41
41
|
// Joint file types
|
|
42
42
|
ANNDATA_ZARR: 'anndata.zarr',
|
|
43
|
+
SPATIALDATA_ZARR: 'spatialdata.zarr',
|
|
43
44
|
// Atomic file types
|
|
44
45
|
OBS_EMBEDDING_CSV: 'obsEmbedding.csv',
|
|
45
46
|
OBS_SPOTS_CSV: 'obsSpots.csv',
|
|
@@ -62,6 +63,16 @@ export const FileType = {
|
|
|
62
63
|
OBS_SEGMENTATIONS_ANNDATA_ZARR: 'obsSegmentations.anndata.zarr',
|
|
63
64
|
OBS_LABELS_ANNDATA_ZARR: 'obsLabels.anndata.zarr',
|
|
64
65
|
FEATURE_LABELS_ANNDATA_ZARR: 'featureLabels.anndata.zarr',
|
|
66
|
+
// SpatialData
|
|
67
|
+
IMAGE_SPATIALDATA_ZARR: 'image.spatialdata.zarr',
|
|
68
|
+
LABELS_SPATIALDATA_ZARR: 'labels.spatialdata.zarr',
|
|
69
|
+
SHAPES_SPATIALDATA_ZARR: 'shapes.spatialdata.zarr',
|
|
70
|
+
OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: 'obsFeatureMatrix.spatialdata.zarr',
|
|
71
|
+
OBS_SETS_SPATIALDATA_ZARR: 'obsSets.spatialdata.zarr',
|
|
72
|
+
OBS_SPOTS_SPATIALDATA_ZARR: 'obsSpots.spatialdata.zarr',
|
|
73
|
+
// TODO:
|
|
74
|
+
// OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
|
|
75
|
+
// OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
|
|
65
76
|
// MuData
|
|
66
77
|
OBS_FEATURE_MATRIX_MUDATA_ZARR: 'obsFeatureMatrix.mudata.zarr',
|
|
67
78
|
OBS_SETS_MUDATA_ZARR: 'obsSets.mudata.zarr',
|
package/src/version.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|