]>
Commit | Line | Data |
---|---|---|
1 | import { ChartModule } from 'primeng/chart' | |
2 | import { SelectButtonModule } from 'primeng/selectbutton' | |
3 | import { TableModule } from 'primeng/table' | |
4 | import { NgModule } from '@angular/core' | |
5 | import { SharedAbuseListModule } from '@app/shared/shared-abuse-list' | |
6 | import { SharedFormModule } from '@app/shared/shared-forms' | |
7 | import { SharedGlobalIconModule } from '@app/shared/shared-icons' | |
8 | import { SharedMainModule } from '@app/shared/shared-main' | |
9 | import { SharedModerationModule } from '@app/shared/shared-moderation' | |
10 | import { SharedVideoCommentModule } from '@app/shared/shared-video-comment' | |
11 | import { AdminRoutingModule } from './admin-routing.module' | |
12 | import { AdminComponent } from './admin.component' | |
13 | import { | |
14 | ConfigComponent, | |
15 | EditAdvancedConfigurationComponent, | |
16 | EditBasicConfigurationComponent, | |
17 | EditConfigurationService, | |
18 | EditCustomConfigComponent, | |
19 | EditInstanceInformationComponent, | |
20 | EditLiveConfigurationComponent, | |
21 | EditVODTranscodingComponent | |
22 | } from './config' | |
23 | import { ConfigService } from './config/shared/config.service' | |
24 | import { FollowersListComponent, FollowsComponent, VideoRedundanciesListComponent } from './follows' | |
25 | import { FollowingListComponent } from './follows/following-list/following-list.component' | |
26 | import { RedundancyCheckboxComponent } from './follows/shared/redundancy-checkbox.component' | |
27 | import { VideoRedundancyInformationComponent } from './follows/video-redundancies-list/video-redundancy-information.component' | |
28 | import { AbuseListComponent, VideoBlockListComponent } from './moderation' | |
29 | import { InstanceAccountBlocklistComponent, InstanceServerBlocklistComponent } from './moderation/instance-blocklist' | |
30 | import { ModerationComponent } from './moderation/moderation.component' | |
31 | import { VideoCommentListComponent } from './moderation/video-comment-list' | |
32 | import { PluginListInstalledComponent } from './plugins/plugin-list-installed/plugin-list-installed.component' | |
33 | import { PluginSearchComponent } from './plugins/plugin-search/plugin-search.component' | |
34 | import { PluginShowInstalledComponent } from './plugins/plugin-show-installed/plugin-show-installed.component' | |
35 | import { PluginsComponent } from './plugins/plugins.component' | |
36 | import { PluginApiService } from './plugins/shared/plugin-api.service' | |
37 | import { JobService, LogsComponent, LogsService, SystemComponent } from './system' | |
38 | import { DebugComponent, DebugService } from './system/debug' | |
39 | import { JobsComponent } from './system/jobs/jobs.component' | |
40 | import { UserCreateComponent, UserListComponent, UserPasswordComponent, UsersComponent, UserUpdateComponent } from './users' | |
41 | ||
42 | @NgModule({ | |
43 | imports: [ | |
44 | AdminRoutingModule, | |
45 | ||
46 | SharedMainModule, | |
47 | SharedFormModule, | |
48 | SharedModerationModule, | |
49 | SharedGlobalIconModule, | |
50 | SharedAbuseListModule, | |
51 | SharedVideoCommentModule, | |
52 | ||
53 | TableModule, | |
54 | SelectButtonModule, | |
55 | ChartModule | |
56 | ], | |
57 | ||
58 | declarations: [ | |
59 | AdminComponent, | |
60 | ||
61 | FollowsComponent, | |
62 | FollowersListComponent, | |
63 | FollowingListComponent, | |
64 | RedundancyCheckboxComponent, | |
65 | VideoRedundanciesListComponent, | |
66 | VideoRedundancyInformationComponent, | |
67 | ||
68 | UsersComponent, | |
69 | UserCreateComponent, | |
70 | UserUpdateComponent, | |
71 | UserPasswordComponent, | |
72 | UserListComponent, | |
73 | ||
74 | ModerationComponent, | |
75 | VideoBlockListComponent, | |
76 | AbuseListComponent, | |
77 | VideoCommentListComponent, | |
78 | ||
79 | InstanceServerBlocklistComponent, | |
80 | InstanceAccountBlocklistComponent, | |
81 | ||
82 | PluginsComponent, | |
83 | PluginListInstalledComponent, | |
84 | PluginSearchComponent, | |
85 | PluginShowInstalledComponent, | |
86 | ||
87 | SystemComponent, | |
88 | JobsComponent, | |
89 | LogsComponent, | |
90 | DebugComponent, | |
91 | ||
92 | ConfigComponent, | |
93 | ||
94 | EditCustomConfigComponent, | |
95 | EditBasicConfigurationComponent, | |
96 | EditVODTranscodingComponent, | |
97 | EditLiveConfigurationComponent, | |
98 | EditAdvancedConfigurationComponent, | |
99 | EditInstanceInformationComponent | |
100 | ], | |
101 | ||
102 | exports: [ | |
103 | AdminComponent | |
104 | ], | |
105 | ||
106 | providers: [ | |
107 | JobService, | |
108 | LogsService, | |
109 | DebugService, | |
110 | ConfigService, | |
111 | PluginApiService, | |
112 | EditConfigurationService | |
113 | ] | |
114 | }) | |
115 | export class AdminModule { } |