// Loading state
export const SET_IS_LOADING = 'SET_IS_LOADING';

// Selecting media items
export const SELECT_DIRECTORY = 'SELECT_DIRECTORY';
export const SELECT_BROWSER_ITEM = 'SELECT_BROWSER_ITEM';
export const SELECT_BROWSER_ITEMS = 'SELECT_BROWSER_ITEMS';
export const UNSELECT_BROWSER_ITEM = 'UNSELECT_BROWSER_ITEM';
export const UNSELECT_ALL_BROWSER_ITEMS = 'UNSELECT_ALL_BROWSER_ITEMS';

// In/Decrease grid item size
export const INCREASE_GRID_SIZE = 'INCREASE_GRID_SIZE';
export const DECREASE_GRID_SIZE = 'DECREASE_GRID_SIZE';

// Api handlers
export const LOAD_CONTENTS_SUCCESS = 'LOAD_CONTENTS_SUCCESS';
export const LOAD_FULL_CONTENTS_SUCCESS = 'LOAD_FULL_CONTENTS_SUCCESS';
export const CREATE_DIRECTORY_SUCCESS = 'CREATE_DIRECTORY_SUCCESS';
export const UPLOAD_SUCCESS = 'UPLOAD_SUCCESS';

// Create folder modal
export const SHOW_CREATE_FOLDER_MODAL = 'SHOW_CREATE_FOLDER_MODAL';
export const HIDE_CREATE_FOLDER_MODAL = 'HIDE_CREATE_FOLDER_MODAL';

// Confirm Delete Modal
export const SHOW_CONFIRM_DELETE_MODAL = 'SHOW_CONFIRM_DELETE_MODAL';
export const HIDE_CONFIRM_DELETE_MODAL = 'HIDE_CONFIRM_DELETE_MODAL';

// Infobar
export const SHOW_INFOBAR = 'SHOW_INFOBAR';
export const HIDE_INFOBAR = 'HIDE_INFOBAR';

// Delete items
export const DELETE_SUCCESS = 'DELETE_SUCCESS';

// List view
export const CHANGE_LIST_VIEW = 'CHANGE_LIST_VIEW';

// Preview modal
export const SHOW_PREVIEW_MODAL = 'SHOW_PREVIEW_MODAL';
export const HIDE_PREVIEW_MODAL = 'HIDE_PREVIEW_MODAL';

// Rename modal
export const SHOW_RENAME_MODAL = 'SHOW_RENAME_MODAL';
export const HIDE_RENAME_MODAL = 'HIDE_RENAME_MODAL';
export const RENAME_SUCCESS = 'RENAME_SUCCESS';

// Share modal
export const SHOW_SHARE_MODAL = 'SHOW_SHARE_MODAL';
export const HIDE_SHARE_MODAL = 'HIDE_SHARE_MODAL';

// Search Query
export const SET_SEARCH_QUERY = 'SET_SEARCH_QUERY';

// Update item properties
export const UPDATE_ITEM_PROPERTIES = 'UPDATE_ITEM_PROPERTIES';

// Update sorting by
export const UPDATE_SORT_BY = 'UPDATE_SORT_BY';

// Update sorting direction
export const UPDATE_SORT_DIRECTION = 'UPDATE_SORT_DIRECTION';
