]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared.module.ts
Client: notify client if there are webtorrent errors
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared.module.ts
CommitLineData
693b1aba
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';
6
7import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe';
d396a937
C
8import { DropdownModule } from 'ng2-bootstrap/dropdown';
9import { ProgressbarModule } from 'ng2-bootstrap/progressbar';
10import { PaginationModule } from 'ng2-bootstrap/pagination';
11import { ModalModule } from 'ng2-bootstrap/modal';
693b1aba
C
12import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload';
13
14import { AUTH_HTTP_PROVIDERS } from './auth';
15import { RestExtractor, RestService } from './rest';
16import { SearchComponent, SearchService } from './search';
11ac88de 17import { VideoAbuseService } from './video-abuse';
693b1aba
C
18
19@NgModule({
20 imports: [
21 CommonModule,
22 FormsModule,
23 ReactiveFormsModule,
24 HttpModule,
25 RouterModule,
26
d396a937
C
27 DropdownModule.forRoot(),
28 ModalModule.forRoot(),
29 PaginationModule.forRoot(),
30 ProgressbarModule.forRoot(),
31
32 FileUploadModule
693b1aba
C
33 ],
34
35 declarations: [
36 BytesPipe,
37 SearchComponent
38 ],
39
40 exports: [
41 CommonModule,
42 FormsModule,
43 ReactiveFormsModule,
44 HttpModule,
45 RouterModule,
46
47 DropdownModule,
48 FileUploadModule,
49 ModalModule,
50 PaginationModule,
51 ProgressbarModule,
52 BytesPipe,
53
54 SearchComponent
55 ],
56
57 providers: [
58 AUTH_HTTP_PROVIDERS,
59 RestExtractor,
60 RestService,
11ac88de
C
61 SearchService,
62 VideoAbuseService
693b1aba
C
63 ]
64})
65export class SharedModule { }