mirror of
https://github.com/catdevnull/transicion-desordenada-diablo
synced 2024-11-15 02:21:39 +00:00
schema: no se garantizan estas cosas
This commit is contained in:
parent
7f11e6fcea
commit
f5c40943eb
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ export const zPublisher = z.object({
|
|||
});
|
||||
export const zDistribution = z.object({
|
||||
identifier: z.string(),
|
||||
downloadURL: z.string(),
|
||||
downloadURL: z.string().optional(),
|
||||
fileName: z.string().optional(),
|
||||
format: z.string().optional(),
|
||||
title: z.string(),
|
||||
|
@ -28,7 +28,7 @@ export const zData = z.object({
|
|||
});
|
||||
|
||||
export const zError = z.object({
|
||||
url: z.string(),
|
||||
url: z.string().optional(),
|
||||
datasetIdentifier: z.string(),
|
||||
distributionIdentifier: z.string(),
|
||||
kind: z.enum(["generic_error", "http_error", "infinite_redirect"]),
|
||||
|
|
Loading…
Reference in a new issue