@citrineos/base
Version:
The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.
20 lines (19 loc) • 478 B
TypeScript
/**
* Cache namespace, used for grouping cache entries
*/
export declare enum CacheNamespace {
CentralSystem = "csms",
ChargingStation = "cs",
Transactions = "tx",
Connections = "conn",
Protocol = "prtcl",
Other = "other"
}
/**
* Used in the Connections Namespace as the value, to represent a websocket connection
* Is stringified from JSON when stored in the cache
*/
export interface IWebsocketConnection {
id: string;
protocol: string;
}