mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
35 lines
1.4 KiB
TypeScript
35 lines
1.4 KiB
TypeScript
import { Inject, Injectable } from '@angular/core';
|
|
import { Store } from '@ngrx/store';
|
|
import { GLOBAL_CONFIG, GlobalConfig } from '../../../config';
|
|
import { RemoteDataBuildService } from '../cache/builders/remote-data-build.service';
|
|
import { NormalizedCollection } from '../cache/models/normalized-collection.model';
|
|
import { ObjectCacheService } from '../cache/object-cache.service';
|
|
import { ResponseCacheService } from '../cache/response-cache.service';
|
|
import { CoreState } from '../core.reducers';
|
|
import { Collection } from '../shared/collection.model';
|
|
import { ComColDataService } from './comcol-data.service';
|
|
import { CommunityDataService } from './community-data.service';
|
|
import { RequestService } from './request.service';
|
|
import { HALEndpointService } from '../shared/hal-endpoint.service';
|
|
import { AuthService } from '../auth/auth.service';
|
|
import { Community } from '../shared/community.model';
|
|
|
|
@Injectable()
|
|
export class CollectionDataService extends ComColDataService<NormalizedCollection, Collection> {
|
|
protected linkPath = 'collections';
|
|
|
|
constructor(
|
|
protected responseCache: ResponseCacheService,
|
|
protected requestService: RequestService,
|
|
protected rdbService: RemoteDataBuildService,
|
|
protected store: Store<CoreState>,
|
|
protected cds: CommunityDataService,
|
|
protected objectCache: ObjectCacheService,
|
|
protected halService: HALEndpointService,
|
|
protected authService: AuthService
|
|
) {
|
|
super();
|
|
}
|
|
|
|
}
|