16811: Use public favorites project.
[arvados-workbench2.git] / src / store / progress-indicator / progress-indicator-actions.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { unionize, ofType, UnionOf } from "~/common/unionize";
6
7 export const progressIndicatorActions = unionize({
8     START_WORKING: ofType<string>(),
9     STOP_WORKING: ofType<string>(),
10     PERSIST_STOP_WORKING: ofType<string>(),
11     TOGGLE_WORKING: ofType<{ id: string, working: boolean }>()
12 });
13
14 export type ProgressIndicatorAction = UnionOf<typeof progressIndicatorActions>;