SEMOSS / Semoss

Apache License 2.0
28 stars 5 forks source link

Create AddBlock() Reactor #257

Open rithvik-doshi opened 4 days ago

rithvik-doshi commented 4 days ago

Description

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

Expected input:

block = {
    id: string // template ID or PK
    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 true or the new block on success

Reference

This issue references #254

Tasks