export function toPageRecord(row: any): { id: string; type: string; status: any; title: string; slug: string; content: string; timestamps: { createdAt: string; publishedAt: string | null; updatedAt: string; }; };