]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/videos.module.ts
First upload step is ok
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / videos.module.ts
index bc86118cc56ce9d5bbe58f1e92a6b1f30238b504..4b14d1da8fb7e63ab9f34997aa9e11a924fc13bd 100644 (file)
@@ -1,24 +1,13 @@
 import { NgModule } from '@angular/core'
-
-import { TagInputModule } from 'ngx-chips'
-
+import { SharedModule } from '../shared'
+import { VideoSearchComponent } from './video-list'
+import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
+import { VideoTrendingComponent } from './video-list/video-trending.component'
 import { VideosRoutingModule } from './videos-routing.module'
 import { VideosComponent } from './videos.component'
-import { VideoAddComponent, VideoUpdateComponent } from './video-edit'
-import { LoaderComponent, VideoListComponent, VideoMiniatureComponent, VideoSortComponent } from './video-list'
-import {
-  VideoWatchComponent,
-  VideoMagnetComponent,
-  VideoReportComponent,
-  VideoShareComponent
-} from './video-watch'
-import { VideoService } from './shared'
-import { SharedModule } from '../shared'
 
 @NgModule({
   imports: [
-    TagInputModule,
-
     VideosRoutingModule,
     SharedModule
   ],
@@ -26,27 +15,15 @@ import { SharedModule } from '../shared'
   declarations: [
     VideosComponent,
 
-    VideoAddComponent,
-    VideoUpdateComponent,
-
-    VideoListComponent,
-    VideoMiniatureComponent,
-    VideoSortComponent,
-
-    VideoWatchComponent,
-    VideoMagnetComponent,
-    VideoShareComponent,
-    VideoReportComponent,
-
-    LoaderComponent
+    VideoTrendingComponent,
+    VideoRecentlyAddedComponent,
+    VideoSearchComponent
   ],
 
   exports: [
     VideosComponent
   ],
 
-  providers: [
-    VideoService
-  ]
+  providers: []
 })
 export class VideosModule { }