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