OCPP16SupportedFeatureProfiles,
OCPP16VendorDefaultParametersKey,
} from './1.6/Configuration';
-
-import { JsonObject } from '../JsonType';
-
-export type StandardParametersKey = OCPP16StandardParametersKey;
+import type { JsonObject } from '../JsonType';
export const StandardParametersKey = {
...OCPP16StandardParametersKey,
-};
-
-export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey;
+} as const;
+export type StandardParametersKey = OCPP16StandardParametersKey;
export const VendorDefaultParametersKey = {
...OCPP16VendorDefaultParametersKey,
-};
-
-export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles;
+} as const;
+export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey;
export const SupportedFeatureProfiles = {
...OCPP16SupportedFeatureProfiles,
-};
+} as const;
+export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles;
export enum ConnectorPhaseRotation {
NotApplicable = 'NotApplicable',
TSR = 'TSR',
}
-export interface OCPPConfigurationKey extends JsonObject {
+export type OCPPConfigurationKey = {
key: string | StandardParametersKey;
readonly: boolean;
value?: string;
-}
+} & JsonObject;