🐛 Add webp export format to plugin types (#8870)

* 🐛 Add webp export format to plugin types

Align plugin API typings with runtime export support by including 'webp' in
'Export.type' and updating the exported formats documentation.

Signed-off-by: Marek Hrabe <marekhrabe@me.com>

* 📚 Add plugin-types changelog entry for missing webp export format

Signed-off-by: Marek Hrabe <marekhrabe@me.com>

---------

Signed-off-by: Marek Hrabe <marekhrabe@me.com>
Co-authored-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
Marek Hrabe 2026-04-10 11:22:20 +02:00 committed by GitHub
parent a88f8f1394
commit 9785a13e67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
## 1.5.0 (Unreleased)
- **plugin-types**: Added a flags subcontexts with the flag `naturalChildrenOrdering`
- **plugin-types**: Fix missing `webp` export format in `Export.type`
## 1.4.2 (2026-01-21)

View File

@ -1534,9 +1534,9 @@ export interface EventsMap {
*/
export interface Export {
/**
* Type of the file to export. Can be one of the following values: png, jpeg, svg, pdf
* Type of the file to export. Can be one of the following values: png, jpeg, webp, svg, pdf
*/
type: 'png' | 'jpeg' | 'svg' | 'pdf';
type: 'png' | 'jpeg' | 'webp' | 'svg' | 'pdf';
/**
* For bitmap formats represent the scale of the original size to resize the export
*/