mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00

Also: - Converted the code to the standalone structure - Made DsoEditMetadataValueFieldLoaderComponent extend AbstractComponentLoaderComponent
19 lines
462 B
TypeScript
19 lines
462 B
TypeScript
import {
|
|
Observable,
|
|
of as observableOf,
|
|
} from 'rxjs';
|
|
|
|
import { DSpaceObject } from '../../core/shared/dspace-object.model';
|
|
import { Vocabulary } from '../../core/submission/vocabularies/models/vocabulary.model';
|
|
|
|
/**
|
|
* Stub class of {@link DsoEditMetadataFieldService}
|
|
*/
|
|
export class DsoEditMetadataFieldServiceStub {
|
|
|
|
findDsoFieldVocabulary(_dso: DSpaceObject, _mdField: string): Observable<Vocabulary> {
|
|
return observableOf(undefined);
|
|
}
|
|
|
|
}
|