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