Skip to main content

AppCoreJBrowseModel

Note: this document is automatically generated from mobx-state-tree objects in our source code. See Core concepts and intro to pluggable elements for more info

Source file

packages/app-core/src/JBrowseModel/index.ts

note that JBrowseRootConfig is a config model, but config models are MST trees themselves, which is why this stateModel is allowed to extend it

the AppCoreJBrowseModel is generally on a property named rootModel.jbrowse

extends

AppCoreJBrowseModel - Getters

getter: assemblyNames

// type
string[]

getter: rpcManager

// type
RpcManager

AppCoreJBrowseModel - Actions

action: addAssemblyConf

// type signature
addAssemblyConf: (conf: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>) => { ...; } & ... 2 more ... & IStateTreeNode<...>

action: removeAssemblyConf

// type signature
removeAssemblyConf: (assemblyName: string) => void

action: addTrackConf

// type signature
addTrackConf: (trackConf: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>) => any

action: addConnectionConf

// type signature
addConnectionConf: (connectionConf: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>) => any

action: deleteConnectionConf

// type signature
deleteConnectionConf: (configuration: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>) => boolean

action: deleteTrackConf

// type signature
deleteTrackConf: (trackConf: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>) => boolean

action: addPlugin

// type signature
addPlugin: (pluginDefinition: PluginDefinition) => void

action: removePlugin

// type signature
removePlugin: (pluginDefinition: PluginDefinition) => void

action: setDefaultSessionConf

// type signature
setDefaultSessionConf: (sessionConf: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>) => void

action: addInternetAccountConf

// type signature
addInternetAccountConf: (internetAccountConf: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>) => any

action: deleteInternetAccountConf

// type signature
deleteInternetAccountConf: (configuration: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>) => boolean