client/src/constants/actionTypes.js
author Alexandre Segura <mex.zktk@gmail.com>
Thu, 22 Jun 2017 10:47:10 +0200
changeset 72 7634b424f426
parent 66 f402435be429
child 79 772b73e31069
permissions -rw-r--r--
Add checkbox to add not on enter key.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
66
f402435be429 Action types cleaning
ymh <ymh.work@gmail.com>
parents: 53
diff changeset
     1
export const NOOP = 'NOOP';
f402435be429 Action types cleaning
ymh <ymh.work@gmail.com>
parents: 53
diff changeset
     2
12
48ddaa42b810 Draft implementation of sessions.
Alexandre Segura <mex.zktk@gmail.com>
parents: 3
diff changeset
     3
export const ADD_NOTE = 'ADD_NOTE';
29
4cfeabef7d5e Store data in PouchDB.
Alexandre Segura <mex.zktk@gmail.com>
parents: 12
diff changeset
     4
4cfeabef7d5e Store data in PouchDB.
Alexandre Segura <mex.zktk@gmail.com>
parents: 12
diff changeset
     5
export const CREATE_SESSION = 'CREATE_SESSION';
12
48ddaa42b810 Draft implementation of sessions.
Alexandre Segura <mex.zktk@gmail.com>
parents: 3
diff changeset
     6
export const UPDATE_SESSION = 'UPDATE_SESSION';
29
4cfeabef7d5e Store data in PouchDB.
Alexandre Segura <mex.zktk@gmail.com>
parents: 12
diff changeset
     7
export const LOAD_SESSIONS = 'LOAD_SESSIONS';
44
3b20e2b584fe Introduce authentication through API.
Alexandre Segura <mex.zktk@gmail.com>
parents: 30
diff changeset
     8
3b20e2b584fe Introduce authentication through API.
Alexandre Segura <mex.zktk@gmail.com>
parents: 30
diff changeset
     9
export const AUTH_LOGIN_SUBMIT = 'AUTH_LOGIN_SUBMIT';
3b20e2b584fe Introduce authentication through API.
Alexandre Segura <mex.zktk@gmail.com>
parents: 30
diff changeset
    10
export const AUTH_LOGIN_REQUEST = 'AUTH_LOGIN_REQUEST';
3b20e2b584fe Introduce authentication through API.
Alexandre Segura <mex.zktk@gmail.com>
parents: 30
diff changeset
    11
export const AUTH_LOGIN_SUCCESS = 'AUTH_LOGIN_SUCCESS';
3b20e2b584fe Introduce authentication through API.
Alexandre Segura <mex.zktk@gmail.com>
parents: 30
diff changeset
    12
export const AUTH_LOGIN_ERROR = 'AUTH_LOGIN_ERROR';
47
64428c7ebc19 Store token & user.
Alexandre Segura <mex.zktk@gmail.com>
parents: 44
diff changeset
    13
export const AUTH_STORE_TOKEN_ASYNC = 'AUTH_STORE_TOKEN_ASYNC';
64428c7ebc19 Store token & user.
Alexandre Segura <mex.zktk@gmail.com>
parents: 44
diff changeset
    14
export const AUTH_STORE_TOKEN = 'AUTH_STORE_TOKEN';
52
96f8a4a59bd9 Implement logout.
Alexandre Segura <mex.zktk@gmail.com>
parents: 47
diff changeset
    15
export const AUTH_LOGOUT = 'AUTH_LOGOUT';
53
d8588379529e Add settings page.
Alexandre Segura <mex.zktk@gmail.com>
parents: 52
diff changeset
    16
d8588379529e Add settings page.
Alexandre Segura <mex.zktk@gmail.com>
parents: 52
diff changeset
    17
export const USER_UPDATE_SETTINGS_ASYNC = 'USER_UPDATE_SETTINGS_ASYNC';
d8588379529e Add settings page.
Alexandre Segura <mex.zktk@gmail.com>
parents: 52
diff changeset
    18
export const USER_UPDATE_SETTINGS = 'USER_UPDATE_SETTINGS'
72
7634b424f426 Add checkbox to add not on enter key.
Alexandre Segura <mex.zktk@gmail.com>
parents: 66
diff changeset
    19
export const USER_TOGGLE_AUTO_SUBMIT = 'USER_TOGGLE_AUTO_SUBMIT';