From eb7173390d54f6c4545bc29236f55550ae9a5613 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Fri, 14 Nov 2025 23:59:03 +0100 Subject: [PATCH] =?UTF-8?q?Suppression=20de=20la=20configuration=20de=20co?= =?UTF-8?q?ntenu=20pour=20les=20collections=20de=20profil=20et=20de=20math?= =?UTF-8?q?=C3=A9matiques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/api/content.config.ts | 124 ----------------------------------- 1 file changed, 124 deletions(-) delete mode 100644 server/api/content.config.ts diff --git a/server/api/content.config.ts b/server/api/content.config.ts deleted file mode 100644 index a56ea94..0000000 --- a/server/api/content.config.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { defineCollection, defineContentConfig, z } from '@nuxt/content' - -export default defineContentConfig({ - collections: { - projects: defineCollection({ - type: 'page', - source: 'projects/*.md', - schema: z.object({ - slug: z.string(), - title: z.string(), - description: z.string(), - publishedAt: z.string(), - readingTime: z.number().optional(), - tags: z.array(z.string()), - cover: z.string(), - favorite: z.boolean().optional() - }) - }), - usesCategories: defineCollection({ - type: 'data', - source: 'uses/categories/*.md', - schema: z.object({ - slug: z.string(), - name: z.string() - }) - }), - uses: defineCollection({ - type: 'data', - source: 'uses/*.md', - schema: z.object({ - name: z.string(), - description: z.string(), - category: z.string() - }) - }), - skills: defineCollection({ - type: 'page', - source: 'skills.json', - schema: z.object({ - description: z.string(), - body: z.array(z.object({ - id: z.string(), - name: z.string(), - items: z.array(z.object({ - name: z.string(), - icon: z.string() - })) - })) - }) - }), - experiences: defineCollection({ - type: 'data', - source: 'experiences/*.md', - schema: z.object({ - title: z.string(), - company: z.string(), - companyUrl: z.string().url().optional(), - startDate: z.string(), - endDate: z.string().optional(), - location: z.string(), - description: z.string(), - tags: z.array(z.string()) - }) - }), - education: defineCollection({ - type: 'data', - source: 'education/*.md', - schema: z.object({ - degree: z.string(), - institution: z.string(), - startDate: z.string(), - endDate: z.string().optional(), - location: z.string() - }) - }), - contact: defineCollection({ - type: 'page', - source: 'contact.json', - schema: z.object({ - body: z.array(z.object({ - name: z.string(), - icon: z.string().optional(), - value: z.string().url(), - username: z.string().optional() - })) - }) - }), - hobbies: defineCollection({ - type: 'page', - source: 'hobbies.md' - }), - languages: defineCollection({ - type: 'page', - source: 'languages.json', - schema: z.object({ - body: z.array(z.object({ - name: z.string(), - level: z.string(), - proficiency: z.string() - })) - }) - }), - certifications: defineCollection({ - type: 'page', - source: 'certifications.json', - schema: z.object({ - body: z.array(z.object({ - name: z.string(), - issuer: z.string(), - date: z.string(), - url: z.string().url().optional() - })) - }) - }), - mathematics: defineCollection({ - type: 'page', - source: 'mathematics.md' - }), - profile: defineCollection({ - type: 'page', - source: 'profile.md' - }) - } -})