+import { ChartModule } from 'primeng/chart'
+import { SelectButtonModule } from 'primeng/selectbutton'
+import { TableModule } from 'primeng/table'
import { NgModule } from '@angular/core'
-import { TabsModule } from 'ngx-bootstrap/tabs'
-import { SharedModule } from '../shared'
+import { SharedFormModule } from '@app/shared/shared-forms'
+import { SharedGlobalIconModule } from '@app/shared/shared-icons'
+import { SharedMainModule } from '@app/shared/shared-main'
+import { SharedModerationModule } from '@app/shared/shared-moderation'
import { AdminRoutingModule } from './admin-routing.module'
import { AdminComponent } from './admin.component'
-import { FollowersListComponent, FollowingAddComponent, FollowsComponent, FollowService } from './follows'
+import { ConfigComponent, EditCustomConfigComponent } from './config'
+import { ConfigService } from './config/shared/config.service'
+import { FollowersListComponent, FollowsComponent, VideoRedundanciesListComponent } from './follows'
import { FollowingListComponent } from './follows/following-list/following-list.component'
-import { UserAddComponent, UserListComponent, UsersComponent, UserService, UserUpdateComponent } from './users'
-import { VideoAbuseListComponent, VideoAbusesComponent } from './video-abuses'
-import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist'
+import { RedundancyCheckboxComponent } from './follows/shared/redundancy-checkbox.component'
+import { VideoRedundancyInformationComponent } from './follows/video-redundancies-list/video-redundancy-information.component'
+import { ModerationCommentModalComponent, AbuseListComponent, VideoBlockListComponent } from './moderation'
+import { InstanceAccountBlocklistComponent, InstanceServerBlocklistComponent } from './moderation/instance-blocklist'
+import { ModerationComponent } from './moderation/moderation.component'
+import { AbuseDetailsComponent } from './moderation/abuse-list/abuse-details.component'
+import { PluginListInstalledComponent } from './plugins/plugin-list-installed/plugin-list-installed.component'
+import { PluginSearchComponent } from './plugins/plugin-search/plugin-search.component'
+import { PluginShowInstalledComponent } from './plugins/plugin-show-installed/plugin-show-installed.component'
+import { PluginsComponent } from './plugins/plugins.component'
+import { PluginApiService } from './plugins/shared/plugin-api.service'
+import { JobService, LogsComponent, LogsService, SystemComponent } from './system'
+import { DebugComponent, DebugService } from './system/debug'
+import { JobsComponent } from './system/jobs/jobs.component'
+import { UserCreateComponent, UserListComponent, UserPasswordComponent, UsersComponent, UserUpdateComponent } from './users'
@NgModule({
imports: [
AdminRoutingModule,
- TabsModule.forRoot(),
- SharedModule
+
+ SharedMainModule,
+ SharedFormModule,
+ SharedModerationModule,
+ SharedGlobalIconModule,
+
+ TableModule,
+ SelectButtonModule,
+ ChartModule
],
declarations: [
AdminComponent,
FollowsComponent,
- FollowingAddComponent,
FollowersListComponent,
FollowingListComponent,
+ RedundancyCheckboxComponent,
+ VideoRedundanciesListComponent,
+ VideoRedundancyInformationComponent,
UsersComponent,
- UserAddComponent,
+ UserCreateComponent,
UserUpdateComponent,
+ UserPasswordComponent,
UserListComponent,
- VideoBlacklistComponent,
- VideoBlacklistListComponent,
+ ModerationComponent,
+ VideoBlockListComponent,
+
+ AbuseListComponent,
+ AbuseDetailsComponent,
+
+ ModerationCommentModalComponent,
+ InstanceServerBlocklistComponent,
+ InstanceAccountBlocklistComponent,
+
+ PluginsComponent,
+ PluginListInstalledComponent,
+ PluginSearchComponent,
+ PluginShowInstalledComponent,
+
+ SystemComponent,
+ JobsComponent,
+ LogsComponent,
+ DebugComponent,
- VideoAbusesComponent,
- VideoAbuseListComponent
+ ConfigComponent,
+ EditCustomConfigComponent
],
exports: [
],
providers: [
- FollowService,
- UserService
+ JobService,
+ LogsService,
+ DebugService,
+ ConfigService,
+ PluginApiService
]
})
export class AdminModule { }