Skip to content

BlockSuite API Documentation / @blocksuite/blocks / SerializedBlock

Type alias: SerializedBlock ​

SerializedBlock: Object

Deprecated ​

Type declaration ​

background? ​

background?: string

caption? ​

caption?: string

checked? ​

checked?: boolean

children ​

children: SerializedBlock[]

crawled? ​

crawled?: boolean

databaseProps? ​

databaseProps?: Object

databaseProps.cells ​

databaseProps.cells: Record<string, Record<string, Cell>>

databaseProps.columns ​

databaseProps.columns: Column[]

databaseProps.id ​

databaseProps.id: string

databaseProps.rowIds ​

databaseProps.rowIds: string[]

databaseProps.title ​

databaseProps.title: string

databaseProps.views? ​

databaseProps.views?: DataViewDataType[]

description? ​

description?: string

edgeless? ​

edgeless?: Record<string, Record<string, unknown> | unknown>

flavour ​

flavour: string

height? ​

height?: number

hidden? ​

hidden?: boolean

icon? ​

icon?: string

id? ​

id?: string

image? ​

image?: string

language? ​

language?: string

name? ​

name?: string

rawText? ​

rawText?: Object[]

rotate? ​

rotate?: number

size? ​

size?: number

sourceId? ​

sourceId?: string

style? ​

style?: string

text? ​

text?: Object[]

title? ​

title?: string

type? ​

type?: string

url? ​

url?: string

width? ​

width?: number

xywh? ​

xywh?: string

Source ​

packages/blocks/src/_common/utils/types.ts:240


Generated using typedoc-plugin-markdown and TypeDoc