projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove SshKey interface and change object type
[arvados-workbench2.git]
/
src
/
store
/
auth
/
auth-action.ts
diff --git
a/src/store/auth/auth-action.ts
b/src/store/auth/auth-action.ts
index 64ee7196cba0597e8724ef80f1677ce35ad4350e..1a4ba0c447d7b25677cbfcf62acb21ca8979812c 100644
(file)
--- a/
src/store/auth/auth-action.ts
+++ b/
src/store/auth/auth-action.ts
@@
-12,7
+12,7
@@
import { getCommonResourceServiceError, CommonResourceServiceError } from '~/ser
import { AxiosInstance } from "axios";
import { snackbarActions } from '~/store/snackbar/snackbar-actions';
import { dialogActions } from '~/store/dialog/dialog-actions';
import { AxiosInstance } from "axios";
import { snackbarActions } from '~/store/snackbar/snackbar-actions';
import { dialogActions } from '~/store/dialog/dialog-actions';
-import { SshKeyCreateFormDialogData,
SshKey, KeyTyp
e } from '~/models/ssh-key';
+import { SshKeyCreateFormDialogData,
KeyType, SshKeyResourc
e } from '~/models/ssh-key';
import { setBreadcrumbs } from '../breadcrumbs/breadcrumbs-actions';
export const authActions = unionize({
import { setBreadcrumbs } from '../breadcrumbs/breadcrumbs-actions';
export const authActions = unionize({
@@
-22,8
+22,8
@@
export const authActions = unionize({
INIT: ofType<{ user: User, token: string }>(),
USER_DETAILS_REQUEST: {},
USER_DETAILS_SUCCESS: ofType<User>(),
INIT: ofType<{ user: User, token: string }>(),
USER_DETAILS_REQUEST: {},
USER_DETAILS_SUCCESS: ofType<User>(),
- SET_SSH_KEYS: ofType<SshKey[]>(),
- ADD_SSH_KEY: ofType<SshKey>()
+ SET_SSH_KEYS: ofType<SshKey
Resource
[]>(),
+ ADD_SSH_KEY: ofType<SshKey
Resource
>()
});
export const SSH_KEY_CREATE_FORM_NAME = 'sshKeyCreateFormName';
});
export const SSH_KEY_CREATE_FORM_NAME = 'sshKeyCreateFormName';