PeerTube/client/src/app/+videos/+video-watch/video-watch.module.ts

64 lines
2.3 KiB
TypeScript
Raw Normal View History

2017-10-09 14:28:44 +02:00
import { NgModule } from '@angular/core'
2020-06-23 14:10:17 +02:00
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 { SharedShareModal } from '@app/shared/shared-share-modal'
2021-03-29 15:56:01 +02:00
import { SharedSupportModal } from '@app/shared/shared-support-modal'
2020-06-23 14:10:17 +02:00
import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
2020-12-09 15:00:02 +01:00
import { SharedVideoModule } from '@app/shared/shared-video'
2020-07-09 15:54:24 +02:00
import { SharedVideoCommentModule } from '@app/shared/shared-video-comment'
2020-06-23 14:10:17 +02:00
import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist'
2020-07-09 15:54:24 +02:00
import { VideoCommentService } from '../../shared/shared-video-comment/video-comment.service'
2017-12-27 16:11:53 +01:00
import { VideoCommentAddComponent } from './comment/video-comment-add.component'
import { VideoCommentComponent } from './comment/video-comment.component'
import { VideoCommentsComponent } from './comment/video-comments.component'
2020-07-09 15:54:24 +02:00
import { RecommendationsModule } from './recommendations/recommendations.module'
2020-06-23 14:10:17 +02:00
import { TimestampRouteTransformerDirective } from './timestamp-route-transformer.directive'
import { VideoWatchPlaylistComponent } from './video-watch-playlist.component'
2017-10-09 14:28:44 +02:00
import { VideoWatchRoutingModule } from './video-watch-routing.module'
import { VideoWatchComponent } from './video-watch.component'
@NgModule({
imports: [
VideoWatchRoutingModule,
2020-06-23 14:10:17 +02:00
RecommendationsModule,
SharedMainModule,
SharedFormModule,
SharedVideoMiniatureModule,
SharedVideoPlaylistModule,
SharedUserSubscriptionModule,
SharedModerationModule,
2020-07-09 15:54:24 +02:00
SharedGlobalIconModule,
SharedVideoCommentModule,
2020-12-09 15:00:02 +01:00
SharedShareModal,
2021-03-29 15:56:01 +02:00
SharedVideoModule,
SharedSupportModal
2017-10-09 14:28:44 +02:00
],
declarations: [
VideoWatchComponent,
VideoWatchPlaylistComponent,
2017-10-09 14:28:44 +02:00
2017-12-27 16:11:53 +01:00
VideoCommentsComponent,
VideoCommentAddComponent,
VideoCommentComponent,
2020-06-23 14:10:17 +02:00
TimestampRouteTransformerDirective,
TimestampRouteTransformerDirective
2017-10-09 14:28:44 +02:00
],
exports: [
VideoWatchComponent,
TimestampRouteTransformerDirective
2017-10-09 14:28:44 +02:00
],
providers: [
2017-12-27 16:11:53 +01:00
VideoCommentService
2017-10-09 14:28:44 +02:00
]
})
export class VideoWatchModule { }