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

const state = {
  category: [],
  cardList: [],
  subscriptionList: [],
  subscriptionListPaginationMeta: {
    total: 0,
    per_page: 20,
  },
  subscriptionDetail: {},
  autoshipShippingCycle: {},
  autoshipPaymentInfo: null,
  autoshipShippingInfo: {},
  autoshipBillingInfo: {},
  autoshipSearchFilter: { selectedSort: 1, selectedCategory: null, search: '', perPage: 12 },
  autoshipData: false,
}

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