notion-types
Advanced tools
Comparing version 6.11.0 to 6.12.6
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' | 'codepen' | 'excalidraw' | 'tweet' | 'maps' | 'pdf' | 'audio' | 'drive' | 'file' | 'code' | 'collection_view' | 'collection_view_page' | 'transclusion_container' | 'transclusion_reference' | 'alias' | 'table' | 'table_row' | 'external_object_instance' | 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' | 'alias' | 'table' | 'table_row' | 'external_object_instance' | 'breadcrumb' | 'miro' | 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 | CodepenBlock | ExcalidrawBlock | TweetBlock | PdfBlock | MapsBlock | AudioBlock | GoogleDriveBlock | FileBlock | EmbedBlock | GistBlock | CalloutBlock | BookmarkBlock | ToggleBlock | CollectionViewBlock | CollectionViewPageBlock | SyncBlock | SyncPointerBlock | PageLink | TableBlock | TableRowBlock | ExternalObjectInstance; | ||
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 | PageLink | TableBlock | TableRowBlock | ExternalObjectInstance | BreadcrumbInstance; | ||
/** | ||
@@ -200,2 +200,5 @@ * Base properties shared by all blocks. | ||
} | ||
export interface MiroBlock extends BaseContentBlock { | ||
type: 'miro'; | ||
} | ||
export interface FileBlock extends BaseBlock { | ||
@@ -327,2 +330,5 @@ type: 'file'; | ||
} | ||
export interface BreadcrumbInstance extends BaseBlock { | ||
type: 'breadcrumb'; | ||
} | ||
//# sourceMappingURL=block.d.ts.map |
{ | ||
"name": "notion-types", | ||
"version": "6.11.0", | ||
"version": "6.12.6", | ||
"type": "module", | ||
@@ -17,3 +17,3 @@ "description": "TypeScript types for core Notion data structures.", | ||
}, | ||
"gitHead": "dbcf32288068f481e0bb3c86d0ab5fc8a940522f" | ||
"gitHead": "6edd3574f9c6d9044b56cbb7e4bbb52e4598218e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
687
74530