mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 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:
parent
a88f8f1394
commit
9785a13e67
@ -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)
|
||||
|
||||
|
||||
4
plugins/libs/plugin-types/index.d.ts
vendored
4
plugins/libs/plugin-types/index.d.ts
vendored
@ -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
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user