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

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

const mockAction = getActionsReturnType(<%- fileName %>PageActions)
export type <%- FileName %>PageActionType = typeof mockAction

export default <%- fileName %>PageActions
