import { Pipe , PipeTransform } from '@angular/core' ; export enum TypeData { build = 'Build' , deploy = 'Deploy' , 'build-deploy' = 'Build & Deploy' } /**
 * Environment type pipe
 */ @ Pipe ( { name : 'environmentType' } ) export class EnvironmentTypePipe implements PipeTransform { transform ( type ) { return TypeData [ type ] ; } }