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'
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'
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'
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'
@NgModule({
imports: [
RouterModule,
HttpClientModule,
- NgbDropdownModule.forRoot(),
- NgbModalModule.forRoot(),
- NgbPopoverModule.forRoot(),
- NgbTabsetModule.forRoot(),
- NgbTooltipModule.forRoot(),
+ NgbDropdownModule,
+ NgbModalModule,
+ NgbPopoverModule,
+ NgbTabsetModule,
+ NgbTooltipModule,
PrimeSharedModule,
NgPipesModule
VideoThumbnailComponent,
VideoMiniatureComponent,
VideoFeedComponent,
+ ButtonComponent,
DeleteButtonComponent,
EditButtonComponent,
ActionDropdownComponent,
HelpComponent,
ReactiveFileComponent,
PeertubeCheckboxComponent,
- SubscribeButtonComponent
+ SubscribeButtonComponent,
+ RemoteSubscribeComponent,
+ InstanceFeaturesTableComponent
],
exports: [
VideoThumbnailComponent,
VideoMiniatureComponent,
VideoFeedComponent,
+ ButtonComponent,
DeleteButtonComponent,
EditButtonComponent,
ActionDropdownComponent,
ReactiveFileComponent,
PeertubeCheckboxComponent,
SubscribeButtonComponent,
+ RemoteSubscribeComponent,
+ InstanceFeaturesTableComponent,
NumberFormatterPipe,
ObjectLengthPipe,
RestService,
VideoAbuseService,
VideoBlacklistService,
+ VideoOwnershipService,
UserService,
VideoService,
AccountService,
VideoValidatorsService,
VideoCaptionsValidatorsService,
VideoBlacklistValidatorsService,
+ OverviewService,
+ VideoChangeOwnershipValidatorsService,
+ VideoAcceptOwnershipValidatorsService,
I18nPrimengCalendarService,
ScreenService,