Official Notion JavaScript Client
Now createDatabase and updateDatabase allow creating unique ID properties and getDatabase will now return unique ID properties.
Support querying databases by unique ID.
/oauth/token
endpoint (#73)Export new helper isFullPageOrDatabase
.
/// <reference lib="dom" />
from fetch-types.ts
by @huw in https://github.com/makenotion/notion-sdk-js/pull/401
Full Changelog: https://github.com/makenotion/notion-sdk-js/compare/v2.2.6...v2.2.8
Changes to support wikis in the public API:
Add support for:
filter_properties
query parameter to correctly URI encode property IDs when passed via the JS SDKperuvian_sol
to acceptable NumberFormat optionsAdd support for creating template mentions. Also some minor changes to support filtering by status property in queryDatabase, and some emoji changes.