Skip to content

usePipItemsStore ​

PIP items state management store.

Import ​

typescript
const pipItemsStore = usePipItemsStore()

State ​

PropertyTypeDefaultDescription
itemsPipItem[][]PIP items for active project
selectedItemPipItem | nullnullCurrently selected item
isLoadingbooleanfalseLoading state
filtersItemFilters{}Active filters

Actions ​

ActionParametersDescription
fetchItemsprojectId: stringLoad PIP items
selectItemitem: PipItemSelect a PIP item
setFilterkey: string, value: anySet filter value
clearFilters—Clear all filters

Source ​

app/stores/pipItems.ts

Built with VitePress