UNPKG

@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) 333 B
import type { CallAction } from '../../ocpp/rpc/message.js'; import { OCPPVersion } from '../../ocpp/rpc/message.js'; /** * Interface for usage in {@link AsHandler} decorator. */ export interface IHandlerDefinition { protocol: OCPPVersion; action: CallAction; method: (...args: any[]) => any; methodName: string; }