Skip to content

Narrow the types of isLucidPaginatorMetaData

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:40
Immutable release. Only release title and notes can be modified.

2.3.3 (2026-11-27)

Bug fixes

  • isLucidPaginatorMetaData() narrows the metadata to the types that Lucid's getMeta() returns. After the check, total and currentPage are numbers, and nextPageUrl and previousPageUrl are string | null. The new LucidPaginatorMetaData type is exported from @adonisjs/http-transformers/types. (#17, closes #15)

Full changelog: v2.3.2...v2.3.3