diff options
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r-- | client/src/app/shared/shared.module.ts | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index a2fa27b72..6f8625c7e 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts | |||
@@ -6,7 +6,6 @@ import { RouterModule } from '@angular/router' | |||
6 | import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' | 6 | import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' |
7 | import { HelpComponent } from '@app/shared/misc/help.component' | 7 | import { HelpComponent } from '@app/shared/misc/help.component' |
8 | import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' | 8 | import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' |
9 | import { MarkdownService } from '@app/videos/shared' | ||
10 | 9 | ||
11 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' | 10 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' |
12 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' | 11 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' |
@@ -34,6 +33,7 @@ import { I18n } from '@ngx-translate/i18n-polyfill' | |||
34 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' | 33 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' |
35 | import { | 34 | import { |
36 | CustomConfigValidatorsService, | 35 | CustomConfigValidatorsService, |
36 | InstanceValidatorsService, | ||
37 | LoginValidatorsService, | 37 | LoginValidatorsService, |
38 | ReactiveFileComponent, | 38 | ReactiveFileComponent, |
39 | ResetPasswordValidatorsService, | 39 | ResetPasswordValidatorsService, |
@@ -61,6 +61,14 @@ import { OverviewService } from '@app/shared/overview' | |||
61 | import { UserBanModalComponent } from '@app/shared/moderation' | 61 | import { UserBanModalComponent } from '@app/shared/moderation' |
62 | import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component' | 62 | import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component' |
63 | import { BlocklistService } from '@app/shared/blocklist' | 63 | import { BlocklistService } from '@app/shared/blocklist' |
64 | import { TopMenuDropdownComponent } from '@app/shared/menu/top-menu-dropdown.component' | ||
65 | import { UserHistoryService } from '@app/shared/users/user-history.service' | ||
66 | import { UserNotificationService } from '@app/shared/users/user-notification.service' | ||
67 | import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component' | ||
68 | import { InstanceService } from '@app/shared/instance/instance.service' | ||
69 | import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/shared/renderer' | ||
70 | import { ConfirmComponent } from '@app/shared/confirm/confirm.component' | ||
71 | import { GlobalIconComponent } from '@app/shared/icons/global-icon.component' | ||
64 | 72 | ||
65 | @NgModule({ | 73 | @NgModule({ |
66 | imports: [ | 74 | imports: [ |
@@ -102,7 +110,11 @@ import { BlocklistService } from '@app/shared/blocklist' | |||
102 | RemoteSubscribeComponent, | 110 | RemoteSubscribeComponent, |
103 | InstanceFeaturesTableComponent, | 111 | InstanceFeaturesTableComponent, |
104 | UserBanModalComponent, | 112 | UserBanModalComponent, |
105 | UserModerationDropdownComponent | 113 | UserModerationDropdownComponent, |
114 | TopMenuDropdownComponent, | ||
115 | UserNotificationsComponent, | ||
116 | ConfirmComponent, | ||
117 | GlobalIconComponent | ||
106 | ], | 118 | ], |
107 | 119 | ||
108 | exports: [ | 120 | exports: [ |
@@ -141,6 +153,10 @@ import { BlocklistService } from '@app/shared/blocklist' | |||
141 | InstanceFeaturesTableComponent, | 153 | InstanceFeaturesTableComponent, |
142 | UserBanModalComponent, | 154 | UserBanModalComponent, |
143 | UserModerationDropdownComponent, | 155 | UserModerationDropdownComponent, |
156 | TopMenuDropdownComponent, | ||
157 | UserNotificationsComponent, | ||
158 | ConfirmComponent, | ||
159 | GlobalIconComponent, | ||
144 | 160 | ||
145 | NumberFormatterPipe, | 161 | NumberFormatterPipe, |
146 | ObjectLengthPipe, | 162 | ObjectLengthPipe, |
@@ -157,7 +173,6 @@ import { BlocklistService } from '@app/shared/blocklist' | |||
157 | UserService, | 173 | UserService, |
158 | VideoService, | 174 | VideoService, |
159 | AccountService, | 175 | AccountService, |
160 | MarkdownService, | ||
161 | VideoChannelService, | 176 | VideoChannelService, |
162 | VideoCaptionService, | 177 | VideoCaptionService, |
163 | VideoImportService, | 178 | VideoImportService, |
@@ -177,11 +192,20 @@ import { BlocklistService } from '@app/shared/blocklist' | |||
177 | OverviewService, | 192 | OverviewService, |
178 | VideoChangeOwnershipValidatorsService, | 193 | VideoChangeOwnershipValidatorsService, |
179 | VideoAcceptOwnershipValidatorsService, | 194 | VideoAcceptOwnershipValidatorsService, |
195 | InstanceValidatorsService, | ||
180 | BlocklistService, | 196 | BlocklistService, |
197 | UserHistoryService, | ||
198 | InstanceService, | ||
199 | |||
200 | MarkdownService, | ||
201 | LinkifierService, | ||
202 | HtmlRendererService, | ||
181 | 203 | ||
182 | I18nPrimengCalendarService, | 204 | I18nPrimengCalendarService, |
183 | ScreenService, | 205 | ScreenService, |
184 | 206 | ||
207 | UserNotificationService, | ||
208 | |||
185 | I18n | 209 | I18n |
186 | ] | 210 | ] |
187 | }) | 211 | }) |