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
refactor: cleanup default params in error handlers
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ocpp
/
Configuration.ts
diff --git
a/src/types/ocpp/Configuration.ts
b/src/types/ocpp/Configuration.ts
index ac8a094508bfa15fe57eac1a2a1bdda844c1f145..f1cd34ba3f8ec0cd79b70de1d8378fb409d7e511 100644
(file)
--- a/
src/types/ocpp/Configuration.ts
+++ b/
src/types/ocpp/Configuration.ts
@@
-1,3
+1,4
@@
+import type { JsonObject } from '../JsonType.js'
import {
OCPP16StandardParametersKey,
OCPP16SupportedFeatureProfiles,
import {
OCPP16StandardParametersKey,
OCPP16SupportedFeatureProfiles,
@@
-8,7
+9,6
@@
import {
OCPP20RequiredVariableName,
OCPP20VendorVariableName
} from './2.0/Variables.js'
OCPP20RequiredVariableName,
OCPP20VendorVariableName
} from './2.0/Variables.js'
-import type { JsonObject } from '../JsonType.js'
export const StandardParametersKey = {
...OCPP16StandardParametersKey,
export const StandardParametersKey = {
...OCPP16StandardParametersKey,
@@
-44,8
+44,8
@@
export enum ConnectorPhaseRotation {
export type ConfigurationKeyType = string | StandardParametersKey | VendorParametersKey
export type ConfigurationKeyType = string | StandardParametersKey | VendorParametersKey
-export
type OCPPConfigurationKey =
{
+export
interface OCPPConfigurationKey extends JsonObject
{
key: ConfigurationKeyType
readonly: boolean
value?: string
key: ConfigurationKeyType
readonly: boolean
value?: string
-}
& JsonObject
+}