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>;