saleor-dashboard/types.d.ts
Lukasz Ostrowski 7fcc71839a
Appstore improvements for non-cloud dashboard (#3258)
* Add empty screen message if no apps are installed

* Add .env.template with Appstore and Demo set by default

* Change how section is resolved

* Add message that Saleor apps can be installed only in Cloud

* Add apps.saleor.io url be default Appstore url in Dockerfile

* Show cloud only message for apps with manifest

* Extract messages

* Fix test

* Change message to tooltip

* Update readme
2023-03-03 08:51:35 +01:00

25 lines
647 B
TypeScript

declare module "*.jpg";
declare module "*.png";
declare module "*.svg" {
const content: any;
export default content;
}
declare const FLAGS_SERVICE_ENABLED: boolean;
declare const FLAGSMITH_ID: string;
declare const FLAGS: Record<string, string>;
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;
APPS_MARKETPLACE_API_URI?: string;
APPS_TUNNEL_URL_KEYWORDS?: string;
IS_CLOUD_INSTANCE?: string;
};
}