@jitl/notion-api
Version:
The missing companion library for the official Notion public API.
33 lines • 1.46 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
/**
* @module
* @packageDocumentation
*
* Module `@jitl/notion-api` provides extensions and helpers for the official
* Notion public API.
*
* This library uses `@notionhq/client` as a peer dependency for both types and
* to re-use the official client.
*
* The library is broadly separated into distinct feature sets:
*
* - A set of helpers for working with the Notion API. This includes
* common types derived from the API's response types, and some iteration helpers
* for fetching content. See the file [./lib/notion-api.ts](./lib/notion-api.ts)
* for details.
*
* - A content management system supporting functions for downloading and
* caching content from a Notion database. The high-level interface for these
* features is the [[CMS]] class in the file
* [./lib/content-management-system.ts](./lib/content-management-system.ts), but
* related lower-level tools for working with Notion assets are also exported.
*/
tslib_1.__exportStar(require("./lib/notion-api"), exports);
tslib_1.__exportStar(require("./lib/content-management-system"), exports);
tslib_1.__exportStar(require("./lib/assets"), exports);
tslib_1.__exportStar(require("./lib/cache"), exports);
tslib_1.__exportStar(require("./lib/backlinks"), exports);
tslib_1.__exportStar(require("./lib/query"), exports);
//# sourceMappingURL=index.js.map
;