mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-17 05:24:22 +01:00
fix(screenshotsSchema): make sizes field optional
This commit is contained in:
@@ -32,7 +32,7 @@ const screenshotsSchema = z.array(z.object({
|
||||
'play',
|
||||
]).optional(),
|
||||
/** https://developer.mozilla.org/en-US/docs/Web/Manifest/screenshots#sizes */
|
||||
sizes: sizesSchema,
|
||||
sizes: sizesSchema.optional(),
|
||||
/** Absolute URL. */
|
||||
src: z.string().url(),
|
||||
/** MIME type of the image. */
|
||||
|
||||
Reference in New Issue
Block a user