import * as actions from './actions'
import getters from './getters'
import mutations from './mutations'

const state = {
  teamBonusRanks: [],
  memberDashboard: {
    personal_sales_cv: 0,
    tri_formation: {
      total_unique_line_left: 0,
      total_unique_line_right: 0,
    },
    newly_sponsored: 0,
    direct_sponsored: 0,
    direct_sponsored_active: 0,
    total_sponsored: 0,
    total_sponsored_active: 0,
    unredeem_esac: 0,
  },
  totalSponsored: {},
  totalGcv: {},
  mySnapshot: {},
  welcomeBonus: [],
  teamBonus: [],
  mentorBonus: [],
  welcomeBonusDetail: [],
  teamBonusDetail: [],
  mentorBonusDetail: [],
  quarterlyDividend: [],
  baInactiveDetail: [],
}

export default {
  state,
  actions,
  mutations,
  getters,
}
