aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/admin/admin.module.ts
blob: d3ada8ce8aef868c68bb6da048895bfae0d8b4d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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 { VideoAbusesComponent, VideoAbuseListComponent } from './video-abuses';
import { MenuAdminComponent } from './menu-admin.component';
import { SharedModule } from '../shared';

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

  declarations: [
    AdminComponent,

    FriendsComponent,
    FriendAddComponent,
    FriendListComponent,

    RequestsComponent,
    RequestStatsComponent,

    UsersComponent,
    UserAddComponent,
    UserListComponent,

    VideoAbusesComponent,
    VideoAbuseListComponent,

    MenuAdminComponent
  ],

  exports: [
    AdminComponent,
    MenuAdminComponent
  ],

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