Skip to content

API > @blocksuite/blocks > SerializedBlock

Type alias: SerializedBlock ​

SerializedBlock: object

Deprecated ​

Type declaration ​

background ​

optional background: string


bookmarkTitle ​

optional bookmarkTitle: string


caption ​

optional caption: string


checked ​

optional checked: boolean


children ​

children: SerializedBlock[]


crawled ​

optional crawled: boolean


databaseProps ​

optional databaseProps: object

Type declaration ​

databaseProps.cells ​

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

databaseProps.columns ​

columns: Column[]

databaseProps.id ​

id: string

databaseProps.rowIds ​

rowIds: string[]

databaseProps.title ​

title: string

databaseProps.views ​

optional views: DataViewDataType[]


description ​

optional description: string


flavour ​

flavour: string


height ​

optional height: number


icon ​

optional icon: string


id ​

optional id: string


image ​

optional image: string


language ​

optional language: string


name ​

optional name: string


rawText ​

optional rawText: {delete: number; insert: string; retain: number;}[]


rotate ​

optional rotate: number


size ​

optional size: number


sourceId ​

optional sourceId: string


text ​

optional text: {attributes: AffineTextAttributes; delete: number; insert: string; retain: number;}[]


title ​

optional title: string


type ​

optional type: string


url ​

optional url: string


width ​

optional width: number


xywh ​

optional xywh: string

Defined In ​

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