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_WORKING: ofType<string>(),
9 STOP_WORKING: ofType<string>(),
10 PERSIST_STOP_WORKING: ofType<string>(),
11 TOGGLE_WORKING: ofType<{ id: string, working: boolean }>()
14 export type ProgressIndicatorAction = UnionOf<typeof progressIndicatorActions>;