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