import { MyAccountVideoChannelsComponent } from '@app/+my-account/my-account-video-channels/my-account-video-channels.component'
import { MyAccountVideoChannelCreateComponent } from '@app/+my-account/my-account-video-channels/my-account-video-channel-create.component'
import { MyAccountVideoChannelUpdateComponent } from '@app/+my-account/my-account-video-channels/my-account-video-channel-update.component'
+import { MyAccountVideoImportsComponent } from '@app/+my-account/my-account-video-imports/my-account-video-imports.component'
+import { MyAccountSubscriptionsComponent } from '@app/+my-account/my-account-subscriptions/my-account-subscriptions.component'
+import { MyAccountOwnershipComponent } from '@app/+my-account/my-account-ownership/my-account-ownership.component'
+import { MyAccountBlocklistComponent } from '@app/+my-account/my-account-blocklist/my-account-blocklist.component'
+import { MyAccountServerBlocklistComponent } from '@app/+my-account/my-account-blocklist/my-account-server-blocklist.component'
const myAccountRoutes: Routes = [
{
component: MyAccountComponent,
canActivateChild: [ MetaGuard, LoginGuard ],
children: [
+ {
+ path: '',
+ redirectTo: 'settings',
+ pathMatch: 'full'
+ },
{
path: 'settings',
component: MyAccountSettingsComponent,
title: 'Account videos'
}
}
+ },
+ {
+ path: 'video-imports',
+ component: MyAccountVideoImportsComponent,
+ data: {
+ meta: {
+ title: 'Account video imports'
+ }
+ }
+ },
+ {
+ path: 'subscriptions',
+ component: MyAccountSubscriptionsComponent,
+ data: {
+ meta: {
+ title: 'Account subscriptions'
+ }
+ }
+ },
+ {
+ path: 'ownership',
+ component: MyAccountOwnershipComponent,
+ data: {
+ meta: {
+ title: 'Ownership changes'
+ }
+ }
+ },
+ {
+ path: 'blocklist/accounts',
+ component: MyAccountBlocklistComponent,
+ data: {
+ meta: {
+ title: 'Muted accounts'
+ }
+ }
+ },
+ {
+ path: 'blocklist/servers',
+ component: MyAccountServerBlocklistComponent,
+ data: {
+ meta: {
+ title: 'Muted instances'
+ }
+ }
}
]
}