mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 21:57:55 +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
|