Added removing files during upload feature
[arvados-workbench2.git] / src / store / resources-data / resources-data-actions.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { unionize, ofType, UnionOf } from "~/common/unionize";
6 import { CollectionDirectory, CollectionFile } from "~/models/collection-file";
7 import { Tree } from "~/models/tree";
8
9 export const resourcesDataActions = unionize({
10     SET_FILES: ofType<{uuid: string, files: Tree<CollectionFile | CollectionDirectory>}>()
11 });
12
13 export type ResourcesDataActions = UnionOf<typeof resourcesDataActions>;