Skip to content

Export AnnotationResponse type (#507) #508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

jwanner83
Copy link

As i promised in this issue: #507.

The pull request to add the export keyword to the AnnotationResponse type. Now, the type is available to import via import { AnnotationResponse } from '@notionhq/client/build/src/api-endpoints'

@CLAassistant
Copy link

CLAassistant commented May 4, 2024

CLA assistant check
All committers have signed the CLA.

@ksinder
Copy link
Contributor

ksinder commented May 7, 2025

See the comment I just made in another PR: #523 (comment)
I believe once I publish v3.0.1, you should be able to extract this type from some of the rich text response object types that will be accessible from the package? Let me know if that doesn't work for you though and I can look into a solution! (The api-endpoints.ts file is generated so we prefer folks not change it directly since it'd get clobbered when my team runs the generation script for it!)

@ksinder ksinder closed this May 7, 2025
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.

3 participants