From 93647f176adda936299e67cae29c212b8d181c7e Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 28 May 2018 17:28:56 +0900 Subject: [PATCH] ing --- .../member/store/container/signin/member-signin.reducer.ts | 2 +- @overflow/shared/auth/store/container/auth/auth.action.ts | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/@overflow/member/store/container/signin/member-signin.reducer.ts b/@overflow/member/store/container/signin/member-signin.reducer.ts index 3a8698a..0231ba3 100644 --- a/@overflow/member/store/container/signin/member-signin.reducer.ts +++ b/@overflow/member/store/container/signin/member-signin.reducer.ts @@ -14,7 +14,7 @@ import { ActionType as AuthActionType, } from '@overflow/shared/auth/store/container/auth'; -export function reducer(state = initialState, action: MemberActions | AuthActions): State { +export function reducer(state: State = initialState, action: MemberActions | AuthActions): State { switch (action.type) { case MemberActionType.Signin: { return { diff --git a/@overflow/shared/auth/store/container/auth/auth.action.ts b/@overflow/shared/auth/store/container/auth/auth.action.ts index e8f4eba..2bd87ca 100644 --- a/@overflow/shared/auth/store/container/auth/auth.action.ts +++ b/@overflow/shared/auth/store/container/auth/auth.action.ts @@ -7,7 +7,6 @@ import { DomainMember } from '@overflow/commons-typescript/model/domain'; export enum ActionType { SigninSuccess = '[auth.auth] SigninSuccess', SigninFailure = '[auth.auth] SigninFailure', - SigninRedirect = '[auth.auth] SigninRedirect', SigninCookieSuccess = '[auth.auth] SigninCookieSuccess', SigninCookieFailure = '[auth.auth] SigninCookieFailure', @@ -28,11 +27,6 @@ export class SigninFailure implements Action { constructor(public payload: RESTClientError) {} } -export class SigninRedirect implements Action { - readonly type = ActionType.SigninRedirect; - constructor(public payload: string) {} -} - export class SigninCookieSuccess implements Action { readonly type = ActionType.SigninCookieSuccess; @@ -58,7 +52,6 @@ export class SignoutFailure implements Action { export type Actions = | SigninSuccess | SigninFailure - | SigninRedirect | SigninCookieSuccess | SigninCookieFailure | SignoutSuccess