import useGetQuery from "./helper/useGetQuery"
import useGetQueryById from "./helper/useGetQueryById"

const API = {
    GET:"product",
    GET_ONE:'product'
}

const KEY = "Product"

export const useGetProducts = (params?:any) => useGetQuery(KEY , API.GET, params)
export const useGetOneProduct = (params?:any) => useGetQueryById(KEY , API.GET_ONE, params)

