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 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x | import { createAction } from '@ngrx/store'; import { httpError, payload } from 'ish-core/utils/ngrx-creators'; import { PunchoutType, PunchoutUser } from '../../models/punchout-user/punchout-user.model'; export const loadPunchoutUsers = createAction( '[Punchout Internal] Load Punchout Users', payload<{ type: PunchoutType }>() ); export const loadPunchoutUsersFail = createAction('[Punchout API] Load Punchout Users Fail', httpError()); export const loadPunchoutUsersSuccess = createAction( '[Punchout API] Load Punchout Users Success', payload<{ users: PunchoutUser[] }>() ); export const addPunchoutUser = createAction('[Punchout] Add Punchout User', payload<{ user: PunchoutUser }>()); export const addPunchoutUserFail = createAction('[Punchout API] Add Punchout User Fail', httpError()); export const addPunchoutUserSuccess = createAction( '[Punchout API] Add Punchout User Success', payload<{ user: PunchoutUser }>() ); export const updatePunchoutUser = createAction('[Punchout] Update Punchout User', payload<{ user: PunchoutUser }>()); export const updatePunchoutUserFail = createAction('[Punchout API] Update Punchout User Fail', httpError()); export const updatePunchoutUserSuccess = createAction( '[Punchout API] Update Punchout User Success', payload<{ user: PunchoutUser }>() ); export const deletePunchoutUser = createAction('[Punchout] Delete Punchout User', payload<{ user: PunchoutUser }>()); export const deletePunchoutUserFail = createAction('[Punchout API] Delete Punchout User Fail', httpError()); export const deletePunchoutUserSuccess = createAction( '[Punchout API] Punchout Delete User Success', payload<{ login: string }>() ); |