mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
22 lines
505 B
TypeScript
22 lines
505 B
TypeScript
import { BehaviorSubject, of as observableOf } from 'rxjs';
|
|
|
|
export class SearchConfigurationServiceStub {
|
|
|
|
public paginationID = 'test-id';
|
|
|
|
private searchOptions: BehaviorSubject<any> = new BehaviorSubject<any>({});
|
|
private paginatedSearchOptions: BehaviorSubject<any> = new BehaviorSubject<any>({});
|
|
|
|
getCurrentFrontendFilters() {
|
|
return observableOf([]);
|
|
}
|
|
|
|
getCurrentScope(a) {
|
|
return observableOf('test-id');
|
|
}
|
|
|
|
getCurrentConfiguration(a) {
|
|
return observableOf(a);
|
|
}
|
|
}
|