1
0
Fork 0
peertube/client/src/app/search/search.module.ts

44 lines
1.2 KiB
TypeScript
Raw Normal View History

import { TagInputModule } from 'ngx-chips'
2020-05-29 14:16:24 +00:00
import { NgModule } from '@angular/core'
2020-06-23 12:10:17 +00:00
import { SharedFormModule } from '@app/shared/shared-forms'
import { SharedMainModule } from '@app/shared/shared-main'
import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
2020-05-29 14:16:24 +00:00
import { ChannelLazyLoadResolver } from './channel-lazy-load.resolver'
2020-06-23 12:10:17 +00:00
import { HighlightPipe } from './highlight.pipe'
import { SearchFiltersComponent } from './search-filters.component'
import { SearchRoutingModule } from './search-routing.module'
import { SearchComponent } from './search.component'
import { SearchService } from './search.service'
2020-05-29 14:16:24 +00:00
import { VideoLazyLoadResolver } from './video-lazy-load.resolver'
2018-07-19 14:17:54 +00:00
@NgModule({
imports: [
TagInputModule,
2018-07-19 14:17:54 +00:00
SearchRoutingModule,
2020-06-23 12:10:17 +00:00
SharedMainModule,
SharedFormModule,
SharedUserSubscriptionModule,
SharedVideoMiniatureModule
2018-07-19 14:17:54 +00:00
],
declarations: [
2018-07-20 16:31:49 +00:00
SearchComponent,
SearchFiltersComponent
2018-07-19 14:17:54 +00:00
],
exports: [
TagInputModule,
2018-07-19 14:17:54 +00:00
SearchComponent
],
providers: [
2020-05-29 14:16:24 +00:00
SearchService,
VideoLazyLoadResolver,
2020-06-23 12:10:17 +00:00
ChannelLazyLoadResolver,
HighlightPipe
2018-07-19 14:17:54 +00:00
]
})
export class SearchModule { }