mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor: use astro generated CollectionEntry type
This commit is contained in:
@@ -14,5 +14,3 @@ export const blogSchema = z
|
||||
canonicalURL: z.string().optional(),
|
||||
})
|
||||
.strict();
|
||||
|
||||
export type BlogFrontmatter = z.infer<typeof blogSchema>;
|
||||
|
||||
Reference in New Issue
Block a user