diff --git a/CHANGELOG.md b/CHANGELOG.md index 610b323..33b778a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [2.2.1] - 2026-01-29 + +### Added + +- `resultCount` to the pagination type. + ## [2.2.0] - 2025-12-10 ### Added diff --git a/package.json b/package.json index 28ba09d..bfe4917 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "publishConfig": { "access": "public" }, - "version": "2.2.0", + "version": "2.2.1", "license": "MIT", "private": false, "engines": { @@ -95,5 +95,6 @@ "handlebars": "^4", "markdown-it": "^14", "sanitize-html": "^2.17" - } + }, + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" } diff --git a/src/types/Paginated.ts b/src/types/Paginated.ts index 03fb60e..faaf97b 100644 --- a/src/types/Paginated.ts +++ b/src/types/Paginated.ts @@ -2,6 +2,7 @@ type Paginated = { hasNextPage: boolean; hasPrevPage: boolean; totalPages: number; + resultCount?: number; data: T; };