import pb from "@/lib/pocketbase" const getPostMetadata = async () => { try { return await pb.collection("blog").getFullList({ requestKey: "blogs" }) } catch (error) { return [] } } export default getPostMetadata