UNPKG

@empathyco/x-components

Version:
19 lines (12 loc) 910 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [NamespacedWiringData](./x-components.namespacedwiringdata.md) ## NamespacedWiringData type Namespaced type safe which allows the access to the State, the Getters, the payload and metadata of a [XStoreModule](./x-components.xstoremodule.md)<!-- -->. **Signature:** ```typescript export type NamespacedWiringData<ModuleName extends XModuleName> = StoreModuleStateAndGetters<ModuleName> & { eventPayload: ExtractPayload<ModuleName>; metadata: WireMetadata; }; ``` **References:** [XModuleName](./x-components.xmodulename.md)<!-- -->, [StoreModuleStateAndGetters](./x-components.storemodulestateandgetters.md)<!-- -->, [ExtractPayload](./x-components.extractpayload.md)<!-- -->, [WireMetadata](./x-components.wiremetadata.md)