mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-14 16:34:22 +01:00
feat: modifier le type des collections de compétences et de contacts, ajouter une nouvelle fonctionnalité pour récupérer les usages par catégorie
This commit is contained in:
@@ -34,7 +34,7 @@ export default defineContentConfig({
|
||||
})
|
||||
}),
|
||||
skills: defineCollection({
|
||||
type: 'data',
|
||||
type: 'page',
|
||||
source: 'skills.json',
|
||||
schema: z.object({
|
||||
description: z.string(),
|
||||
@@ -74,7 +74,7 @@ export default defineContentConfig({
|
||||
})
|
||||
}),
|
||||
contact: defineCollection({
|
||||
type: 'data',
|
||||
type: 'page',
|
||||
source: 'contact.json',
|
||||
schema: z.object({
|
||||
body: z.array(z.object({
|
||||
|
||||
Reference in New Issue
Block a user