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): allow to specificy a UI server configuration name
[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 cfdbf34a319dcc4b55a87067985dee66af44d561..18ea267a5e16052c1e58ff4afd9ee5d5c826ba46 100644
(file)
--- a/
ui/web/src/types/ConfigurationType.ts
+++ b/
ui/web/src/types/ConfigurationType.ts
@@
-1,11
+1,20
@@
+import type { AuthenticationType, Protocol, ProtocolVersion } from './UIProtocol'
+
export type ConfigurationData = {
export type ConfigurationData = {
- uiServer: UIServerConfigurationSection
+ uiServer: UIServerConfigurationSection
| UIServerConfigurationSection[]
}
}
-type UIServerConfigurationSection = {
+export type UIServerConfigurationSection = {
+ name?: string
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
+ }
}
}