p5.js-web-editor/client/constants.js

27 lines
872 B
JavaScript
Raw Normal View History

2016-05-05 23:48:26 +02:00
export const CHANGE_SELECTED_FILE = 'CHANGE_SELECTED_FILE';
2016-05-12 23:40:49 +02:00
export const TOGGLE_SKETCH = 'TOGGLE_SKETCH';
export const START_SKETCH = 'START_SKETCH';
2016-06-17 19:37:29 +02:00
export const STOP_SKETCH = 'STOP_SKETCH';
2016-06-17 20:31:33 +02:00
export const OPEN_PREFERENCES = 'OPEN_PREFERENCES';
export const CLOSE_PREFERENCES = 'CLOSE_PREFERENCES';
2016-06-20 20:58:15 +02:00
export const INCREASE_FONTSIZE = 'INCREASE_FONTSIZE';
export const DECREASE_FONTSIZE = 'DECREASE_FONTSIZE';
2016-06-09 19:56:23 +02:00
export const AUTH_USER = 'AUTH_USER';
export const UNAUTH_USER = 'UNAUTH_USER';
export const AUTH_ERROR = 'AUTH_ERROR';
export const SET_PROJECT_NAME = 'SET_PROJECT_NAME';
2016-06-17 20:11:52 +02:00
export const PROJECT_SAVE_SUCCESS = 'PROJECT_SAVE_SUCCESS';
export const PROJECT_SAVE_FAIL = 'PROJECT_SAVE_FAIL';
export const NEW_PROJECT = 'NEW_PROJECT';
2016-06-20 19:29:32 +02:00
export const SET_PROJECT = 'SET_PROJECT';
2016-06-24 00:29:55 +02:00
// eventually, handle errors more specifically and better
2016-06-20 19:29:32 +02:00
export const ERROR = 'ERROR';