21037: fixed all linter warnings Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox...
[arvados.git] / services / workbench2 / src / store / properties / properties-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
7 export const propertiesActions = unionize({
8     SET_PROPERTY: ofType<{ key: string, value: any }>(),
9     DELETE_PROPERTY: ofType<string>(),
10 });
11
12 export type PropertiesAction = UnionOf<typeof propertiesActions>;