lml-main
Version:
This is now a mono repository published into many standalone packages.
16 lines (15 loc) • 524 B
TypeScript
export declare const SET_JOB_SORT_ORDER = "SET_JOB_SORT_ORDER";
export declare const JOB_SORT_ORDER_ASC = "asc";
export declare const JOB_SORT_ORDER_DESC = "desc";
export declare type JobSortOrder = 'asc' | 'desc';
export interface SetJobSortOrderAction {
type: 'SET_JOB_SORT_ORDER';
order: JobSortOrder;
}
export declare type JobSortAction = SetJobSortOrderAction;
/**
* Set the desired sort order for jobs
*
* @param job
*/
export declare const setJobSortOrder: (order: JobSortOrder) => SetJobSortOrderAction;