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