Package.describe({
	name: 'rocketchat:videobridge',
	version: '0.2.0',
	summary: 'jitsi integration',
	git: '',
});

Package.onUse(function(api) {
	api.use([
		'ecmascript',
		'less',
		'rocketchat:lib',
		'rocketchat:bigbluebutton',
	]);

	api.use('templating', 'client');

	api.addAssets('client/public/external_api.js', 'client');

	api.addFiles('client/stylesheets/video.less', 'client');
	api.addFiles('client/views/videoFlexTab.html', 'client');

	api.addFiles('client/views/bbbLiveView.html', 'client');
	api.addFiles('client/views/videoFlexTabBbb.html', 'client');
	api.addFiles('client/views/videoFlexTab.js', 'client');
	api.addFiles('client/views/videoFlexTabBbb.js', 'client');
	api.addFiles('client/tabBar.js', 'client');
	api.addFiles('client/actionLink.js', 'client');

	// Need to register the messageType with both the server and client
	api.addFiles('lib/messageType.js', ['client', 'server']);

	api.addFiles('server/settings.js', 'server');
	api.addFiles('server/models/Rooms.js', 'server');
	api.addFiles('server/methods/jitsiSetTimeout.js', 'server');
	api.addFiles('server/methods/bbb.js', 'server');
	api.addFiles('server/actionLink.js', 'server');
});
