Update Icon.sizes to use string array format (#1411)
This commit is contained in:
parent
60f4b2d10a
commit
80c0d23d48
1 changed files with 13 additions and 13 deletions
|
|
@ -222,8 +222,8 @@ class Icon(BaseModel):
|
|||
mimeType: str | None = None
|
||||
"""Optional MIME type for the icon."""
|
||||
|
||||
sizes: str | None = None
|
||||
"""Optional string specifying icon dimensions (e.g., "48x48 96x96")."""
|
||||
sizes: list[str] | None = None
|
||||
"""Optional list of strings specifying icon dimensions (e.g., ["48x48", "96x96"])."""
|
||||
|
||||
model_config = ConfigDict(extra="allow")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue