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