(uiContext waveobj.UIContext, blockId string)
| 102 | } |
| 103 | |
| 104 | func (svc *ObjectService) DeleteBlock(uiContext waveobj.UIContext, blockId string) (waveobj.UpdatesRtnType, error) { |
| 105 | ctx, cancelFn := context.WithTimeout(context.Background(), DefaultTimeout) |
| 106 | defer cancelFn() |
| 107 | ctx = waveobj.ContextWithUpdates(ctx) |
| 108 | err := wcore.DeleteBlock(ctx, blockId, true) |
| 109 | if err != nil { |
| 110 | return nil, fmt.Errorf("error deleting block: %w", err) |
| 111 | } |
| 112 | return waveobj.ContextGetUpdatesRtn(ctx), nil |
| 113 | } |
| 114 | |
| 115 | func (svc *ObjectService) UpdateObjectMeta_Meta() tsgenmeta.MethodMeta { |
| 116 | return tsgenmeta.MethodMeta{ |
nothing calls this directly
no test coverage detected