fix(core): update

This commit is contained in:
Philipp Kunz 2024-02-20 20:47:12 +01:00
parent a81b9eced6
commit 7889e04915
2 changed files with 11 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@api.global/typedrequest-interfaces',
version: '3.0.1',
version: '3.0.2',
description: 'interfaces for making typed requests'
}

View File

@ -11,6 +11,14 @@ export interface ITypedRequest {
jwt: string;
};
/**
* localData tracks things within typedrequest.
* needed for VirtualStreams
*/
localData?: {
firstTypedrouter: any;
}
/**
* server data that is added for dealing with the request server side. Will be omitted when sending the response
*/
@ -44,6 +52,8 @@ export interface ITypedRequest {
/**
* a correlation id that
* used for matching request and response
* !important. Don't remove.
*/
correlation?: {
id: string;