repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(ui): prefer arrow functions
[e-mobility-charging-stations-simulator.git]
/
ui
/
web
/
src
/
types
/
ConfigurationType.ts
diff --git
a/ui/web/src/types/ConfigurationType.ts
b/ui/web/src/types/ConfigurationType.ts
index 3753d58475ee9d165be6640a5fbc329fbe20a632..93cfe86ef56fde162a89a78c065b2f5d00e44c2c 100644
(file)
--- a/
ui/web/src/types/ConfigurationType.ts
+++ b/
ui/web/src/types/ConfigurationType.ts
@@
-1,11
+1,19
@@
-export type BaseConfig = {
- uiServer: UIServerConfig
+import type { AuthenticationType, Protocol, ProtocolVersion } from './UIProtocol'
+
+export type ConfigurationData = {
+ uiServer: UIServerConfigurationSection
}
}
-type UIServerConfig = {
+type UIServerConfig
urationSection
= {
host: string
port: number
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
+ }
}
}