Skip to content

API Documentation / pinia / _SubscriptionCallbackMutationBase

Interface: _SubscriptionCallbackMutationBase

pinia._SubscriptionCallbackMutationBase

Base type for the context passed to a subscription callback. Internal type.

Hierarchy

Properties

events

Optional events: DebuggerEvent | DebuggerEvent[]

🔴 DEV ONLY, DO NOT use for production code. Different mutation calls. Comes from https://vuejs.org/guide/extras/reactivity-in-depth.html#reactivity-debugging and allows to track mutations in devtools and plugins during development only.


storeId

storeId: string

id of the store doing the mutation.


type

type: MutationType

Type of the mutation.

Released under the MIT License.