mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
47 lines
No EOL
1.5 KiB
TypeScript
47 lines
No EOL
1.5 KiB
TypeScript
import { NgModule, } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { FormsModule } from '@angular/forms';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
import { WelcomeComponent } from './welcome/welcome.component';
|
|
import { MediaServerComponent } from './mediaserver/mediaserver.component';
|
|
import { PlexComponent } from './plex/plex.component';
|
|
import { CreateAdminComponent } from './createadmin/createadmin.component';
|
|
import { EmbyComponent } from './emby/emby.component';
|
|
|
|
import { PlexService } from '../services/applications/plex.service';
|
|
import { EmbyService } from '../services/applications/emby.service';
|
|
import { IdentityService } from '../services/identity.service';
|
|
|
|
const routes: Routes = [
|
|
{ path: 'Wizard', component: WelcomeComponent},
|
|
{ path: 'Wizard/MediaServer', component: MediaServerComponent},
|
|
{ path: 'Wizard/Plex', component: PlexComponent},
|
|
{ path: 'Wizard/Emby', component: EmbyComponent},
|
|
{ path: 'Wizard/CreateAdmin', component: CreateAdminComponent},
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
FormsModule,
|
|
RouterModule.forChild(routes)
|
|
],
|
|
declarations: [
|
|
WelcomeComponent,
|
|
MediaServerComponent,
|
|
PlexComponent,
|
|
CreateAdminComponent,
|
|
EmbyComponent
|
|
],
|
|
exports: [
|
|
RouterModule
|
|
],
|
|
providers: [
|
|
PlexService,
|
|
IdentityService,
|
|
EmbyService
|
|
],
|
|
|
|
})
|
|
export class WizardModule { } |