UNPKG

lml-main

Version:

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

15 lines 742 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var redux_observable_1 = require("redux-observable"); var actions_1 = require("../actions"); var cosmoui_1 = require("cosmoui"); exports.postJobSuccess = function (action$, store) { return action$.ofType(actions_1.POST_JOB.SUCCESS) .mapTo(cosmoui_1.notificationSuccess('Job was successfully created')); }; exports.postJobError = function (action$, store) { return action$.ofType(actions_1.POST_JOB.ERROR) .mapTo(cosmoui_1.notificationError('There was a problem creating the job. Please try again')); }; exports.postJobEpics = redux_observable_1.combineEpics(exports.postJobSuccess, exports.postJobError); //# sourceMappingURL=post-job.js.map