lml-main
Version:
This is now a mono repository published into many standalone packages.
24 lines (23 loc) • 1.22 kB
TypeScript
import { AppState } from '../../common/reducers';
import { CourierModel } from '@lml/cosmo-ts-data';
import { RootState } from '@lml/cosmo-redux-api';
export declare const getActiveCourierId: (state: AppState) => string;
export declare const getActiveCourier: (state: AppState) => CourierModel;
export declare const courierIsActive: (state: AppState, courierRefId: string) => boolean;
export declare const courierIsExpanded: (state: AppState, courierRefId: string) => boolean;
export declare const getExpandedCouriers: (state: AppState) => string[];
export declare const firstCourierIsActive: ((state: RootState) => boolean) & {
resultFunc: (res1: string, res2: CourierModel[]) => boolean;
recomputations: () => number;
resetRecomputations: () => number;
};
export declare const getNextCourier: ((state: RootState) => CourierModel) & {
resultFunc: (res1: string, res2: CourierModel[]) => CourierModel;
recomputations: () => number;
resetRecomputations: () => number;
};
export declare const getPreviousCourier: ((state: RootState) => CourierModel) & {
resultFunc: (res1: string, res2: CourierModel[]) => CourierModel;
recomputations: () => number;
resetRecomputations: () => number;
};