Project

General

Profile

1
import { NgModule } from '@angular/core';
2

    
3
import { SharedModule } from '../../shared/shared.module';
4
import { OpenaireDirectLinkingComponent } from './directLinking.component';
5
import{ DirectLinkingModule} from '../../openaireLibrary/claims/directLinking/directLinking.module';
6
import {DirectLinkingRoutingModule} from './directLinking-routing.module';
7
import {LoginGuard} from '../../openaireLibrary/login/loginGuard.guard';
8
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
9
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
10
import {ConnectSubscriberGuard} from '../../openaireLibrary/connect/communityGuard/connectSubscriber.guard';
11
import {CommunityService} from '../../openaireLibrary/connect/community/community.service';
12

    
13
@NgModule({
14
  imports: [
15
    SharedModule, DirectLinkingModule, DirectLinkingRoutingModule
16
  ],
17
  providers:[LoginGuard, PreviousRouteRecorder, IsRouteEnabled, ConnectSubscriberGuard, CommunityService],
18
  declarations: [
19
    OpenaireDirectLinkingComponent
20
  ], exports:[OpenaireDirectLinkingComponent]
21
})
22
export class LibDirectLinkingModule { }
(3-3/3)