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 { Resource } from '~/models/resource';
8 export const resourcesActions = unionize({
9 SET_RESOURCES: ofType<Resource[]>(),
10 DELETE_RESOURCES: ofType<string[]>()
13 export type ResourcesAction = UnionOf<typeof resourcesActions>;