Remove resource extending, add separate resource data store
[arvados.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 } from "src/common/unionize";
6 import { ofType, UnionOf } from "unionize";
7 import { CollectionDirectory, CollectionFile } from "~/models/collection-file";
8 import { Tree } from "~/models/tree";
9
10 export const resourcesDataActions = unionize({
11     SET_FILES: ofType<{uuid: string, files: Tree<CollectionFile | CollectionDirectory>}>()
12 });
13
14 export type ResourcesDataActions = UnionOf<typeof resourcesDataActions>;