Skip to content

BlockSuite API Documentation / @blocksuite/affine-block-database / databaseBlockColumns

Variable: databaseBlockColumns

const databaseBlockColumns: object

Defined in: packages/affine/blocks/block-database/src/properties/index.ts:17

Type declaration

checkboxColumnConfig

checkboxColumnConfig: PropertyMetaConfig<"checkbox", {}, boolean, boolean> = checkboxPropertyConfig

dateColumnConfig

dateColumnConfig: PropertyMetaConfig<"date", {}, null | number, null | number> = datePropertyConfig

imageColumnConfig

imageColumnConfig: PropertyMetaConfig<"image", {}, null | string, null | string> = propertyPresets.imagePropertyConfig

linkColumnConfig

linkColumnConfig: PropertyMetaConfig<"link", {}, string, string>

multiSelectColumnConfig

multiSelectColumnConfig: PropertyMetaConfig<"multi-select", { options: object[]; }, string[], string[]> = multiSelectPropertyConfig

numberColumnConfig

numberColumnConfig: PropertyMetaConfig<"number", { decimal: number; format: "number" | "numberWithCommas" | "percent" | "currencyYen" | "currencyINR" | "currencyCNY" | "currencyUSD" | "currencyEUR" | "currencyGBP"; }, null | number, null | number> = numberPropertyConfig

progressColumnConfig

progressColumnConfig: PropertyMetaConfig<"progress", {}, number, number> = progressPropertyConfig

richTextColumnConfig

richTextColumnConfig: PropertyMetaConfig<"rich-text", {}, undefined | RichTextCellType, string>

selectColumnConfig

selectColumnConfig: PropertyMetaConfig<"select", { options: object[]; }, null | string, null | string> = selectPropertyConfig

titleColumnConfig

titleColumnConfig: PropertyMetaConfig<"title", {}, undefined | Text, string>