All files / src/app/core/store/customer/sso-registration sso-registration.actions.ts

100% Statements 6/6
100% Branches 0/0
100% Functions 0/0
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19130x     130x   130x         130x         130x   130x  
import { createAction } from '@ngrx/store';
 
import { CustomerRegistrationType, SsoRegistrationType } from 'ish-core/models/customer/customer.model';
import { httpError, payload } from 'ish-core/utils/ngrx-creators';
 
export const setRegistrationInfo = createAction(
  '[SsoRegistration] Set Registration Info',
  payload<SsoRegistrationType>()
);
 
export const registerSuccess = createAction(
  '[SsoRegistration API] Register SMB Customer Success',
  payload<CustomerRegistrationType>()
);
 
export const registerFailure = createAction('[SsoRegistration API] Register SMB Customer Failure', httpError());
 
export const cancelRegistration = createAction('[SsoRegistration] Cancel Registration');