2017-06-16 14:32:15 +02:00
|
|
|
import { NgModule } from '@angular/core'
|
2017-11-15 10:10:41 +01:00
|
|
|
import { TabsModule } from 'ngx-bootstrap/tabs'
|
|
|
|
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'
|
|
|
|
import { UserAddComponent, UserListComponent, UsersComponent, UserService, UserUpdateComponent } from './users'
|
|
|
|
import { VideoAbuseListComponent, VideoAbusesComponent } from './video-abuses'
|
2017-10-10 10:02:18 +02:00
|
|
|
import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist'
|
2016-11-20 17:18:15 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
AdminRoutingModule,
|
2017-11-15 10:10:41 +01:00
|
|
|
TabsModule.forRoot(),
|
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,
|
|
|
|
UserAddComponent,
|
2017-09-05 21:29:39 +02:00
|
|
|
UserUpdateComponent,
|
2016-11-20 17:18:15 +01:00
|
|
|
UserListComponent,
|
|
|
|
|
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-01-23 22:32:43 +01:00
|
|
|
VideoAbuseListComponent
|
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-10-27 16:55:03 +02:00
|
|
|
UserService
|
2016-11-20 17:18:15 +01:00
|
|
|
]
|
|
|
|
})
|
|
|
|
export class AdminModule { }
|