aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/search/search.module.ts
blob: 65c954de890a0483d10f6d4218c3d6f52498a6b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { TagInputModule } from 'ngx-chips'
import { NgModule } from '@angular/core'
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'
import { ChannelLazyLoadResolver } from './channel-lazy-load.resolver'
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'
import { VideoLazyLoadResolver } from './video-lazy-load.resolver'

@NgModule({
  imports: [
    TagInputModule,

    SearchRoutingModule,
    SharedMainModule,
    SharedFormModule,
    SharedUserSubscriptionModule,
    SharedVideoMiniatureModule
  ],

  declarations: [
    SearchComponent,
    SearchFiltersComponent
  ],

  exports: [
    TagInputModule,
    SearchComponent
  ],

  providers: [
    SearchService,
    VideoLazyLoadResolver,
    ChannelLazyLoadResolver,
    HighlightPipe
  ]
})
export class SearchModule { }