import channelScenario from './channel';

export default function (server, productOptions, bitsOverrides) {
  server.create('ticket-product', productOptions);

  channelScenario(server, productOptions.name, {}, bitsOverrides);
}

export let streamlineBountySigned = function(server) {
  server.get('broadcaster/:channel_id/amendment/streamline', function () {
    return {
      amendment_accepted: true
    };
  });
};

export let gameCommerceSigned = function(server) {
  server.get('broadcaster/:channel_id/amendment/fuel', function () {
    return {
      amendment_accepted: true
    };
  });
};
