Skip to content

BlockSuite API Documentation / @blocksuite/blocks / databaseBlockColumns

Variable: databaseBlockColumns

const databaseBlockColumns: object

Type declaration

checkboxColumnConfig

checkboxColumnConfig: ColumnMeta<"checkbox", Record<string, never>, boolean>

dateColumnConfig

dateColumnConfig: ColumnMeta<"date", Record<string, never>, number>

imageColumnConfig

imageColumnConfig: ColumnMeta<"image", Record<string, never>, string>

linkColumnConfig

linkColumnConfig: ColumnMeta<"link", Record<string, never>, string>

multiSelectColumnConfig

multiSelectColumnConfig: ColumnMeta<"multi-select", SelectColumnData, string[]>

numberColumnConfig

numberColumnConfig: ColumnMeta<"number", NumberColumnDataType, number>

progressColumnConfig

progressColumnConfig: ColumnMeta<"progress", Record<string, never>, number>

richTextColumnConfig

richTextColumnConfig: ColumnMeta<"rich-text", Record<string, never>, RichTextCellType>

selectColumnConfig

selectColumnConfig: ColumnMeta<"select", SelectColumnData, string>

Defined in

packages/blocks/src/database-block/columns/index.ts:19