[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/flow](../../README) / [store](../README) / FlowStore

# Interface: FlowStore

Defined in: [flow/src/store.ts:37](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow/src/store.ts#L37)

The shape of the global client store (`$flow.store`). Declare your namespaces by augmenting
this interface, which makes every `$flow.store.*` access fully typed:

```ts
// resources/js/env.d.ts — augment the /store subpath, where the interface is declared.
declare module "@zerotal/flow/store" {
  interface FlowStore {
    ui: { dark: boolean; sidebar: boolean };
    cart: { count: number };
  }
}
```
