Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
type JsonPrimitive = string | number | boolean | Date | null;
export type JsonObject = {
- [key in string]: JsonType;
+ [key in string]?: JsonType;
};
export type JsonType = JsonPrimitive | JsonType[] | JsonObject;
interval: number;
}
-export interface CommandsSupport {
+type CommandsSupport = {
incomingCommands: Record<IncomingRequestCommand, boolean>;
outgoingCommands?: Record<RequestCommand, boolean>;
-}
+};
export enum OCPPVersion {
VERSION_16 = '1.6',