-export type BaseConfig = {
- uiServer: UIServerConfig;
-};
+import type { AuthenticationType, Protocol, ProtocolVersion } from './UIProtocol'
-type UIServerConfig = {
- host: string;
- port: number;
- protocol: string;
- username?: string;
- password?: string;
-};
+export type ConfigurationData = {
+ uiServer: UIServerConfigurationSection | UIServerConfigurationSection[]
+}
+
+export type UIServerConfigurationSection = {
+ name?: string
+ host: string
+ port: number
+ secure?: boolean
+ protocol: Protocol
+ version: ProtocolVersion
+ authentication?: {
+ enabled: boolean
+ type: AuthenticationType
+ username?: string
+ password?: string
+ }
+}