This commit is contained in:
Nadar
2025-07-23 20:58:21 +03:00
commit 80616ccf51
30 changed files with 22512 additions and 0 deletions

1
api/queries/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from './useGetProductList'

View File

@@ -0,0 +1,9 @@
import { useQuery } from '@tanstack/vue-query'
import { getProductList } from '~/api/endpoints'
export const useGetProductList = () => {
return useQuery({
queryKey: ['get-product-list'],
queryFn: () => getProductList(),
})
}