UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

31 lines (30 loc) 878 B
import { JobStatusModel } from '@lml/cosmo-ts-data'; import { RootState } from '../../root'; import { JobsStatusState, JobSearchState } from '../reducers'; /** * Retreive the entire state associated with job statuses * * @param state */ export declare const getJobsStatusState: (state: RootState) => JobsStatusState; /** * Retrieve a JobStatusModel by refId * * @param state * @param id */ export declare const getJobStatusById: (state: RootState, id: string) => JobStatusModel; /** * Retrieve the raw data associated with a search * * @param state * @param searchKey */ export declare const getJobSearch: (state: RootState, searchKey: string) => JobSearchState; /** * An array of JobstatusModels associated with a search * * @param state * @param status */ export declare const getJobSearchResults: (state: RootState, searchKey: string) => JobStatusModel[];