refactor(simulator): factor out common helpers
[e-mobility-charging-stations-simulator.git] / src / charging-station / broadcast-channel / UIServiceWorkerBroadcastChannel.ts
similarity index 95%
rename from src/charging-station/UIServiceWorkerBroadcastChannel.ts
rename to src/charging-station/broadcast-channel/UIServiceWorkerBroadcastChannel.ts
index 075a92c46249cc90a4426564c8cd0d0de64b278a..25d62962fbed2dcad29ec0fe6e0064fb1b0e0cdd 100644 (file)
@@ -1,4 +1,3 @@
-import type { AbstractUIService } from './ui-server/ui-services/AbstractUIService';
 import { WorkerBroadcastChannel } from './WorkerBroadcastChannel';
 import {
   type BroadcastChannelResponse,
@@ -6,8 +5,9 @@ import {
   type MessageEvent,
   type ResponsePayload,
   ResponseStatus,
-} from '../types';
-import { Utils, logger } from '../utils';
+} from '../../types';
+import { Utils, logger } from '../../utils';
+import type { AbstractUIService } from '../ui-server/ui-services/AbstractUIService';
 
 const moduleName = 'UIServiceWorkerBroadcastChannel';