X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FWorkerBroadcastChannel.ts;h=ca3d42704f4bfea8b3049b82b6a11dfd2ce6abe3;hb=39257250487f6d6704ed61bf5862ea9e1f906fbc;hp=03be12fde78330fa7a88bb6e04b964466d910f6e;hpb=18057587414006953ed112f315807d64ddb11bfd;p=e-mobility-charging-stations-simulator.git 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; }