lml-main
Version:
This is now a mono repository published into many standalone packages.
14 lines • 664 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var redux_rx_http_1 = require("redux-rx-http");
exports.FETCH_JOB_FLOW = redux_rx_http_1.createRxHttpActionTypes('FETCH_JOB_FLOW');
exports.SET_JOB_FLOW = 'SET_JOB_FLOW';
exports.fetchJobFlow = function (refId, args) {
if (args === void 0) { args = {}; }
return redux_rx_http_1.rxHttpGet("/v1/jobflow/" + refId, exports.FETCH_JOB_FLOW, {}, tslib_1.__assign({ refId: refId }, args));
};
exports.setJobFlow = function (refId, jobFlow) {
return ({ type: exports.SET_JOB_FLOW, refId: refId, jobFlow: jobFlow });
};
//# sourceMappingURL=flow.js.map