Some additions to import UI to cover the basic subscribe and unsubscribe cases.
This commit is contained in:
parent
739b9452de
commit
16519c5353
13 changed files with 250 additions and 139 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue