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