UPGRADE FROM 1.2 to 1.3
- Vuex
workflow
state has changed
// FROM
export default () => ({
// ...
transition: {
source: '', // <---
destination: '', // <---
conditionSetId: '',
},
// ...
});
// TO
export default () => ({
// ...
transition: {
from: '', // <---
to: '', // <---
conditionSetId: '',
},
// ...
});
-
Extended methods
- for key
@Workflow/store/workflow/action/updateTransition/__before
has changeddata
propertiessource
=>from
,destination
=>to
- for key
@Workflow/store/workflow/action/removeTransition/__before
has changeddata
propertiessource
=>from
,destination
=>to
- change extended key
@Workflow/store/workflow/action/updateTransitions/__before
=>@Workflow/store/workflow/action/updateWorkflow/__before
- change extended key
@Workflow/store/workflow/action/updateTransitions/__after
=>@Workflow/store/workflow/action/updateWorkflow/__after
- for key
-
@Workflow/services/index.js
:getTransition
arguments have been renamed fromsource
=>from
,destination
=>to
updateTransition
arguments have been renamed fromsource
=>from
,destination
=>to
removeTransition
arguments have been renamed fromsource
=>from
,destination
=>to
- change method name from
getDefaultStatus
=>getWorkflow
- change method name from
updateTransitions
=>updateWorkflow
-
@Workflow/models/workflowDesigner.js
getSourceAndDestination
=>getFromAndToTransition
-
@Workflow/store/workflow/actions.js
updateTransitions
=>updateWorkflow
- Vuex
statusTransition
state has changed
// FROM
export default () => ({
// ...
source: null, // <--
destination: null, // <--
// ...
});
// TO
export default () => ({
// ...
from: null,
to: null,
// ...
});
-
Extended methods
- for key
@Transitions/store/statusTransition/action/createStatusTransition/__before
has changeddata
propertiessource
=>from
,destination
=>to
- for key
@Transitions/store/statusTransition/action/removeStatusTransition/__before
has changeddata
propertiessource
=>from
,destination
=>to
- for key
-
@Transitions/services/index.js
:get
arguments have been renamed fromsource
=>from
,destination
=>to
create
data properties have been renamed fromsource
=>from
,destination
=>to
update
arguments have been renamed fromsource
=>from
,destination
=>to
remove
arguments have been renamed fromsource
=>from
,destination
=>to