From: Jérôme Benoit Date: Sat, 27 Aug 2022 16:30:45 +0000 (+0200) Subject: Add the source charging station that emits a response to broadcast channel X-Git-Tag: v1.1.68~16 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c6e110c2f44b18fc7badf29f934269e0b0421254;p=e-mobility-charging-stations-simulator.git Add the source charging station that emits a response to broadcast channel Signed-off-by: Jérôme Benoit --- diff --git a/src/types/UIProtocol.ts b/src/types/UIProtocol.ts index 463b205e..3a76bd00 100644 --- a/src/types/UIProtocol.ts +++ b/src/types/UIProtocol.ts @@ -45,4 +45,5 @@ export enum ResponseStatus { export interface ResponsePayload extends JsonObject { status: ResponseStatus; + hashIds?: string[]; } diff --git a/src/types/WorkerBroadcastChannel.ts b/src/types/WorkerBroadcastChannel.ts index 0ca44ada..00f648f3 100644 --- a/src/types/WorkerBroadcastChannel.ts +++ b/src/types/WorkerBroadcastChannel.ts @@ -34,7 +34,7 @@ export type BroadcastChannelRequestPayload = | HashIdBroadcastChannelRequestPayload | HashIdsBroadcastChannelRequestPayload; -export interface BroadcastChannelResponsePayload extends ResponsePayload { +export interface BroadcastChannelResponsePayload extends Omit { hashId: string; }