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
Source file
packages/product-core/src/Session/ReferenceManagement.ts
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: Function[], dereferenceTypeCount: Record<...>) => void