]>
Commit | Line | Data |
---|---|---|
df98563e | 1 | import { NgModule } from '@angular/core' |
fd206f0b C |
2 | import { ConfigComponent, EditCustomConfigComponent } from '@app/+admin/config' |
3 | import { ConfigService } from '@app/+admin/config/shared/config.service' | |
ab998f7b | 4 | import { TableModule } from 'primeng/table' |
51548b31 | 5 | import { SharedModule } from '../shared' |
df98563e | 6 | import { AdminRoutingModule } from './admin-routing.module' |
51548b31 C |
7 | import { AdminComponent } from './admin.component' |
8 | import { FollowersListComponent, FollowingAddComponent, FollowsComponent, FollowService } from './follows' | |
9 | import { FollowingListComponent } from './follows/following-list/following-list.component' | |
5cd80545 C |
10 | import { JobsComponent } from './jobs/job.component' |
11 | import { JobsListComponent } from './jobs/jobs-list/jobs-list.component' | |
12 | import { JobService } from './jobs/shared/job.service' | |
4c200caa | 13 | import { UserCreateComponent, UserListComponent, UsersComponent, UserService, UserUpdateComponent } from './users' |
614d1ae9 | 14 | import { ModerationCommentModalComponent, VideoAbuseListComponent, VideoBlacklistListComponent } from './moderation' |
141b177d | 15 | import { UserBanModalComponent } from '@app/+admin/users/user-list/user-ban-modal.component' |
614d1ae9 | 16 | import { ModerationComponent } from '@app/+admin/moderation/moderation.component' |
c48e82b5 C |
17 | import { RedundancyCheckboxComponent } from '@app/+admin/follows/shared/redundancy-checkbox.component' |
18 | import { RedundancyService } from '@app/+admin/follows/shared/redundancy.service' | |
693b1aba C |
19 | |
20 | @NgModule({ | |
21 | imports: [ | |
22 | AdminRoutingModule, | |
ab998f7b | 23 | TableModule, |
693b1aba C |
24 | SharedModule |
25 | ], | |
26 | ||
27 | declarations: [ | |
28 | AdminComponent, | |
29 | ||
51548b31 C |
30 | FollowsComponent, |
31 | FollowingAddComponent, | |
32 | FollowersListComponent, | |
33 | FollowingListComponent, | |
c48e82b5 | 34 | RedundancyCheckboxComponent, |
693b1aba | 35 | |
693b1aba | 36 | UsersComponent, |
4c200caa | 37 | UserCreateComponent, |
8094a898 | 38 | UserUpdateComponent, |
693b1aba | 39 | UserListComponent, |
141b177d | 40 | UserBanModalComponent, |
693b1aba | 41 | |
614d1ae9 | 42 | ModerationComponent, |
35bf0c83 | 43 | VideoBlacklistListComponent, |
5cd80545 | 44 | VideoAbuseListComponent, |
efc9e845 | 45 | ModerationCommentModalComponent, |
5cd80545 C |
46 | |
47 | JobsComponent, | |
fd206f0b C |
48 | JobsListComponent, |
49 | ||
50 | ConfigComponent, | |
51 | EditCustomConfigComponent | |
693b1aba C |
52 | ], |
53 | ||
54 | exports: [ | |
b99290b1 | 55 | AdminComponent |
693b1aba C |
56 | ], |
57 | ||
58 | providers: [ | |
51548b31 | 59 | FollowService, |
c48e82b5 | 60 | RedundancyService, |
5cd80545 | 61 | UserService, |
fd206f0b C |
62 | JobService, |
63 | ConfigService | |
693b1aba C |
64 | ] |
65 | }) | |
66 | export class AdminModule { } |