@jbrowse/embedded-core 5.0.0-beta.1 → 5.0.0-beta.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.
|
@@ -1676,7 +1676,6 @@ export declare function EmbeddedSessionMixin(pluginManager: PluginManager): impo
|
|
|
1676
1676
|
setPreferenceOverride(key: string, value: unknown): void;
|
|
1677
1677
|
clearPreferenceOverrides(): void;
|
|
1678
1678
|
clearPreferenceOverride(key: string): void;
|
|
1679
|
-
resetPreferenceChange(path: string[]): void;
|
|
1680
1679
|
setScrollZoom(flag: boolean): void;
|
|
1681
1680
|
setDisplayTypeDefault(displayType: string, slot: string, value: unknown): void;
|
|
1682
1681
|
setName(str: string): void;
|
|
@@ -1695,6 +1694,8 @@ export declare function EmbeddedSessionMixin(pluginManager: PluginManager): impo
|
|
|
1695
1694
|
pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util").NotificationLevel, actions?: import("@jbrowse/core/util").SnackAction[]): void;
|
|
1696
1695
|
popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
|
|
1697
1696
|
removeSnackbarMessage(message: string): void;
|
|
1697
|
+
} & {
|
|
1698
|
+
afterAttach(): void;
|
|
1698
1699
|
} & {
|
|
1699
1700
|
readonly visibleWidget: import("@jbrowse/core/util").Widget | undefined;
|
|
1700
1701
|
} & {
|
|
@@ -1641,7 +1641,6 @@ export declare function EmbeddedSessionThemeMixin(pluginManager: PluginManager):
|
|
|
1641
1641
|
setPreferenceOverride(key: string, value: unknown): void;
|
|
1642
1642
|
clearPreferenceOverrides(): void;
|
|
1643
1643
|
clearPreferenceOverride(key: string): void;
|
|
1644
|
-
resetPreferenceChange(path: string[]): void;
|
|
1645
1644
|
setScrollZoom(flag: boolean): void;
|
|
1646
1645
|
setDisplayTypeDefault(displayType: string, slot: string, value: unknown): void;
|
|
1647
1646
|
setName(str: string): void;
|
|
@@ -1660,6 +1659,8 @@ export declare function EmbeddedSessionThemeMixin(pluginManager: PluginManager):
|
|
|
1660
1659
|
pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util").NotificationLevel, actions?: import("@jbrowse/core/util").SnackAction[]): void;
|
|
1661
1660
|
popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
|
|
1662
1661
|
removeSnackbarMessage(message: string): void;
|
|
1662
|
+
} & {
|
|
1663
|
+
afterAttach(): void;
|
|
1663
1664
|
} & {
|
|
1664
1665
|
/**
|
|
1665
1666
|
* #getter
|
|
@@ -93,6 +93,10 @@ export declare function createEmbeddedRootModel<SESSION extends IAnyModelType &
|
|
|
93
93
|
readonly type: "boolean";
|
|
94
94
|
readonly defaultValue: false;
|
|
95
95
|
};
|
|
96
|
+
readonly developerMode: {
|
|
97
|
+
readonly type: "boolean";
|
|
98
|
+
readonly defaultValue: false;
|
|
99
|
+
};
|
|
96
100
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
97
101
|
readonly formatDetails: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
98
102
|
readonly feature: {
|
|
@@ -953,6 +957,8 @@ export declare function createEmbeddedRootModel<SESSION extends IAnyModelType &
|
|
|
953
957
|
} & {
|
|
954
958
|
/**
|
|
955
959
|
* #action
|
|
960
|
+
* Synchronous: an async caller must
|
|
961
|
+
* `await pluginManager.preloadSessionTypes(snapshot)` first.
|
|
956
962
|
*/
|
|
957
963
|
setSession(sessionSnapshot: SnapshotIn<SESSION>): void;
|
|
958
964
|
/**
|
|
@@ -1050,6 +1056,10 @@ export declare function createEmbeddedRootModel<SESSION extends IAnyModelType &
|
|
|
1050
1056
|
readonly type: "boolean";
|
|
1051
1057
|
readonly defaultValue: false;
|
|
1052
1058
|
};
|
|
1059
|
+
readonly developerMode: {
|
|
1060
|
+
readonly type: "boolean";
|
|
1061
|
+
readonly defaultValue: false;
|
|
1062
|
+
};
|
|
1053
1063
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
1054
1064
|
readonly formatDetails: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
1055
1065
|
readonly feature: {
|
|
@@ -63,8 +63,11 @@ export function createEmbeddedRootModel({ name, version, pluginManager, sessionM
|
|
|
63
63
|
.actions(self => ({
|
|
64
64
|
/**
|
|
65
65
|
* #action
|
|
66
|
+
* Synchronous: an async caller must
|
|
67
|
+
* `await pluginManager.preloadSessionTypes(snapshot)` first.
|
|
66
68
|
*/
|
|
67
69
|
setSession(sessionSnapshot) {
|
|
70
|
+
pluginManager.assertSessionTypesLoaded(sessionSnapshot);
|
|
68
71
|
self.session = cast(sessionSnapshot);
|
|
69
72
|
},
|
|
70
73
|
/**
|
|
@@ -81,6 +84,7 @@ export function createEmbeddedRootModel({ name, version, pluginManager, sessionM
|
|
|
81
84
|
* actually matters for a value this app did not author.
|
|
82
85
|
*/
|
|
83
86
|
restoreSession(sessionSnapshot) {
|
|
87
|
+
pluginManager.assertSessionTypesLoaded(sessionSnapshot);
|
|
84
88
|
self.session = cast(sessionSnapshot);
|
|
85
89
|
},
|
|
86
90
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/embedded-core",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "JBrowse 2 code shared between embedded products",
|
|
6
6
|
"keywords": [
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@jbrowse/mobx-state-tree": "^6.5.1",
|
|
28
|
-
"@mui/icons-material": "^9.
|
|
29
|
-
"@mui/material": "^9.
|
|
28
|
+
"@mui/icons-material": "^9.4.0",
|
|
29
|
+
"@mui/material": "^9.4.0",
|
|
30
30
|
"mobx": "^7.0.3",
|
|
31
31
|
"mobx-react": "^10.0.2",
|
|
32
|
-
"@jbrowse/product-core": "^5.0.0-beta.
|
|
33
|
-
"@jbrowse/core": "^5.0.0-beta.
|
|
32
|
+
"@jbrowse/product-core": "^5.0.0-beta.3",
|
|
33
|
+
"@jbrowse/core": "^5.0.0-beta.3"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": ">=19.0.0",
|