BlockSuite API Documentation / @blocksuite/affine-model
@blocksuite/affine-model
Enumerations
- ColorScheme
- ConnectorEndpoint
- ConnectorLabelOffsetAnchor
- ConnectorMode
- FontFamily
- FontStyle
- FontWeight
- FrameBackgroundColor
- LayoutType
- LineColor
- LineWidth
- MindmapStyle
- NoteBackgroundColor
- NoteCorners
- NoteDisplayMode
- NoteShadow
- PointStyle
- ShapeFillColor
- ShapeStyle
- ShapeTextFontSize
- ShapeType
- StrokeStyle
- TextAlign
- TextResizing
- TextVerticalAlign
Classes
- AttachmentBlockModel
- AttachmentBlockTransformer
- BookmarkBlockModel
- BrushElementModel
- ConnectorElementModel
- DatabaseBlockModel
- EdgelessTextBlockModel
- EmbedFigmaModel
- EmbedGithubModel
- EmbedHtmlModel
- EmbedLinkedDocModel
- EmbedLoomModel
- EmbedSyncedDocModel
- EmbedYoutubeModel
- FrameBlockModel
- GroupElementModel
- ImageBlockModel
- ImageBlockTransformer
- LatexBlockModel
- LocalConnectorElementModel
- NoteBlockModel
- RootBlockModel
- ShapeElementModel
- TextElementModel
Interfaces
Type Aliases
- AttachmentBlockProps
- BookmarkBlockProps
- BrushProps
- Cell
- CodeBlockModel
- Color
- ColumnUpdater
- Connection
- ConnectorElementProps
- ConnectorLabelConstraintsProps
- ConnectorLabelOffsetProps
- ConnectorLabelProps
- DatabaseBlockProps
- DividerBlockModel
- DocMode
- EmbedBlockModel
- EmbedCardStyle
- EmbedFigmaBlockProps
- EmbedFigmaBlockUrlData
- EmbedGithubBlockProps
- EmbedGithubBlockUrlData
- EmbedHtmlBlockProps
- EmbedLinkedDocBlockProps
- EmbedLoomBlockProps
- EmbedLoomBlockUrlData
- EmbedProps
- EmbedSyncedDocBlockProps
- EmbedYoutubeBlockProps
- EmbedYoutubeBlockUrlData
- FrameBlockProps
- GfxCompatibleProps
- ImageBlockProps
- LinkPreviewData
- ListBlockModel
- ListType
- NoteEdgelessProps
- NoteProps
- ParagraphBlockModel
- ParagraphProps
- ParagraphType
- ReferenceInfo
- ReferenceParams
- RootBlockProps
- SerializedCells
- SerializedConnection
- SerializedConnectorElement
- SerializedGroupElement
- ShapeName
- ShapeProps
- SurfaceRefBlockModel
- TextElementProps
- TextStyleProps
- ViewBasicDataType
Variables
- AttachmentBlockSchema
- AttachmentBlockStyles
- BookmarkBlockSchema
- BookmarkStyles
- CodeBlockSchema
- CONNECTOR_LABEL_MAX_WIDTH
- DatabaseBlockSchema
- DEFAULT_BRUSH_COLOR
- DEFAULT_CENTRAL_AREA_RATIO
- DEFAULT_CONNECTOR_COLOR
- DEFAULT_CONNECTOR_TEXT_COLOR
- DEFAULT_FRONT_END_POINT_STYLE
- DEFAULT_NOTE_BACKGROUND_COLOR
- DEFAULT_NOTE_BORDER_SIZE
- DEFAULT_NOTE_BORDER_STYLE
- DEFAULT_NOTE_CORNER
- DEFAULT_NOTE_SHADOW
- DEFAULT_REAR_END_POINT_STYLE
- DEFAULT_ROUGHNESS
- DEFAULT_SHAPE_FILL_COLOR
- DEFAULT_SHAPE_STROKE_COLOR
- DEFAULT_SHAPE_TEXT_COLOR
- DEFAULT_TEXT_COLOR
- defaultAttachmentProps
- defaultEmbedSyncedDocBlockProps
- DividerBlockSchema
- DocModes
- EdgelessTextBlockSchema
- EmbedFigmaBlockSchema
- EmbedFigmaStyles
- EmbedGithubBlockSchema
- EmbedGithubStyles
- EmbedHtmlBlockSchema
- EmbedHtmlStyles
- EmbedLinkedDocBlockSchema
- EmbedLinkedDocStyles
- EmbedLoomBlockSchema
- EmbedLoomStyles
- EmbedSyncedDocBlockSchema
- EmbedSyncedDocStyles
- EmbedYoutubeBlockSchema
- EmbedYoutubeStyles
- FillColorsSchema
- FontFamilyList
- FontFamilyMap
- FontWeightMap
- FRAME_BACKGROUND_COLORS
- FrameBackgroundColorsSchema
- FrameBlockSchema
- ImageBlockSchema
- LatexBlockSchema
- LINE_COLORS
- LineColorMap
- LineColorsSchema
- ListBlockSchema
- NOTE_BACKGROUND_COLORS
- NOTE_CORNERS
- NOTE_SHADOWS
- NOTE_WIDTH
- NoteBackgroundColorMap
- NoteBackgroundColorsSchema
- NoteBlockSchema
- NoteCornersMap
- NoteCornersSchema
- NoteShadowMap
- NoteShadowsSchema
- ParagraphBlockSchema
- PointStyleMap
- ReferenceInfoSchema
- ReferenceParamsSchema
- RootBlockSchema
- SHAPE_FILL_COLORS
- SHAPE_STROKE_COLORS
- SHAPE_TEXT_PADDING
- SHAPE_TEXT_VERTICAL_PADDING
- shapeMethods
- StrokeColorsSchema
- StrokeStyleMap
- SurfaceRefBlockSchema
- TextAlignMap