2021-04-20 17:17:19 +00:00
|
|
|
declare global {
|
|
|
|
interface Window {
|
|
|
|
wcSettings: {
|
|
|
|
preloadOptions: Record< string, unknown >;
|
2021-06-09 19:38:22 +00:00
|
|
|
adminUrl: string;
|
2021-04-20 17:17:19 +00:00
|
|
|
};
|
2022-04-19 08:31:15 +00:00
|
|
|
wcAdminFeatures: {
|
|
|
|
'activity-panels': boolean;
|
|
|
|
analytics: boolean;
|
|
|
|
coupons: boolean;
|
|
|
|
'customer-effort-score-tracks': boolean;
|
|
|
|
homescreen: boolean;
|
|
|
|
marketing: boolean;
|
|
|
|
'minified-js': boolean;
|
|
|
|
'mobile-app-banner': boolean;
|
|
|
|
navigation: boolean;
|
|
|
|
onboarding: boolean;
|
|
|
|
'onboarding-tasks': boolean;
|
|
|
|
'payment-gateway-suggestions': boolean;
|
|
|
|
'remote-inbox-notifications': boolean;
|
|
|
|
'remote-free-extensions': boolean;
|
|
|
|
settings: boolean;
|
|
|
|
'shipping-label-banner': boolean;
|
|
|
|
subscriptions: boolean;
|
|
|
|
'store-alerts': boolean;
|
|
|
|
'transient-notices': boolean;
|
|
|
|
'wc-pay-promotion': boolean;
|
|
|
|
'wc-pay-welcome-page': boolean;
|
|
|
|
};
|
2021-04-20 17:17:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*~ If your module exports nothing, you'll need this line. Otherwise, delete it */
|
|
|
|
export {};
|