feat: add configuration cache
[e-mobility-charging-stations-simulator.git] / src / types / WorkerBroadcastChannel.ts
index a7a2e1fadf284527ad33d1fa57b8534fb54ffb66..abc33752cb10616fde5474a4f68c2843675a911c 100644 (file)
@@ -1,9 +1,9 @@
-import type { RequestPayload, ResponsePayload } from './internal';
+import type { RequestPayload, ResponsePayload } from './UIProtocol';
 
 export type BroadcastChannelRequest = [
   string,
   BroadcastChannelProcedureName,
-  BroadcastChannelRequestPayload
+  BroadcastChannelRequestPayload,
 ];
 export type BroadcastChannelResponse = [string, BroadcastChannelResponsePayload];
 
@@ -37,4 +37,6 @@ export interface BroadcastChannelResponsePayload
   hashId: string;
 }
 
-export type MessageEvent = { data: BroadcastChannelRequest | BroadcastChannelResponse };
+export interface MessageEvent {
+  data: BroadcastChannelRequest | BroadcastChannelResponse;
+}