#Pagination `@novu/headless`

1 messages · Page 1 of 1 (latest)

lofty vigil
#

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.

lofty vigil
#

<@&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.

zenith wyvern
#

@lofty vigil @novu/headless will soon be deprecated and is an internal only tool.

As for the pagination, @velvet elk could better answer that.

lofty vigil
#

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 Kek surely you can appreciate the confusion here

zenith wyvern
#

@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.

tawny basin