X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F2.0%2FVariables.ts;h=0b089567c6719680ea690d1b411eddfbf9318bf7;hb=e8044a69a745aab08dfeea0bd9ec9dd7fe84cdd7;hp=9de1dcc8a81bf1494061fedc4970863373229707;hpb=28f1c5749ad4ee138c34c345a7bd812b40ccbcfa;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/2.0/Variables.ts b/src/types/ocpp/2.0/Variables.ts index 9de1dcc8..0b089567 100644 --- a/src/types/ocpp/2.0/Variables.ts +++ b/src/types/ocpp/2.0/Variables.ts @@ -74,8 +74,14 @@ type ComponentType = { evse?: EVSEType; } & JsonObject; +type VariableName = + | string + | OCPP20RequiredVariableName + | OCPP20OptionalVariableName + | OCPP20VendorVariableName; + type VariableType = { - name: string | OCPP20RequiredVariableName | OCPP20OptionalVariableName | OCPP20VendorVariableName; + name: VariableName; instance?: string; } & JsonObject;