1
|
import { NgModule } from '@angular/core';
|
2
|
import { CommonModule } from '@angular/common';
|
3
|
import { TabsModule } from 'ngx-bootstrap';
|
4
|
import { ReusableComponentsModule } from '../../shared/reusablecomponents/reusable-components.module';
|
5
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
6
|
import { RepositoryComponent } from './repository.component';
|
7
|
import { RepositoryRoutingModule } from './repository-routing.module';
|
8
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
9
|
import {AuthenticationInterceptor} from '../../services/authentication-interceptor';
|
10
|
import {UsagestatsService} from '../../services/usagestats.service';
|
11
|
import {RepositoryService} from '../../services/repository.service';
|
12
|
import {AuthGuardService} from '../../services/auth-guard.service';
|
13
|
import {ValidatorService} from '../../services/validator.service';
|
14
|
import {AuthenticationService} from '../../services/authentication.service';
|
15
|
import {MonitorService} from '../../services/monitor.service';
|
16
|
import {PiwikService} from '../../services/piwik.service';
|
17
|
import {StatisticsService} from '../../services/statistics.service';
|
18
|
import {BrokerService} from '../../services/broker.service';
|
19
|
import {DashboardService} from '../../services/dashboard.service';
|
20
|
import { SharedService } from '../../services/shared.service';
|
21
|
import { SourcesUpdateRepoComponent } from './update/sources-update-repo.component';
|
22
|
import { SourcesModule } from '../sources/sources.module';
|
23
|
import { UpdateRepoAdminsComponent } from './update/update-repo-admins.component';
|
24
|
|
25
|
@NgModule ({
|
26
|
imports: [
|
27
|
CommonModule,
|
28
|
TabsModule.forRoot(),
|
29
|
FormsModule,
|
30
|
ReactiveFormsModule,
|
31
|
// SourcesRouting,
|
32
|
RepositoryRoutingModule,
|
33
|
ReusableComponentsModule,
|
34
|
SourcesModule
|
35
|
],
|
36
|
declarations: [
|
37
|
RepositoryComponent,
|
38
|
DashboardComponent,
|
39
|
SourcesUpdateRepoComponent,
|
40
|
UpdateRepoAdminsComponent
|
41
|
// SourcesComponent,
|
42
|
// SourcesRegisterComponent,
|
43
|
// SourcesUpdateComponent,
|
44
|
// RegisterNewDatasourceComponent,
|
45
|
// RegisterExistingDatasourceComponent,
|
46
|
// SrLiteratureComponent,
|
47
|
// SrDataComponent,
|
48
|
// SrJournalComponent,
|
49
|
// SrAggregatorComponent,
|
50
|
// SourcesUpdateRepoComponent,
|
51
|
// RegisterDatasourceSelectExistingComponent,
|
52
|
// DatasourceUpdateFormComponent,
|
53
|
// DatasourceCreateFormComponent,
|
54
|
// DatasourceNewInterfaceFormComponent,
|
55
|
// RepoFilter // a pipe that searches for string in repository name
|
56
|
],
|
57
|
providers: [
|
58
|
SharedService
|
59
|
],
|
60
|
})
|
61
|
|
62
|
export class RepositoryModule {}
|