SEMOSS / Semoss

Apache License 2.0
28 stars 5 forks source link

Create ListBlock() Reactor #258

Open rithvik-doshi opened 4 days ago

rithvik-doshi commented 4 days ago

Description

Create a reactor that takes in a block id and returns the data associated with that block from the blocks_template table in themes DB

Input: ListBlock(id="string")

Output:

{
    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
}

This issue references #254

Tasks