@vitessce/constants-internal 3.4.14 → 3.5.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 +29 -4
- package/dist-tsc/constants.d.ts +5 -2
- package/dist-tsc/constants.d.ts.map +1 -1
- package/dist-tsc/constants.js +10 -5
- package/dist-tsc/coordination.d.ts.map +1 -1
- package/dist-tsc/coordination.js +5 -0
- package/dist-tsc/index.d.ts +2 -2
- package/dist-tsc/index.d.ts.map +1 -1
- package/dist-tsc/index.js +2 -2
- package/dist-tsc/version.json +3 -3
- package/package.json +2 -2
- package/src/constants.ts +12 -6
- package/src/coordination.ts +5 -0
- package/src/index.ts +12 -2
- package/src/version.json +3 -3
package/dist/index.js
CHANGED
|
@@ -15,7 +15,8 @@ const ViewType = {
|
|
|
15
15
|
OBS_SET_FEATURE_VALUE_DISTRIBUTION: "obsSetFeatureValueDistribution",
|
|
16
16
|
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
|
|
17
17
|
DOT_PLOT: "dotPlot",
|
|
18
|
-
FEATURE_BAR_PLOT: "featureBarPlot"
|
|
18
|
+
FEATURE_BAR_PLOT: "featureBarPlot",
|
|
19
|
+
BIOMARKER_SELECT: "biomarkerSelect"
|
|
19
20
|
};
|
|
20
21
|
const DataType = {
|
|
21
22
|
OBS_LABELS: "obsLabels",
|
|
@@ -33,6 +34,24 @@ const DataType = {
|
|
|
33
34
|
SAMPLE_SETS: "sampleSets",
|
|
34
35
|
SAMPLE_EDGES: "sampleEdges"
|
|
35
36
|
};
|
|
37
|
+
const AsyncFunctionType = {
|
|
38
|
+
// String input (rather than Node input)
|
|
39
|
+
AUTOCOMPLETE_FEATURE: "autocompleteFeature",
|
|
40
|
+
// (partial: string, targetModality: null | 'gene' | 'protein' | 'genomic-region' | 'cell-type') -> list of feature nodes
|
|
41
|
+
TRANSFORM_FEATURE: "transformFeature",
|
|
42
|
+
// (featureNode, targetModality) -> list of feature nodes from target modality
|
|
43
|
+
RELATED_FEATURES: "relatedFeatures",
|
|
44
|
+
// (featureNode) -> list of related feature nodes
|
|
45
|
+
FEATURE_TO_URL: "featureToUrl",
|
|
46
|
+
// (featureNode) -> URL
|
|
47
|
+
FEATURE_TO_INTERVAL: "featureToInterval",
|
|
48
|
+
// (featureNode) -> genomic interval { chr, start, end }
|
|
49
|
+
// Cell2Sentence/LLM-based?
|
|
50
|
+
OBS_SET_TO_FEATURES: "obsSetToFeatures",
|
|
51
|
+
// (cell type node) -> list of feature nodes
|
|
52
|
+
FEATURES_TO_OBS_SET: "featuresToObsSet"
|
|
53
|
+
// (list of feature nodes) -> cell type node
|
|
54
|
+
};
|
|
36
55
|
const FileType = {
|
|
37
56
|
// Joint file types
|
|
38
57
|
ANNDATA_ZARR: "anndata.zarr",
|
|
@@ -896,13 +915,18 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
896
915
|
CoordinationType.OBS_SET_COLOR,
|
|
897
916
|
CoordinationType.OBS_COLOR_ENCODING,
|
|
898
917
|
CoordinationType.ADDITIONAL_OBS_SETS
|
|
918
|
+
],
|
|
919
|
+
[ViewType.BIOMARKER_SELECT]: [
|
|
920
|
+
CoordinationType.FEATURE_SELECTION,
|
|
921
|
+
CoordinationType.SAMPLE_SET_SELECTION
|
|
922
|
+
// TODO: create coordination types for internal state of the biomarker selection view?
|
|
899
923
|
]
|
|
900
924
|
};
|
|
901
925
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
902
|
-
const version = "3.
|
|
903
|
-
const date = "2024-
|
|
926
|
+
const version = "3.5.0";
|
|
927
|
+
const date = "2024-11-01";
|
|
904
928
|
const branch = "changeset-release/main";
|
|
905
|
-
const hash = "
|
|
929
|
+
const hash = "1eb007aa";
|
|
906
930
|
const version$1 = {
|
|
907
931
|
note,
|
|
908
932
|
version,
|
|
@@ -913,6 +937,7 @@ const version$1 = {
|
|
|
913
937
|
export {
|
|
914
938
|
ALT_ZARR_STORE_TYPES,
|
|
915
939
|
AUTO_INDEPENDENT_COORDINATION_TYPES,
|
|
940
|
+
AsyncFunctionType,
|
|
916
941
|
COMPONENT_COORDINATION_TYPES,
|
|
917
942
|
CoordinationType,
|
|
918
943
|
DATA_TYPE_COORDINATION_VALUE_USAGE,
|
package/dist-tsc/constants.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare const ViewType: {
|
|
|
21
21
|
FEATURE_VALUE_HISTOGRAM: string;
|
|
22
22
|
DOT_PLOT: string;
|
|
23
23
|
FEATURE_BAR_PLOT: string;
|
|
24
|
+
BIOMARKER_SELECT: string;
|
|
24
25
|
};
|
|
25
26
|
export declare const DataType: {
|
|
26
27
|
OBS_LABELS: string;
|
|
@@ -39,8 +40,10 @@ export declare const DataType: {
|
|
|
39
40
|
SAMPLE_EDGES: string;
|
|
40
41
|
};
|
|
41
42
|
export declare const AsyncFunctionType: {
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
AUTOCOMPLETE_FEATURE: string;
|
|
44
|
+
TRANSFORM_FEATURE: string;
|
|
45
|
+
RELATED_FEATURES: string;
|
|
46
|
+
FEATURE_TO_URL: string;
|
|
44
47
|
FEATURE_TO_INTERVAL: string;
|
|
45
48
|
OBS_SET_TO_FEATURES: string;
|
|
46
49
|
FEATURES_TO_OBS_SET: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAmBpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;CAepB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;CAY7B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwHpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsH5B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;CAgB3B,CAAC"}
|
package/dist-tsc/constants.js
CHANGED
|
@@ -21,6 +21,7 @@ export const ViewType = {
|
|
|
21
21
|
FEATURE_VALUE_HISTOGRAM: 'featureValueHistogram',
|
|
22
22
|
DOT_PLOT: 'dotPlot',
|
|
23
23
|
FEATURE_BAR_PLOT: 'featureBarPlot',
|
|
24
|
+
BIOMARKER_SELECT: 'biomarkerSelect',
|
|
24
25
|
};
|
|
25
26
|
export const DataType = {
|
|
26
27
|
OBS_LABELS: 'obsLabels',
|
|
@@ -39,11 +40,15 @@ export const DataType = {
|
|
|
39
40
|
SAMPLE_EDGES: 'sampleEdges',
|
|
40
41
|
};
|
|
41
42
|
export const AsyncFunctionType = {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
// String input (rather than Node input)
|
|
44
|
+
AUTOCOMPLETE_FEATURE: 'autocompleteFeature', // (partial: string, targetModality: null | 'gene' | 'protein' | 'genomic-region' | 'cell-type') -> list of feature nodes
|
|
45
|
+
TRANSFORM_FEATURE: 'transformFeature', // (featureNode, targetModality) -> list of feature nodes from target modality
|
|
46
|
+
RELATED_FEATURES: 'relatedFeatures', // (featureNode) -> list of related feature nodes
|
|
47
|
+
FEATURE_TO_URL: 'featureToUrl', // (featureNode) -> URL
|
|
48
|
+
FEATURE_TO_INTERVAL: 'featureToInterval', // (featureNode) -> genomic interval { chr, start, end }
|
|
49
|
+
// Cell2Sentence/LLM-based?
|
|
50
|
+
OBS_SET_TO_FEATURES: 'obsSetToFeatures', // (cell type node) -> list of feature nodes
|
|
51
|
+
FEATURES_TO_OBS_SET: 'featuresToObsSet', // (list of feature nodes) -> cell type node
|
|
47
52
|
};
|
|
48
53
|
export const FileType = {
|
|
49
54
|
// Joint file types
|
|
@@ -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;;;CAqaxC,CAAC"}
|
package/dist-tsc/coordination.js
CHANGED
|
@@ -445,4 +445,9 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
445
445
|
CoordinationType.OBS_COLOR_ENCODING,
|
|
446
446
|
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
447
447
|
],
|
|
448
|
+
[ViewType.BIOMARKER_SELECT]: [
|
|
449
|
+
CoordinationType.FEATURE_SELECTION,
|
|
450
|
+
CoordinationType.SAMPLE_SET_SELECTION,
|
|
451
|
+
// TODO: create coordination types for internal state of the biomarker selection view?
|
|
452
|
+
],
|
|
448
453
|
};
|
package/dist-tsc/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ViewType, DataType, FileType, CoordinationType,
|
|
1
|
+
export { ViewType, DataType, FileType, CoordinationType, AsyncFunctionType, ViewHelpMapping, DescriptionType, STATUS, } from './constants.js';
|
|
2
2
|
export { FILE_TYPE_DATA_TYPE_MAPPING, DATA_TYPE_COORDINATION_VALUE_USAGE, ALT_ZARR_STORE_TYPES, } from './constant-relationships.js';
|
|
3
|
-
export { AUTO_INDEPENDENT_COORDINATION_TYPES, COMPONENT_COORDINATION_TYPES } from './coordination.js';
|
|
3
|
+
export { AUTO_INDEPENDENT_COORDINATION_TYPES, COMPONENT_COORDINATION_TYPES, } from './coordination.js';
|
|
4
4
|
export { default as META_VERSION } from './version.json';
|
|
5
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.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,MAAM,GACP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,2BAA2B,EAC3B,kCAAkC,EAClC,oBAAoB,GACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,mCAAmC,EACnC,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist-tsc/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ViewType, DataType, FileType, CoordinationType,
|
|
1
|
+
export { ViewType, DataType, FileType, CoordinationType, AsyncFunctionType, ViewHelpMapping, DescriptionType, STATUS, } from './constants.js';
|
|
2
2
|
export { FILE_TYPE_DATA_TYPE_MAPPING, DATA_TYPE_COORDINATION_VALUE_USAGE, ALT_ZARR_STORE_TYPES, } from './constant-relationships.js';
|
|
3
|
-
export { AUTO_INDEPENDENT_COORDINATION_TYPES, COMPONENT_COORDINATION_TYPES } from './coordination.js';
|
|
3
|
+
export { AUTO_INDEPENDENT_COORDINATION_TYPES, COMPONENT_COORDINATION_TYPES, } from './coordination.js';
|
|
4
4
|
export { default as META_VERSION } from './version.json';
|
package/dist-tsc/version.json
CHANGED
package/package.json
CHANGED
package/src/constants.ts
CHANGED
|
@@ -21,6 +21,7 @@ export const ViewType = {
|
|
|
21
21
|
FEATURE_VALUE_HISTOGRAM: 'featureValueHistogram',
|
|
22
22
|
DOT_PLOT: 'dotPlot',
|
|
23
23
|
FEATURE_BAR_PLOT: 'featureBarPlot',
|
|
24
|
+
BIOMARKER_SELECT: 'biomarkerSelect',
|
|
24
25
|
};
|
|
25
26
|
|
|
26
27
|
export const DataType = {
|
|
@@ -41,13 +42,18 @@ export const DataType = {
|
|
|
41
42
|
};
|
|
42
43
|
|
|
43
44
|
export const AsyncFunctionType = {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
// String input (rather than Node input)
|
|
46
|
+
AUTOCOMPLETE_FEATURE: 'autocompleteFeature', // (partial: string, targetModality: null | 'gene' | 'protein' | 'genomic-region' | 'cell-type') -> list of feature nodes
|
|
47
|
+
|
|
48
|
+
TRANSFORM_FEATURE: 'transformFeature', // (featureNode, targetModality) -> list of feature nodes from target modality
|
|
49
|
+
RELATED_FEATURES: 'relatedFeatures', // (featureNode) -> list of related feature nodes
|
|
50
|
+
FEATURE_TO_URL: 'featureToUrl', // (featureNode) -> URL
|
|
51
|
+
FEATURE_TO_INTERVAL: 'featureToInterval', // (featureNode) -> genomic interval { chr, start, end }
|
|
50
52
|
|
|
53
|
+
// Cell2Sentence/LLM-based?
|
|
54
|
+
OBS_SET_TO_FEATURES: 'obsSetToFeatures', // (cell type node) -> list of feature nodes
|
|
55
|
+
FEATURES_TO_OBS_SET: 'featuresToObsSet', // (list of feature nodes) -> cell type node
|
|
56
|
+
};
|
|
51
57
|
|
|
52
58
|
export const FileType = {
|
|
53
59
|
// Joint file types
|
package/src/coordination.ts
CHANGED
|
@@ -447,4 +447,9 @@ export const COMPONENT_COORDINATION_TYPES = {
|
|
|
447
447
|
CoordinationType.OBS_COLOR_ENCODING,
|
|
448
448
|
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
449
449
|
],
|
|
450
|
+
[ViewType.BIOMARKER_SELECT]: [
|
|
451
|
+
CoordinationType.FEATURE_SELECTION,
|
|
452
|
+
CoordinationType.SAMPLE_SET_SELECTION,
|
|
453
|
+
// TODO: create coordination types for internal state of the biomarker selection view?
|
|
454
|
+
],
|
|
450
455
|
};
|
package/src/index.ts
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
export {
|
|
2
|
-
ViewType,
|
|
2
|
+
ViewType,
|
|
3
|
+
DataType,
|
|
4
|
+
FileType,
|
|
5
|
+
CoordinationType,
|
|
6
|
+
AsyncFunctionType,
|
|
7
|
+
ViewHelpMapping,
|
|
8
|
+
DescriptionType,
|
|
9
|
+
STATUS,
|
|
3
10
|
} from './constants.js';
|
|
4
11
|
export {
|
|
5
12
|
FILE_TYPE_DATA_TYPE_MAPPING,
|
|
6
13
|
DATA_TYPE_COORDINATION_VALUE_USAGE,
|
|
7
14
|
ALT_ZARR_STORE_TYPES,
|
|
8
15
|
} from './constant-relationships.js';
|
|
9
|
-
export {
|
|
16
|
+
export {
|
|
17
|
+
AUTO_INDEPENDENT_COORDINATION_TYPES,
|
|
18
|
+
COMPONENT_COORDINATION_TYPES,
|
|
19
|
+
} from './coordination.js';
|
|
10
20
|
export { default as META_VERSION } from './version.json';
|
package/src/version.json
CHANGED