-
-
Notifications
You must be signed in to change notification settings - Fork 673
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
fix(content): update type definition for QueryBuilder.fetch()
#825
Conversation
toc?: { | ||
id: string; | ||
depth: number; | ||
text: string; | ||
}[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be added to IContentDocument
instead of duplicating it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will introduce IContentDocumentBase
to avoid code duplication.
And add missing body
field too.
Add `body` field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me - thank you ❤️
QueryBuilder.fetch()
(#816)
Co-authored-by: Daniel Roe <daniel@roe.dev>
QueryBuilder.fetch()
(#816)QueryBuilder.fetch()
This PR has been released as Nuxt Content v1.15.0! |
Types of changes
Description
Just fix
QueryBuilder.fetch()
return type definition.Checklist: