Apply prettier formating
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Configuration.ts
CommitLineData
e7aeea18
JB
1import {
2 OCPP16StandardParametersKey,
3 OCPP16SupportedFeatureProfiles,
4 OCPP16VendorDefaultParametersKey,
5} from './1.6/Configuration';
c0560973 6
c3ee95af
JB
7import { JsonType } from '../JsonType';
8
c0560973
JB
9export type StandardParametersKey = OCPP16StandardParametersKey;
10
11export const StandardParametersKey = {
e7aeea18 12 ...OCPP16StandardParametersKey,
c0560973 13};
f7a1d1a9 14
12fc74d6
JB
15export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey;
16
17export const VendorDefaultParametersKey = {
e7aeea18 18 ...OCPP16VendorDefaultParametersKey,
12fc74d6
JB
19};
20
7e1dc878
JB
21export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles;
22
23export const SupportedFeatureProfiles = {
e7aeea18 24 ...OCPP16SupportedFeatureProfiles,
7e1dc878
JB
25};
26
27export enum ConnectorPhaseRotation {
28 NotApplicable = 'NotApplicable',
29 Unknown = 'Unknown',
30 RST = 'RST',
31 RTS = 'RTS',
32 SRT = 'SRT',
33 STR = 'STR',
34 TRS = 'TRS',
e7aeea18 35 TSR = 'TSR',
7e1dc878
JB
36}
37
c3ee95af 38export interface OCPPConfigurationKey extends JsonType {
f7a1d1a9
JB
39 key: string | StandardParametersKey;
40 readonly: boolean;
41 value?: string;
42}