@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.
12 lines (11 loc) • 329 B
TypeScript
import { CallAction } from '../../ocpp/rpc/message';
/**
* Interface for usage in {@link AsMessageEndpoint} decorator.
*/
export interface IMessageEndpointDefinition {
action: CallAction;
method: (...args: any[]) => any;
methodName: string;
bodySchema: object;
optionalQuerystrings?: Record<string, any>;
}