fix: update icon size property from 'sizes' to 'size' in manifest and schema files

This commit is contained in:
Alexander Sklar 2025-10-30 16:26:55 -07:00
commit 257af30812
No known key found for this signature in database

View file

@ -98,11 +98,11 @@ export const McpbManifestLocalizationSchema = z.strictObject({
export const McpbManifestIconSchema = z.strictObject({
src: z.string(),
sizes: z
size: z
.string()
.regex(
ICON_SIZE_REGEX,
'sizes must be in the format "WIDTHxHEIGHT" (e.g., "16x16")',
'size must be in the format "WIDTHxHEIGHT" (e.g., "16x16")',
),
theme: z.string().min(1, "theme cannot be empty when provided").optional(),
});