build: switch to NodeNext module resolution
[e-mobility-charging-stations-simulator.git] / src / charging-station / ui-server / UIWebSocketServer.ts
index e322ef8db9901889344e41f9b97d41d1616c7bb3..42e4b3c2f32210a2e26bb37edb2851691617b92e 100644 (file)
@@ -4,14 +4,14 @@ import type { Duplex } from 'node:stream';
 import { StatusCodes } from 'http-status-codes';
 import { type RawData, WebSocket, WebSocketServer } from 'ws';
 
-import { AbstractUIServer } from './AbstractUIServer';
-import { UIServerUtils } from './UIServerUtils';
+import { AbstractUIServer } from './AbstractUIServer.js';
+import { UIServerUtils } from './UIServerUtils.js';
 import {
   type ProtocolRequest,
   type ProtocolResponse,
   type UIServerConfiguration,
   WebSocketCloseEventStatusCode,
-} from '../../types';
+} from '../../types/index.js';
 import {
   Constants,
   getWebSocketCloseEventStatusString,
@@ -20,7 +20,7 @@ import {
   logPrefix,
   logger,
   validateUUID,
-} from '../../utils';
+} from '../../utils/index.js';
 
 const moduleName = 'UIWebSocketServer';