]>
Commit | Line | Data |
---|---|---|
df98563e | 1 | import { NgModule } from '@angular/core' |
51548b31 C |
2 | import { TabsModule } from 'ngx-bootstrap/tabs' |
3 | import { SharedModule } from '../shared' | |
df98563e | 4 | import { AdminRoutingModule } from './admin-routing.module' |
51548b31 C |
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' | |
35bf0c83 | 10 | import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist' |
693b1aba C |
11 | |
12 | @NgModule({ | |
13 | imports: [ | |
14 | AdminRoutingModule, | |
51548b31 | 15 | TabsModule.forRoot(), |
693b1aba C |
16 | SharedModule |
17 | ], | |
18 | ||
19 | declarations: [ | |
20 | AdminComponent, | |
21 | ||
51548b31 C |
22 | FollowsComponent, |
23 | FollowingAddComponent, | |
24 | FollowersListComponent, | |
25 | FollowingListComponent, | |
693b1aba | 26 | |
693b1aba C |
27 | UsersComponent, |
28 | UserAddComponent, | |
8094a898 | 29 | UserUpdateComponent, |
693b1aba C |
30 | UserListComponent, |
31 | ||
35bf0c83 C |
32 | VideoBlacklistComponent, |
33 | VideoBlacklistListComponent, | |
792dbaf0 | 34 | |
11ac88de | 35 | VideoAbusesComponent, |
b99290b1 | 36 | VideoAbuseListComponent |
693b1aba C |
37 | ], |
38 | ||
39 | exports: [ | |
b99290b1 | 40 | AdminComponent |
693b1aba C |
41 | ], |
42 | ||
43 | providers: [ | |
51548b31 | 44 | FollowService, |
954605a8 | 45 | UserService |
693b1aba C |
46 | ] |
47 | }) | |
48 | export class AdminModule { } |