import { unionize, ofType, UnionOf } from "~/common/unionize";
export const progressIndicatorActions = unionize({
- START: ofType<string>(),
- STOP: ofType<string>(),
- TOGGLE: ofType<{ id: string, working: boolean }>()
+ 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>;