import { Injectable } from '@angular/core' ; import { Action } from '@ngrx/store' ; import { ActionWithPayload } from './action-with-payload' ; @ Injectable ( ) export class UIStateActions { static LOGIN_REDIRECT_URL = 'LOGIN_REDIRECT_URL' ; static RESET_PASSWORD_NOTIFICATION_LOGS = 'RESET_PASSWORD_NOTIFICATION_LOGS' ; setLoginRedirectUrl ( url ? ) { return { type : UIStateActions . LOGIN_REDIRECT_URL , payload : url } ; } saveResetPasswordNotificationLogs ( notificationLogs ? ) { return { type : UIStateActions . RESET_PASSWORD_NOTIFICATION_LOGS , payload : notificationLogs } ; } }