X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared.module.ts;h=9647a7966288f86d6f4147217055e45d2bf2b1d1;hb=7ad9b9846c44d198a736183fb186c2039f5236b5;hp=413159059c8e6865d1464dd4b1eca5f45dea9003;hpb=d77ad726631ea09ee1aa92e52cfac8c8c781ec35;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 413159059..9647a7966 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts @@ -12,6 +12,7 @@ import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' import { AUTH_INTERCEPTOR_PROVIDER } from './auth' +import { ButtonComponent } from './buttons/button.component' import { DeleteButtonComponent } from './buttons/delete-button.component' import { EditButtonComponent } from './buttons/edit-button.component' import { FromNowPipe } from './misc/from-now.pipe' @@ -22,6 +23,7 @@ import { RestExtractor, RestService } from './rest' import { UserService } from './users' 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 { VideoThumbnailComponent } from './video/video-thumbnail.component' @@ -40,7 +42,8 @@ import { VideoBlacklistValidatorsService, VideoChannelValidatorsService, VideoCommentValidatorsService, - VideoValidatorsService + VideoValidatorsService, + VideoChangeOwnershipValidatorsService, VideoAcceptOwnershipValidatorsService } from '@app/shared/forms' import { I18nPrimengCalendarService } from '@app/shared/i18n/i18n-primeng-calendar' import { ScreenService } from '@app/shared/misc/screen.service' @@ -50,7 +53,11 @@ 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, UserSubscriptionService } from '@app/shared/user-subscription' +import { SubscribeButtonComponent, RemoteSubscribeComponent, 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' @NgModule({ imports: [ @@ -75,6 +82,7 @@ import { SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/u VideoThumbnailComponent, VideoMiniatureComponent, VideoFeedComponent, + ButtonComponent, DeleteButtonComponent, EditButtonComponent, ActionDropdownComponent, @@ -86,7 +94,11 @@ import { SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/u HelpComponent, ReactiveFileComponent, PeertubeCheckboxComponent, - SubscribeButtonComponent + SubscribeButtonComponent, + RemoteSubscribeComponent, + InstanceFeaturesTableComponent, + UserBanModalComponent, + UserModerationDropdownComponent ], exports: [ @@ -110,6 +122,7 @@ import { SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/u VideoThumbnailComponent, VideoMiniatureComponent, VideoFeedComponent, + ButtonComponent, DeleteButtonComponent, EditButtonComponent, ActionDropdownComponent, @@ -119,6 +132,10 @@ import { SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/u ReactiveFileComponent, PeertubeCheckboxComponent, SubscribeButtonComponent, + RemoteSubscribeComponent, + InstanceFeaturesTableComponent, + UserBanModalComponent, + UserModerationDropdownComponent, NumberFormatterPipe, ObjectLengthPipe, @@ -131,6 +148,7 @@ import { SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/u RestService, VideoAbuseService, VideoBlacklistService, + VideoOwnershipService, UserService, VideoService, AccountService, @@ -151,6 +169,9 @@ import { SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/u VideoValidatorsService, VideoCaptionsValidatorsService, VideoBlacklistValidatorsService, + OverviewService, + VideoChangeOwnershipValidatorsService, + VideoAcceptOwnershipValidatorsService, I18nPrimengCalendarService, ScreenService,