diff options
author | 2019-03-01 14:25:44 +0100 | |
---|---|---|
committer | 2019-03-01 14:25:44 +0100 | |
commit | 739ef2e8a2dec94c3e10c3d26d797fe759fac7aa (patch) | |
tree | 4a2e066bf8627249f803eee16ba8e73268127fbd /src/features/workspaces/actions.js | |
parent | fixes merge conflicts with latest develop (diff) | |
download | ferdium-app-739ef2e8a2dec94c3e10c3d26d797fe759fac7aa.tar.gz ferdium-app-739ef2e8a2dec94c3e10c3d26d797fe759fac7aa.tar.zst ferdium-app-739ef2e8a2dec94c3e10c3d26d797fe759fac7aa.zip |
finish workspaces mvp
Diffstat (limited to 'src/features/workspaces/actions.js')
-rw-r--r-- | src/features/workspaces/actions.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/features/workspaces/actions.js b/src/features/workspaces/actions.js index 84de2b011..25246de09 100644 --- a/src/features/workspaces/actions.js +++ b/src/features/workspaces/actions.js | |||
@@ -1,7 +1,8 @@ | |||
1 | import PropTypes from 'prop-types'; | 1 | import PropTypes from 'prop-types'; |
2 | import Workspace from './models/Workspace'; | 2 | import Workspace from './models/Workspace'; |
3 | import { createActionsFromDefinitions } from '../../actions/lib/actions'; | ||
3 | 4 | ||
4 | export default { | 5 | export default createActionsFromDefinitions({ |
5 | edit: { | 6 | edit: { |
6 | workspace: PropTypes.instanceOf(Workspace).isRequired, | 7 | workspace: PropTypes.instanceOf(Workspace).isRequired, |
7 | }, | 8 | }, |
@@ -14,4 +15,8 @@ export default { | |||
14 | update: { | 15 | update: { |
15 | workspace: PropTypes.instanceOf(Workspace).isRequired, | 16 | workspace: PropTypes.instanceOf(Workspace).isRequired, |
16 | }, | 17 | }, |
17 | }; | 18 | activate: { |
19 | workspace: PropTypes.instanceOf(Workspace).isRequired, | ||
20 | }, | ||
21 | deactivate: {}, | ||
22 | }, PropTypes.checkPropTypes); | ||