// Copyright (C) The Arvados Authors. All rights reserved. // // SPDX-License-Identifier: AGPL-3.0 import { Project } from "../../models/project"; import { default as unionize, ofType, UnionOf } from "unionize"; const actions = unionize({ CREATE_PROJECT: ofType(), REMOVE_PROJECT: ofType(), TOP_PROJECTS_REQUEST: {}, TOP_PROJECTS_SUCCESS: ofType() }, { tag: 'type', value: 'payload' }); export type ProjectAction = UnionOf; export default actions;