File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -537,14 +537,14 @@ type TableRow struct {
537
537
538
538
func NewTableRowBlock (tr TableRow ) * TableRowBlock {
539
539
return & TableRowBlock {
540
- BasicBlock : NewBasicBlock (BlockTypeTableRowBlock ),
540
+ BasicBlock : NewBasicBlock (BlockTypeTableRow ),
541
541
TableRow : tr ,
542
542
}
543
543
}
544
544
545
545
func NewTableBlock (table Table ) * TableBlock {
546
546
return & TableBlock {
547
- BasicBlock : NewBasicBlock (BlockTypeTableBlock ),
547
+ BasicBlock : NewBasicBlock (BlockTypeTable ),
548
548
Table : table ,
549
549
}
550
550
}
@@ -1088,9 +1088,9 @@ func decodeBlock(raw map[string]interface{}) (Block, error) {
1088
1088
b = & TemplateBlock {}
1089
1089
case BlockTypeSyncedBlock :
1090
1090
b = & SyncedBlock {}
1091
- case BlockTypeTableBlock :
1091
+ case BlockTypeTable :
1092
1092
b = & TableBlock {}
1093
- case BlockTypeTableRowBlock :
1093
+ case BlockTypeTableRow :
1094
1094
b = & TableRowBlock {}
1095
1095
case BlockTypeUnsupported :
1096
1096
b = & UnsupportedBlock {}
Original file line number Diff line number Diff line change @@ -238,8 +238,8 @@ const (
238
238
BlockTypeLinkToPage BlockType = "link_to_page"
239
239
BlockTypeTemplate BlockType = "template"
240
240
BlockTypeSyncedBlock BlockType = "synced_block"
241
- BlockTypeTableBlock BlockType = "table"
242
- BlockTypeTableRowBlock BlockType = "table_row"
241
+ BlockTypeTable BlockType = "table"
242
+ BlockTypeTableRow BlockType = "table_row"
243
243
BlockTypeUnsupported BlockType = "unsupported"
244
244
)
245
245
You can’t perform that action at this time.
0 commit comments