API Documentation / pinia / SubscriptionCallbackMutationDirect
Interface: SubscriptionCallbackMutationDirect
pinia.SubscriptionCallbackMutationDirect
Context passed to a subscription callback when directly mutating the state of a store with store.someState = newValue
or store.$state.someState = newValue
.
Hierarchy
_SubscriptionCallbackMutationBase
↳
SubscriptionCallbackMutationDirect
Properties
events
• events: DebuggerEvent
DEV ONLY. Different mutation calls.
Defined in
storeId
• storeId: string
id
of the store doing the mutation.
Inherited from
_SubscriptionCallbackMutationBase.storeId
Defined in
type
• type: direct
Type of the mutation.
Overrides
_SubscriptionCallbackMutationBase.type