mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-11-27 22:18:23 +02:00
Add equation block type
This commit is contained in:
2
block.go
2
block.go
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user