mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
26 lines
485 B
JavaScript
26 lines
485 B
JavaScript
import Reflux from 'reflux';
|
|
|
|
const Actions = Reflux.createActions([
|
|
'selectTabIndex',
|
|
'setInstalledSearchValue',
|
|
'setGlobalSearchValue',
|
|
|
|
'disablePackage',
|
|
'enablePackage',
|
|
'installPackage',
|
|
'installNewPackage',
|
|
'uninstallPackage',
|
|
'createPackage',
|
|
'reloadPackage',
|
|
'showPackage',
|
|
'updatePackage',
|
|
|
|
'refreshFeaturedPackages',
|
|
'refreshInstalledPackages',
|
|
]);
|
|
|
|
for (const key of Object.keys(Actions)) {
|
|
Actions[key].sync = true;
|
|
}
|
|
|
|
export default Actions;
|