Skip to content

BlockSuite API Documentation / @blocksuite/blocks / columnPresets

Variable: columnPresets

const columnPresets: object

Type declaration

checkboxColumnConfig

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

dateColumnConfig

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

imageColumnConfig

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

linkColumnConfig

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

multiSelectColumnConfig

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

numberColumnConfig

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

progressColumnConfig

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

selectColumnConfig

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

textColumnConfig

textColumnConfig: ColumnMeta<"text", string, Record<string, never>>

Source

packages/blocks/src/database-block/data-view/column/presets/index.ts:11