Skip to content

Expand blockObjectRequest support for additional block types - #350

Open
ayyYoSam wants to merge 1 commit into
makenotion:mainfrom
ayyYoSam:fix/282-expand-block-object-request
Open

Expand blockObjectRequest support for additional block types#350
ayyYoSam wants to merge 1 commit into
makenotion:mainfrom
ayyYoSam:fix/282-expand-block-object-request

Conversation

@ayyYoSam

@ayyYoSam ayyYoSam commented Sep 5, 2026

Copy link
Copy Markdown

Description

Fixes #282

This expands the blockObjectRequest schema to support additional block types already supported by the Notion API.

Added support for:

  • heading_1
  • heading_2
  • heading_3
  • numbered_list_item
  • to_do
  • divider
  • callout
  • toggle
  • quote
  • code

It also updates the generated OpenAPI snapshot to reflect the expanded schema.

How was this change tested?

  • Automated test (unit, integration, etc.)
  • Manual test (provide reproducible testing steps below)

Run:

$env:NODE_ENV="test"; npx vitest run
npx tsc --noEmit

Results:

  • 109/109 tests passed.
  • TypeScript compilation completed without errors.

Notes

I used the command related to Prettier as well, to adjust

Screenshot

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Expand blockObjectRequest to support all Notion block types

1 participant