@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.
21 lines (20 loc) • 604 B
TypeScript
import { HttpMethod } from '.';
import { Namespace, OCPP1_6_Namespace, OCPP2_0_1_Namespace } from '../..';
/**
* Interface for usage in {@link AsDataEndpoint} decorator.
*/
export interface IDataEndpointDefinition {
method: (...args: any[]) => any;
methodName: string;
namespace: OCPP2_0_1_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[];
}