import { Component } from '@angular/core';
import { DialogRef } from '@ngneat/dialog';

interface SolutionTarget {
  name: string;
  steps: {
    description: string;
  }[];
}

@Component({
  selector: 'dks-anomaly-solution-dialog',
  templateUrl: './anomaly-solution-dialog.component.html',
  styleUrls: ['./anomaly-solution-dialog.component.scss'],
  host: {
    class: 'm-4',
  },
  standalone: false,
})
export class AnomalySolutionDialogComponent {
  constructor(
    public ref: DialogRef<
      { title: string; solution: SolutionTarget[]; anomalyId: string },
      'sleep' | 'accept'
    >
  ) {}
}
