feat(types): export IRequestContext type from @push.rocks/smartserve for consumers to use in route handlers

This commit is contained in:
2025-12-22 15:18:33 +00:00
parent 48995e6dfd
commit fac6384807
3 changed files with 10 additions and 1 deletions

View File

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

View File

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

View File

@@ -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';