schema: homepage es opcional

This commit is contained in:
Cat /dev/Nulo 2023-12-07 18:39:52 -03:00
parent 373e50c155
commit 12b7d705f7

View file

@ -23,7 +23,7 @@ export const zDataset = z.object({
export const zData = z.object({
title: z.string(),
description: z.string(),
homepage: z.string(),
homepage: z.string().optional(),
dataset: z.array(zDataset),
});