usePipItemsStore
PIP items state management store.
Import
typescript
const pipItemsStore = usePipItemsStore()State
| Property | Type | Default | Description |
|---|---|---|---|
items | PipItem[] | [] | PIP items for active project |
selectedItem | PipItem | null | null | Currently selected item |
isLoading | boolean | false | Loading state |
filters | ItemFilters | {} | Active filters |
Actions
| Action | Parameters | Description |
|---|---|---|
fetchItems | projectId: string | Load PIP items |
selectItem | item: PipItem | Select a PIP item |
setFilter | key: string, value: any | Set filter value |
clearFilters | — | Clear all filters |
Source
app/stores/pipItems.ts