]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core' | |
2 | import { ConfigComponent, EditCustomConfigComponent } from '@app/+admin/config' | |
3 | import { ConfigService } from '@app/+admin/config/shared/config.service' | |
4 | import { TableModule } from 'primeng/table' | |
5 | import { SharedModule } from '../shared' | |
6 | import { AdminRoutingModule } from './admin-routing.module' | |
7 | import { AdminComponent } from './admin.component' | |
8 | import { FollowersListComponent, FollowingAddComponent, FollowsComponent } from './follows' | |
9 | import { FollowingListComponent } from './follows/following-list/following-list.component' | |
10 | import { UserCreateComponent, UserListComponent, UserPasswordComponent, UsersComponent, UserUpdateComponent } from './users' | |
11 | import { | |
12 | ModerationCommentModalComponent, | |
13 | VideoAbuseListComponent, | |
14 | VideoAutoBlacklistListComponent, | |
15 | VideoBlacklistListComponent | |
16 | } from './moderation' | |
17 | import { ModerationComponent } from '@app/+admin/moderation/moderation.component' | |
18 | import { RedundancyCheckboxComponent } from '@app/+admin/follows/shared/redundancy-checkbox.component' | |
19 | import { RedundancyService } from '@app/+admin/follows/shared/redundancy.service' | |
20 | import { InstanceAccountBlocklistComponent, InstanceServerBlocklistComponent } from '@app/+admin/moderation/instance-blocklist' | |
21 | import { JobsComponent } from '@app/+admin/system/jobs/jobs.component' | |
22 | import { JobService, LogsComponent, LogsService, SystemComponent } from '@app/+admin/system' | |
23 | import { DebugComponent, DebugService } from '@app/+admin/system/debug' | |
24 | import { PluginsComponent } from '@app/+admin/plugins/plugins.component' | |
25 | import { PluginListInstalledComponent } from '@app/+admin/plugins/plugin-list-installed/plugin-list-installed.component' | |
26 | import { PluginSearchComponent } from '@app/+admin/plugins/plugin-search/plugin-search.component' | |
27 | import { PluginShowInstalledComponent } from '@app/+admin/plugins/plugin-show-installed/plugin-show-installed.component' | |
28 | import { SelectButtonModule } from 'primeng/selectbutton' | |
29 | import { PluginApiService } from '@app/+admin/plugins/shared/plugin-api.service' | |
30 | ||
31 | @NgModule({ | |
32 | imports: [ | |
33 | AdminRoutingModule, | |
34 | TableModule, | |
35 | SelectButtonModule, | |
36 | SharedModule | |
37 | ], | |
38 | ||
39 | declarations: [ | |
40 | AdminComponent, | |
41 | ||
42 | FollowsComponent, | |
43 | FollowingAddComponent, | |
44 | FollowersListComponent, | |
45 | FollowingListComponent, | |
46 | RedundancyCheckboxComponent, | |
47 | ||
48 | UsersComponent, | |
49 | UserCreateComponent, | |
50 | UserUpdateComponent, | |
51 | UserPasswordComponent, | |
52 | UserListComponent, | |
53 | ||
54 | ModerationComponent, | |
55 | VideoBlacklistListComponent, | |
56 | VideoAbuseListComponent, | |
57 | VideoAutoBlacklistListComponent, | |
58 | ModerationCommentModalComponent, | |
59 | InstanceServerBlocklistComponent, | |
60 | InstanceAccountBlocklistComponent, | |
61 | ||
62 | PluginsComponent, | |
63 | PluginListInstalledComponent, | |
64 | PluginSearchComponent, | |
65 | PluginShowInstalledComponent, | |
66 | ||
67 | SystemComponent, | |
68 | JobsComponent, | |
69 | LogsComponent, | |
70 | DebugComponent, | |
71 | ||
72 | ConfigComponent, | |
73 | EditCustomConfigComponent | |
74 | ], | |
75 | ||
76 | exports: [ | |
77 | AdminComponent | |
78 | ], | |
79 | ||
80 | providers: [ | |
81 | RedundancyService, | |
82 | JobService, | |
83 | LogsService, | |
84 | DebugService, | |
85 | ConfigService, | |
86 | PluginApiService | |
87 | ] | |
88 | }) | |
89 | export class AdminModule { } |