import { api } from "@/lib/api"
import type { FAQResponse } from "@/types/faq"

export const getFAQ = ["content", "faq"] as const

export async function fetchFAQ(): Promise<FAQResponse> {
  const { data } = await api.get("/content-pages/public/FAQ")
  return data
}