]>
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' | |
e724fa93 | 13 | import { UserCreateComponent, UserListComponent, UsersComponent, UserUpdateComponent } from './users' |
614d1ae9 | 14 | import { ModerationCommentModalComponent, VideoAbuseListComponent, VideoBlacklistListComponent } from './moderation' |
614d1ae9 | 15 | import { ModerationComponent } from '@app/+admin/moderation/moderation.component' |
c48e82b5 C |
16 | import { RedundancyCheckboxComponent } from '@app/+admin/follows/shared/redundancy-checkbox.component' |
17 | import { RedundancyService } from '@app/+admin/follows/shared/redundancy.service' | |
693b1aba C |
18 | |
19 | @NgModule({ | |
20 | imports: [ | |
21 | AdminRoutingModule, | |
ab998f7b | 22 | TableModule, |
693b1aba C |
23 | SharedModule |
24 | ], | |
25 | ||
26 | declarations: [ | |
27 | AdminComponent, | |
28 | ||
51548b31 C |
29 | FollowsComponent, |
30 | FollowingAddComponent, | |
31 | FollowersListComponent, | |
32 | FollowingListComponent, | |
c48e82b5 | 33 | RedundancyCheckboxComponent, |
693b1aba | 34 | |
693b1aba | 35 | UsersComponent, |
4c200caa | 36 | UserCreateComponent, |
8094a898 | 37 | UserUpdateComponent, |
693b1aba C |
38 | UserListComponent, |
39 | ||
614d1ae9 | 40 | ModerationComponent, |
35bf0c83 | 41 | VideoBlacklistListComponent, |
5cd80545 | 42 | VideoAbuseListComponent, |
efc9e845 | 43 | ModerationCommentModalComponent, |
5cd80545 C |
44 | |
45 | JobsComponent, | |
fd206f0b C |
46 | JobsListComponent, |
47 | ||
48 | ConfigComponent, | |
49 | EditCustomConfigComponent | |
693b1aba C |
50 | ], |
51 | ||
52 | exports: [ | |
b99290b1 | 53 | AdminComponent |
693b1aba C |
54 | ], |
55 | ||
56 | providers: [ | |
51548b31 | 57 | FollowService, |
c48e82b5 | 58 | RedundancyService, |
fd206f0b C |
59 | JobService, |
60 | ConfigService | |
693b1aba C |
61 | ] |
62 | }) | |
63 | export class AdminModule { } |