refactor(ui): revert wrongly introduced code to handle multiples UI
[e-mobility-charging-stations-simulator.git] / ui / web / src / types / ConfigurationType.ts
CommitLineData
217db058
JB
1import type { AuthenticationType, Protocol, ProtocolVersion } from './UIProtocol'
2
b7169a17 3export type ConfigurationData = {
c25a4046 4 uiServer: UIServerConfigurationSection
66a7748d 5}
32de5a57 6
f292861c 7export type UIServerConfigurationSection = {
66a7748d
JB
8 host: string
9 port: number
217db058
JB
10 secure?: boolean
11 protocol: Protocol
12 version: ProtocolVersion
13 authentication?: {
14 enabled: boolean
15 type: AuthenticationType
16 username?: string
17 password?: string
18 }
66a7748d 19}