Interface SubscriptionCallbackMutationPatchObject<S>

Context passed to a subscription callback when store.$patch() is called with an object.

interface SubscriptionCallbackMutationPatchObject<S> {
    events: DebuggerEvent[];
    payload: _DeepPartial<S>;
    storeId: string;
    type: patchObject;
}

Type Parameters

  • S

Hierarchy (view full)

Properties

events: 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.

payload: _DeepPartial<S>

Object passed to store.$patch().

storeId: string

id of the store doing the mutation.

Type of the mutation.

Generated using TypeDoc