21910: Merge branch 'main' into 21910-remove-api_client_id
[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>;