83 lines
2.2 KiB
TypeScript
83 lines
2.2 KiB
TypeScript
/** @file
|
|
* @author Edouard DUPIN
|
|
* @copyright 2018, Edouard DUPIN, all right reserved
|
|
* @license PROPRIETARY (see license file)
|
|
*/
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { NgModule } from '@angular/core';
|
|
import { RouterModule } from '@angular/router';
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { ElementTypeComponent } from './component/element-type/element-type';
|
|
import { ElementSeriesComponent } from './component/element-series/element-series';
|
|
import { ElementSeasonComponent } from './component/element-season/element-season';
|
|
import { ElementVideoComponent } from './component/element-video/element-video';
|
|
|
|
import { PopInCreateType } from './popin/create-type/create-type';
|
|
|
|
import { AppComponent } from './app.component';
|
|
import {
|
|
HomeScene, HelpScene, TypeScene, SeriesScene, SeasonScene, VideoScene, SettingsScene,
|
|
VideoEditScene, SeasonEditScene, SeriesEditScene
|
|
} from './scene';
|
|
import { TypeService, DataService, SeriesService, SeasonService, VideoService, ArianeService, AdvancementService } from './service';
|
|
import { UploadScene } from './scene/upload/upload';
|
|
import { common_module_declarations, common_module_imports, common_module_providers, common_module_exports } from 'common/module';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
ElementTypeComponent,
|
|
ElementSeriesComponent,
|
|
ElementSeasonComponent,
|
|
ElementVideoComponent,
|
|
|
|
AppComponent,
|
|
PopInCreateType,
|
|
|
|
HomeScene,
|
|
HelpScene,
|
|
TypeScene,
|
|
SeriesScene,
|
|
SeasonScene,
|
|
VideoScene,
|
|
SettingsScene,
|
|
VideoEditScene,
|
|
SeasonEditScene,
|
|
SeriesEditScene,
|
|
UploadScene,
|
|
...common_module_declarations,
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
RouterModule,
|
|
AppRoutingModule,
|
|
HttpClientModule,
|
|
...common_module_imports,
|
|
],
|
|
providers: [
|
|
TypeService,
|
|
DataService,
|
|
SeriesService,
|
|
SeasonService,
|
|
VideoService,
|
|
ArianeService,
|
|
AdvancementService,
|
|
...common_module_providers,
|
|
],
|
|
exports: [
|
|
AppComponent,
|
|
ElementTypeComponent,
|
|
ElementSeriesComponent,
|
|
ElementSeasonComponent,
|
|
ElementVideoComponent,
|
|
PopInCreateType,
|
|
...common_module_exports,
|
|
],
|
|
bootstrap: [
|
|
AppComponent
|
|
]
|
|
})
|
|
export class AppModule { }
|