import { Component, OnInit } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { ActivatedRoute } from '@angular/router';
import { IVolumeType } from '@fleio-api/openstack/model/volume-type.model';
import { VolumeTypeListUiService } from '../volume-type-list-ui.service';

@Component({
  selector: 'app-volume-type-edit',
  templateUrl: './volume-type-edit.component.html',
  styleUrls: ['./volume-type-edit.component.scss']
})
export class VolumeTypeEditComponent extends DetailsBase<IVolumeType> {
  constructor(route: ActivatedRoute, volumeTypeListUiService: VolumeTypeListUiService) {
    super(
      route, volumeTypeListUiService, 'edit', 'volumeType',
    );
  }
}
