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