diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/shared/shared-moderation/shared-moderation.module.ts | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip |
Reorganize client shared modules
Diffstat (limited to 'client/src/app/shared/shared-moderation/shared-moderation.module.ts')
-rw-r--r-- | client/src/app/shared/shared-moderation/shared-moderation.module.ts | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-moderation/shared-moderation.module.ts b/client/src/app/shared/shared-moderation/shared-moderation.module.ts new file mode 100644 index 000000000..f7e64dfa3 --- /dev/null +++ b/client/src/app/shared/shared-moderation/shared-moderation.module.ts | |||
@@ -0,0 +1,46 @@ | |||
1 | |||
2 | import { NgModule } from '@angular/core' | ||
3 | import { SharedFormModule } from '../shared-forms/shared-form.module' | ||
4 | import { SharedGlobalIconModule } from '../shared-icons' | ||
5 | import { SharedMainModule } from '../shared-main/shared-main.module' | ||
6 | import { BatchDomainsModalComponent } from './batch-domains-modal.component' | ||
7 | import { BlocklistService } from './blocklist.service' | ||
8 | import { BulkService } from './bulk.service' | ||
9 | import { UserBanModalComponent } from './user-ban-modal.component' | ||
10 | import { UserModerationDropdownComponent } from './user-moderation-dropdown.component' | ||
11 | import { VideoAbuseService } from './video-abuse.service' | ||
12 | import { VideoBlockComponent } from './video-block.component' | ||
13 | import { VideoBlockService } from './video-block.service' | ||
14 | import { VideoReportComponent } from './video-report.component' | ||
15 | |||
16 | @NgModule({ | ||
17 | imports: [ | ||
18 | SharedMainModule, | ||
19 | SharedFormModule, | ||
20 | SharedGlobalIconModule | ||
21 | ], | ||
22 | |||
23 | declarations: [ | ||
24 | UserBanModalComponent, | ||
25 | UserModerationDropdownComponent, | ||
26 | VideoBlockComponent, | ||
27 | VideoReportComponent, | ||
28 | BatchDomainsModalComponent | ||
29 | ], | ||
30 | |||
31 | exports: [ | ||
32 | UserBanModalComponent, | ||
33 | UserModerationDropdownComponent, | ||
34 | VideoBlockComponent, | ||
35 | VideoReportComponent, | ||
36 | BatchDomainsModalComponent | ||
37 | ], | ||
38 | |||
39 | providers: [ | ||
40 | BlocklistService, | ||
41 | BulkService, | ||
42 | VideoAbuseService, | ||
43 | VideoBlockService | ||
44 | ] | ||
45 | }) | ||
46 | export class SharedModerationModule { } | ||