-export type ConfigurationData = {
- uiServer: UIServerConfigurationSection
+import type { AuthenticationType, Protocol, ProtocolVersion } from './UIProtocol'
+
+export interface ConfigurationData {
+ uiServer: UIServerConfigurationSection | UIServerConfigurationSection[]
}
-type UIServerConfigurationSection = {
+export interface 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
+ }
}