UNPKG

lml-main

Version:

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

24 lines (23 loc) 661 B
import { RootState } from '../../root'; import { JobIncidentModel } from '@lml/cosmo-ts-data'; import { JobIncidentOption } from '../interfaces'; /** * Get the incidents for a particular job * Defaults to empty array * * @param state * @param refId */ export declare const getJobIncidents: (state: RootState, refId: string) => JobIncidentModel[]; /** * Get the list of possible incident codes * * @param state */ export declare const getIncidentImpacts: (state: RootState) => JobIncidentOption[]; /** * Get the list of possible incident codes * * @param state */ export declare const getIncidentReasons: (state: RootState) => JobIncidentOption[];