refactor(ui): refine configuration file type and make it conditional
[e-mobility-charging-stations-simulator.git] / ui / web / src / types / UIProtocol.ts
index 07eb52125599520cf59e8e81b4675d39bca85383..1f8d1e6fe7ba432fa02516cb4da851757297a47f 100644 (file)
@@ -5,14 +5,18 @@ export enum Protocol {
 }
 
 export enum ApplicationProtocol {
-  HTTP = 'http',
-  WS = 'ws'
+  WS = 'ws',
+  WSS = 'wss'
 }
 
 export enum ProtocolVersion {
   '0.0.1' = '0.0.1'
 }
 
+export enum AuthenticationType {
+  BASIC_AUTH = 'basic-auth'
+}
+
 export type ProtocolRequest = [string, ProcedureName, RequestPayload]
 export type ProtocolResponse = [string, ResponsePayload]