notion-utils
Advanced tools
Comparing version 1.2.0 to 1.3.0
import * as types from 'notion-types'; | ||
/** | ||
* Gets the IDs of all the blocks contained on a page starting from a root block ID. | ||
* Gets the IDs of all blocks contained on a page starting from a root block ID. | ||
*/ | ||
export declare const getPageContentBlocks: (recordMap: types.ExtendedRecordMap, blockId?: string | undefined) => string[]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* Gets the IDs of all the blocks contained on a page starting from a root block ID. | ||
* Gets the IDs of all blocks contained on a page starting from a root block ID. | ||
*/ | ||
@@ -6,0 +6,0 @@ exports.getPageContentBlocks = (recordMap, blockId) => { |
@@ -5,3 +5,3 @@ export * from './get-text-content'; | ||
export * from './get-page-table-of-contents'; | ||
export * from './get-page-content-blocks'; | ||
export * from './get-page-content-block-ids'; | ||
export * from './parse-page-id'; | ||
@@ -8,0 +8,0 @@ export * from './id-to-uuid'; |
@@ -10,3 +10,3 @@ "use strict"; | ||
__export(require("./get-page-table-of-contents")); | ||
__export(require("./get-page-content-blocks")); | ||
__export(require("./get-page-content-block-ids")); | ||
__export(require("./parse-page-id")); | ||
@@ -13,0 +13,0 @@ __export(require("./id-to-uuid")); |
{ | ||
"name": "notion-utils", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Useful utilities for working with Notion data. Isomorphic.", | ||
@@ -24,3 +24,3 @@ "repository": "saasify-sh/notion-kit", | ||
}, | ||
"gitHead": "da2f6798dfc72993adbb2610a5cd5acc62065280" | ||
"gitHead": "949660d2f3b8e4cb539b9fccd851d921655248ba" | ||
} |
@@ -5,3 +5,3 @@ export * from './get-text-content' | ||
export * from './get-page-table-of-contents' | ||
export * from './get-page-content-blocks' | ||
export * from './get-page-content-block-ids' | ||
export * from './parse-page-id' | ||
@@ -8,0 +8,0 @@ export * from './id-to-uuid' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
414051
132
8114
0