import Ember from 'ember';
const { merge } = Ember;

export default function (server, channelId, overrides = {}) {
  server.create('bits-balance', {channelId});
  server.create('bits-recipient-eligibility', {channelId});
  server.create('bits-sender-eligibility', {channelId});
  server.create('bits-channel-settings', merge({channelId}, overrides.bitsChannelSettings));
  server.create('bits-badge-tiers', {channelId});
}
