API Documentation / pinia / SubscriptionCallbackMutationPatchObject
Interfaz: SubscriptionCallbackMutationPatchObject<S> {#interface-subscriptioncallbackmutationpatchobject-s}
pinia.SubscriptionCallbackMutationPatchObject
Contexto pasado a un callback de suscripción cuando store.$patch()
es llamado con un objeto.
Tipado de los parámetros {#type-parameters}
Nombre |
---|
S |
Jerarquía {#hierarchy}
_SubscriptionCallbackMutationBase
↳
SubscriptionCallbackMutationPatchObject
Propiedades {#properties}
events {#events}
• events: DebuggerEvent
[]
🔴 SOLO PARA DESARROLLO, NO usar para código de producción. Diferentes llamadas de mutación. Viene de https://vuejs.org/guide/extras/reactivity-in-depth.html#reactivity-debugging y permite realizar un rastreo de las mutaciones en devtools y plugins sólo durante el desarrollo.
Sobrescribe {#overrides}
_SubscriptionCallbackMutationBase.events
payload {#payload}
• payload: _DeepPartial
<S
>
Objeto pasado a store.$patch()
.
storeId {#storeid}
• storeId: string
id
del almacén que realiza la mutación.
Heredado de {#inherited-from}
_SubscriptionCallbackMutationBase.storeId
type {#type}
• type: patchObject
Tipo de mutación.