import { Action } from '@ngrx/store' ; export const SWAP_AUDIT = 'SWAP_AUDIT' ; export const SWAP_AUDIT_SUCCESS = 'SWAP_AUDIT_SUCCESS' ; export class SwapAuditAction implements Action { readonly type = SWAP_AUDIT ; constructor ( public payload ) { } } export class SwapAuditSuccessAction implements Action { readonly type = SWAP_AUDIT_SUCCESS ; constructor ( public payload ) { } } export type Actions = SwapAuditAction | SwapAuditSuccessAction ;