import { Component } from '@angular/core';
import { ListBase } from '@objects-view/list-base';
import { ActivatedRoute } from '@angular/router';
import { RefreshService } from '@shared/ui-api/refresh.service';
import { IHeatTemplateVersionModel } from '@fleio-api/openstack/orchestration/model/heat-template-version.model';
import { HeatTemplateVersionListUiService } from '../heat-template-version-list-ui.service';

@Component({
  selector: 'app-heat-template-version-list',
  templateUrl: './heat-template-version-list.component.html',
  styleUrls: ['./heat-template-version-list.component.scss']
})
export class HeatTemplateVersionListComponent extends ListBase<IHeatTemplateVersionModel> {
  constructor(
    private route: ActivatedRoute, private heatStackListUiService: HeatTemplateVersionListUiService,
    private refreshService: RefreshService,
  ) {
    super(route, heatStackListUiService, refreshService, 'heatTemplateVersions');
  }
}
