First part of the UI for file import (upload of csv file to the server)
This commit is contained in:
parent
965f30cea7
commit
6648028270
31 changed files with 672 additions and 51 deletions
28
shared/imports.js
Normal file
28
shared/imports.js
Normal file
|
@ -0,0 +1,28 @@
|
|||
'use strict';
|
||||
|
||||
const ImportType = {
|
||||
MIN: 0,
|
||||
|
||||
CSV_FILE: 0,
|
||||
LIST: 1,
|
||||
|
||||
MAX: 1
|
||||
};
|
||||
|
||||
const ImportStatus = {
|
||||
NOT_READY: 0,
|
||||
SCHEDULED: 1,
|
||||
RUNNING: 2,
|
||||
FINISHED: 3
|
||||
};
|
||||
|
||||
const RunStatus = {
|
||||
RUNNING: 0,
|
||||
FINISHED: 1
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
ImportType,
|
||||
ImportStatus,
|
||||
RunStatus
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue