File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
packages/notion-to-jsx/src/types Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ export interface NotionBlock {
1212 | 'numbered_list_item'
1313 | 'code'
1414 | 'image'
15- | 'bookmark' ;
15+ | 'bookmark'
16+ | 'table'
17+ | 'table_row'
18+ | 'quote' ;
1619 paragraph ?: {
1720 rich_text : RichTextItem [ ] ;
1821 color : string ;
@@ -52,4 +55,22 @@ export interface NotionBlock {
5255 url : string ;
5356 caption : RichTextItem [ ] ;
5457 } ;
58+ table ?: {
59+ table_width : number ;
60+ has_column_header : boolean ;
61+ has_row_header : boolean ;
62+ } ;
63+ table_row ?: {
64+ cells : RichTextItem [ ] [ ] ;
65+ } ;
66+ quote ?: {
67+ rich_text : RichTextItem [ ] ;
68+ color : string ;
69+ } ;
70+ children ?: NotionBlock [ ] ;
71+ has_children ?: boolean ;
72+ parent ?: {
73+ type : string ;
74+ [ key : string ] : any ;
75+ } ;
5576}
You can’t perform that action at this time.
0 commit comments