refactor: pull up variable to constants file

This commit is contained in:
Sérgio Salgado 2021-10-11 01:58:00 +01:00
parent ed7c515993
commit d759704db3
2 changed files with 9 additions and 4 deletions

View file

@ -16,6 +16,9 @@ const USER_SESSIONS_CLEAR_INTERVAL = 1 * T.hour
const AUTOMATIC = 'automatic'
const MANUAL = 'manual'
const CASH_OUT_DISPENSE_READY = 'cash_out_dispense_ready'
const CONFIRMATION_CODE = 'sms_code'
module.exports = {
anonymousCustomer,
cassetteMaxCapacity,
@ -25,5 +28,7 @@ module.exports = {
AUTOMATIC,
MANUAL,
USER_SESSIONS_TABLE_NAME,
USER_SESSIONS_CLEAR_INTERVAL
USER_SESSIONS_CLEAR_INTERVAL,
CASH_OUT_DISPENSE_READY,
CONFIRMATION_CODE
}