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

22 lines
522 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'
2024-03-04 03:01:52 -06:00
import { FindInBulkService, SearchService } from '@app/shared/shared-search'
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
],
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