]>
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 { AbuseListComponent, VideoBlockListComponent } from './moderation' | |
34 | import { InstanceAccountBlocklistComponent, InstanceServerBlocklistComponent } from './moderation/instance-blocklist' | |
35 | import { | |
36 | UserCreateComponent, | |
37 | UserListComponent, | |
38 | UserPasswordComponent, | |
39 | UserUpdateComponent, | |
40 | VideoAdminService, | |
41 | VideoCommentListComponent, | |
42 | VideoListComponent | |
43 | } from './overview' | |
44 | import { | |
45 | PluginApiService, | |
46 | PluginCardComponent, | |
47 | PluginListInstalledComponent, | |
48 | PluginNavigationComponent, | |
49 | PluginSearchComponent, | |
50 | PluginShowInstalledComponent | |
51 | } from './plugins' | |
52 | import { SharedAdminModule } from './shared' | |
53 | import { JobService, LogsComponent, LogsService } from './system' | |
54 | import { DebugComponent, DebugService } from './system/debug' | |
55 | import { JobsComponent } from './system/jobs/jobs.component' | |
56 | ||
57 | @NgModule({ | |
58 | imports: [ | |
59 | AdminRoutingModule, | |
60 | ||
61 | SharedMainModule, | |
62 | SharedFormModule, | |
63 | SharedModerationModule, | |
64 | SharedGlobalIconModule, | |
65 | SharedAbuseListModule, | |
66 | SharedVideoCommentModule, | |
67 | SharedActorImageModule, | |
68 | SharedActorImageEditModule, | |
69 | SharedCustomMarkupModule, | |
70 | SharedVideoMiniatureModule, | |
71 | SharedTablesModule, | |
72 | SharedUsersModule, | |
73 | SharedAdminModule, | |
74 | ||
75 | TableModule, | |
76 | ChartModule | |
77 | ], | |
78 | ||
79 | declarations: [ | |
80 | AdminComponent, | |
81 | ||
82 | VideoListComponent, | |
83 | ||
84 | FollowersListComponent, | |
85 | FollowingListComponent, | |
86 | FollowModalComponent, | |
87 | RedundancyCheckboxComponent, | |
88 | VideoRedundanciesListComponent, | |
89 | VideoRedundancyInformationComponent, | |
90 | ||
91 | UserCreateComponent, | |
92 | UserUpdateComponent, | |
93 | UserPasswordComponent, | |
94 | UserListComponent, | |
95 | ||
96 | VideoBlockListComponent, | |
97 | AbuseListComponent, | |
98 | VideoCommentListComponent, | |
99 | ||
100 | InstanceServerBlocklistComponent, | |
101 | InstanceAccountBlocklistComponent, | |
102 | ||
103 | PluginListInstalledComponent, | |
104 | PluginSearchComponent, | |
105 | PluginShowInstalledComponent, | |
106 | PluginCardComponent, | |
107 | PluginNavigationComponent, | |
108 | ||
109 | JobsComponent, | |
110 | LogsComponent, | |
111 | DebugComponent, | |
112 | ||
113 | EditCustomConfigComponent, | |
114 | EditBasicConfigurationComponent, | |
115 | EditVODTranscodingComponent, | |
116 | EditLiveConfigurationComponent, | |
117 | EditAdvancedConfigurationComponent, | |
118 | EditInstanceInformationComponent, | |
119 | EditHomepageComponent | |
120 | ], | |
121 | ||
122 | exports: [ | |
123 | AdminComponent | |
124 | ], | |
125 | ||
126 | providers: [ | |
127 | JobService, | |
128 | LogsService, | |
129 | DebugService, | |
130 | ConfigService, | |
131 | PluginApiService, | |
132 | EditConfigurationService, | |
133 | VideoAdminService | |
134 | ] | |
135 | }) | |
136 | export class AdminModule { } |