CI test fix, buttons and searchbar style fix and service methods removed

This commit is contained in:
Matteo Perelli
2020-07-06 09:12:18 +02:00
parent e36cb83622
commit d6a5d9d1dd
11 changed files with 55 additions and 63 deletions

View File

@@ -60,34 +60,6 @@ export class ExternalSourceService extends DataService<ExternalSource> {
);
}
/**
* Return a single external source.
*
* @param id
* The external source id.
* @param linksToFollow
* List of {@link FollowLinkConfig} that indicate which {@link HALLink}s should be automatically resolved.
* @return Observable<RemoteData<ExternalSource>>
* The list of the external sources.
*/
getExternalSource(id: string, ...linksToFollow: Array<FollowLinkConfig<ExternalSource>>): Observable<RemoteData<ExternalSource>> {
return this.findById(id, ...linksToFollow);
}
/**
* Return the list of external sources.
*
* @param options
* Find list options object.
* @param linksToFollow
* List of {@link FollowLinkConfig} that indicate which {@link HALLink}s should be automatically resolved.
* @return Observable<RemoteData<PaginatedList<ExternalSource>>>
* The list of the external sources.
*/
getAllExternalSources(options: FindListOptions = {}, ...linksToFollow: Array<FollowLinkConfig<ExternalSource>>): Observable<RemoteData<PaginatedList<ExternalSource>>> {
return this.findAll(options, ...linksToFollow);
}
/**
* Get the entries for an external source
* @param externalSourceId The id of the external source to fetch entries for