fix: allow for null values for event URLs

This commit is contained in:
Oliver Davies 2023-08-02 23:35:09 +01:00
parent 77ed75a699
commit a174746500

View file

@ -29,7 +29,7 @@ const talkCollection = defineCollection({
location: z.string().optional(), location: z.string().optional(),
name: z.string(), name: z.string(),
online: z.boolean().optional(), online: z.boolean().optional(),
url: z.string().optional(), url: z.string().or(z.null()).optional(),
}) })
), ),
speakerdeck: z speakerdeck: z