OpenSlides/client/src/e2e-imports.module.ts
2019-07-30 09:53:14 +02:00

37 lines
1.3 KiB
TypeScript

import { APP_BASE_HREF, CommonModule } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppRoutingModule } from 'app/app-routing.module';
import { AppModule } from 'app/app.module';
import { OpenSlidesTranslateModule } from 'app/core/translate/openslides-translate-module';
import { SharedModule } from 'app/shared/shared.module';
import { LoginModule } from 'app/site/login/login.module';
/**
* Share Module for all "dumb" components and pipes.
*
* These components don not import and inject services from core or other features
* in their constructors.
*
* Should receive all data though attributes in the template of the component using them.
* No dependency to the rest of our application.
*/
@NgModule({
imports: [
AppModule,
CommonModule,
SharedModule,
HttpClientModule,
OpenSlidesTranslateModule.forRoot(),
LoginModule,
BrowserAnimationsModule,
AppRoutingModule
],
exports: [CommonModule, SharedModule, HttpClientModule, OpenSlidesTranslateModule, AppRoutingModule],
providers: [{ provide: APP_BASE_HREF, useValue: '/' }]
})
export class E2EImportsModule {}