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 {
537537
538538func NewTableRowBlock (tr TableRow ) * TableRowBlock {
539539 return & TableRowBlock {
540- BasicBlock : NewBasicBlock (BlockTypeTableRowBlock ),
540+ BasicBlock : NewBasicBlock (BlockTypeTableRow ),
541541 TableRow : tr ,
542542 }
543543}
544544
545545func NewTableBlock (table Table ) * TableBlock {
546546 return & TableBlock {
547- BasicBlock : NewBasicBlock (BlockTypeTableBlock ),
547+ BasicBlock : NewBasicBlock (BlockTypeTable ),
548548 Table : table ,
549549 }
550550}
@@ -1088,9 +1088,9 @@ func decodeBlock(raw map[string]interface{}) (Block, error) {
10881088 b = & TemplateBlock {}
10891089 case BlockTypeSyncedBlock :
10901090 b = & SyncedBlock {}
1091- case BlockTypeTableBlock :
1091+ case BlockTypeTable :
10921092 b = & TableBlock {}
1093- case BlockTypeTableRowBlock :
1093+ case BlockTypeTableRow :
10941094 b = & TableRowBlock {}
10951095 case BlockTypeUnsupported :
10961096 b = & UnsupportedBlock {}
Original file line number Diff line number Diff line change @@ -238,8 +238,8 @@ const (
238238 BlockTypeLinkToPage BlockType = "link_to_page"
239239 BlockTypeTemplate BlockType = "template"
240240 BlockTypeSyncedBlock BlockType = "synced_block"
241- BlockTypeTableBlock BlockType = "table"
242- BlockTypeTableRowBlock BlockType = "table_row"
241+ BlockTypeTable BlockType = "table"
242+ BlockTypeTableRow BlockType = "table_row"
243243 BlockTypeUnsupported BlockType = "unsupported"
244244)
245245
You can’t perform that action at this time.
0 commit comments