import { Action } from '@ngrx/store' ; import { Attachment } from 'monzolib' ; import { suffixes } from './' ; export const DEREGISTER_ATTACHMENT = '[Attachment] HTTP/Post Deregister' ; export const DEREGISTER_ATTACHMENT_FAILED = `${ DEREGISTER_ATTACHMENT } ${ suffixes . failed }` ; export class DeregisterAttachmentAction implements Action { readonly type = DEREGISTER_ATTACHMENT ; constructor ( public payload ) { } } export class DeregisterAttachmentFailedAction implements Action { readonly type = DEREGISTER_ATTACHMENT_FAILED ; }