]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-custom-markup/shared-custom-markup.module.ts
Fix custom markup
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-custom-markup / shared-custom-markup.module.ts
1 import { CommonModule } from '@angular/common'
2 import { NgModule } from '@angular/core'
3 import { SharedActorImageModule } from '../shared-actor-image/shared-actor-image.module'
4 import { SharedGlobalIconModule } from '../shared-icons'
5 import { SharedMainModule } from '../shared-main'
6 import { SharedSearchModule } from '../shared-search'
7 import { SharedVideoMiniatureModule } from '../shared-video-miniature'
8 import { SharedVideoPlaylistModule } from '../shared-video-playlist'
9 import { CustomMarkupContainerComponent } from './custom-markup-container.component'
10 import { CustomMarkupHelpComponent } from './custom-markup-help.component'
11 import { CustomMarkupService } from './custom-markup.service'
12 import { DynamicElementService } from './dynamic-element.service'
13 import {
14 ButtonMarkupComponent,
15 ChannelMiniatureMarkupComponent,
16 EmbedMarkupComponent,
17 PlaylistMiniatureMarkupComponent,
18 VideoMiniatureMarkupComponent,
19 VideosListMarkupComponent
20 } from './peertube-custom-tags'
21
22 @NgModule({
23 imports: [
24 CommonModule,
25
26 SharedMainModule,
27 SharedGlobalIconModule,
28 SharedVideoMiniatureModule,
29 SharedVideoPlaylistModule,
30 SharedActorImageModule,
31 SharedSearchModule
32 ],
33
34 declarations: [
35 VideoMiniatureMarkupComponent,
36 PlaylistMiniatureMarkupComponent,
37 ChannelMiniatureMarkupComponent,
38 EmbedMarkupComponent,
39 VideosListMarkupComponent,
40 ButtonMarkupComponent,
41 CustomMarkupHelpComponent,
42 CustomMarkupContainerComponent
43 ],
44
45 exports: [
46 VideoMiniatureMarkupComponent,
47 PlaylistMiniatureMarkupComponent,
48 ChannelMiniatureMarkupComponent,
49 VideosListMarkupComponent,
50 EmbedMarkupComponent,
51 ButtonMarkupComponent,
52 CustomMarkupHelpComponent,
53 CustomMarkupContainerComponent
54 ],
55
56 providers: [
57 CustomMarkupService,
58 DynamicElementService
59 ]
60 })
61 export class SharedCustomMarkupModule { }