saleor-dashboard/types.d.ts
Patryk Andrzejewski 3118741db8
Feature flags strategies (#3800)
* Feature flags

* Feature flags

* Feature flags

* Feature flags

* Feature flags

* Feature flags

* Types

* use @swc/jest

* Avoid calling constructors inside

* Types

* Types

* remove flagsmith

* Change to payload

* Change to payload

* Update tests

* Split resolver
2023-06-27 13:30:20 +02:00

20 lines
473 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 FLAGS: Record<string, string>;
declare interface Window {
PasswordCredential: PasswordCredential;
__SALEOR_CONFIG__: {
API_URL: string;
APP_MOUNT_URI: string;
APPS_MARKETPLACE_API_URI?: string;
APPS_TUNNEL_URL_KEYWORDS?: string;
IS_CLOUD_INSTANCE?: string;
};
}