Align some types definition in UI
[e-mobility-charging-stations-simulator.git] / src / ui / web / src / types / ConfigurationType.ts
index ee7baae072e3c811a6ee87041a237b5121bfddef..9b74808278eca7e1ed1cb37cba3d967b50115c52 100644 (file)
@@ -1,9 +1,11 @@
-export interface BaseConfig {
-  emobility: EMobilityConfig;
-}
+export type BaseConfig = {
+  uiServer: UIServerConfig;
+};
 
-export interface EMobilityConfig {
+type UIServerConfig = {
   host: string;
   port: number;
-  protocol: 'ui0.0.1';
-}
+  protocol: string;
+  username?: string;
+  password?: string;
+};