feat(types): export IRequestContext type from @push.rocks/smartserve for consumers to use in route handlers
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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.'
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user