import { defineContentConfig, defineCollection } from "@nuxt/content"; import { z } from "zod"; export default defineContentConfig({ collections: { projects: defineCollection({ type: "page", source: "projects/**/index.md", schema: z.object({ description: z.string(), url: z.url().nullable(), order: z.number(), technologies: z.array(z.string()), scope: z.enum(["hobby", "work"]), }), }), }, });