@@ -211,6 +211,9 @@ func (b *MprBackend) MoveMicroflow(mf *microflows.Microflow) error {
211211func (b * MprBackend ) ListNanoflows () ([]* microflows.Nanoflow , error ) {
212212 return b .reader .ListNanoflows ()
213213}
214+ func (b * MprBackend ) ParseMicroflowFromRaw (raw map [string ]any , unitID , containerID model.ID ) * microflows.Microflow {
215+ return mpr .ParseMicroflowFromRaw (raw , unitID , containerID )
216+ }
214217func (b * MprBackend ) GetNanoflow (id model.ID ) (* microflows.Nanoflow , error ) {
215218 return b .reader .GetNanoflow (id )
216219}
@@ -726,17 +729,17 @@ func (b *MprBackend) DeleteAgentEditorAgent(id string) error {
726729}
727730
728731// ---------------------------------------------------------------------------
729- // PageMutationBackend
732+ // PageMutationBackend — implemented in page_mutator.go
733+ // ---------------------------------------------------------------------------
730734
731- func (b * MprBackend ) OpenPageForMutation (unitID model.ID ) (backend.PageMutator , error ) {
732- panic ("MprBackend.OpenPageForMutation not yet implemented" ) // TODO: implement in PR #237
733- }
735+ // OpenPageForMutation is implemented in page_mutator.go.
734736
735737// ---------------------------------------------------------------------------
736738// WorkflowMutationBackend
737739
740+ // OpenWorkflowForMutation is implemented in workflow_mutator.go.
738741func (b * MprBackend ) OpenWorkflowForMutation (unitID model.ID ) (backend.WorkflowMutator , error ) {
739- panic ( "MprBackend.OpenWorkflowForMutation not yet implemented" ) // TODO: implement in PR #237
742+ return b . openWorkflowForMutation ( unitID )
740743}
741744
742745// ---------------------------------------------------------------------------
@@ -751,7 +754,7 @@ func (b *MprBackend) SerializeClientAction(a pages.ClientAction) (any, error) {
751754}
752755
753756func (b * MprBackend ) SerializeDataSource (ds pages.DataSource ) (any , error ) {
754- panic ( "MprBackend.SerializeDataSource not yet implemented" ) // TODO: implement in PR #237
757+ return mpr . SerializeCustomWidgetDataSource ( ds ), nil
755758}
756759
757760func (b * MprBackend ) SerializeWorkflowActivity (a workflows.WorkflowActivity ) (any , error ) {
0 commit comments