fix(core): update
This commit is contained in:
parent
a81b9eced6
commit
7889e04915
@ -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'
|
||||
}
|
||||
|
10
ts/index.ts
10
ts/index.ts
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user