SEMOSS / Semoss

Apache License 2.0
28 stars 5 forks source link

Create EditBlock #259

Open rithvik-doshi opened 10 hours ago

rithvik-doshi commented 10 hours ago

Description

Create a reactor that edits a block in the blocks_template table in the themes DB.

Expected input:

block = {
    id: string // template ID or PK, must match the existing block
    name: string // block name
    section: string // menu section separator
    image: string // filename for block default image
    hover_image: string // filename for block hover image
    json: CLOB // ref to json clob that consists of the new block
}

Return the edited block as output.

Reference

This issue references #254

Tasks