Compare commits

..

4 Commits

Author SHA1 Message Date
5824d34764 3.0.5 2024-02-21 01:57:19 +01:00
5eb9035dfe fix(core): update 2024-02-21 01:57:19 +01:00
a49b1813fb 3.0.4 2024-02-21 01:55:50 +01:00
e33ae24f17 fix(core): update 2024-02-21 01:55:49 +01:00
3 changed files with 19 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@api.global/typedrequest-interfaces",
"version": "3.0.3",
"version": "3.0.5",
"private": false,
"description": "interfaces for making typed requests",
"main": "dist_ts/index.js",

View File

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

View File

@ -75,3 +75,20 @@ export interface ITag {
}
export type implementsTag<T, U extends T> = {};
export interface IStreamRequest extends implementsTR<
ITypedRequest,
IStreamRequest
> {
method: '##VirtualStream##';
request: {
streamId: string;
streamChunk: any;
close: boolean;
};
response: {
streamId: string;
streamChunk: any;
close: boolean;
};
}