Description
StoryblokClient#getAll
method supports params for ISbStoryData
, ISbMultipleStoriesData
, ISbAssetsParams
but not params for ISbLinksParams
. This is a big problem because for creating sitemaps with lastmod
elements.
Expected Behavior
await storyBlokClient.getAll('cdn/links', {
starts_with: 'some-path',
version: 'published',
resolve_links: 'link',
include_dates: 1 // this should not throw TS error
});
Current Behavior
await storyBlokClient.getAll('cdn/links', {
starts_with: 'some-path',
version: 'published',
resolve_links: 'link',
include_dates: 1 // this throws TS error
});
Steps to Reproduce
See current behavior
Note:
- The
get
method is overloaded correctly. - Would expect the same for
getAll
method. - At the very least allow
include_dates
to be allowed.