From 87e2a3f68b7868006b5338a5524b3320b3bf9e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= Date: Tue, 29 Oct 2024 16:45:39 +0100 Subject: [PATCH] Add missing bulk.js... --- cataloging/src/utils/bulk.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 cataloging/src/utils/bulk.js diff --git a/cataloging/src/utils/bulk.js b/cataloging/src/utils/bulk.js new file mode 100644 index 000000000..24443e0a5 --- /dev/null +++ b/cataloging/src/utils/bulk.js @@ -0,0 +1,14 @@ +export const STATUS_KEY = 'bulk:status'; +export const MATCH_FORM_KEY = 'bulk:matchForm'; +export const SHOULD_UPDATE_TIMESTAMP_KEY = 'bulk:shouldUpdateModifiedTimestamp'; +export const CHANGE_SPEC_KEY = 'bulk:changeSpec'; +export const TARGET_FORM_KEY = 'bulk:targetForm'; +export const JOB_TYPE = 'bulk:Job'; + +export class Status { + static Draft = 'bulk:Draft'; + static Ready = 'bulk:Ready'; + static Running = 'bulk:Running'; + static Failed = 'bulk:Failed'; + static Completed = 'bulk:Completed'; +}