agregar name a schemas

This commit is contained in:
Cat /dev/Nulo 2024-09-06 23:23:37 -03:00
parent e376be121a
commit d16e25fd69

View file

@ -9,6 +9,7 @@ export const zResource = z.object({
url: z.string(), url: z.string(),
modified: z.coerce.date().optional(), modified: z.coerce.date().optional(),
description: z.string(), description: z.string(),
name: z.string(),
}); });
export type Resource = z.infer<typeof zResource>; export type Resource = z.infer<typeof zResource>;
export const zDatasetInfo = z.object({ export const zDatasetInfo = z.object({