Extend manifest to allow brand.logo.default field (#251)

* Extend manifest to allow brand.logo.default field

* Update grumpy-spies-sin.md
This commit is contained in:
Lukasz Ostrowski 2023-06-14 12:30:43 +02:00 committed by GitHub
parent 390fae2c97
commit 1d08329651
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"@saleor/app-sdk": minor
---
Added "brand" field to Manifest type, that allows to provide app's logo URL. It will work from Saleor 3.15

View file

@ -280,4 +280,20 @@ export interface AppManifest {
* In Saleor versions lower than 3.13, this field will be ignored * In Saleor versions lower than 3.13, this field will be ignored
*/ */
author?: string; author?: string;
/**
* Add brand-specific metadata to the app
*
* Available from Saleor 3.15. In previous versions will be ignored
*/
brand?: {
/**
* Logo will be displayed in the dashboard
*/
logo: {
/**
* URL with the public image. File will be copied to Saleor database during installation
*/
default: string;
};
};
} }