import { createSelector } from 'reselect';

/**
 * Direct selector to the callTask state domain
 */
const selectCallTaskDomain = () => (state) => state.get('callTask');

/**
 * Other specific selectors
 */


/**
 * Default selector used by CallTask
 */

const makeSelectCallTask = () => createSelector(
  selectCallTaskDomain(),
  (substate) => substate.toJS()
);

export default makeSelectCallTask;
export {
  selectCallTaskDomain,
};
