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

Properties

events

events: DebuggerEvent

DEV ONLY. Different mutation calls.


storeId

storeId: string

id of the store doing the mutation.

Inherited from

_SubscriptionCallbackMutationBase.storeId


type

type: direct

Type of the mutation.

Overrides

_SubscriptionCallbackMutationBase.type