display upload errors, unknown members

This commit is contained in:
Bilal Catic
2019-05-31 05:42:50 +02:00
parent 48503de853
commit 87134e4ede
12 changed files with 246 additions and 108 deletions

View File

@@ -11,6 +11,11 @@ const csvParserErrors = {
UNKNOWN_COLUMN: 'Unknown column',
INVALID_ENTRY_EXPECTED_USER: 'Invalid entry type. Expected user entry type',
INVALID_ENTRY_EXPECTED_PASSAGE_MODE: 'Invalid entry type. Expected enable/disable passage mode',
UNKNOWN_MEMBER: 'Member is not registered in OfficeRnD system',
};
const officeRnDAPIErrors = {
FAILED_TO_FETCH_MEMBERS: 'Failed to fetch members',
};
module.exports = {
@@ -21,4 +26,5 @@ module.exports = {
USER_LOCKED_DOOR,
USER_UNLOCKED_DOOR,
csvParserErrors,
officeRnDAPIErrors,
};