saleor-dashboard/types.d.ts
Lukasz Ostrowski e06d3bdf0d
Improve dashboard and marketplace connection (#2666)
* Change env variables related to marketplace, add navigation item

* Change apps order

* Add button to browse marketplace

* Add redirect to Saleor Apps Marketplace on button click

* Move apps tabs state to URL

* Pass theme for initial marketplace iframe load

* Improve marketplace mount

* fix types

* fix cr

* Update env variables to disable marketplace on envs other than master staging

* Extract locales

* update snapshots
2022-11-30 17:20:20 +01:00

18 lines
409 B
TypeScript

declare module "*.jpg";
declare module "*.png";
declare module "*.svg" {
const content: any;
export default content;
}
declare interface Window {
PasswordCredential: PasswordCredential;
__SALEOR_CONFIG__: {
API_URL: string;
APP_MOUNT_URI: string;
MARKETPLACE_URL: string;
SALEOR_APPS_PAGE_PATH: string;
SALEOR_APPS_JSON_PATH: string;
APP_TEMPLATE_GALLERY_PATH: string;
};
}