mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor: remove unnecessary comment
This commit is contained in:
@@ -2,7 +2,7 @@ import { z } from "astro:content";
|
|||||||
|
|
||||||
export const blogSchema = z.object({
|
export const blogSchema = z.object({
|
||||||
author: z.string().optional(),
|
author: z.string().optional(),
|
||||||
pubDatetime: z.date(), // z.string().datetime() only available in Zod v3.20.2
|
pubDatetime: z.date(),
|
||||||
title: z.string(),
|
title: z.string(),
|
||||||
postSlug: z.string().optional(),
|
postSlug: z.string().optional(),
|
||||||
featured: z.boolean().optional(),
|
featured: z.boolean().optional(),
|
||||||
|
|||||||
Reference in New Issue
Block a user