Transcribe workflow-service to hmi-server - Part 1 #5979
+907
−24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Workflow updates and syncs can be quirky because we update the workflow object in a wholesale manner. This PR changes the paradigm by telling the server what we want to do to the workflow, rather than doing something to the workflow and asking the server to try to save it.
To not make the PR several thousands lines long, these are left in-place for now and will be done later
Added
There are analogous to the functions in client service/workflow.ts
Testing
Normal workflow operations should work as before