notion-types
Advanced tools
Comparing version 4.7.6 to 4.7.9
import { ID, Color, Decoration, Role } from './core'; | ||
export declare type BlockType = 'page' | 'text' | 'bookmark' | 'bulleted_list' | 'numbered_list' | 'header' | 'sub_header' | 'sub_sub_header' | 'quote' | 'equation' | 'to_do' | 'table_of_contents' | 'divider' | 'column_list' | 'column' | 'callout' | 'toggle' | 'image' | 'embed' | 'gist' | 'video' | 'figma' | 'typeform' | 'excalidraw' | 'tweet' | 'maps' | 'pdf' | 'audio' | 'drive' | 'file' | 'code' | 'collection_view' | 'collection_view_page' | 'transclusion_container' | 'transclusion_reference' | string; | ||
export declare type BlockType = 'page' | 'text' | 'bookmark' | 'bulleted_list' | 'numbered_list' | 'header' | 'sub_header' | 'sub_sub_header' | 'quote' | 'equation' | 'to_do' | 'table_of_contents' | 'divider' | 'column_list' | 'column' | 'callout' | 'toggle' | 'image' | 'embed' | 'gist' | 'video' | 'figma' | 'typeform' | 'codepen' | 'excalidraw' | 'tweet' | 'maps' | 'pdf' | 'audio' | 'drive' | 'file' | 'code' | 'collection_view' | 'collection_view_page' | 'transclusion_container' | 'transclusion_reference' | string; | ||
/** The different block values a block can have. */ | ||
export declare type Block = TextBlock | PageBlock | BulletedListBlock | NumberedListBlock | HeaderBlock | SubHeaderBlock | SubSubHeaderBlock | TodoBlock | TableOfContentsBlock | DividerBlock | ColumnListBlock | ColumnBlock | QuoteBlock | EquationBlock | CodeBlock | ImageBlock | VideoBlock | FigmaBlock | TypeformBlock | ExcalidrawBlock | TweetBlock | PdfBlock | MapsBlock | AudioBlock | GoogleDriveBlock | FileBlock | EmbedBlock | GistBlock | CalloutBlock | BookmarkBlock | ToggleBlock | CollectionViewBlock | CollectionViewPageBlock | SyncBlock | SyncPointerBlock; | ||
export declare type Block = TextBlock | PageBlock | BulletedListBlock | NumberedListBlock | HeaderBlock | SubHeaderBlock | SubSubHeaderBlock | TodoBlock | TableOfContentsBlock | DividerBlock | ColumnListBlock | ColumnBlock | QuoteBlock | EquationBlock | CodeBlock | ImageBlock | VideoBlock | FigmaBlock | TypeformBlock | CodepenBlock | ExcalidrawBlock | TweetBlock | PdfBlock | MapsBlock | AudioBlock | GoogleDriveBlock | FileBlock | EmbedBlock | GistBlock | CalloutBlock | BookmarkBlock | ToggleBlock | CollectionViewBlock | CollectionViewPageBlock | SyncBlock | SyncPointerBlock; | ||
/** | ||
@@ -170,2 +170,5 @@ * Base properties shared by all blocks. | ||
} | ||
export interface CodepenBlock extends BaseContentBlock { | ||
type: 'codepen'; | ||
} | ||
export interface ExcalidrawBlock extends BaseContentBlock { | ||
@@ -172,0 +175,0 @@ type: 'excalidraw'; |
import { ID, Color, Decoration, Role } from './core'; | ||
export declare type BlockType = 'page' | 'text' | 'bookmark' | 'bulleted_list' | 'numbered_list' | 'header' | 'sub_header' | 'sub_sub_header' | 'quote' | 'equation' | 'to_do' | 'table_of_contents' | 'divider' | 'column_list' | 'column' | 'callout' | 'toggle' | 'image' | 'embed' | 'gist' | 'video' | 'figma' | 'typeform' | 'excalidraw' | 'tweet' | 'maps' | 'pdf' | 'audio' | 'drive' | 'file' | 'code' | 'collection_view' | 'collection_view_page' | 'transclusion_container' | 'transclusion_reference' | string; | ||
export declare type BlockType = 'page' | 'text' | 'bookmark' | 'bulleted_list' | 'numbered_list' | 'header' | 'sub_header' | 'sub_sub_header' | 'quote' | 'equation' | 'to_do' | 'table_of_contents' | 'divider' | 'column_list' | 'column' | 'callout' | 'toggle' | 'image' | 'embed' | 'gist' | 'video' | 'figma' | 'typeform' | 'codepen' | 'excalidraw' | 'tweet' | 'maps' | 'pdf' | 'audio' | 'drive' | 'file' | 'code' | 'collection_view' | 'collection_view_page' | 'transclusion_container' | 'transclusion_reference' | string; | ||
/** The different block values a block can have. */ | ||
export declare type Block = TextBlock | PageBlock | BulletedListBlock | NumberedListBlock | HeaderBlock | SubHeaderBlock | SubSubHeaderBlock | TodoBlock | TableOfContentsBlock | DividerBlock | ColumnListBlock | ColumnBlock | QuoteBlock | EquationBlock | CodeBlock | ImageBlock | VideoBlock | FigmaBlock | TypeformBlock | ExcalidrawBlock | TweetBlock | PdfBlock | MapsBlock | AudioBlock | GoogleDriveBlock | FileBlock | EmbedBlock | GistBlock | CalloutBlock | BookmarkBlock | ToggleBlock | CollectionViewBlock | CollectionViewPageBlock | SyncBlock | SyncPointerBlock; | ||
export declare type Block = TextBlock | PageBlock | BulletedListBlock | NumberedListBlock | HeaderBlock | SubHeaderBlock | SubSubHeaderBlock | TodoBlock | TableOfContentsBlock | DividerBlock | ColumnListBlock | ColumnBlock | QuoteBlock | EquationBlock | CodeBlock | ImageBlock | VideoBlock | FigmaBlock | TypeformBlock | CodepenBlock | ExcalidrawBlock | TweetBlock | PdfBlock | MapsBlock | AudioBlock | GoogleDriveBlock | FileBlock | EmbedBlock | GistBlock | CalloutBlock | BookmarkBlock | ToggleBlock | CollectionViewBlock | CollectionViewPageBlock | SyncBlock | SyncPointerBlock; | ||
/** | ||
@@ -170,2 +170,5 @@ * Base properties shared by all blocks. | ||
} | ||
export interface CodepenBlock extends BaseContentBlock { | ||
type: 'codepen'; | ||
} | ||
export interface ExcalidrawBlock extends BaseContentBlock { | ||
@@ -172,0 +175,0 @@ type: 'excalidraw'; |
{ | ||
"name": "notion-types", | ||
"version": "4.7.6", | ||
"version": "4.7.9", | ||
"description": "TypeScript types for core Notion data structures.", | ||
@@ -15,3 +15,3 @@ "repository": "NotionX/react-notion-x", | ||
}, | ||
"gitHead": "ebe24c9c47b281dcefc57c95427cd9b2a0d3c7ed" | ||
"gitHead": "305c2d788a8bf7aa4adc23674d24d4f2e19bdb57" | ||
} |
@@ -27,2 +27,3 @@ import { ID, Color, Decoration, Role } from './core' | ||
| 'typeform' | ||
| 'codepen' | ||
| 'excalidraw' | ||
@@ -64,2 +65,3 @@ | 'tweet' | ||
| TypeformBlock | ||
| CodepenBlock | ||
| ExcalidrawBlock | ||
@@ -275,2 +277,6 @@ | TweetBlock | ||
export interface CodepenBlock extends BaseContentBlock { | ||
type: 'codepen' | ||
} | ||
export interface ExcalidrawBlock extends BaseContentBlock { | ||
@@ -277,0 +283,0 @@ type: 'excalidraw' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
495406
2071