import type { RequestPayload, ResponsePayload } from './UIProtocol.js'
export type BroadcastChannelRequest = [
import type { RequestPayload, ResponsePayload } from './UIProtocol.js'
export type BroadcastChannelRequest = [
BroadcastChannelProcedureName,
BroadcastChannelRequestPayload
]
BroadcastChannelProcedureName,
BroadcastChannelRequestPayload
]
-export type BroadcastChannelResponse = [string, BroadcastChannelResponsePayload]
+export type BroadcastChannelResponse = [
+ `${string}-${string}-${string}-${string}-${string}`,
+ BroadcastChannelResponsePayload
+]
export enum BroadcastChannelProcedureName {
START_CHARGING_STATION = 'startChargingStation',
STOP_CHARGING_STATION = 'stopChargingStation',
export enum BroadcastChannelProcedureName {
START_CHARGING_STATION = 'startChargingStation',
STOP_CHARGING_STATION = 'stopChargingStation',
OPEN_CONNECTION = 'openConnection',
CLOSE_CONNECTION = 'closeConnection',
START_AUTOMATIC_TRANSACTION_GENERATOR = 'startAutomaticTransactionGenerator',
OPEN_CONNECTION = 'openConnection',
CLOSE_CONNECTION = 'closeConnection',
START_AUTOMATIC_TRANSACTION_GENERATOR = 'startAutomaticTransactionGenerator',