From: Jérôme Benoit Date: Thu, 1 Sep 2022 22:38:57 +0000 (+0200) Subject: Adapt BroadcastChannelRequestPayload type to addressing all CS X-Git-Tag: v1.1.70~25 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=39257250487f6d6704ed61bf5862ea9e1f906fbc;p=e-mobility-charging-stations-simulator.git Adapt BroadcastChannelRequestPayload type to addressing all CS Signed-off-by: Jérôme Benoit --- diff --git a/src/types/WorkerBroadcastChannel.ts b/src/types/WorkerBroadcastChannel.ts index 03be12fd..ca3d4270 100644 --- a/src/types/WorkerBroadcastChannel.ts +++ b/src/types/WorkerBroadcastChannel.ts @@ -18,19 +18,12 @@ export enum BroadcastChannelProcedureName { STOP_AUTOMATIC_TRANSACTION_GENERATOR = 'stopAutomaticTransactionGenerator', } -interface BaseBroadcastChannelRequestPayload extends Omit { +export interface BroadcastChannelRequestPayload extends RequestPayload { connectorId?: number; - connectorIds?: number[]; transactionId?: number; idTag?: string; } -interface HashIdsBroadcastChannelRequestPayload extends BaseBroadcastChannelRequestPayload { - hashIds: string[]; -} - -export type BroadcastChannelRequestPayload = HashIdsBroadcastChannelRequestPayload; - export interface BroadcastChannelResponsePayload extends ResponsePayload { hashId: string; }