From 446a9d17239d31ac8b16c2ae1510ac0e44d85b77 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Thu, 22 Feb 2024 13:28:47 +0100 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index a1c1f3a..f8f394e 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.7', + version: '3.0.8', description: 'interfaces for making typed requests' } diff --git a/ts/index.ts b/ts/index.ts index 91e550c..793fcbb 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -83,12 +83,16 @@ export interface IStreamRequest extends implementsTR< method: '##VirtualStream##'; request: { streamId: string; - streamChunk: any; - keepAlive: boolean; + type: 'start' | 'binaryChunk' | 'object' | 'end' | 'keepAlive'; + streamChunk?: any; + keepAlive?: boolean; + next?: boolean; }; response: { streamId: string; - streamChunk: any; - keepAlive: boolean; + type: 'start' | 'binaryChunk' | 'object' | 'end' | 'keepAlive'; + streamChunk?: any; + keepAlive?: boolean; + next?: boolean; }; }