Preparation of merge with master
This commit is contained in:
parent
6648028270
commit
cd798b5af7
26 changed files with 607 additions and 285 deletions
|
@ -10,10 +10,15 @@ const ImportType = {
|
|||
};
|
||||
|
||||
const ImportStatus = {
|
||||
NOT_READY: 0,
|
||||
SCHEDULED: 1,
|
||||
RUNNING: 2,
|
||||
FINISHED: 3
|
||||
PREP_SCHEDULED: 0,
|
||||
PREP_RUNNING: 1,
|
||||
PREP_FINISHED: 2,
|
||||
PREP_FAILED: 3,
|
||||
|
||||
RUN_SCHEDULED: 4,
|
||||
RUN_RUNNING: 5,
|
||||
RUN_FINISHED: 6,
|
||||
RUN_FAILED: 7
|
||||
};
|
||||
|
||||
const RunStatus = {
|
||||
|
|
|
@ -23,6 +23,14 @@ const SubscriptionStatus = {
|
|||
MAX: 4
|
||||
};
|
||||
|
||||
const SubscriptionSource = {
|
||||
ADMIN_FORM: -1,
|
||||
SUBSCRIPTION_FORM: -2,
|
||||
API: -3,
|
||||
NOT_IMPORTED_V1: -4,
|
||||
IMPORTED_V1: -5
|
||||
};
|
||||
|
||||
function getFieldKey(field) {
|
||||
return field.column || 'grouped_' + field.id;
|
||||
}
|
||||
|
@ -30,5 +38,6 @@ function getFieldKey(field) {
|
|||
module.exports = {
|
||||
UnsubscriptionMode,
|
||||
SubscriptionStatus,
|
||||
SubscriptionSource,
|
||||
getFieldKey
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue