import actionCreatorFactory from 'typescript-fsa' const actionCreator = actionCreatorFactory() import * as constants from './constants' import { ISentEmail } from './interfaces' export const extractGmailIdFailed = actionCreator(constants.EXTRACT_GMAIL_ID_FAILED) export const extensionInstalled = actionCreator(constants.EXTENSION_INSTALLED) export const socketErrorState = actionCreator(constants.SOCKET_ERROR_STATE) export const sentEmail = actionCreator(constants.SENT_EMAIL) export const sentEmailSuccess = actionCreator(constants.SENT_EMAIL_SUCCESS)