51bd21388b82b6c4260c5d1e2931f8611f45bac2
[e-mobility-charging-stations-simulator.git] / ui / web / src / types / ConfigurationType.ts
1 import type { AuthenticationType, Protocol, ProtocolVersion } from './UIProtocol'
2
3 export type ConfigurationData = {
4 uiServer: UIServerConfigurationSection | UIServerConfigurationSection[]
5 }
6
7 export type UIServerConfigurationSection = {
8 host: string
9 port: number
10 secure?: boolean
11 protocol: Protocol
12 version: ProtocolVersion
13 authentication?: {
14 enabled: boolean
15 type: AuthenticationType
16 username?: string
17 password?: string
18 }
19 }