X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=ui%2Fweb%2Fsrc%2Ftypes%2FConfigurationType.ts;h=1c8de85bc20c623f1656104b01bebf1397f22407;hb=276e05aec38f4e8b4a8d5ebd8cbbcb30592b414d;hp=93cfe86ef56fde162a89a78c065b2f5d00e44c2c;hpb=217db0589a326b179780002c076e9ec7fca59d8c;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/types/ConfigurationType.ts b/ui/web/src/types/ConfigurationType.ts index 93cfe86e..1c8de85b 100644 --- a/ui/web/src/types/ConfigurationType.ts +++ b/ui/web/src/types/ConfigurationType.ts @@ -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