// Copyright (C) The Arvados Authors. All rights reserved. // // SPDX-License-Identifier: AGPL-3.0 import { unionize } from "src/common/unionize"; import { ofType, UnionOf } from "unionize"; import { CollectionDirectory, CollectionFile } from "~/models/collection-file"; import { Tree } from "~/models/tree"; export const resourcesDataActions = unionize({ SET_FILES: ofType<{uuid: string, files: Tree}>() }); export type ResourcesDataActions = UnionOf;