Add progress indicator for services
[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: ofType<string>(),
9     STOP: ofType<string>(),
10     TOGGLE: ofType<{ id: string, working: boolean }>()
11 });
12
13 export type ProgressIndicatorAction = UnionOf<typeof progressIndicatorActions>;