2017-06-16 14:32:15 +02:00
|
|
|
import { NgModule } from '@angular/core'
|
2018-01-17 10:32:03 +01:00
|
|
|
import { ConfigComponent, EditCustomConfigComponent } from '@app/+admin/config'
|
|
|
|
import { ConfigService } from '@app/+admin/config/shared/config.service'
|
2018-02-23 14:36:16 +01:00
|
|
|
import { TableModule } from 'primeng/table'
|
2017-11-15 10:10:41 +01:00
|
|
|
import { SharedModule } from '../shared'
|
2017-06-16 14:32:15 +02:00
|
|
|
import { AdminRoutingModule } from './admin-routing.module'
|
2017-11-15 10:10:41 +01:00
|
|
|
import { AdminComponent } from './admin.component'
|
|
|
|
import { FollowersListComponent, FollowingAddComponent, FollowsComponent, FollowService } from './follows'
|
|
|
|
import { FollowingListComponent } from './follows/following-list/following-list.component'
|
2017-11-30 10:51:13 +01:00
|
|
|
import { JobsComponent } from './jobs/job.component'
|
|
|
|
import { JobsListComponent } from './jobs/jobs-list/jobs-list.component'
|
|
|
|
import { JobService } from './jobs/shared/job.service'
|
2018-05-09 15:30:37 +02:00
|
|
|
import { UserCreateComponent, UserListComponent, UsersComponent, UserService, UserUpdateComponent } from './users'
|
2017-11-15 10:10:41 +01:00
|
|
|
import { VideoAbuseListComponent, VideoAbusesComponent } from './video-abuses'
|
2017-10-10 10:02:18 +02:00
|
|
|
import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist'
|
2018-08-09 17:51:25 +02:00
|
|
|
import { UserBanModalComponent } from '@app/+admin/users/user-list/user-ban-modal.component'
|
2016-11-20 17:18:15 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
AdminRoutingModule,
|
2018-02-23 14:36:16 +01:00
|
|
|
TableModule,
|
2016-11-20 17:18:15 +01:00
|
|
|
SharedModule
|
|
|
|
],
|
|
|
|
|
|
|
|
declarations: [
|
|
|
|
AdminComponent,
|
|
|
|
|
2017-11-15 10:10:41 +01:00
|
|
|
FollowsComponent,
|
|
|
|
FollowingAddComponent,
|
|
|
|
FollowersListComponent,
|
|
|
|
FollowingListComponent,
|
2016-11-20 17:18:15 +01:00
|
|
|
|
|
|
|
UsersComponent,
|
2018-05-09 15:30:37 +02:00
|
|
|
UserCreateComponent,
|
2017-09-05 21:29:39 +02:00
|
|
|
UserUpdateComponent,
|
2016-11-20 17:18:15 +01:00
|
|
|
UserListComponent,
|
2018-08-09 17:51:25 +02:00
|
|
|
UserBanModalComponent,
|
2016-11-20 17:18:15 +01:00
|
|
|
|
2017-10-10 10:02:18 +02:00
|
|
|
VideoBlacklistComponent,
|
|
|
|
VideoBlacklistListComponent,
|
2017-09-22 09:13:43 +02:00
|
|
|
|
2017-01-23 22:16:48 +01:00
|
|
|
VideoAbusesComponent,
|
2017-11-30 10:51:13 +01:00
|
|
|
VideoAbuseListComponent,
|
|
|
|
|
|
|
|
JobsComponent,
|
2018-01-17 10:32:03 +01:00
|
|
|
JobsListComponent,
|
|
|
|
|
|
|
|
ConfigComponent,
|
|
|
|
EditCustomConfigComponent
|
2016-11-20 17:18:15 +01:00
|
|
|
],
|
|
|
|
|
|
|
|
exports: [
|
2017-01-23 22:32:43 +01:00
|
|
|
AdminComponent
|
2016-11-20 17:18:15 +01:00
|
|
|
],
|
|
|
|
|
|
|
|
providers: [
|
2017-11-15 10:10:41 +01:00
|
|
|
FollowService,
|
2017-11-30 10:51:13 +01:00
|
|
|
UserService,
|
2018-01-17 10:32:03 +01:00
|
|
|
JobService,
|
|
|
|
ConfigService
|
2016-11-20 17:18:15 +01:00
|
|
|
]
|
|
|
|
})
|
|
|
|
export class AdminModule { }
|