UNPKG

mattermost-redux

Version:

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

7 lines (6 loc) 438 B
import type { JobType, Job, JobsByType } from '@mattermost/types/jobs'; import type { GlobalState } from '@mattermost/types/store'; import type { IDMappedObjects } from '@mattermost/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[];