Some additions to import UI to cover the basic subscribe and unsubscribe cases.

This commit is contained in:
Tomas Bures 2018-08-26 15:32:03 +02:00
parent 739b9452de
commit 16519c5353
13 changed files with 250 additions and 139 deletions

View file

@ -1,6 +1,6 @@
'use strict';
const ImportType = {
const ImportSource = {
MIN: 0,
CSV_FILE: 0,
@ -9,6 +9,15 @@ const ImportType = {
MAX: 1
};
const MappingType = {
MIN: 0,
BASIC_SUBSCRIBE: 0,
BASIC_UNSUBSCRIBE: 1,
MAX: 1
};
const ImportStatus = {
PREP_SCHEDULED: 0,
PREP_RUNNING: 1,
@ -59,7 +68,8 @@ function runStatusInProgress(status) {
}
module.exports = {
ImportType,
ImportSource,
MappingType,
ImportStatus,
RunStatus,
prepInProgress,