export function useWishlistService() {
  const { apiFetch } = useApi()

  return {
    fetchAll() {
      return apiFetch('/wishlists')
    },

    add(formData: Record<string, unknown>) {
      return apiFetch('/wishlists', { method: 'POST', body: formData })
    },

    addToCategorized(formData: Record<string, unknown>) {
      return apiFetch('/categorized', { method: 'POST', body: formData })
    },
  }
}
