// Copyright (C) The Arvados Authors. All rights reserved. // // SPDX-License-Identifier: AGPL-3.0 import { unionize, ofType, UnionOf } from "common/unionize"; export const progressIndicatorActions = unionize({ START_WORKING: ofType(), STOP_WORKING: ofType(), PERSIST_STOP_WORKING: ofType(), TOGGLE_WORKING: ofType<{ id: string, working: boolean }>() }); export type ProgressIndicatorAction = UnionOf;