UNPKG

lml-main

Version:

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

21 lines (20 loc) 648 B
import { SelectedCourierAction } from '../../couriers/data'; /** * This is a map from the current status * to a list of possible courier actions * from which the controller is allowed to select * e.g. if the job is currently allocated * then the controller can accept or reject */ export interface CourierActionFlow { ALLOCATED: SelectedCourierAction[]; ACCEPTED: SelectedCourierAction[]; ARRIVED_AT: { collection: SelectedCourierAction[]; delivery: SelectedCourierAction[]; }; STOP_MADE: { collection: SelectedCourierAction[]; }; } export declare const COURIER_ACTION_FLOW: CourierActionFlow;