Home > @vsf-enterprise/sapcc > UseCategoryComposable

UseCategoryComposable interface

Composable method for loading and storing categories.


export interface UseCategoryComposable 


Property Type Description
categories ComputedProperty<CategoryHierarchy[]> An array of category hierarchies.
error ComputedProperty<UseCategoryError> An indicator of useCategory composable methods errors.
load (props: LoadCategoryProps) => Promise<void> A method loading a single category.
loadAll (props?: LoadAllCategoriesProps) => Promise<void> A method loading all categories defined for a catalog version.
loading ComputedProperty<boolean> An indicator of useCategory composable methods progress.