AppCoreJBrowseModel
Auto-generated @jbrowse/mobx-state-tree API for the current JBrowse release — see pluggable elements for concepts. Built into JBrowse core. View source.
built on the JBrowseRootConfig config model — config models are MST trees themselves, which is why this state model is allowed to build on one. Generally found on a property named rootModel.jbrowse
Getters
| Member | Description |
|---|---|
assemblyNamesstring[] | |
rpcManagerRpcManager |
Actions
| Member | Description |
|---|---|
| addAssemblyConf | |
removeAssemblyConf(assemblyName: string) => void | |
| addTrackConf | |
addConnectionConf(connectionConf: AnyConfiguration) => any | Adds to the config's own connections, which every visitor to this instance loads. Takes a snapshot as readily as a built config model — the array coerces — since callers hand it plain JSON (a session spec's sessionConnections, the CLI's add-connection output). |
| deleteConnectionConf | |
| deleteTrackConf | |
| updateTrackConf | Updates an existing track configuration. Used to sync editable configs back to the frozen tracks array. |
addPlugin(pluginDefinition: PluginDefinition) => void | |
removePlugin(pluginDefinition: PluginDefinition) => void | Removes the entry that loads from the same url — the version-pinned definition, not every entry sharing a name, so the update flow's remove-then-add swaps one version for another. A definition naming no loader matches nothing ( isPluginUrl) rather than every other url-less entry: pluginUrl's miss value is the display string 'unknown url', so removing one hand-written broken entry used to filter out all of them. Such an entry has no InstalledPlugin row to remove it from either — it never loads, so it is never in runtimePluginDefinitions — so matching nothing costs nothing the UI could reach. |
| setDefaultSessionConf | |
| addInternetAccountConf | |
| deleteInternetAccountConf |