Loader
import { pocketbaseLoader } from "src/lib/pocketbase/loader";import { PostsRecord } from "src/lib/pocketbase/schemas";
const posts = defineCollection({ loader: pocketbaseLoader({ collection: "posts" }), schema: PostsRecord,});
export const collections = { posts };