aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/admin/admin.module.ts
blob: 63d99a3db623b59959969cc9fe8ed788fddd665a (plain) (tree)












































                                                                                                     
import { NgModule } from '@angular/core';

import { AdminComponent } from './admin.component';
import { AdminRoutingModule } from './admin-routing.module';
import { FriendsComponent, FriendAddComponent, FriendListComponent, FriendService } from './friends';
import { RequestsComponent, RequestStatsComponent, RequestService } from './requests';
import { UsersComponent, UserAddComponent, UserListComponent, UserService } from './users';
import { MenuAdminComponent } from './menu-admin.component';
import { SharedModule } from '../shared';

@NgModule({
  imports: [
    AdminRoutingModule,
    SharedModule
  ],

  declarations: [
    AdminComponent,

    FriendsComponent,
    FriendAddComponent,
    FriendListComponent,

    RequestsComponent,
    RequestStatsComponent,

    UsersComponent,
    UserAddComponent,
    UserListComponent,

    MenuAdminComponent
  ],

  exports: [
    AdminComponent,
    MenuAdminComponent
  ],

  providers: [
    FriendService,
    RequestService,
    UserService
  ]
})
export class AdminModule { }