(instanceId: string, ctx: BackendContext)
| 91 | } |
| 92 | |
| 93 | export function sendEmptyComponentData(instanceId: string, ctx: BackendContext) { |
| 94 | ctx.bridge.send(BridgeEvents.TO_FRONT_COMPONENT_SELECTED_DATA, { |
| 95 | instanceId, |
| 96 | data: null, |
| 97 | }) |
| 98 | } |
| 99 | |
| 100 | export async function editComponentState(instanceId: string, dotPath: string, type: string, state: EditStatePayload, ctx: BackendContext) { |
| 101 | if (!instanceId) { |
no test coverage detected