@pinia/root / pinia / _SubscriptionCallbackMutationBase
_SubscriptionCallbackMutationBase
Base type for the context passed to a subscription callback. Internal type.
Extended by
SubscriptionCallbackMutationDirect
SubscriptionCallbackMutationPatchFunction
SubscriptionCallbackMutationPatchObject
Properties
events?
ts
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
ts
storeId: string;
id
of the store doing the mutation.
type
ts
type: MutationType;
Type of the mutation.