From e33ae24f17678df8998c4b5a58a116a3d3db3fce Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 21 Feb 2024 01:55:49 +0100 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index a6ccba4..78f6f5f 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@api.global/typedrequest-interfaces', - version: '3.0.3', + version: '3.0.4', description: 'interfaces for making typed requests' } diff --git a/ts/index.ts b/ts/index.ts index bd510a3..ee19946 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -75,3 +75,20 @@ export interface ITag { } export type implementsTag = {}; + +export interface IStreamRequest extends implementsTR< + ITypedRequest, + IStreamRequest +> { + method: '##VirtualStream##'; + request: { + streamId: string; + streamChunk: any; + close: boolean; + }; + response: { + streamId: string; + streamChunk: any; + close: boolean; + }; +}