-
Notifications
You must be signed in to change notification settings - Fork 2k
/
connection-notice-types.js
33 lines (33 loc) · 1.57 KB
/
connection-notice-types.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
* Shared notice types
*
* These notice types are indicators of Jetpack Connection status.
*/
export const ACTIVATION_FAILURE = 'unableToActivateInvalidVersion';
export const ACTIVATION_RESPONSE_ERROR = 'unableToActivate';
export const ALREADY_CONNECTED = 'alreadyConnected';
export const ALREADY_CONNECTED_BY_OTHER_USER = 'alreadyConnectedByOtherUser';
export const ALREADY_OWNED = 'alreadyOwned';
export const DEFAULT_AUTHORIZE_ERROR = 'defaultAuthorizeError';
export const INSTALL_RESPONSE_ERROR = 'unableToInstall';
export const IS_DOT_COM = 'isDotCom';
export const IS_DOT_COM_GET_SEARCH = 'isDotComGetSearch';
export const JETPACK_IS_DISCONNECTED = 'jetpackIsDisconnected';
export const JETPACK_IS_VALID = 'jetpackIsValid';
export const LOGIN_FAILURE = 'loginFailure';
export const NOT_ACTIVE_JETPACK = 'notActiveJetpack';
export const NOT_CONNECTED_JETPACK = 'notConnectedJetpack';
export const NOT_EXISTS = 'notExists';
export const NOT_JETPACK = 'notJetpack';
export const NOT_WORDPRESS = 'notWordPress';
export const OUTDATED_JETPACK = 'outdatedJetpack';
export const INVALID_CREDENTIALS = 'invalidCredentials';
export const INVALID_PERMISSIONS = 'invalidPermissions';
export const RETRY_AUTH = 'retryAuth';
export const RETRYING_AUTH = 'retryingAuth';
export const SECRET_EXPIRED = 'secretExpired';
export const SITE_BLOCKED = 'siteBlocked';
export const UNKNOWN_REMOTE_INSTALL_ERROR = 'unknownRemoteInstallError';
export const USER_IS_ALREADY_CONNECTED_TO_SITE = 'userIsAlreadyConnectedToSite';
export const WORDPRESS_DOT_COM = 'wordpress.com';
export const XMLRPC_ERROR = 'xmlrpcError';