2018-11-23 10:52:51 +01:00
|
|
|
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
|
|
|
|
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard';
|
|
|
|
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
|
|
|
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'
|
|
|
|
|
|
|
|
import {ShareInZenodoComponent} from './shareInZenodo.component';
|
|
|
|
import {ShareInZenodoRoutingModule} from './shareInZenodo-routing.module';
|
|
|
|
import {ZenodoCommunitiesServiceModule} from '../../openaireLibrary/connect/zenodoCommunities/zenodo-communitiesService.module';
|
|
|
|
import {SearchZenodoCommunitiesServiceModule} from '../../openaireLibrary/connect/zenodoCommunities/searchZenodoCommunitiesService.module';
|
|
|
|
|
|
|
|
import {CommunityService} from '../../openaireLibrary/connect/community/community.service';
|
2019-07-15 18:24:58 +02:00
|
|
|
import {RouterModule} from "@angular/router";
|
2019-07-22 12:08:25 +02:00
|
|
|
import {HelperModule} from "../../openaireLibrary/utils/helper/helper.module";
|
2018-11-23 10:52:51 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
2019-07-15 18:24:58 +02:00
|
|
|
CommonModule,ShareInZenodoRoutingModule, ZenodoCommunitiesServiceModule, SearchZenodoCommunitiesServiceModule,
|
2019-07-22 12:08:25 +02:00
|
|
|
RouterModule, HelperModule
|
2018-11-23 10:52:51 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
ShareInZenodoComponent
|
|
|
|
],
|
|
|
|
providers:[FreeGuard,PreviousRouteRecorder, IsRouteEnabled, CommunityService],
|
|
|
|
exports: [
|
|
|
|
ShareInZenodoComponent
|
|
|
|
]
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
export class ShareInZenodoModule{}
|