summaryrefslogtreecommitdiffstats
path: root/webapp/utils/constants.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/utils/constants.jsx')
-rw-r--r--webapp/utils/constants.jsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 31211952a..2b6b17503 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -296,6 +296,20 @@ export const ErrorPageTypes = {
LOCAL_STORAGE: 'local_storage'
};
+export const JobTypes = {
+ DATA_RETENTION: 'data_retention',
+ ELASTICSEARCH_POST_INDEXING: 'elasticsearch_post_indexing'
+};
+
+export const JobStatuses = {
+ PENDING: 'pending',
+ IN_PROGRESS: 'in_progress',
+ SUCCESS: 'success',
+ ERROR: 'error',
+ CANCEL_REQUESTED: 'cancel_requested',
+ CANCELED: 'canceled'
+};
+
export const ErrorBarTypes = {
LICENSE_EXPIRING: 'error_bar.license_expiring',
LICENSE_EXPIRED: 'error_bar.license_expired',