@jbrowse/embedded-core 5.0.0-beta.1 → 5.0.0-beta.2
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.
|
@@ -1695,6 +1695,8 @@ export declare function EmbeddedSessionMixin(pluginManager: PluginManager): impo
|
|
|
1695
1695
|
pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util").NotificationLevel, actions?: import("@jbrowse/core/util").SnackAction[]): void;
|
|
1696
1696
|
popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
|
|
1697
1697
|
removeSnackbarMessage(message: string): void;
|
|
1698
|
+
} & {
|
|
1699
|
+
afterAttach(): void;
|
|
1698
1700
|
} & {
|
|
1699
1701
|
readonly visibleWidget: import("@jbrowse/core/util").Widget | undefined;
|
|
1700
1702
|
} & {
|
|
@@ -1660,6 +1660,8 @@ export declare function EmbeddedSessionThemeMixin(pluginManager: PluginManager):
|
|
|
1660
1660
|
pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util").NotificationLevel, actions?: import("@jbrowse/core/util").SnackAction[]): void;
|
|
1661
1661
|
popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
|
|
1662
1662
|
removeSnackbarMessage(message: string): void;
|
|
1663
|
+
} & {
|
|
1664
|
+
afterAttach(): void;
|
|
1663
1665
|
} & {
|
|
1664
1666
|
/**
|
|
1665
1667
|
* #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.2",
|
|
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.2",
|
|
33
|
+
"@jbrowse/core": "^5.0.0-beta.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": ">=19.0.0",
|