--- import { authPB } from "src/utils/pocketbase"; import type { RecordModel } from 'pocketbase' // export const prerender = false const pb = await authPB() const photos = await pb.collection('photos').getFullList({ sort: '-created' }) const getImageLink = async (record: any) => { return pb.files.getURL(record, record.image) } ---