Template
更新 src/content.config.ts
This commit is contained in:
1 parent
16aef30869
commit
dc62d3268b
1 file changed
+3
-1
@@ -8,8 +8,10 @@ const docs = defineCollection({
|
|||||||
schema: z.object({
|
schema: z.object({
|
||||||
title: z.string().optional(),
|
title: z.string().optional(),
|
||||||
description: z.string().optional(),
|
description: z.string().optional(),
|
||||||
|
tags: z.array(z.string()).optional(),
|
||||||
// pubDate: z.coerce.date(),
|
// pubDate: z.coerce.date(),
|
||||||
// updatedDate: z.coerce.date().optional(),
|
createdAt: z.coerce.date().optional(),
|
||||||
|
updatedAt: z.coerce.date().optional(),
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user