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