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

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