1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-06-29 00:41:34 +02:00

Add equation block type

This commit is contained in:
David Stotijn
2021-12-17 12:31:39 +01:00
parent d2a9540ff4
commit 0300613dd4

View File

@ -34,6 +34,7 @@ type Block struct {
File *FileBlock `json:"file,omitempty"`
PDF *FileBlock `json:"pdf,omitempty"`
Bookmark *Bookmark `json:"bookmark,omitempty"`
Equation *Equation `json:"equation,omitempty"`
}
type RichTextBlock struct {
@ -123,6 +124,7 @@ const (
BlockTypeFile BlockType = "file"
BlockTypePDF BlockType = "pdf"
BlockTypeBookmark BlockType = "bookmark"
BlockTypeEquation BlockType = "equation"
BlockTypeUnsupported BlockType = "unsupported"
)