X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FWorkerBroadcastChannel.ts;h=3656fe3a9a1e8618375271002850ccd407a6e5fc;hb=721646e902fa12d165d4a1da06fb963fb30dc9f2;hp=e7017356162205f91f4152a1862923cd7f06a4a0;hpb=5e8e29f4f47246cdc49449aa6ca472c64393f7e8;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/WorkerBroadcastChannel.ts b/src/types/WorkerBroadcastChannel.ts index e7017356..3656fe3a 100644 --- a/src/types/WorkerBroadcastChannel.ts +++ b/src/types/WorkerBroadcastChannel.ts @@ -1,4 +1,4 @@ -import type { RequestPayload, ResponsePayload } from './UIProtocol'; +import type { RequestPayload, ResponsePayload } from './internal'; export type BroadcastChannelRequest = [ string, @@ -17,14 +17,18 @@ export enum BroadcastChannelProcedureName { START_TRANSACTION = 'startTransaction', STOP_TRANSACTION = 'stopTransaction', AUTHORIZE = 'authorize', + BOOT_NOTIFICATION = 'bootNotification', STATUS_NOTIFICATION = 'statusNotification', HEARTBEAT = 'heartbeat', + METER_VALUES = 'meterValues', + DATA_TRANSFER = 'dataTransfer', + DIAGNOSTICS_STATUS_NOTIFICATION = 'diagnosticsStatusNotification', + FIRMWARE_STATUS_NOTIFICATION = 'firmwareStatusNotification', } export interface BroadcastChannelRequestPayload extends RequestPayload { connectorId?: number; transactionId?: number; - idTag?: string; } export interface BroadcastChannelResponsePayload