Clean up project-panel-actions code
[arvados-workbench2.git] / src / store / progress-indicator / progress-indicator-actions.ts
index 5f824e401a57b1f360800b3d898312f374229a4a..34a43d89287a7ca0e37fa2edddcdfd3eaa1fabf7 100644 (file)
@@ -5,8 +5,10 @@
 import { unionize, ofType, UnionOf } from "~/common/unionize";
 
 export const progressIndicatorActions = unionize({
-    START_SUBMIT: ofType<{ id: string }>(),
-    STOP_SUBMIT: ofType<{ id: string }>()
+    START_WORKING: ofType<string>(),
+    STOP_WORKING: ofType<string>(),
+    PERSIST_STOP_WORKING: ofType<string>(),
+    TOGGLE_WORKING: ofType<{ id: string, working: boolean }>()
 });
 
-export type ProgressIndicatorAction = UnionOf<typeof progressIndicatorActions>;
\ No newline at end of file
+export type ProgressIndicatorAction = UnionOf<typeof progressIndicatorActions>;