]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core' | |
2 | import { TabsModule } from 'ngx-bootstrap/tabs' | |
3 | import { SharedModule } from '../shared' | |
4 | import { AdminRoutingModule } from './admin-routing.module' | |
5 | import { AdminComponent } from './admin.component' | |
6 | import { FollowersListComponent, FollowingAddComponent, FollowsComponent, FollowService } from './follows' | |
7 | import { FollowingListComponent } from './follows/following-list/following-list.component' | |
8 | import { UserAddComponent, UserListComponent, UsersComponent, UserService, UserUpdateComponent } from './users' | |
9 | import { VideoAbuseListComponent, VideoAbusesComponent } from './video-abuses' | |
10 | import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist' | |
11 | ||
12 | @NgModule({ | |
13 | imports: [ | |
14 | AdminRoutingModule, | |
15 | TabsModule.forRoot(), | |
16 | SharedModule | |
17 | ], | |
18 | ||
19 | declarations: [ | |
20 | AdminComponent, | |
21 | ||
22 | FollowsComponent, | |
23 | FollowingAddComponent, | |
24 | FollowersListComponent, | |
25 | FollowingListComponent, | |
26 | ||
27 | UsersComponent, | |
28 | UserAddComponent, | |
29 | UserUpdateComponent, | |
30 | UserListComponent, | |
31 | ||
32 | VideoBlacklistComponent, | |
33 | VideoBlacklistListComponent, | |
34 | ||
35 | VideoAbusesComponent, | |
36 | VideoAbuseListComponent | |
37 | ], | |
38 | ||
39 | exports: [ | |
40 | AdminComponent | |
41 | ], | |
42 | ||
43 | providers: [ | |
44 | FollowService, | |
45 | UserService | |
46 | ] | |
47 | }) | |
48 | export class AdminModule { } |