UNPKG

lml-main

Version:

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

35 lines (34 loc) 1.39 kB
import { Store } from 'redux'; import { Observable } from 'rxjs'; import { ActionsObservable, Epic } from 'redux-observable'; import { AppState } from '../../common/reducers'; import { ReloadJobsAction } from '../../jobs/actions'; /** * A list of actions which trigger the jobs to be reloaded * * These are: * * - when the job sort order is changed * - when new frequencies are added to the list * - when selected frequencies are toggled on or off * - when the auto/manual frequency tab is switched * - when the job list is paged forwards or backwards * - * * * Please note that frequencies has its own epic called handle-frequencies-change * which also triggers the loadAllJobs actions when the frequencies are changed * * @param action$ * @param store */ export declare const reloadJobsByStatus: (action$: ActionsObservable<any>, store: Store<AppState>) => Observable<any>; /** * * @param action$ * @param store */ export declare const mkReloadJobsByStatusAction: (action$: ActionsObservable<ReloadJobsAction>, store: Store<AppState>) => Observable<any>; export declare const reloadJobsByStatusSuccess: (action$: ActionsObservable<any>, store: Store<AppState>) => Observable<any>; export declare const ensureCouriersAreInState: (action$: ActionsObservable<any>, store: Store<AppState>) => Observable<any>; export declare const reloadJobsEpics: Epic<any, AppState, any>;