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.

22 lines (21 loc) 696 B
import { HttpMethod } from '../api/HttpMethods.js'; import { Namespace } from '../../ocpp/persistence/namespace.js'; import { OCPP1_6_Namespace, OCPP2_Namespace } from '../../ocpp/persistence/index.js'; /** * Interface for usage in {@link AsDataEndpoint} decorator. */ export interface IDataEndpointDefinition { method: (...args: any[]) => any; methodName: string; namespace: OCPP2_Namespace | OCPP1_6_Namespace | Namespace; httpMethod: HttpMethod; querySchema?: object; bodySchema?: object; paramSchema?: object; headerSchema?: object; responseSchema?: object; description?: string; tags?: string[]; summary?: string; security?: object[]; }