1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { default as unionize, ofType, UnionOf } from "unionize";
7 export const dialogActions = unionize({
8 OPEN_DIALOG: ofType<{ id: string, data: any }>(),
9 CLOSE_DIALOG: ofType<{ id: string }>()
15 export type DialogAction = UnionOf<typeof dialogActions>;