]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared.module.ts
Fix concurrency error when deleting a video
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared.module.ts
CommitLineData
df98563e
C
1import { NgModule } from '@angular/core'
2import { CommonModule } from '@angular/common'
3import { HttpModule } from '@angular/http'
4import { FormsModule, ReactiveFormsModule } from '@angular/forms'
5import { RouterModule } from '@angular/router'
693b1aba 6
df98563e
C
7import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'
8import { KeysPipe } from 'angular-pipes/src/object/keys.pipe'
9import { BsDropdownModule } from 'ngx-bootstrap/dropdown'
10import { ProgressbarModule } from 'ngx-bootstrap/progressbar'
11import { PaginationModule } from 'ngx-bootstrap/pagination'
12import { ModalModule } from 'ngx-bootstrap/modal'
13import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload'
14import { Ng2SmartTableModule } from 'ng2-smart-table'
693b1aba 15
df98563e
C
16import { AUTH_HTTP_PROVIDERS } from './auth'
17import { RestExtractor, RestService } from './rest'
18import { SearchComponent, SearchService } from './search'
19import { UserService } from './users'
20import { VideoAbuseService } from './video-abuse'
693b1aba
C
21
22@NgModule({
23 imports: [
24 CommonModule,
25 FormsModule,
26 ReactiveFormsModule,
27 HttpModule,
28 RouterModule,
29
ad42bea3 30 BsDropdownModule.forRoot(),
d396a937
C
31 ModalModule.forRoot(),
32 PaginationModule.forRoot(),
33 ProgressbarModule.forRoot(),
34
28798b5d
C
35 FileUploadModule,
36 Ng2SmartTableModule
693b1aba
C
37 ],
38
39 declarations: [
40 BytesPipe,
99fdec46 41 KeysPipe,
693b1aba
C
42 SearchComponent
43 ],
44
45 exports: [
46 CommonModule,
47 FormsModule,
48 ReactiveFormsModule,
49 HttpModule,
50 RouterModule,
51
ad42bea3 52 BsDropdownModule,
693b1aba
C
53 FileUploadModule,
54 ModalModule,
55 PaginationModule,
56 ProgressbarModule,
28798b5d 57 Ng2SmartTableModule,
693b1aba 58 BytesPipe,
99fdec46 59 KeysPipe,
693b1aba
C
60
61 SearchComponent
62 ],
63
64 providers: [
65 AUTH_HTTP_PROVIDERS,
66 RestExtractor,
67 RestService,
11ac88de 68 SearchService,
e2a2d6c8
C
69 VideoAbuseService,
70 UserService
693b1aba
C
71 ]
72})
73export class SharedModule { }