File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ type Block struct {
41
41
Breadcrumb * Breadcrumb `json:"breadcrumb,omitempty"`
42
42
ColumnList * ColumnList `json:"column_list,omitempty"`
43
43
Column * Column `json:"column,omitempty"`
44
+ Table * Table `json:"table,omitempty"`
45
+ TableRow * TableRow `json:"table_row,omitempty"`
44
46
LinkPreview * LinkPreview `json:"link_preview,omitempty"`
45
47
LinkToPage * LinkToPage `json:"link_to_page,omitempty"`
46
48
SyncedBlock * SyncedBlock `json:"synced_block,omitempty"`
@@ -104,6 +106,17 @@ type Column struct {
104
106
Children []Block `json:"children,omitempty"`
105
107
}
106
108
109
+ type Table struct {
110
+ TableWidth int `json:"table_width"`
111
+ HasColumnHeader bool `json:"has_column_header"`
112
+ HasRowHeader bool `json:"has_row_header"`
113
+ Children []Block `json:"children,omitempty"`
114
+ }
115
+
116
+ type TableRow struct {
117
+ Cells [][]RichText `json:"cells"`
118
+ }
119
+
107
120
type LinkToPage struct {
108
121
Type LinkToPageType `json:"type"`
109
122
You can’t perform that action at this time.
0 commit comments