X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared.module.ts;h=c99c87c00cd50a00229d35a99bcb129b1b39088c;hb=3866f1a02f73665541468fbadcc3cd2cc459aef2;hp=076f1d2750a594cc3832b9bceb2d7b5ca3633bb3;hpb=660d11e91e1643927028d2d6870a911f569b34d8;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 076f1d275..c99c87c00 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts @@ -25,7 +25,7 @@ import { VideoAbuseService } from './video-abuse' import { VideoBlacklistService } from './video-blacklist' import { VideoOwnershipService } from './video-ownership' import { VideoMiniatureComponent } from './video/video-miniature.component' -import { VideoFeedComponent } from './video/video-feed.component' +import { FeedComponent } from './video/feed.component' import { VideoThumbnailComponent } from './video/video-thumbnail.component' import { VideoService } from './video/video.service' import { AccountService } from '@app/shared/account/account.service' @@ -37,13 +37,15 @@ import { LoginValidatorsService, ReactiveFileComponent, ResetPasswordValidatorsService, + TextareaAutoResizeDirective, UserValidatorsService, VideoAbuseValidatorsService, + VideoAcceptOwnershipValidatorsService, VideoBlacklistValidatorsService, + VideoChangeOwnershipValidatorsService, VideoChannelValidatorsService, VideoCommentValidatorsService, - VideoValidatorsService, - VideoChangeOwnershipValidatorsService, VideoAcceptOwnershipValidatorsService + VideoValidatorsService } from '@app/shared/forms' import { I18nPrimengCalendarService } from '@app/shared/i18n/i18n-primeng-calendar' import { ScreenService } from '@app/shared/misc/screen.service' @@ -53,9 +55,16 @@ import { PeertubeCheckboxComponent } from '@app/shared/forms/peertube-checkbox.c import { VideoImportService } from '@app/shared/video-import/video-import.service' import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.component' import { NgbDropdownModule, NgbModalModule, NgbPopoverModule, NgbTabsetModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap' -import { SubscribeButtonComponent, RemoteSubscribeComponent, UserSubscriptionService } from '@app/shared/user-subscription' +import { RemoteSubscribeComponent, SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/user-subscription' import { InstanceFeaturesTableComponent } from '@app/shared/instance/instance-features-table.component' import { OverviewService } from '@app/shared/overview' +import { UserBanModalComponent } from '@app/shared/moderation' +import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component' +import { BlocklistService } from '@app/shared/blocklist' +import { TopMenuDropdownComponent } from '@app/shared/menu/top-menu-dropdown.component' +import { UserHistoryService } from '@app/shared/users/user-history.service' +import { UserNotificationService } from '@app/shared/users/user-notification.service' +import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component' @NgModule({ imports: [ @@ -79,7 +88,7 @@ import { OverviewService } from '@app/shared/overview' LoaderComponent, VideoThumbnailComponent, VideoMiniatureComponent, - VideoFeedComponent, + FeedComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent, @@ -89,12 +98,17 @@ import { OverviewService } from '@app/shared/overview' FromNowPipe, MarkdownTextareaComponent, InfiniteScrollerDirective, + TextareaAutoResizeDirective, HelpComponent, ReactiveFileComponent, PeertubeCheckboxComponent, SubscribeButtonComponent, RemoteSubscribeComponent, - InstanceFeaturesTableComponent + InstanceFeaturesTableComponent, + UserBanModalComponent, + UserModerationDropdownComponent, + TopMenuDropdownComponent, + UserNotificationsComponent ], exports: [ @@ -117,19 +131,24 @@ import { OverviewService } from '@app/shared/overview' LoaderComponent, VideoThumbnailComponent, VideoMiniatureComponent, - VideoFeedComponent, + FeedComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent, ActionDropdownComponent, MarkdownTextareaComponent, InfiniteScrollerDirective, + TextareaAutoResizeDirective, HelpComponent, ReactiveFileComponent, PeertubeCheckboxComponent, SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, + UserBanModalComponent, + UserModerationDropdownComponent, + TopMenuDropdownComponent, + UserNotificationsComponent, NumberFormatterPipe, ObjectLengthPipe, @@ -166,10 +185,14 @@ import { OverviewService } from '@app/shared/overview' OverviewService, VideoChangeOwnershipValidatorsService, VideoAcceptOwnershipValidatorsService, + BlocklistService, + UserHistoryService, I18nPrimengCalendarService, ScreenService, + UserNotificationService, + I18n ] })