X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared.module.ts;h=d06d37d8cb54f8dd7e9657b35bae6215e94fdc5d;hb=cf59a2a0c367683ba35758419499bf6087c192ec;hp=29ddf7b81642c03c8de07f03aadd0e3c6bab6021;hpb=3a1fed11c52705002cbf2a17294509fb5a89237c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 29ddf7b81..d06d37d8c 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts @@ -66,6 +66,7 @@ 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 { AvatarComponent } from '@app/shared/channel/avatar.component' 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' @@ -84,6 +85,7 @@ import { TimestampInputComponent } from '@app/shared/forms/timestamp-input.compo import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playlist/video-playlist-element-miniature.component' import { VideosSelectionComponent } from '@app/shared/video/videos-selection.component' import { NumberFormatterPipe } from '@app/shared/angular/number-formatter.pipe' +import { VideoDurationPipe } from '@app/shared/angular/video-duration-formatter.pipe' import { ObjectLengthPipe } from '@app/shared/angular/object-length.pipe' import { FromNowPipe } from '@app/shared/angular/from-now.pipe' import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template.directive' @@ -96,6 +98,7 @@ import { FollowService } from '@app/shared/instance/follow.service' import { MultiSelectModule } from 'primeng/multiselect' import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.component' import { InputReadonlyCopyComponent } from '@app/shared/forms/input-readonly-copy.component' +import { RedundancyService } from '@app/shared/video/redundancy.service' @NgModule({ imports: [ @@ -146,6 +149,7 @@ import { InputReadonlyCopyComponent } from '@app/shared/forms/input-readonly-cop ObjectLengthPipe, FromNowPipe, PeerTubeTemplateDirective, + VideoDurationPipe, ActionDropdownComponent, MarkdownTextareaComponent, @@ -158,6 +162,7 @@ import { InputReadonlyCopyComponent } from '@app/shared/forms/input-readonly-cop TimestampInputComponent, InputReadonlyCopyComponent, + AvatarComponent, SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, @@ -228,6 +233,7 @@ import { InputReadonlyCopyComponent } from '@app/shared/forms/input-readonly-cop PeertubeCheckboxComponent, TimestampInputComponent, + AvatarComponent, SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, @@ -245,7 +251,8 @@ import { InputReadonlyCopyComponent } from '@app/shared/forms/input-readonly-cop NumberFormatterPipe, ObjectLengthPipe, FromNowPipe, - PeerTubeTemplateDirective + PeerTubeTemplateDirective, + VideoDurationPipe ], providers: [ @@ -294,6 +301,7 @@ import { InputReadonlyCopyComponent } from '@app/shared/forms/input-readonly-cop UserNotificationService, FollowService, + RedundancyService, I18n ]