fix: update icon size property from 'sizes' to 'size' in manifest and schema files
This commit is contained in:
parent
406e7bb5bd
commit
257af30812
1 changed files with 26 additions and 26 deletions
|
|
@ -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(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue