X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Fui-server%2FAbstractUIServer.ts;h=91c69a76765b835447988ba46e106ed87829caf2;hb=a38bc3151612c4fcbd108be125a2e75ef6682810;hp=b8e7c46cdf879b1e5d28d65c653085e90c40cf89;hpb=852a4c5f07886502e278d44fda06efdfa8c711d8;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ui-server/AbstractUIServer.ts b/src/charging-station/ui-server/AbstractUIServer.ts index b8e7c46c..91c69a76 100644 --- a/src/charging-station/ui-server/AbstractUIServer.ts +++ b/src/charging-station/ui-server/AbstractUIServer.ts @@ -1,9 +1,9 @@ -import { Server as HttpServer } from 'http'; +import type { Server as HttpServer } from 'http'; -import WebSocket from 'ws'; +import type WebSocket from 'ws'; -import { ChargingStationData } from '../../types/ChargingStationWorker'; -import { +import type { ChargingStationData } from '../../types/ChargingStationWorker'; +import type { ProcedureName, ProtocolRequest, ProtocolResponse, @@ -39,5 +39,5 @@ export abstract class AbstractUIServer { public abstract stop(): void; public abstract sendRequest(request: string): void; public abstract sendResponse(response: string): void; - public abstract logPrefix(modName?: string, methodName?: string): string; + public abstract logPrefix(modName?: string, methodName?: string, prefixSuffix?: string): string; }