Mailspring/internal_packages/plugins/lib/plugins-actions.coffee
2016-03-09 16:54:29 -08:00

26 lines
469 B
CoffeeScript

Reflux = require 'reflux'
Actions = [
'selectTabIndex',
'setInstalledSearchValue'
'setGlobalSearchValue',
'disablePackage',
'enablePackage',
'installPackage',
'installNewPackage'
'uninstallPackage',
'createPackage',
'reloadPackage',
'showPackage',
'updatePackage',
'refreshFeaturedPackages',
'refreshInstalledPackages',
]
for key in Actions
Actions[key] = Reflux.createAction(name)
Actions[key].sync = true
module.exports = Actions