Skip to content

BlockSuite API Documentation / @blocksuite/blocks / databaseBlockColumns

Variable: databaseBlockColumns

const databaseBlockColumns: object

Type declaration

checkboxColumnConfig

checkboxColumnConfig: PropertyMetaConfig<"checkbox", Record<string, never>, boolean> = checkboxPropertyConfig

dateColumnConfig

dateColumnConfig: PropertyMetaConfig<"date", Record<string, never>, number> = datePropertyConfig

linkColumnConfig

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

multiSelectColumnConfig

multiSelectColumnConfig: PropertyMetaConfig<"multi-select", SelectPropertyData, string[]> = multiSelectPropertyConfig

numberColumnConfig

numberColumnConfig: PropertyMetaConfig<"number", NumberPropertyDataType, number> = numberPropertyConfig

progressColumnConfig

progressColumnConfig: PropertyMetaConfig<"progress", Record<string, never>, number> = progressPropertyConfig

richTextColumnConfig

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

selectColumnConfig

selectColumnConfig: PropertyMetaConfig<"select", SelectPropertyData, string> = selectPropertyConfig

Defined in

packages/blocks/src/database-block/properties/index.ts:18