X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Findex.ts;h=0de12683d952000179e7dedc58b1a944a8411fe5;hb=55ae7b758f478a2beb4557bbc96363fb913dcc73;hp=4d8b534efe5bb0c0a49c1a11367c539667343337;hpb=a6ef1ece74c0d08e86a905571f4f6045c28131cb;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/index.ts b/src/types/index.ts index 4d8b534e..0de12683 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -9,15 +9,15 @@ export { ProtocolVersion, type RequestPayload, type ResponsePayload, - ResponseStatus, -} from './UIProtocol.js'; + ResponseStatus +} from './UIProtocol.js' export { type AutomaticTransactionGeneratorConfiguration, type ChargingStationAutomaticTransactionGeneratorConfiguration, IdTagDistribution, - type Status, -} from './AutomaticTransactionGenerator.js'; -export { type GenericResponse, GenericStatus, RegistrationStatusEnumType } from './ocpp/Common.js'; + type Status +} from './AutomaticTransactionGenerator.js' +export { type GenericResponse, GenericStatus, RegistrationStatusEnumType } from './ocpp/Common.js' export { AvailabilityType, type BootNotificationRequest, @@ -38,8 +38,8 @@ export { type RequestParams, type ResponseCallback, type ResponseType, - type StatusNotificationRequest, -} from './ocpp/Requests.js'; + type StatusNotificationRequest +} from './ocpp/Requests.js' export { AvailabilityStatus, type BootNotificationResponse, @@ -59,8 +59,8 @@ export { type ResponseHandler, type StatusNotificationResponse, TriggerMessageStatus, - UnlockStatus, -} from './ocpp/Responses.js'; + UnlockStatus +} from './ocpp/Responses.js' export { AuthorizationStatus, type AuthorizeRequest, @@ -69,17 +69,17 @@ export { type StartTransactionResponse, StopTransactionReason, type StopTransactionRequest, - type StopTransactionResponse, -} from './ocpp/Transaction.js'; -export { BootReasonEnumType, OCPP20ConnectorStatusEnumType } from './ocpp/2.0/Common.js'; + type StopTransactionResponse +} from './ocpp/Transaction.js' +export { BootReasonEnumType, OCPP20ConnectorStatusEnumType } from './ocpp/2.0/Common.js' export { BroadcastChannelProcedureName, type BroadcastChannelRequest, type BroadcastChannelRequestPayload, type BroadcastChannelResponse, type BroadcastChannelResponsePayload, - type MessageEvent, -} from './WorkerBroadcastChannel.js'; + type MessageEvent +} from './WorkerBroadcastChannel.js' export { type ChangeConfigurationRequest, type GetConfigurationRequest, @@ -108,8 +108,8 @@ export { type RemoteStopTransactionRequest, type ResetRequest, type SetChargingProfileRequest, - type UnlockConnectorRequest, -} from './ocpp/1.6/Requests.js'; + type UnlockConnectorRequest +} from './ocpp/1.6/Requests.js' export { type ChangeConfigurationResponse, type GetConfigurationResponse, @@ -126,35 +126,36 @@ export { type OCPP16ReserveNowResponse, type OCPP16StatusNotificationResponse, type OCPP16TriggerMessageResponse, + OCPP16TriggerMessageStatus, type OCPP16UpdateFirmwareResponse, type SetChargingProfileResponse, - type UnlockConnectorResponse, -} from './ocpp/1.6/Responses.js'; -export { ChargePointErrorCode } from './ocpp/ChargePointErrorCode.js'; + type UnlockConnectorResponse +} from './ocpp/1.6/Responses.js' +export { ChargePointErrorCode } from './ocpp/ChargePointErrorCode.js' export { type ChargingProfile, ChargingProfileKindType, ChargingRateUnitType, type ChargingSchedulePeriod, - RecurrencyKindType, -} from './ocpp/ChargingProfile.js'; + RecurrencyKindType +} from './ocpp/ChargingProfile.js' export type { ChargingStationConfiguration, - EvseStatusConfiguration, -} from './ChargingStationConfiguration.js'; + EvseStatusConfiguration +} from './ChargingStationConfiguration.js' export { type ChargingStationData, type ChargingStationWorkerData, type ChargingStationWorkerMessage, type ChargingStationWorkerMessageData, ChargingStationWorkerMessageEvents, - type EvseStatusWorkerType, -} from './ChargingStationWorker.js'; -export type { ChargingStationInfo } from './ChargingStationInfo.js'; + type EvseStatusWorkerType +} from './ChargingStationWorker.js' +export type { ChargingStationInfo } from './ChargingStationInfo.js' export type { ChargingStationOcppConfiguration, - ConfigurationKey, -} from './ChargingStationOcppConfiguration.js'; + ConfigurationKey +} from './ChargingStationOcppConfiguration.js' export { AmpereUnits, type ChargingStationTemplate, @@ -162,8 +163,8 @@ export { type FirmwareUpgrade, PowerUnits, Voltage, - type WsOptions, -} from './ChargingStationTemplate.js'; + type WsOptions +} from './ChargingStationTemplate.js' export { ApplicationProtocolVersion, type ConfigurationData, @@ -174,31 +175,31 @@ export { type StorageConfiguration, SupervisionUrlDistribution, type UIServerConfiguration, - type WorkerConfiguration, -} from './ConfigurationData.js'; + type WorkerConfiguration +} from './ConfigurationData.js' export { type ConfigurationKeyType, ConnectorPhaseRotation, type OCPPConfigurationKey, StandardParametersKey, SupportedFeatureProfiles, - VendorParametersKey, -} from './ocpp/Configuration.js'; -export type { ConnectorStatus } from './ConnectorStatus.js'; -export { ConnectorStatusEnum, type ConnectorStatusTransition } from './ocpp/ConnectorStatusEnum.js'; -export { DBName, type MikroOrmDbType, StorageType } from './Storage.js'; -export type { EmptyObject } from './EmptyObject.js'; -export { ErrorType } from './ocpp/ErrorType.js'; -export type { EvseTemplate, EvseStatus } from './Evse.js'; -export { FileType } from './FileType.js'; -export type { HandleErrorParams } from './Error.js'; -export type { JsonObject, JsonType } from './JsonType.js'; + VendorParametersKey +} from './ocpp/Configuration.js' +export type { ConnectorStatus } from './ConnectorStatus.js' +export { ConnectorStatusEnum, type ConnectorStatusTransition } from './ocpp/ConnectorStatusEnum.js' +export { DBName, StorageType } from './Storage.js' +export type { EmptyObject } from './EmptyObject.js' +export { ErrorType } from './ocpp/ErrorType.js' +export type { EvseTemplate, EvseStatus } from './Evse.js' +export { FileType } from './FileType.js' +export type { HandleErrorParams } from './Error.js' +export type { JsonObject, JsonType } from './JsonType.js' export type { MeasurandPerPhaseSampledValueTemplates, - SampledValueTemplate, -} from './MeasurandPerPhaseSampledValueTemplates.js'; -export type { MeasurandValues } from './MeasurandValues.js'; -export { MessageType } from './ocpp/MessageType.js'; + SampledValueTemplate +} from './MeasurandPerPhaseSampledValueTemplates.js' +export type { MeasurandValues } from './MeasurandValues.js' +export { MessageType } from './ocpp/MessageType.js' export { type MeterValue, MeterValueContext, @@ -206,8 +207,8 @@ export { MeterValueMeasurand, MeterValuePhase, MeterValueUnit, - type SampledValue, -} from './ocpp/MeterValues.js'; + type SampledValue +} from './ocpp/MeterValues.js' export { type OCPP16MeterValue, OCPP16MeterValueContext, @@ -217,8 +218,8 @@ export { OCPP16MeterValueUnit, type OCPP16MeterValuesRequest, type OCPP16MeterValuesResponse, - type OCPP16SampledValue, -} from './ocpp/1.6/MeterValues.js'; + type OCPP16SampledValue +} from './ocpp/1.6/MeterValues.js' export { OCPP16AuthorizationStatus, type OCPP16AuthorizeRequest, @@ -227,49 +228,48 @@ export { type OCPP16StartTransactionResponse, OCPP16StopTransactionReason, type OCPP16StopTransactionRequest, - type OCPP16StopTransactionResponse, -} from './ocpp/1.6/Transaction.js'; -export { OCPP16ChargePointErrorCode } from './ocpp/1.6/ChargePointErrorCode.js'; -export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus.js'; + type OCPP16StopTransactionResponse +} from './ocpp/1.6/Transaction.js' +export { OCPP16ChargePointErrorCode } from './ocpp/1.6/ChargePointErrorCode.js' +export { OCPP16ChargePointStatus } from './ocpp/1.6/ChargePointStatus.js' export { type OCPP16ChargingProfile, OCPP16ChargingProfilePurposeType, OCPP16ChargingRateUnitType, type OCPP16ChargingSchedule, - type OCPP16ChargingSchedulePeriod, -} from './ocpp/1.6/ChargingProfile.js'; + type OCPP16ChargingSchedulePeriod +} from './ocpp/1.6/ChargingProfile.js' export { OCPP16StandardParametersKey, - OCPP16SupportedFeatureProfiles, -} from './ocpp/1.6/Configuration.js'; -export { OCPP16DiagnosticsStatus } from './ocpp/1.6/DiagnosticsStatus.js'; + OCPP16SupportedFeatureProfiles +} from './ocpp/1.6/Configuration.js' +export { OCPP16DiagnosticsStatus } from './ocpp/1.6/DiagnosticsStatus.js' export { type OCPP20BootNotificationRequest, type OCPP20ClearCacheRequest, type OCPP20HeartbeatRequest, OCPP20IncomingRequestCommand, OCPP20RequestCommand, - type OCPP20StatusNotificationRequest, -} from './ocpp/2.0/Requests.js'; + type OCPP20StatusNotificationRequest +} from './ocpp/2.0/Requests.js' export type { OCPP20BootNotificationResponse, OCPP20ClearCacheResponse, OCPP20HeartbeatResponse, - OCPP20StatusNotificationResponse, -} from './ocpp/2.0/Responses.js'; -export { OCPP20OptionalVariableName } from './ocpp/2.0/Variables.js'; -export { OCPPVersion } from './ocpp/OCPPVersion.js'; -export { PerformanceData } from './orm/entities/PerformanceData.js'; -export { PerformanceRecord } from './orm/entities/PerformanceRecord.js'; -export type { Statistics, TimestampedData } from './Statistics.js'; + OCPP20StatusNotificationResponse +} from './ocpp/2.0/Responses.js' +export { OCPP20OptionalVariableName } from './ocpp/2.0/Variables.js' +export { OCPPVersion } from './ocpp/OCPPVersion.js' +export { PerformanceRecord } from './orm/entities/PerformanceRecord.js' +export type { Statistics, TimestampedData } from './Statistics.js' export { type WSError, WebSocketCloseEventStatusCode, - WebSocketCloseEventStatusString, -} from './WebSocket.js'; + WebSocketCloseEventStatusString +} from './WebSocket.js' export { type Reservation, type ReservationKey, - ReservationTerminationReason, -} from './ocpp/Reservation.js'; -export { ChargingStationEvents } from './ChargingStationEvents.js'; + ReservationTerminationReason +} from './ocpp/Reservation.js' +export { ChargingStationEvents } from './ChargingStationEvents.js'