mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor: update blog schema by removing ogImage alt
This commit is contained in:
@@ -8,12 +8,7 @@ export const blogSchema = z.object({
|
||||
featured: z.boolean(),
|
||||
draft: z.boolean(),
|
||||
tags: z.array(z.string()),
|
||||
ogImage: z
|
||||
.object({
|
||||
src: z.string(),
|
||||
alt: z.string().optional(),
|
||||
})
|
||||
.optional(),
|
||||
ogImage: z.string().optional(),
|
||||
description: z.string(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user