mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
35 lines
752 B
TypeScript
35 lines
752 B
TypeScript
import { ModuleWithProviders, NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { CoreModule } from '../core/core.module';
|
|
import { SharedModule } from '../shared/shared.module';
|
|
import { StatisticsEndpoint } from './statistics-endpoint.model';
|
|
|
|
/**
|
|
* Declaration needed to make sure all decorator functions are called in time
|
|
*/
|
|
export const models = [
|
|
StatisticsEndpoint
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
CoreModule.forRoot(),
|
|
SharedModule,
|
|
],
|
|
declarations: [
|
|
],
|
|
exports: [
|
|
]
|
|
})
|
|
/**
|
|
* This module handles the statistics
|
|
*/
|
|
export class StatisticsModule {
|
|
static forRoot(): ModuleWithProviders<StatisticsModule> {
|
|
return {
|
|
ngModule: StatisticsModule,
|
|
};
|
|
}
|
|
}
|