@@ -28,6 +28,11 @@ const postsCollection = defineCollection({
2828 } ) ,
2929} ) ;
3030
31+ const pagesCollection = defineCollection ( {
32+ type : "content" ,
33+ schema : z . object ( { } ) ,
34+ } ) ;
35+
3136const categoriesCollection = defineCollection ( {
3237 type : "data" ,
3338 schema : z . object ( {
@@ -37,18 +42,15 @@ const categoriesCollection = defineCollection({
3742
3843const authorsCollection = defineCollection ( {
3944 type : "data" ,
40- schema :
41- z . object ( {
42- name : z . string ( ) ,
43- surname : z . string ( ) . optional ( ) ,
44- image : z . string ( ) ,
45- email : z . string ( ) . optional ( ) ,
46- socialMedia : z
47- . array (
48- z . object ( { name : z . string ( ) , icon : z . string ( ) , link : z . string ( ) } ) ,
49- )
50- . optional ( ) ,
51- } ) ,
45+ schema : z . object ( {
46+ name : z . string ( ) ,
47+ surname : z . string ( ) . optional ( ) ,
48+ image : z . string ( ) ,
49+ email : z . string ( ) . optional ( ) ,
50+ socialMedia : z
51+ . array ( z . object ( { name : z . string ( ) , icon : z . string ( ) , link : z . string ( ) } ) )
52+ . optional ( ) ,
53+ } ) ,
5254} ) ;
5355
5456const publicationsCollection = defineCollection ( {
@@ -73,6 +75,7 @@ const publicationsCollection = defineCollection({
7375
7476export const collections = {
7577 posts : postsCollection ,
78+ pages : pagesCollection ,
7679 authors : authorsCollection ,
7780 publications : publicationsCollection ,
7881 categories : categoriesCollection ,
0 commit comments