mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 22:26:19 +00:00
agregar name a schemas
This commit is contained in:
parent
e376be121a
commit
d16e25fd69
1 changed files with 1 additions and 0 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue