@jbrowse/product-core 2.10.0 → 2.10.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.
@@ -554,7 +554,9 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
554
554
  removeAssembly(asm: {
555
555
  configuration: any;
556
556
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
557
- error: unknown;
557
+ error: unknown; /**
558
+ * #action
559
+ */
558
560
  loaded: boolean;
559
561
  loadingP: Promise<void> | undefined;
560
562
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -614,11 +616,11 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
614
616
  [x: string]: string | undefined;
615
617
  }>;
616
618
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
617
- configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>; /**
619
+ configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
620
+ }, {
621
+ error: unknown; /**
618
622
  * #action
619
623
  */
620
- }, {
621
- error: unknown;
622
624
  loaded: boolean;
623
625
  loadingP: Promise<void> | undefined;
624
626
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -1151,7 +1153,9 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
1151
1153
  removeAssembly(asm: {
1152
1154
  configuration: any;
1153
1155
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1154
- error: unknown;
1156
+ error: unknown; /**
1157
+ * #action
1158
+ */
1155
1159
  loaded: boolean;
1156
1160
  loadingP: Promise<void> | undefined;
1157
1161
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -1211,11 +1215,11 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
1211
1215
  [x: string]: string | undefined;
1212
1216
  }>;
1213
1217
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
1214
- configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>; /**
1218
+ configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
1219
+ }, {
1220
+ error: unknown; /**
1215
1221
  * #action
1216
1222
  */
1217
- }, {
1218
- error: unknown;
1219
1223
  loaded: boolean;
1220
1224
  loadingP: Promise<void> | undefined;
1221
1225
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -1767,7 +1771,9 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
1767
1771
  removeAssembly(asm: {
1768
1772
  configuration: any;
1769
1773
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1770
- error: unknown;
1774
+ error: unknown; /**
1775
+ * #action
1776
+ */
1771
1777
  loaded: boolean;
1772
1778
  loadingP: Promise<void> | undefined;
1773
1779
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -1827,11 +1833,11 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
1827
1833
  [x: string]: string | undefined;
1828
1834
  }>;
1829
1835
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
1830
- configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>; /**
1836
+ configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
1837
+ }, {
1838
+ error: unknown; /**
1831
1839
  * #action
1832
1840
  */
1833
- }, {
1834
- error: unknown;
1835
1841
  loaded: boolean;
1836
1842
  loadingP: Promise<void> | undefined;
1837
1843
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -2009,6 +2015,7 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
2009
2015
  };
2010
2016
  subfeatures: {
2011
2017
  type: string;
2018
+ /** Session mixin MST type for a session that has `sessionTracks` */
2012
2019
  description: string;
2013
2020
  defaultValue: {};
2014
2021
  contextVariable: string[];
@@ -2044,9 +2051,7 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
2044
2051
  setSubschema(slotName: string, data: unknown): any;
2045
2052
  } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[];
2046
2053
  } & {
2047
- addTrackConf(trackConf: AnyConfiguration): any; /**
2048
- * #action
2049
- */
2054
+ addTrackConf(trackConf: AnyConfiguration): any;
2050
2055
  deleteTrackConf(trackConf: {
2051
2056
  [x: string]: any;
2052
2057
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
@@ -22,7 +22,7 @@ function SessionTracksManagerSessionMixin(pluginManager) {
22
22
  * #getter
23
23
  */
24
24
  get tracks() {
25
- return self.jbrowse.tracks;
25
+ return [...self.sessionTracks, ...self.jbrowse.tracks];
26
26
  },
27
27
  }))
28
28
  .actions(self => {
@@ -554,7 +554,9 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
554
554
  removeAssembly(asm: {
555
555
  configuration: any;
556
556
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
557
- error: unknown;
557
+ error: unknown; /**
558
+ * #action
559
+ */
558
560
  loaded: boolean;
559
561
  loadingP: Promise<void> | undefined;
560
562
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -614,11 +616,11 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
614
616
  [x: string]: string | undefined;
615
617
  }>;
616
618
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
617
- configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>; /**
619
+ configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
620
+ }, {
621
+ error: unknown; /**
618
622
  * #action
619
623
  */
620
- }, {
621
- error: unknown;
622
624
  loaded: boolean;
623
625
  loadingP: Promise<void> | undefined;
624
626
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -1151,7 +1153,9 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
1151
1153
  removeAssembly(asm: {
1152
1154
  configuration: any;
1153
1155
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1154
- error: unknown;
1156
+ error: unknown; /**
1157
+ * #action
1158
+ */
1155
1159
  loaded: boolean;
1156
1160
  loadingP: Promise<void> | undefined;
1157
1161
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -1211,11 +1215,11 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
1211
1215
  [x: string]: string | undefined;
1212
1216
  }>;
1213
1217
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
1214
- configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>; /**
1218
+ configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
1219
+ }, {
1220
+ error: unknown; /**
1215
1221
  * #action
1216
1222
  */
1217
- }, {
1218
- error: unknown;
1219
1223
  loaded: boolean;
1220
1224
  loadingP: Promise<void> | undefined;
1221
1225
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -1767,7 +1771,9 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
1767
1771
  removeAssembly(asm: {
1768
1772
  configuration: any;
1769
1773
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1770
- error: unknown;
1774
+ error: unknown; /**
1775
+ * #action
1776
+ */
1771
1777
  loaded: boolean;
1772
1778
  loadingP: Promise<void> | undefined;
1773
1779
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -1827,11 +1833,11 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
1827
1833
  [x: string]: string | undefined;
1828
1834
  }>;
1829
1835
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
1830
- configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>; /**
1836
+ configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
1837
+ }, {
1838
+ error: unknown; /**
1831
1839
  * #action
1832
1840
  */
1833
- }, {
1834
- error: unknown;
1835
1841
  loaded: boolean;
1836
1842
  loadingP: Promise<void> | undefined;
1837
1843
  volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
@@ -2009,6 +2015,7 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
2009
2015
  };
2010
2016
  subfeatures: {
2011
2017
  type: string;
2018
+ /** Session mixin MST type for a session that has `sessionTracks` */
2012
2019
  description: string;
2013
2020
  defaultValue: {};
2014
2021
  contextVariable: string[];
@@ -2044,9 +2051,7 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
2044
2051
  setSubschema(slotName: string, data: unknown): any;
2045
2052
  } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[];
2046
2053
  } & {
2047
- addTrackConf(trackConf: AnyConfiguration): any; /**
2048
- * #action
2049
- */
2054
+ addTrackConf(trackConf: AnyConfiguration): any;
2050
2055
  deleteTrackConf(trackConf: {
2051
2056
  [x: string]: any;
2052
2057
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
@@ -19,7 +19,7 @@ export function SessionTracksManagerSessionMixin(pluginManager) {
19
19
  * #getter
20
20
  */
21
21
  get tracks() {
22
- return self.jbrowse.tracks;
22
+ return [...self.sessionTracks, ...self.jbrowse.tracks];
23
23
  },
24
24
  }))
25
25
  .actions(self => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/product-core",
3
- "version": "2.10.0",
3
+ "version": "2.10.2",
4
4
  "sideEffects": false,
5
5
  "description": "JBrowse 2 code shared between products but not used by plugins",
6
6
  "keywords": [
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@babel/runtime": "^7.16.3",
46
- "@jbrowse/core": "^2.10.0",
46
+ "@jbrowse/core": "^2.10.2",
47
47
  "@mui/icons-material": "^5.0.0",
48
48
  "@mui/material": "^5.10.17",
49
49
  "copy-to-clipboard": "^3.3.1",
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "223d8bfb68fd1bacaf22852639ad5920f1b7f43b"
66
+ "gitHead": "7ca3b7db337ebd88853e2d96cdab940ed550c4fb"
67
67
  }