repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1041 from syuusei3/issue39-ocpp2
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
WorkerBroadcastChannel.ts
diff --git
a/src/types/WorkerBroadcastChannel.ts
b/src/types/WorkerBroadcastChannel.ts
index caa56e9ff9ae5e674c069bd98c828ced97495cd5..077c2f3750acce4fe2e6ece971e8aff3ba5d5d09 100644
(file)
--- a/
src/types/WorkerBroadcastChannel.ts
+++ b/
src/types/WorkerBroadcastChannel.ts
@@
-1,11
+1,14
@@
import type { RequestPayload, ResponsePayload } from './UIProtocol.js'
export type BroadcastChannelRequest = [
import type { RequestPayload, ResponsePayload } from './UIProtocol.js'
export type BroadcastChannelRequest = [
-
string
,
+
`${string}-${string}-${string}-${string}-${string}`
,
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',
export enum BroadcastChannelProcedureName {
START_CHARGING_STATION = 'startChargingStation',