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:
parent
390fae2c97
commit
1d08329651
2 changed files with 21 additions and 0 deletions
5
.changeset/grumpy-spies-sin.md
Normal file
5
.changeset/grumpy-spies-sin.md
Normal 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
|
16
src/types.ts
16
src/types.ts
|
@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue