import { Component, OnInit } from '@angular/core';
import { ListBase } from '@objects-view/list-base';
import { ActivatedRoute } from '@angular/router';
import { RefreshService } from '@shared/ui-api/refresh.service';
import { IClientModel } from '@fleio-api/client-user/model/client.model';
import { InvitationListUiService } from '../invitation-list-ui.service';

@Component({
  selector: 'app-invitations-list',
  templateUrl: './invitations-list.component.html',
  styleUrls: ['./invitations-list.component.scss']
})
export class InvitationsListComponent extends ListBase<IClientModel> implements OnInit {
  constructor(
    private route: ActivatedRoute, private invitationListUiService: InvitationListUiService,
    private refreshService: RefreshService,
  ) {
    super(route, invitationListUiService, refreshService, 'invitations');
  }
}
