You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.4 KiB
39 lines
1.4 KiB
var Wreqr = require('./JsLibraries/backbone.wreqr');
|
|
|
|
var vent = new Wreqr.EventAggregator();
|
|
|
|
vent.Events = {
|
|
SeriesAdded : 'series:added',
|
|
SeriesDeleted : 'series:deleted',
|
|
CommandComplete : 'command:complete',
|
|
ServerUpdated : 'server:updated',
|
|
EpisodeFileDeleted : 'episodefile:deleted'
|
|
};
|
|
|
|
vent.Commands = {
|
|
EditSeriesCommand : 'EditSeriesCommand',
|
|
DeleteSeriesCommand : 'DeleteSeriesCommand',
|
|
OpenModalCommand : 'OpenModalCommand',
|
|
CloseModalCommand : 'CloseModalCommand',
|
|
OpenModal2Command : 'OpenModal2Command',
|
|
CloseModal2Command : 'CloseModal2Command',
|
|
ShowEpisodeDetails : 'ShowEpisodeDetails',
|
|
ShowHistoryDetails : 'ShowHistoryDetails',
|
|
ShowLogDetails : 'ShowLogDetails',
|
|
SaveSettings : 'saveSettings',
|
|
ShowLogFile : 'showLogFile',
|
|
ShowRenamePreview : 'showRenamePreview',
|
|
ShowManualImport : 'showManualImport',
|
|
ShowFileBrowser : 'showFileBrowser',
|
|
CloseFileBrowser : 'closeFileBrowser',
|
|
OpenControlPanelCommand : 'OpenControlPanelCommand',
|
|
CloseControlPanelCommand : 'CloseControlPanelCommand'
|
|
};
|
|
|
|
vent.Hotkeys = {
|
|
NavbarSearch : 'navbar:search',
|
|
SaveSettings : 'settings:save',
|
|
ShowHotkeys : 'hotkeys:show'
|
|
};
|
|
|
|
module.exports = vent; |