Skip to content

Guia completo para

Dominar a Pinia

escrito pelo seu criador

API Documentation / pinia / DefineSetupStoreOptions

Interface: DefineSetupStoreOptions<Id, S, G, A>

pinia.DefineSetupStoreOptions

Options parameter of defineStore() for setup stores. Can be extended to augment stores with the plugin API.

See

DefineStoreOptionsBase.

Type parameters

NameType
Idextends string
Sextends StateTree
GG
AA

Hierarchy

Properties

actions

Optional actions: A

Extracted actions. Added by useStore(). SHOULD NOT be added by the user when creating the store. Can be used in plugins to get the list of actions in a store defined with a setup function. Note this is always defined

Lançada sob a Licença MIT.