]>
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' | |
5cd80545 C |
8 | import { JobsComponent } from './jobs/job.component' |
9 | import { JobsListComponent } from './jobs/jobs-list/jobs-list.component' | |
10 | import { JobService } from './jobs/shared/job.service' | |
51548b31 C |
11 | import { UserAddComponent, UserListComponent, UsersComponent, UserService, UserUpdateComponent } from './users' |
12 | import { VideoAbuseListComponent, VideoAbusesComponent } from './video-abuses' | |
35bf0c83 | 13 | import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist' |
693b1aba C |
14 | |
15 | @NgModule({ | |
16 | imports: [ | |
17 | AdminRoutingModule, | |
51548b31 | 18 | TabsModule.forRoot(), |
693b1aba C |
19 | SharedModule |
20 | ], | |
21 | ||
22 | declarations: [ | |
23 | AdminComponent, | |
24 | ||
51548b31 C |
25 | FollowsComponent, |
26 | FollowingAddComponent, | |
27 | FollowersListComponent, | |
28 | FollowingListComponent, | |
693b1aba | 29 | |
693b1aba C |
30 | UsersComponent, |
31 | UserAddComponent, | |
8094a898 | 32 | UserUpdateComponent, |
693b1aba C |
33 | UserListComponent, |
34 | ||
35bf0c83 C |
35 | VideoBlacklistComponent, |
36 | VideoBlacklistListComponent, | |
792dbaf0 | 37 | |
11ac88de | 38 | VideoAbusesComponent, |
5cd80545 C |
39 | VideoAbuseListComponent, |
40 | ||
41 | JobsComponent, | |
42 | JobsListComponent | |
693b1aba C |
43 | ], |
44 | ||
45 | exports: [ | |
b99290b1 | 46 | AdminComponent |
693b1aba C |
47 | ], |
48 | ||
49 | providers: [ | |
51548b31 | 50 | FollowService, |
5cd80545 C |
51 | UserService, |
52 | JobService | |
693b1aba C |
53 | ] |
54 | }) | |
55 | export class AdminModule { } |