]>
Commit | Line | Data |
---|---|---|
1 | import { ChartModule } from 'primeng/chart' | |
2 | import { TableModule } from 'primeng/table' | |
3 | import { NgModule } from '@angular/core' | |
4 | import { SharedAbuseListModule } from '@app/shared/shared-abuse-list' | |
5 | import { SharedActorImageEditModule } from '@app/shared/shared-actor-image-edit' | |
6 | import { SharedActorImageModule } from '@app/shared/shared-actor-image/shared-actor-image.module' | |
7 | import { SharedCustomMarkupModule } from '@app/shared/shared-custom-markup' | |
8 | import { SharedFormModule } from '@app/shared/shared-forms' | |
9 | import { SharedGlobalIconModule } from '@app/shared/shared-icons' | |
10 | import { SharedMainModule } from '@app/shared/shared-main' | |
11 | import { SharedModerationModule } from '@app/shared/shared-moderation' | |
12 | import { SharedTablesModule } from '@app/shared/shared-tables' | |
13 | import { SharedUsersModule } from '@app/shared/shared-users' | |
14 | import { SharedVideoCommentModule } from '@app/shared/shared-video-comment' | |
15 | import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' | |
16 | import { AdminRoutingModule } from './admin-routing.module' | |
17 | import { AdminComponent } from './admin.component' | |
18 | import { | |
19 | EditAdvancedConfigurationComponent, | |
20 | EditBasicConfigurationComponent, | |
21 | EditConfigurationService, | |
22 | EditCustomConfigComponent, | |
23 | EditHomepageComponent, | |
24 | EditInstanceInformationComponent, | |
25 | EditLiveConfigurationComponent, | |
26 | EditVODTranscodingComponent | |
27 | } from './config' | |
28 | import { ConfigService } from './config/shared/config.service' | |
29 | import { FollowersListComponent, FollowModalComponent, VideoRedundanciesListComponent } from './follows' | |
30 | import { FollowingListComponent } from './follows/following-list/following-list.component' | |
31 | import { RedundancyCheckboxComponent } from './follows/shared/redundancy-checkbox.component' | |
32 | import { VideoRedundancyInformationComponent } from './follows/video-redundancies-list/video-redundancy-information.component' | |
33 | import { | |
34 | AbuseListComponent, | |
35 | AdminRegistrationService, | |
36 | ProcessRegistrationModalComponent, | |
37 | RegistrationListComponent, | |
38 | VideoBlockListComponent | |
39 | } from './moderation' | |
40 | import { InstanceAccountBlocklistComponent, InstanceServerBlocklistComponent } from './moderation/instance-blocklist' | |
41 | import { | |
42 | UserCreateComponent, | |
43 | UserListComponent, | |
44 | UserPasswordComponent, | |
45 | UserUpdateComponent, | |
46 | VideoAdminService, | |
47 | VideoCommentListComponent, | |
48 | VideoListComponent | |
49 | } from './overview' | |
50 | import { | |
51 | PluginApiService, | |
52 | PluginCardComponent, | |
53 | PluginListInstalledComponent, | |
54 | PluginNavigationComponent, | |
55 | PluginSearchComponent, | |
56 | PluginShowInstalledComponent | |
57 | } from './plugins' | |
58 | import { SharedAdminModule } from './shared' | |
59 | import { JobService, LogsComponent, LogsService } from './system' | |
60 | import { DebugComponent, DebugService } from './system/debug' | |
61 | import { JobsComponent } from './system/jobs/jobs.component' | |
62 | ||
63 | @NgModule({ | |
64 | imports: [ | |
65 | AdminRoutingModule, | |
66 | ||
67 | SharedMainModule, | |
68 | SharedFormModule, | |
69 | SharedModerationModule, | |
70 | SharedGlobalIconModule, | |
71 | SharedAbuseListModule, | |
72 | SharedVideoCommentModule, | |
73 | SharedActorImageModule, | |
74 | SharedActorImageEditModule, | |
75 | SharedCustomMarkupModule, | |
76 | SharedVideoMiniatureModule, | |
77 | SharedTablesModule, | |
78 | SharedUsersModule, | |
79 | SharedAdminModule, | |
80 | ||
81 | TableModule, | |
82 | ChartModule | |
83 | ], | |
84 | ||
85 | declarations: [ | |
86 | AdminComponent, | |
87 | ||
88 | VideoListComponent, | |
89 | ||
90 | FollowersListComponent, | |
91 | FollowingListComponent, | |
92 | FollowModalComponent, | |
93 | RedundancyCheckboxComponent, | |
94 | VideoRedundanciesListComponent, | |
95 | VideoRedundancyInformationComponent, | |
96 | ||
97 | UserCreateComponent, | |
98 | UserUpdateComponent, | |
99 | UserPasswordComponent, | |
100 | UserListComponent, | |
101 | ||
102 | VideoBlockListComponent, | |
103 | AbuseListComponent, | |
104 | VideoCommentListComponent, | |
105 | ||
106 | InstanceServerBlocklistComponent, | |
107 | InstanceAccountBlocklistComponent, | |
108 | ||
109 | PluginListInstalledComponent, | |
110 | PluginSearchComponent, | |
111 | PluginShowInstalledComponent, | |
112 | PluginCardComponent, | |
113 | PluginNavigationComponent, | |
114 | ||
115 | JobsComponent, | |
116 | LogsComponent, | |
117 | DebugComponent, | |
118 | ||
119 | EditCustomConfigComponent, | |
120 | EditBasicConfigurationComponent, | |
121 | EditVODTranscodingComponent, | |
122 | EditLiveConfigurationComponent, | |
123 | EditAdvancedConfigurationComponent, | |
124 | EditInstanceInformationComponent, | |
125 | EditHomepageComponent, | |
126 | ||
127 | RegistrationListComponent, | |
128 | ProcessRegistrationModalComponent | |
129 | ], | |
130 | ||
131 | exports: [ | |
132 | AdminComponent | |
133 | ], | |
134 | ||
135 | providers: [ | |
136 | JobService, | |
137 | LogsService, | |
138 | DebugService, | |
139 | ConfigService, | |
140 | PluginApiService, | |
141 | EditConfigurationService, | |
142 | VideoAdminService, | |
143 | AdminRegistrationService | |
144 | ] | |
145 | }) | |
146 | export class AdminModule { } |