feat!: handle Set at JSON serialization to string
[e-mobility-charging-stations-simulator.git] / ui / web / src / types / ConfigurationType.ts
index 93cfe86ef56fde162a89a78c065b2f5d00e44c2c..1c8de85bc20c623f1656104b01bebf1397f22407 100644 (file)
@@ -1,10 +1,11 @@
 import type { AuthenticationType, Protocol, ProtocolVersion } from './UIProtocol'
 
-export type ConfigurationData = {
-  uiServer: UIServerConfigurationSection
+export interface ConfigurationData {
+  uiServer: UIServerConfigurationSection | UIServerConfigurationSection[]
 }
 
-type UIServerConfigurationSection = {
+export interface UIServerConfigurationSection {
+  name?: string
   host: string
   port: number
   secure?: boolean