web / UseProducts
Interface: UseProducts ​
Defined in: apps/web/app/composables/useProducts/types.ts:13
Properties ​
currentProduct ​
currentProduct:
Readonly<Ref<UseProductsState["currentProduct"]>>
Defined in: apps/web/app/composables/useProducts/types.ts:17
data ​
data:
Readonly<Ref<UseProductsState["data"]>>
Defined in: apps/web/app/composables/useProducts/types.ts:14
fetchProducts ​
fetchProducts:
FetchProducts
Defined in: apps/web/app/composables/useProducts/types.ts:18
loading ​
loading:
Readonly<Ref<boolean>>
Defined in: apps/web/app/composables/useProducts/types.ts:15
productsPerPage ​
productsPerPage:
Readonly<Ref<number>>
Defined in: apps/web/app/composables/useProducts/types.ts:16
setCurrentProduct ​
setCurrentProduct:
SetCurrentProduct
Defined in: apps/web/app/composables/useProducts/types.ts:19