import { GenericListComponent , SHOW } from 'src/app/components/generic' ; import { Component } from '@angular/core' ; import { UsersService } from 'src/app/services/users.service' ; import { Router } from '@angular/router' ; import { UserRouter } from 'src/app/router/UserRouter' ; @ Component ( { selector : 'app-users-list' , templateUrl : '../generic/list/generic-list.component.html' , styleUrls : [ ] , } ) export class UsersListComponent extends GenericListComponent { filters = [ 'id' , 'username' ] ; resource = 'users' ; singularResource = 'User' ; routerHelper = UserRouter ; protected excludedFields = [ '@id' , '@type' , SHOW . name ] ; constructor ( protected service , protected router ) { super ( service , router ) ; } }