updated plugin Jetpack Protect
version 2.2.0
This commit is contained in:
@ -1,7 +1,24 @@
|
||||
declare module '*.png';
|
||||
declare module '*.svg';
|
||||
declare module '*.jpeg';
|
||||
declare module '*.jpg';
|
||||
declare module '*.scss';
|
||||
|
||||
// These libraries don't have types, this suppresses the TypeScript errors
|
||||
declare module '@wordpress/components';
|
||||
declare module '@wordpress/compose';
|
||||
declare module '@wordpress/i18n';
|
||||
declare module '@wordpress/icons';
|
||||
|
||||
interface Window {
|
||||
myJetpackInitialState?: {
|
||||
siteSuffix: string;
|
||||
siteUrl: string;
|
||||
latestBoostSpeedScores: {
|
||||
previousScores: {
|
||||
desktop: number;
|
||||
mobile: number;
|
||||
};
|
||||
scores: {
|
||||
desktop: number;
|
||||
mobile: number;
|
||||
@ -62,8 +79,6 @@ interface Window {
|
||||
features: string[];
|
||||
has_paid_plan_for_product: boolean;
|
||||
features_by_tier: Array< string >;
|
||||
has_required_plan: boolean;
|
||||
has_required_tier: Array< string >;
|
||||
is_bundle: boolean;
|
||||
is_plugin_active: boolean;
|
||||
is_upgradable_by_bundle: string[];
|
||||
@ -179,12 +194,18 @@ interface Window {
|
||||
check_dns: boolean;
|
||||
} >;
|
||||
};
|
||||
redBubbleAlerts: {
|
||||
'missing-site-connection'?: null;
|
||||
'welcome-banner-active'?: null;
|
||||
[ key: `${ string }-bad-installation` ]: {
|
||||
data: {
|
||||
plugin: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
topJetpackMenuItemUrl: string;
|
||||
userIsAdmin: string;
|
||||
userIsNewToJetpack: string;
|
||||
welcomeBanner: {
|
||||
hasBeenDismissed: boolean;
|
||||
};
|
||||
};
|
||||
JP_CONNECTION_INITIAL_STATE: {
|
||||
apiRoot: string;
|
||||
|
Reference in New Issue
Block a user