Node
TypeSource
Node = Annotated[
DeletedNode
| TextNode
| LineBreakNode
| HorizontalRuleNode
| InlineCodeNode
| CodeBlockNode
| BoldNode
| ItalicNode
| UnderlineNode
| StrikeNode
| SpoilerNode
| LinkNode
| HeadingNode
| ParagraphNode
| QuoteNode
| AlertNode
| ListItemNode
| ListNode
| TableCellNode
| TableRowNode
| TableNode,
Field(discriminator="type"),
]
The union type of all nodes.
This type does not include Document, and can be used in pydantic model
directly.