Source

task-table-actions/task-assign-actions.js

const CLOSE = 'assignTask/CLOSE';
const OPEN = 'assignTask/OPEN';

/**
 * @module assignTask
 */
export default {
    CLOSE,
    /**
     *
     * @param flowId
     * @property {string} type - CLOSE
     */
    close: (flowId) => ({flowId, type: CLOSE}),
    OPEN,
    /**
     *
     * @param taskId
     * @property {string} type - OPEN
     */
    open: (taskId) => ({taskId, type: OPEN})
};