]>
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 | 7 | import { AdminComponent } from './admin.component' |
bb152476 | 8 | import { FollowersListComponent, FollowsComponent, VideoRedundanciesListComponent } from './follows' |
51548b31 | 9 | import { FollowingListComponent } from './follows/following-list/following-list.component' |
2c22613c | 10 | import { UserCreateComponent, UserListComponent, UserPasswordComponent, UsersComponent, UserUpdateComponent } from './users' |
7ccddd7b JM |
11 | import { |
12 | ModerationCommentModalComponent, | |
13 | VideoAbuseListComponent, | |
5baee5fc | 14 | VideoBlockListComponent |
7ccddd7b | 15 | } from './moderation' |
614d1ae9 | 16 | import { ModerationComponent } from '@app/+admin/moderation/moderation.component' |
c48e82b5 | 17 | import { RedundancyCheckboxComponent } from '@app/+admin/follows/shared/redundancy-checkbox.component' |
65b21c96 | 18 | import { InstanceAccountBlocklistComponent, InstanceServerBlocklistComponent } from '@app/+admin/moderation/instance-blocklist' |
2c22613c C |
19 | import { JobsComponent } from '@app/+admin/system/jobs/jobs.component' |
20 | import { JobService, LogsComponent, LogsService, SystemComponent } from '@app/+admin/system' | |
5d79474c | 21 | import { DebugComponent, DebugService } from '@app/+admin/system/debug' |
d00dc28d C |
22 | import { PluginsComponent } from '@app/+admin/plugins/plugins.component' |
23 | import { PluginListInstalledComponent } from '@app/+admin/plugins/plugin-list-installed/plugin-list-installed.component' | |
24 | import { PluginSearchComponent } from '@app/+admin/plugins/plugin-search/plugin-search.component' | |
25 | import { PluginShowInstalledComponent } from '@app/+admin/plugins/plugin-show-installed/plugin-show-installed.component' | |
41b15c89 | 26 | import { SelectButtonModule } from 'primeng/selectbutton' |
d00dc28d | 27 | import { PluginApiService } from '@app/+admin/plugins/shared/plugin-api.service' |
b764380a C |
28 | import { VideoRedundancyInformationComponent } from '@app/+admin/follows/video-redundancies-list/video-redundancy-information.component' |
29 | import { ChartModule } from 'primeng/chart' | |
bb152476 | 30 | import { BatchDomainsModalComponent } from './config/shared/batch-domains-modal.component' |
801d9571 | 31 | import { VideoAbuseDetailsComponent } from './moderation/video-abuse-list/video-abuse-details.component' |
693b1aba C |
32 | |
33 | @NgModule({ | |
34 | imports: [ | |
35 | AdminRoutingModule, | |
b764380a C |
36 | |
37 | SharedModule, | |
38 | ||
ab998f7b | 39 | TableModule, |
d00dc28d | 40 | SelectButtonModule, |
b764380a | 41 | ChartModule |
693b1aba C |
42 | ], |
43 | ||
44 | declarations: [ | |
45 | AdminComponent, | |
46 | ||
51548b31 | 47 | FollowsComponent, |
51548b31 C |
48 | FollowersListComponent, |
49 | FollowingListComponent, | |
c48e82b5 | 50 | RedundancyCheckboxComponent, |
b764380a C |
51 | VideoRedundanciesListComponent, |
52 | VideoRedundancyInformationComponent, | |
693b1aba | 53 | |
693b1aba | 54 | UsersComponent, |
4c200caa | 55 | UserCreateComponent, |
8094a898 | 56 | UserUpdateComponent, |
328c78bc | 57 | UserPasswordComponent, |
693b1aba C |
58 | UserListComponent, |
59 | ||
614d1ae9 | 60 | ModerationComponent, |
5baee5fc | 61 | VideoBlockListComponent, |
5cd80545 | 62 | VideoAbuseListComponent, |
801d9571 | 63 | VideoAbuseDetailsComponent, |
efc9e845 | 64 | ModerationCommentModalComponent, |
65b21c96 C |
65 | InstanceServerBlocklistComponent, |
66 | InstanceAccountBlocklistComponent, | |
5cd80545 | 67 | |
d00dc28d C |
68 | PluginsComponent, |
69 | PluginListInstalledComponent, | |
70 | PluginSearchComponent, | |
71 | PluginShowInstalledComponent, | |
72 | ||
2c22613c | 73 | SystemComponent, |
5cd80545 | 74 | JobsComponent, |
2c22613c | 75 | LogsComponent, |
5d79474c | 76 | DebugComponent, |
fd206f0b C |
77 | |
78 | ConfigComponent, | |
bb152476 RK |
79 | EditCustomConfigComponent, |
80 | ||
81 | BatchDomainsModalComponent | |
693b1aba C |
82 | ], |
83 | ||
84 | exports: [ | |
b99290b1 | 85 | AdminComponent |
693b1aba C |
86 | ], |
87 | ||
88 | providers: [ | |
fd206f0b | 89 | JobService, |
2c22613c | 90 | LogsService, |
5d79474c | 91 | DebugService, |
d00dc28d C |
92 | ConfigService, |
93 | PluginApiService | |
693b1aba C |
94 | ] |
95 | }) | |
96 | export class AdminModule { } |