@@ -4,30 +4,18 @@ import {
44 ResolveFn ,
55 RouterStateSnapshot ,
66} from '@angular/router' ;
7+ import { CollectionDataService } from '@dspace/core/data/collection-data.service' ;
8+ import { RemoteData } from '@dspace/core/data/remote-data' ;
9+ import { ResolvedAction } from '@dspace/core/resolving/resolver.actions' ;
10+ import {
11+ Collection ,
12+ COLLECTION_PAGE_LINKS_TO_FOLLOW ,
13+ } from '@dspace/core/shared/collection.model' ;
14+ import { getFirstCompletedRemoteData } from '@dspace/core/shared/operators' ;
715import { Store } from '@ngrx/store' ;
816import { Observable } from 'rxjs' ;
917
10- import { AppState } from '../../app.reducer' ;
11- import { CollectionDataService } from '../data/collection-data.service' ;
12- import { RemoteData } from '../data/remote-data' ;
13- import { ResolvedAction } from '../resolving/resolver.actions' ;
14- import { Collection } from '../shared/collection.model' ;
15- import {
16- followLink ,
17- FollowLinkConfig ,
18- } from '../shared/follow-link-config.model' ;
19- import { getFirstCompletedRemoteData } from '../shared/operators' ;
20-
21- /**
22- * The self links defined in this list are expected to be requested somewhere in the near future
23- * Requesting them as embeds will limit the number of requests
24- */
25- export const COLLECTION_PAGE_LINKS_TO_FOLLOW : FollowLinkConfig < Collection > [ ] = [
26- followLink ( 'parentCommunity' , { } ,
27- followLink ( 'parentCommunity' ) ,
28- ) ,
29- followLink ( 'logo' ) ,
30- ] ;
18+ import { AppState } from '../app.reducer' ;
3119
3220/**
3321 * Method for resolving a collection based on the parameters in the current route
0 commit comments