Skip to content

@sqlrooms/documents / BlockDocumentStatefulBlockBlock

Type Alias: BlockDocumentStatefulBlockBlock

BlockDocumentStatefulBlockBlock = object

A stateful block embedding another block type (e.g., dashboard, data-table) by instance ID with ownership semantics.

Type Declaration

NameTypeDescription
idstring-
intent?string-
type"statefulBlock"-
blockTypestring-
blockInstanceIdstring-
ownership?"owned" | "shared" | "external"-
caption?stringUser-facing label shown for the block in the document flow.
tableName?stringTable identity this block reads from, for block types that bind to a single table (currently data-table). Resolved via db.findTable, same as the chart block's tableName. Other block types leave this unset and keep their data binding inside their own backing state.
height?number-