From 39257250487f6d6704ed61bf5862ea9e1f906fbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 2 Sep 2022 00:38:57 +0200 Subject: [PATCH] Adapt BroadcastChannelRequestPayload type to addressing all CS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/types/WorkerBroadcastChannel.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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; } -- 2.34.1