UNPKG

lml-main

Version:

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

19 lines 729 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SUBMIT_JOB_INCIDENT_FORM = 'SUBMIT_JOB_INCIDENT_FORM'; exports.SUBMIT_DELETE_JOB_INCIDENT_FORM = 'SUBMIT_DELETE_JOB_INCIDENT_FORM'; /** * Send the job incident form data to the api * * @param formData * @param jobRefId */ exports.submitJobIncidentForm = (jobRefId, impact, reason, comment) => ({ type: exports.SUBMIT_JOB_INCIDENT_FORM, jobRefId, impact, reason, comment }); /** * Submit the form for deleting a job incident * * @param jobId * @param incidentId */ exports.submitDeleteJobIncidentForm = (jobId, incidentId) => ({ type: exports.SUBMIT_DELETE_JOB_INCIDENT_FORM, jobId, incidentId }); //# sourceMappingURL=incidents.js.map