keystone
Version:
Web Application Framework and Admin GUI / Content Management System built on Express.js and Mongoose
38 lines (34 loc) • 1.73 kB
JavaScript
// General
export const SELECT_LIST = 'app/List/SELECT_LIST';
export const SET_CURRENT_PAGE = 'app/List/SET_CURRENT_PAGE';
export const INITIAL_LIST_LOAD = 'app/List/INITIAL_LIST_LOAD';
// Items
export const LOAD_ITEMS = 'app/List/LOAD_ITEMS';
export const LOADING_ITEMS = 'app/List/LOADING_ITEMS';
export const ITEMS_LOADED = 'app/List/ITEMS_LOADED';
export const ITEM_LOADING_ERROR = 'app/List/ITEM_LOADING_ERROR';
// Active
export const SELECT_ACTIVE_SORT = 'app/List/SELECT_ACTIVE_SORT';
export const SELECT_ACTIVE_COLUMNS = 'app/List/SELECT_ACTIVE_COLUMNS';
export const SELECT_FILTER = 'app/List/SELECT_FILTER';
export const SET_ACTIVE_SEARCH = 'app/List/SET_ACTIVE_SEARCH';
export const SET_ACTIVE_SORT = 'app/List/SET_ACTIVE_SORT';
export const SET_ACTIVE_COLUMNS = 'app/List/SET_ACTIVE_COLUMNS';
export const SET_ACTIVE_LIST = 'app/List/SET_ACTIVE_LIST';
// Query Params
export const QUERY_HAS_CHANGED = 'app/List/QUERY_HAS_CHANGED';
export const QUERY_HAS_NOT_CHANGED = 'app/List/QUERY_HAS_NOT_CHANGED';
export const REPLACE_CACHED_QUERY = 'app/List/REPLACE_CACHED_QUERY';
export const CLEAR_CACHED_QUERY = 'app/List/CLEAR_CACHED_QUERY';
// Filtering
export const ADD_FILTER = 'app/List/ADD_FILTER';
export const CLEAR_FILTER = 'app/List/CLEAR_FILTER';
export const CLEAR_ALL_FILTERS = 'app/List/CLEAR_ALL_FILTERS';
export const SET_FILTERS = 'app/List/SET_FILTERS';
// Drag
export const SET_ROW_ALERT = 'app/List/SET_ROW_ALERT';
export const RESET_DRAG_PAGE = 'app/List/RESET_DRAG_PAGE';
export const RESET_DRAG_ITEMS = 'app/List/RESET_DRAG_ITEMS';
export const SET_DRAG_ITEM = 'app/List/SET_DRAG_ITEM';
export const SET_DRAG_INDEX = 'app/List/SET_DRAG_INDEX';
export const DRAG_MOVE_ITEM = 'app/List/DRAG_MOVE_ITEM';