Skip to main content

ReferenceManagementSessionMixin

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

Also note: this document represents the state model API for the current released version of jbrowse. If you are not using the current version, please cross reference the markdown files in our repo of the checked out git tag

Source code

GitHub page

Docs

ReferenceManagementSessionMixin - Methods

method: getReferring

See if any MST nodes currently have a types.reference to this object.

// type signature
getReferring: (object: IAnyStateTreeNode) => ReferringNode[]

ReferenceManagementSessionMixin - Actions

action: removeReferring

// type signature
removeReferring: (referring: ReferringNode[], track: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: Record<string, unknown>): Record<...> | ({ ...; } & ... 2 more ... & IStateTreeNode<...>); } & IStateTreeNode<...>, callbacks: ((arg: string) => void)[], dereferenceTypeCount: Record<...>) => void