lml-main
Version:
This is now a mono repository published into many standalone packages.
17 lines (16 loc) • 789 B
TypeScript
import { Observable } from 'rxjs';
import { ActionsObservable } from 'redux-observable';
import { Store } from 'redux';
import { AppState } from '../../common/reducers';
import { UnsetActiveJobAction, HideJobDirectionsAction } from '../../jobs/actions';
export declare type TriggerHideDirectionsAction = UnsetActiveJobAction | HideJobDirectionsAction;
export declare const hideJobDirections: (action$: ActionsObservable<any>, store: Store<AppState>) => Observable<any>;
/**
* If a new job has been made active and the
* directions for a previous job are showing
* then we should remove the previous directions
*
* @param action$
* @param store
*/
export declare const hideDirectionsWhenActiveJobChanged: (action$: ActionsObservable<any>, store: Store<AppState>) => Observable<any>;