This commit is contained in:
2026-06-13 12:20:11 +03:30
parent 68be4fd5a1
commit f7ba6963ef
10 changed files with 236 additions and 267 deletions
+10
View File
@@ -0,0 +1,10 @@
import useAxios from '@/utils/useAxios'
export interface StoreCategory {
id: number
name: string
sort_order?: number
}
export const getStoreCategories = async (): Promise<StoreCategory[]> =>
await useAxios.get<StoreCategory[]>('/customer/categories')