import keymirror from 'keymirror';

export const AuthSteps = {
  PHONE_WAIT: 1,
  CODE_WAIT: 2,
  SIGNUP_NAME_WAIT: 3,
  COMPLETED: 4
};

export const ActionTypes = keymirror({
  APP_HIDDEN: null,
  APP_VISIBLE: null,

  AUTH_SMS_REQUEST_SUCCESS: null,
  AUTH_SMS_REQUEST_FAILURE: null,

  SEND_CODE_SUCCESS: null,
  SEND_CODE_FAILURE: null,

  SEND_SIGNUP_SUCCESS: null,
  SEND_SIGNUP_FAILURE: null,

  SET_LOGGED_IN: null,
  START_SIGNUP: null,

  AUTH_WRONG_NUMBER_CLICK: null,

  DIALOGS_CHANGED: null,
  SELECT_DIALOG_PEER: null,
  SELECTED_DIALOG_INFO_CHANGED: null,

  SEND_MESSAGE_TEXT: null,
  SEND_MESSAGE_FILE: null,
  SEND_MESSAGE_PHOTO: null,

  SHOW_ACTIVITY: null,
  HIDE_ACTIVITY: null,

  CONTACT_ADD: null,
  CONTACT_REMOVE: null,
  CONTACT_LIST_SHOW: null,
  CONTACT_LIST_HIDE: null,
  CONTACT_LIST_CHANGED: null,

  CREATE_GROUP_MODAL_OPEN: null,
  CREATE_GROUP_MODAL_CLOSE: null,

  NOTIFICATION_CHANGE: null,

  DRAFT_LOAD: null,
  DRAFT_SAVE: null
});

export default {
  AuthSteps: AuthSteps,

  PeerTypes: {
    USER: 'user',
    GROUP: 'group'
  },

  ActionTypes: ActionTypes,

  ActivityTypes: keymirror({
    USER_PROFILE: null,
    GROUP_PROFILE: null
  })
};

@@ -980,44 +980,13 @@
 ort 
-default %7B%0A  AuthSteps: AuthSteps,%0A%0A 
+const
  Pee
@@ -995,16 +995,15 @@
 ypes
-:
+ =
  %7B%0A  
- 
- 
 USER
@@ -1010,26 +1010,24 @@
 : 'user',%0A  
- 
- 
 GROUP: 'grou
@@ -1033,44 +1033,24 @@
 up'%0A
-  %7D,%0A%0A  ActionTypes: ActionTypes,%0A%0A 
+%7D;%0A%0Aexport const
  Act
@@ -1059,17 +1059,18 @@
 ityTypes
-:
+ =
  keymirr
@@ -1074,18 +1074,16 @@
 irror(%7B%0A
-  
   USER_P
@@ -1096,18 +1096,16 @@
 : null,%0A
-  
   GROUP_
@@ -1122,12 +1122,139 @@
 ull%0A
-  
 %7D)
+;%0A%0Aexport default %7B%0A  AuthSteps: AuthSteps,%0A%0A  PeerTypes: PeerTypes,%0A%0A  ActionTypes: ActionTypes,%0A%0A  ActivityTypes: ActivityTypes
 %0A%7D;%0A

update app constatns;