@aibsweb/faceted-search
Version:
A generalized faceted search application.
31 lines (28 loc) • 713 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.LOAD_STATE = exports.EVENT_KEYS = void 0;
/**
* This file contains our enums for the application.
*
* PUH-LEASE keep anything not global out of here.
*/
/**
* Items Prefixed with DT are used with the data table and are data table specific.
* Items prefixed with PT are used with the pivot table and are pivot table specific.
*/
var EVENT_KEYS = {
DT_SORT: 'fs-state:sorting',
FILTER: 'fs-state:filter',
DT_PAGING: 'fs-state:page',
SCROLL: 'fs-state:scroll'
};
exports.EVENT_KEYS = EVENT_KEYS;
var LOAD_STATE = {
INITIALIZATION: 0,
FETCHING: 1,
READY: 2,
ERROR: 3
};
exports.LOAD_STATE = LOAD_STATE;