14841: Simplify configReducer
[arvados-workbench2.git] / src / store / config / config-action.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { ofType, unionize, UnionOf } from '~/common/unionize';
6 import { Config } from '~/common/config';
7
8 export const configActions = unionize({
9     CONFIG: ofType<{ config: Config }>(),
10 });
11
12 export type ConfigAction = UnionOf<typeof configActions>;