mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-16 21:23:30 +09:00
zod schema modified
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
import { defineCollection, z } from "astro:content";
|
||||
|
||||
const contactCollection = defineCollection({
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
meta_title: z.string().optional(),
|
||||
description: z.string(),
|
||||
draft: z.boolean().optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = {
|
||||
contact: contactCollection,
|
||||
};
|
||||
Reference in New Issue
Block a user