X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FTransaction.ts;h=75034efc92a6550afedc481b0ef3901116134b6c;hb=5a15db9001b93665ab7581d2974c5f01a9e0fbe3;hp=2a8a0ad46648978d3fe8b0fbab43f3cf008b812d;hpb=edd134392e237a3242dc2093341df70244c51472;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/Transaction.ts b/src/types/ocpp/Transaction.ts index 2a8a0ad4..75034efc 100644 --- a/src/types/ocpp/Transaction.ts +++ b/src/types/ocpp/Transaction.ts @@ -6,27 +6,29 @@ import { type OCPP16StartTransactionResponse, OCPP16StopTransactionReason, type OCPP16StopTransactionRequest, - type OCPP16StopTransactionResponse, -} from './1.6/Transaction'; + type OCPP16StopTransactionResponse +} from './1.6/Transaction.js' export const AuthorizationStatus = { - ...OCPP16AuthorizationStatus, -} as const; -export type AuthorizationStatus = OCPP16AuthorizationStatus; + ...OCPP16AuthorizationStatus +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type AuthorizationStatus = OCPP16AuthorizationStatus -export type AuthorizeRequest = OCPP16AuthorizeRequest; +export type AuthorizeRequest = OCPP16AuthorizeRequest -export type AuthorizeResponse = OCPP16AuthorizeResponse; +export type AuthorizeResponse = OCPP16AuthorizeResponse export const StopTransactionReason = { - ...OCPP16StopTransactionReason, -} as const; -export type StopTransactionReason = OCPP16StopTransactionReason; + ...OCPP16StopTransactionReason +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type StopTransactionReason = OCPP16StopTransactionReason -export type StartTransactionRequest = OCPP16StartTransactionRequest; +export type StartTransactionRequest = OCPP16StartTransactionRequest -export type StartTransactionResponse = OCPP16StartTransactionResponse; +export type StartTransactionResponse = OCPP16StartTransactionResponse -export type StopTransactionRequest = OCPP16StopTransactionRequest; +export type StopTransactionRequest = OCPP16StopTransactionRequest -export type StopTransactionResponse = OCPP16StopTransactionResponse; +export type StopTransactionResponse = OCPP16StopTransactionResponse