1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { ofType, default as unionize, UnionOf } from "unionize";
6 import { UserDetailsResponse } from "../../services/auth-service/auth-service";
8 const actions = unionize({
9 SAVE_API_TOKEN: ofType<string>(),
13 USER_DETAILS_REQUEST: {},
14 USER_DETAILS_SUCCESS: ofType<UserDetailsResponse>()
20 export type AuthAction = UnionOf<typeof actions>;
21 export default actions;