so far as i can tell, novu.fetchNotifications doesn't respond with any pagination data, which makes pagination much more difficult than it needs to be. when using the rest api, there's a nice payload that comes back with page pageSize and totalCount. it would be nice to have access to this when using fetchNotifications from @novu/headless.
#Pagination `@novu/headless`
1 messages · Page 1 of 1 (latest)
<@&986960430528331776> can i get some guidance on this? not sure how to setup pagination with this given there's no pagination data returned from fetchNotifications.
@lofty vigil @novu/headless will soon be deprecated and is an internal only tool.
As for the pagination, @velvet elk could better answer that.
i'm getting conflicting information then
#🪄│engineering message
i was told yesterday it was being deprecated, then i was told what's actually being deprecated is @novu/stateless, but now i'm being told @novu/headless is being deprecated again
surely you can appreciate the confusion here
@lofty vigil Sorry for the headache.
@tawny basin Could you help clear this up?
We are getting a decent amount of questions on the headless packages.
Sorry for the confusion, we are not removing or deprecating the headless package.
It's defiently looks to me like something we would need to do, If I recall correctly @spark grove was doing something there in the current/previous version but maybe it was in another version. Nonetheless, if you could create a GitHub issue for this would be great