UNPKG

mattermost-redux

Version:

Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client

7 lines (6 loc) 411 B
import { JobType, Job, JobsByType } from "../../types/jobs"; import { GlobalState } from "../../types/store"; import { IDMappedObjects } from "../../types/utilities"; export declare function getAllJobs(state: GlobalState): IDMappedObjects<Job>; export declare function getJobsByType(state: GlobalState): JobsByType; export declare function makeGetJobsByType(type: JobType): (state: GlobalState) => Job[];