X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Ftypes%2FConfigurationType.ts;h=18ea267a5e16052c1e58ff4afd9ee5d5c826ba46;hb=258666f9962451dda19d0db528bbf07e41838ff2;hp=cfdbf34a319dcc4b55a87067985dee66af44d561;hpb=b7169a17b4108623c950d5ef4a46bcc04b5c2c12;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/types/ConfigurationType.ts b/ui/web/src/types/ConfigurationType.ts index cfdbf34a..18ea267a 100644 --- a/ui/web/src/types/ConfigurationType.ts +++ b/ui/web/src/types/ConfigurationType.ts @@ -1,11 +1,20 @@ +import type { AuthenticationType, Protocol, ProtocolVersion } from './UIProtocol' + export type ConfigurationData = { - uiServer: UIServerConfigurationSection + uiServer: UIServerConfigurationSection | UIServerConfigurationSection[] } -type UIServerConfigurationSection = { +export type UIServerConfigurationSection = { + name?: string host: string port: number - protocol: string - username?: string - password?: string + secure?: boolean + protocol: Protocol + version: ProtocolVersion + authentication?: { + enabled: boolean + type: AuthenticationType + username?: string + password?: string + } }