Brows Ghost api
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 134
- Forks
- 87
- Avg merge
- 12m
- Merged PRs (30d)
- 25
Description
const posts = await ghostClient.posts.browse({
include:['tags'],
limit:5,
page:page,
filter: ['tag:hash-blog-ja']
})
I try to call it in typescript and render in nextjs but the type does not it return an object not match with the PostOrPages type
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the ghostClient.posts.browse call shown in the issue with include:['tags'], limit:5, page, and the tag filter in TypeScript with Next.js. Compare the returned object with the PostOrPages type and determine the expected type behavior; done when the browse result and its declared type agree.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100