PeerTube/client/src/app/+remote-interaction/routes.ts

25 lines
725 B
TypeScript
Raw Normal View History

2024-03-04 03:01:52 -06:00
import { Routes } from '@angular/router'
2021-01-14 07:13:23 -06:00
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'
2021-01-14 07:13:23 -06:00
2024-03-04 03:01:52 -06:00
export default [
2021-01-14 07:13:23 -06:00
{
path: '',
component: RemoteInteractionComponent,
2024-03-04 03:01:52 -06:00
providers: [
FindInBulkService,
SearchService,
VideoPlaylistService
2024-03-04 03:01:52 -06:00
],
2021-01-14 07:13:23 -06:00
canActivate: [ LoginGuard ],
data: {
meta: {
title: $localize`Remote interaction`
}
}
}
2024-03-04 03:01:52 -06:00
] satisfies Routes