// 注册来源
const registerOrigins = [
  { value: 'MOBILE', name: '手机号码' },
  { value: 'FACEBOOK', name: 'Facebook' },
  { value: 'GOOGLE', name: 'Google' },
  { value: 'APPLE', name: 'Apple' },
  { value: 'SNAPCHAT', name: 'Snapchat' }
]

// 来源平台
const originPlatforms = [
  { value: 'iOS', name: 'iOS' },
  { value: 'Android', name: 'Android' },
  { value: 'H5', name: 'H5' }
]

// app平台
const appPlatforms = [
  { value: 'iOS', name: 'iOS' },
  { value: 'Android', name: 'Android' }
]

// 设备平台
const deviceTypes = [
  // { value: 'UMENG', name: '友盟' },
  { value: 'GOOGLE', name: '谷歌' }
]

// 支付方式
const payPlatforms = [
  { value: 'APPLE', name: 'Apple' },
  { value: 'GOOGLE', name: 'Google' },
  { value: 'STRIPE', name: 'Stripe' },
  { value: 'PAY_MAX', name: 'PayerMax' }
]

// 系统平台树
const sysPlatforms = [
  { value: 'iOS', label: 'iOS' },
  { value: 'Android', label: 'Android' }
]

// 系统平台
const sysOriginPlatforms = [
  { value: 'LIKEI', label: 'LIKEI', permission: 'query:likei', children: sysPlatforms },
  { value: 'LOTFUN', label: 'LOTFUN', permission: 'query:lotfun', children: sysPlatforms }
]

// 礼物类型
const giftType = [
  { value: 'GIFT', label: '礼物' },
  { value: 'PROPS', label: '道具' },
  { value: 'GOLD', label: '金币' }
]

const giftInfo = [
  { value: 'GIFT', label: '礼物' },
  { value: 'PROPS', label: '道具' },
  { value: 'NOBLE_VIP', label: '贵族VIP' }
]

/**
 * 道具赠送类型
 */
const propsGiveTypes = [
  { value: 'GOLD', name: '金币' },
  { value: 'DIAMOND', name: '钻石' },
  { value: 'BADGE', name: '徽章' },
  { value: 'PROPS', name: '道具' }
]

/**
 * 徽章类型
 */
const badgeTypes = [
  { value: 'ACHIEVEMENT', name: '用户-成就徽章' },
  { value: 'ADMINISTRATOR', name: '用户-管理员' },
  { value: 'ACTIVITY', name: '用户-活动徽章' },
  { value: 'ROOM_ACHIEVEMENT', name: '房间-成就' },
  { value: 'FAMILY', name: '家族-徽章' }
]

export {
  badgeTypes,
  propsGiveTypes,
  registerOrigins,
  originPlatforms,
  appPlatforms,
  sysOriginPlatforms,
  giftType,
  giftInfo,
  payPlatforms,
  deviceTypes
}
