Ajout du champ lang à la collection photoBlogPosts
This commit is contained in:
parent
50e184be3c
commit
b9992ead61
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ const photoBlogPostsCollection = defineCollection({
|
||||||
tags: z.array(z.string()).optional(),
|
tags: z.array(z.string()).optional(),
|
||||||
featured: z.boolean().default(false),
|
featured: z.boolean().default(false),
|
||||||
draft: z.boolean().default(false),
|
draft: z.boolean().default(false),
|
||||||
|
lang: z.enum(['fr', 'en', 'ar']).default('fr'),
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue