Mailspring/internal_packages/plugins/lib/plugins-actions.jsx

27 lines
485 B
React
Raw Normal View History

import Reflux from 'reflux';
const Actions = Reflux.createActions([
'selectTabIndex',
'setInstalledSearchValue',
'setGlobalSearchValue',
'disablePackage',
'enablePackage',
'installPackage',
'installNewPackage',
'uninstallPackage',
'createPackage',
'reloadPackage',
'showPackage',
'updatePackage',
'refreshFeaturedPackages',
'refreshInstalledPackages',
]);
2016-05-07 07:06:16 +08:00
for (const key of Object.keys(Actions)) {
Actions[key].sync = true;
}
export default Actions;