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; }; }