mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
26 lines
447 B
CoffeeScript
26 lines
447 B
CoffeeScript
|
Reflux = require 'reflux'
|
||
|
|
||
|
Actions = [
|
||
|
'selectTabIndex',
|
||
|
'setInstalledSearchValue'
|
||
|
'setGlobalSearchValue',
|
||
|
|
||
|
'disablePackage',
|
||
|
'enablePackage',
|
||
|
'installPackage',
|
||
|
'uninstallPackage',
|
||
|
'createPackage',
|
||
|
'reloadPackage',
|
||
|
'showPackage',
|
||
|
'updatePackage',
|
||
|
|
||
|
'refreshFeaturedPackages',
|
||
|
'refreshInstalledPackages',
|
||
|
]
|
||
|
|
||
|
for key in Actions
|
||
|
Actions[key] = Reflux.createAction(name)
|
||
|
Actions[key].sync = true
|
||
|
|
||
|
module.exports = Actions
|