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;
|
2022-04-26 05:26:41 +00:00
|
|
|
'experimental-products-task': boolean;
|
2022-04-19 08:31:15 +00:00
|
|
|
homescreen: boolean;
|
|
|
|
marketing: boolean;
|
|
|
|
'minified-js': boolean;
|
|
|
|
'mobile-app-banner': boolean;
|
|
|
|
navigation: boolean;
|
2022-08-03 17:42:22 +00:00
|
|
|
'new-product-management-experience': boolean;
|
2022-04-19 08:31:15 +00:00
|
|
|
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;
|
2022-06-23 01:54:38 +00:00
|
|
|
'shipping-smart-defaults': boolean;
|
2022-07-05 05:02:52 +00:00
|
|
|
'shipping-setting-tour': boolean;
|
2022-04-19 08:31:15 +00:00
|
|
|
};
|
2021-04-20 17:17:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*~ If your module exports nothing, you'll need this line. Otherwise, delete it */
|
|
|
|
export {};
|