JBrowseReactCircularGenomeViewRootModel
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
products/jbrowse-react-circular-genome-view/src/createModel/createModel.ts
JBrowseReactCircularGenomeViewRootModel - Properties
property: config
// type signature
IModelType<{ configuration: ConfigurationSchemaType<{ rpc: ConfigurationSchemaType<{ defaultDriver: { type: string; description: string; defaultValue: string; }; drivers: IOptionalIType<IMapType<ITypeUnion<ModelCreationType<ExtractCFromProps<Record<string, any>>>, ModelSnapshotType<...>, {} & ... 1 more ... & NonEmp...
// code
config: createConfigModel(pluginManager, assemblyConfigSchema)
property: session
// type signature
IModelType<{ id: IOptionalIType<ISimpleType<string>, [undefined]>; name: ISimpleType<string>; margin: IType<number, number, number>; } & { ...; } & { ...; } & { ...; }, { ...; } & ... 20 more ... & { ...; }, _NotCustomized, _NotCustomized>
// code
session: Session
property: assemblyManager
// type signature
IOptionalIType<IModelType<{ assemblies: IArrayType<IModelType<{ configuration: IMaybe<IReferenceType<IAnyType>>; }, { error: unknown; loaded: boolean; loadingP: Promise<void>; volatileRegions: BasicRegion[]; refNameAliases: RefNameAliases; lowerCaseRefNameAliases: RefNameAliases; cytobands: Feature[]; } & ... 5 more...
// code
assemblyManager: types.optional(assemblyManagerType, {})
property: internetAccounts
// type signature
IArrayType<IAnyType>
// code
internetAccounts: types.array(
pluginManager.pluggableMstType('internet account', 'stateModel'),
)
JBrowseReactCircularGenomeViewRootModel - Getters
getter: jbrowse
// type
{ configuration: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<ConfigurationSchemaType<{ rpc: ConfigurationSchemaType<{ defaultDriver: { type: string; description: string; defaultValue: string; }; drivers: IOptionalIType<...>; }, ConfigurationSchema...
getter: pluginManager
// type
PluginManager
JBrowseReactCircularGenomeViewRootModel - Actions
action: setSession
// type signature
setSession: (sessionSnapshot: ModelCreationType<ExtractCFromProps<{ id: IOptionalIType<ISimpleType<string>, [undefined]>; name: ISimpleType<string>; margin: IType<number, number, number>; } & { ...; } & { ...; } & { ...; }>>) => void
action: renameCurrentSession
// type signature
renameCurrentSession: (sessionName: string) => void
action: setError
// type signature
setError: (error: unknown) => void
action: addInternetAccount
// type signature
addInternetAccount: (internetAccount: any) => void
action: findAppropriateInternetAccount
// type signature
findAppropriateInternetAccount: (location: UriLocation) => any