feat(podcast): add drafts for the initial episodes
This commit is contained in:
parent
8bc240aa6a
commit
23d9e92a5d
6 changed files with 78 additions and 6 deletions
|
|
@ -20,6 +20,15 @@ const dailyEmailCollection = defineCollection({
|
|||
}),
|
||||
});
|
||||
|
||||
const podcastEpisodeCollection = defineCollection({
|
||||
schema: z.object({
|
||||
date: z.date(),
|
||||
draft: z.boolean().optional(),
|
||||
guests: z.array(z.string()),
|
||||
topic: z.string(),
|
||||
}),
|
||||
});
|
||||
|
||||
const talkCollection = defineCollection({
|
||||
schema: z.object({
|
||||
description: z.string(),
|
||||
|
|
@ -65,6 +74,7 @@ const testimonialCollection = defineCollection({
|
|||
|
||||
export const collections = {
|
||||
"daily-email": dailyEmailCollection,
|
||||
"podcast-episode": podcastEpisodeCollection,
|
||||
blog: blogCollection,
|
||||
talk: talkCollection,
|
||||
testimonial: testimonialCollection,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue