You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/src/Ombi/ClientApp/src/app/media-details/media-details.module.ts

49 lines
1.5 KiB

import { NgModule } from "@angular/core";
import { RouterModule, Routes } from "@angular/router";
import { SearchService, RequestService, RadarrService } from "../services";
5 years ago
import {CarouselModule} from 'primeng/carousel';
import { SharedModule } from "../shared/shared.module";
import { MovieDetailsComponent } from "./movie/movie-details.component";
import { TvDetailsComponent } from "./tv/tv-details.component";
5 years ago
import { PipeModule } from "../pipes/pipe.module";
import { YoutubeTrailerComponent } from "./youtube-trailer.component";
5 years ago
import { MovieInformationPanelComponent } from "./movie/panels/movie-information-panel.component";
import { TvInformationPanelComponent } from "./tv/panels/tv-information-panel.component";
const routes: Routes = [
{ path: "movie/:movieDbId", component: MovieDetailsComponent },
5 years ago
{ path: "tv/:tvdbId/:search", component: TvDetailsComponent },
{ path: "tv/:tvdbId", component: TvDetailsComponent },
];
@NgModule({
imports: [
RouterModule.forChild(routes),
SharedModule,
5 years ago
PipeModule,
5 years ago
CarouselModule,
],
declarations: [
MovieDetailsComponent,
YoutubeTrailerComponent,
TvDetailsComponent,
5 years ago
MovieInformationPanelComponent,
TvInformationPanelComponent,
],
exports: [
RouterModule,
],
entryComponents: [
YoutubeTrailerComponent
],
providers: [
SearchService,
RequestService,
RadarrService,
],
})
export class MediaDetailsModule { }