From fac638480713123a02c553bee5486c120fe50704 Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Mon, 22 Dec 2025 15:18:33 +0000 Subject: [PATCH] feat(types): export IRequestContext type from @push.rocks/smartserve for consumers to use in route handlers --- changelog.md | 6 ++++++ ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index c718d64..a5c17e0 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2025-12-22 - 8.1.0 - feat(types) +export IRequestContext type from @push.rocks/smartserve for consumers to use in route handlers + +- Adds a type export: IRequestContext from @push.rocks/smartserve +- Type-only change — no runtime or behavioral changes + ## 2025-12-20 - 8.0.0 - BREAKING CHANGE(typedserver) migrate route handlers to use IRequestContext and lazy body parsers diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index d6847fa..5a15901 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@api.global/typedserver', - version: '8.0.0', + version: '8.1.0', description: 'A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.' } diff --git a/ts/index.ts b/ts/index.ts index 55bdffb..d4a5f98 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -5,3 +5,6 @@ export * from './classes.typedserver.js'; // lets export utilityservers import * as utilityservers from './utilityservers/index.js'; export { utilityservers }; + +// Export IRequestContext for consumers to use in route handlers +export type { IRequestContext } from '@push.rocks/smartserve';