PeerTube/client/src/app/+remote-interaction/routes.ts
Chocobozzz 338633ce72
Remove barrels
They can prevent tree shaking
2024-03-05 10:52:32 +01:00

25 lines
725 B
TypeScript

import { Routes } from '@angular/router'
import { LoginGuard } from '@app/core'
import { RemoteInteractionComponent } from './remote-interaction.component'
import { FindInBulkService } from '@app/shared/shared-search/find-in-bulk.service'
import { SearchService } from '@app/shared/shared-search/search.service'
import { VideoPlaylistService } from '@app/shared/shared-video-playlist/video-playlist.service'
export default [
{
path: '',
component: RemoteInteractionComponent,
providers: [
FindInBulkService,
SearchService,
VideoPlaylistService
],
canActivate: [ LoginGuard ],
data: {
meta: {
title: $localize`Remote interaction`
}
}
}
] satisfies Routes