import { getActionsReturnType } from '@defineds/redux'
import <%- fileName %>Types from './constants'

const <%- fileName %>Actions = {
  // 获取页面数据
  GET_<%- contantFileName %> (data) {
    return async dispatch => {
      // todo
    }
  },
}

const mockAction = getActionsReturnType(<%- fileName %>Actions)
export type <%- FileName %>ActionType = typeof mockAction

export default <%- fileName %>Actions
