import { Component, OnDestroy, OnInit } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { ActivatedRoute } from '@angular/router';
import { IPublicKeyModel } from '@fleio-api/public-key/model/public-key.model';
import { SshKeyListUIService } from '../ssh-key-list-ui.service';

@Component({
  selector: 'app-ssh-key-details',
  templateUrl: './ssh-key-details.component.html',
  styleUrls: ['./ssh-key-details.component.scss']
})
export class SshKeyDetailsComponent extends DetailsBase<IPublicKeyModel> implements OnInit, OnDestroy {

  constructor(route: ActivatedRoute, sshKeyListUIService: SshKeyListUIService) {
    super(route, sshKeyListUIService, 'details', 'sshKey');
  }
}
