This commit is contained in:
seb
2026-10-09 18:26:01 +02:00
parent 07c4f0bff9
commit 178055f1d8
13 changed files with 80 additions and 25 deletions

View File

@@ -6,7 +6,7 @@ This document is auto-generated from the JSDoc comments in `src/store` by runnin
*Source: `src/store/category/addImage.js`*
Adds an image to a category, processing it into AVIF full and thumb variants.
Adds an image to a category, processing full, thumb, and 40px-edge small-thumb AVIF variants.
**Parameters**
@@ -19,7 +19,7 @@ Adds an image to a category, processing it into AVIF full and thumb variants.
**Returns**
`Promise<{id: number, fullHash: string, thumbW: number, thumbH: number, thumbHash: string}>` — The added image info.
`Promise<{id: number, fullHash: string, thumbW: number, thumbH: number, thumbHash: string, smallThumbW: number, smallThumbH: number}>` — The added image info.
**Example**