fix: properly deprecate payloadSchemaValidation template configuration
[e-mobility-charging-stations-simulator.git] / src / types / UIProtocol.ts
index e7635b2e59167f3a3b48b51e9c2eed944700ff1b..f48119433d3f7508c783658cdbfe1db63987baff 100644 (file)
@@ -1,4 +1,5 @@
-import type { BroadcastChannelResponsePayload, JsonObject } from './internal';
+import type { JsonObject } from './JsonType';
+import type { BroadcastChannelResponsePayload } from './WorkerBroadcastChannel';
 
 export enum Protocol {
   UI = 'ui',
@@ -23,7 +24,7 @@ export type ProtocolResponse = [string, ResponsePayload];
 export type ProtocolRequestHandler = (
   uuid?: string,
   procedureName?: ProcedureName,
-  payload?: RequestPayload
+  payload?: RequestPayload,
 ) => undefined | Promise<undefined> | ResponsePayload | Promise<ResponsePayload>;
 
 export enum ProcedureName {