From 35bb517d3ae4a1d3a4c6ba28761eb26d4207618b Mon Sep 17 00:00:00 2001 From: tanishqmanuja Date: Wed, 20 Sep 2023 15:03:04 +0530 Subject: [PATCH] chore: remove unused file --- src/content/_schemas.ts | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/content/_schemas.ts diff --git a/src/content/_schemas.ts b/src/content/_schemas.ts deleted file mode 100644 index ce8ec9a..0000000 --- a/src/content/_schemas.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { z } from "astro:content"; - -export const blogSchema = z - .object({ - author: z.string().optional(), - pubDatetime: z.date(), - title: z.string(), - postSlug: z.string().optional(), - featured: z.boolean().optional(), - draft: z.boolean().optional(), - tags: z.array(z.string()).default(["others"]), - ogImage: z.string().optional(), - description: z.string(), - canonicalURL: z.string().optional(), - }) - .strict();