lml-main
Version:
This is now a mono repository published into many standalone packages.
17 lines • 717 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
// export const SET_LAST_KEYS = 'SET_LAST_KEYS'
exports.SET_JOBS_PAGINATION = 'SET_JOBS_PAGINATION';
exports.PAGE_FORWARDS = 'PAGE_FORWARDS';
exports.PAGE_BACKWARDS = 'PAGE_BACKWARDS';
exports.RESET_PAGINATION = 'RESET_PAGINATION';
exports.setJobsPagination = (lastKeys, canPageForwards, canPageBack) => ({
type: exports.SET_JOBS_PAGINATION,
lastKeys,
canPageForwards,
canPageBack,
});
exports.resetPagination = () => ({ type: exports.RESET_PAGINATION });
exports.pageForwards = () => ({ type: exports.PAGE_FORWARDS });
exports.pageBackwards = () => ({ type: exports.PAGE_BACKWARDS });
//# sourceMappingURL=pagination.js.map