import { defineCollection, z } from 'astro:content'; const apartmentsCollection = defineCollection({ type: 'content', schema: z.object({ title: z.string(), subtitle: z.string(), type: z.enum(['suite', 'romantik', 'studio']), category: z.enum(['Premium-Komfort', 'Klassik']), guests: z.number(), sizeSqm: z.number(), balcony: z.boolean(), workspace: z.boolean(), kitchen: z.string(), highlights: z.array(z.string()), image: z.string(), eviivoWidgetUrl: z.string().optional(), featuredOrder: z.number(), }), }); export const collections = { apartments: apartmentsCollection, };