e87390adb9
* update eslint and dependencies, fix linting errors that can be fixed with --fix * fix lots of linting errors * update eslintrc, fix some linting errors * fix all server side linting errors, untested * fix errors that fixing linting errors had caused * fix client side eslint errors * fix client side linting errors * fix refs lint errors * fix more linting errors * update eslint and dependencies, fix linting errors that can be fixed with --fix * fix lots of linting errors * update eslintrc, fix some linting errors * fix all server side linting errors, untested * fix errors that fixing linting errors had caused * fix client side eslint errors * fix client side linting errors * fix refs lint errors * fix more linting errors * fix some accessibility linting errors * fix a lot of linting errors * fix a billion more linting errors * hopefully fix all linting errors, still need to test * fix bugs that fixing linting had caused
109 lines
4.4 KiB
JavaScript
109 lines
4.4 KiB
JavaScript
export const UPDATE_FILE_CONTENT = 'UPDATE_FILE_CONTENT';
|
|
export const TOGGLE_SKETCH = 'TOGGLE_SKETCH';
|
|
|
|
export const START_SKETCH = 'START_SKETCH';
|
|
export const STOP_SKETCH = 'STOP_SKETCH';
|
|
|
|
export const START_TEXT_OUTPUT = 'START_TEXT_OUTPUT';
|
|
export const STOP_TEXT_OUTPUT = 'STOP_TEXT_OUTPUT';
|
|
|
|
export const OPEN_PREFERENCES = 'OPEN_PREFERENCES';
|
|
export const CLOSE_PREFERENCES = 'CLOSE_PREFERENCES';
|
|
export const SET_FONT_SIZE = 'SET_FONT_SIZE';
|
|
|
|
export const INCREASE_INDENTATION = 'INCREASE_INDENTATION';
|
|
export const DECREASE_INDENTATION = 'DECREASE_INDENTATION';
|
|
export const UPDATE_INDENTATION = 'UPDATE_INDENTATION';
|
|
export const SET_INDENTATION = 'SET_INDENTATION';
|
|
|
|
export const INDENT_WITH_SPACE = 'INDENT_WITH_SPACE';
|
|
export const INDENT_WITH_TAB = 'INDENT_WITH_TAB';
|
|
|
|
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';
|
|
|
|
export const PROJECT_SAVE_SUCCESS = 'PROJECT_SAVE_SUCCESS';
|
|
export const PROJECT_SAVE_FAIL = 'PROJECT_SAVE_FAIL';
|
|
export const NEW_PROJECT = 'NEW_PROJECT';
|
|
export const RESET_PROJECT = 'RESET_PROJECT';
|
|
export const SHOW_EDIT_PROJECT_NAME = 'SHOW_EDIT_PROJECT_NAME';
|
|
export const HIDE_EDIT_PROJECT_NAME = 'HIDE_EDIT_PROJECT_NAME';
|
|
|
|
export const SET_PROJECT = 'SET_PROJECT';
|
|
export const SET_PROJECTS = 'SET_PROJECTS';
|
|
|
|
export const DELETE_PROJECT = 'DELETE_PROJECT';
|
|
|
|
export const SET_SELECTED_FILE = 'SET_SELECTED_FILE';
|
|
export const SHOW_MODAL = 'SHOW_MODAL';
|
|
export const HIDE_MODAL = 'HIDE_MODAL';
|
|
export const CREATE_FILE = 'CREATE_FILE';
|
|
export const SET_BLOB_URL = 'SET_BLOB_URL';
|
|
|
|
export const EXPAND_SIDEBAR = 'EXPAND_SIDEBAR';
|
|
export const COLLAPSE_SIDEBAR = 'COLLAPSE_SIDEBAR';
|
|
|
|
export const CONSOLE_EVENT = 'CONSOLE_EVENT';
|
|
export const CLEAR_CONSOLE = 'CLEAR_CONSOLE';
|
|
export const EXPAND_CONSOLE = 'EXPAND_CONSOLE';
|
|
export const COLLAPSE_CONSOLE = 'COLLAPSE_CONSOLE';
|
|
|
|
export const UPDATE_LINT_MESSAGE = 'UPDATE_LINT_MESSAGE';
|
|
export const CLEAR_LINT_MESSAGE = 'CLEAR_LINT_MESSAGE';
|
|
|
|
export const SHOW_FILE_OPTIONS = 'SHOW_FILE_OPTIONS';
|
|
export const HIDE_FILE_OPTIONS = 'HIDE_FILE_OPTIONS';
|
|
|
|
export const UPDATE_FILE_NAME = 'UPDATE_FILE_NAME';
|
|
export const DELETE_FILE = 'DELETE_FILE';
|
|
export const SHOW_EDIT_FILE_NAME = 'SHOW_EDIT_FILE_NAME';
|
|
export const HIDE_EDIT_FILE_NAME = 'HIDE_EDIT_FILE_NAME';
|
|
|
|
export const SET_AUTOSAVE = 'SET_AUTOSAVE';
|
|
export const SET_LINT_WARNING = 'SET_LINT_WARNING';
|
|
export const SET_PREFERENCES = 'SET_PREFERENCES';
|
|
export const SET_TEXT_OUTPUT = 'SET_TEXT_OUTPUT';
|
|
|
|
export const OPEN_PROJECT_OPTIONS = 'OPEN_PROJECT_OPTIONS';
|
|
export const CLOSE_PROJECT_OPTIONS = 'CLOSE_PROJECT_OPTIONS';
|
|
export const SHOW_NEW_FOLDER_MODAL = 'SHOW_NEW_FOLDER_MODAL';
|
|
export const CLOSE_NEW_FOLDER_MODAL = 'CLOSE_NEW_FOLDER_MODAL';
|
|
export const SHOW_FOLDER_CHILDREN = 'SHOW_FOLDER_CHILDREN';
|
|
export const HIDE_FOLDER_CHILDREN = 'HIDE_FOLDER_CHILDREN';
|
|
|
|
export const SHOW_SHARE_MODAL = 'SHOW_SHARE_MODAL';
|
|
export const CLOSE_SHARE_MODAL = 'CLOSE_SHARE_MODAL';
|
|
export const SHOW_EDITOR_OPTIONS = 'SHOW_EDITOR_OPTIONS';
|
|
export const CLOSE_EDITOR_OPTIONS = 'CLOSE_EDITOR_OPTIONS';
|
|
export const SHOW_KEYBOARD_SHORTCUT_MODAL = 'SHOW_KEYBOARD_SHORTCUT_MODAL';
|
|
export const CLOSE_KEYBOARD_SHORTCUT_MODAL = 'CLOSE_KEYBOARD_SHORTCUT_MODAL';
|
|
export const SHOW_TOAST = 'SHOW_TOAST';
|
|
export const HIDE_TOAST = 'HIDE_TOAST';
|
|
export const SET_TOAST_TEXT = 'SET_TOAST_TEXT';
|
|
export const SET_THEME = 'SET_THEME';
|
|
|
|
export const SET_UNSAVED_CHANGES = 'SET_UNSAVED_CHANGES';
|
|
export const SET_AUTOREFRESH = 'SET_AUTOREFRESH';
|
|
export const START_SKETCH_REFRESH = 'START_SKETCH_REFRESH';
|
|
export const END_SKETCH_REFRESH = 'END_SKETCH_REFRESH';
|
|
|
|
export const DETECT_INFINITE_LOOPS = 'DETECT_INFINITE_LOOPS';
|
|
export const RESET_INFINITE_LOOPS = 'RESET_INFINITE_LOOPS';
|
|
|
|
export const RESET_PASSWORD_INITIATE = 'RESET_PASSWORD_INITIATE';
|
|
export const RESET_PASSWORD_RESET = 'RESET_PASSWORD_RESET';
|
|
export const INVALID_RESET_PASSWORD_TOKEN = 'INVALID_RESET_PASSWORD_TOKEN';
|
|
// eventually, handle errors more specifically and better
|
|
export const ERROR = 'ERROR';
|
|
|
|
export const JUST_OPENED_PROJECT = 'JUST_OPENED_PROJECT';
|
|
export const RESET_JUST_OPENED_PROJECT = 'RESET_JUST_OPENED_PROJECT';
|
|
|
|
export const SET_PROJECT_SAVED_TIME = 'SET_PROJECT_SAVED_TIME';
|
|
export const RESET_PROJECT_SAVED_TIME = 'RESET_PROJECT_SAVED_TIME';
|
|
export const SET_PREVIOUS_PATH = 'SET_PREVIOUS_PATH';
|
|
export const SHOW_ERROR_MODAL = 'SHOW_ERROR_MODAL';
|
|
export const HIDE_ERROR_MODAL = 'HIDE_ERROR_MODAL';
|