mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
19 lines
475 B
TypeScript
19 lines
475 B
TypeScript
/**
|
|
* The contents of this file are subject to the license and copyright
|
|
* detailed in the LICENSE and NOTICE files at the root of the source
|
|
* tree and available online at
|
|
*
|
|
* http://www.dspace.org/license/
|
|
*/
|
|
|
|
import { Observable, of as observableOf } from 'rxjs';
|
|
|
|
/**
|
|
* Stub class of {@link ScriptDataService}.
|
|
*/
|
|
export class ScriptServiceStub {
|
|
scriptWithNameExistsAndCanExecute(scriptName: string): Observable<boolean> {
|
|
return observableOf(true);
|
|
}
|
|
}
|