1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { unionize, ofType, UnionOf } from "~/common/unionize";
7 export const progressIndicatorActions = unionize({
8 START: ofType<string>(),
9 STOP: ofType<string>(),
10 PERSIST_STOP: ofType<string>(),
11 TOGGLE: ofType<{ id: string, working: boolean }>()
14 export type ProgressIndicatorAction = UnionOf<typeof progressIndicatorActions>;