refactor: refine type definitions
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationOcppConfiguration.ts
index 2ea2c53e5e12677132557991a0cd4d0f890c91e1..fdf03a40574765aa9fd7247f13edb18305c23554 100644 (file)
@@ -1,10 +1,11 @@
+import type { JsonObject } from './JsonType.js'
 import type { OCPPConfigurationKey } from './ocpp/Configuration.js'
 
-export type ConfigurationKey = OCPPConfigurationKey & {
+export interface ConfigurationKey extends OCPPConfigurationKey {
   visible?: boolean
   reboot?: boolean
 }
 
-export interface ChargingStationOcppConfiguration {
+export interface ChargingStationOcppConfiguration extends JsonObject {
   configurationKey?: ConfigurationKey[]
 }