import {Component, EventEmitter, Input, Output} from '@angular/core';
import {ProjectCardComponent} from '@common/shared/ui-components/panel/project-card/project-card.component';
import {trackById} from '@common/shared/utils/forms-track-by';

@Component({
  selector: 'sm-pipeline-card',
  templateUrl: './pipeline-card.component.html',
  styleUrls: ['./pipeline-card.component.scss']
})
export class PipelineCardComponent extends ProjectCardComponent {
  @Input() allTags: string[];
  @Output() run = new EventEmitter();
  @Output() addTag = new EventEmitter<string>();
  @Output() removeTag = new EventEmitter<string>();
  trackById = trackById;
}
