UNPKG

lml-main

Version:

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

8 lines 484 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const moment = require("moment"); exports.ALLOCATE = 'ALLOCATE'; exports.DEALLOCATE_ACTIVE_JOB = 'DEALLOCATE_ACTIVE_JOB'; exports.allocate = (allocationType, jobRefId, courierRefId) => ({ type: exports.ALLOCATE, allocationType, jobRefId, courierRefId, timestamp: moment().toISOString() }); exports.deallocateActiveJob = () => ({ type: exports.DEALLOCATE_ACTIVE_JOB }); //# sourceMappingURL=allocation.js.map