mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
moved search module contents to shared
This commit is contained in:
21
src/app/shared/search/normalized-search-result.model.ts
Normal file
21
src/app/shared/search/normalized-search-result.model.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { autoserialize, autoserializeAs } from 'cerialize';
|
||||
import { MetadataMap } from '../../core/shared/metadata.models';
|
||||
import { ListableObject } from '../object-collection/shared/listable-object.model';
|
||||
|
||||
/**
|
||||
* Represents a normalized version of a search result object of a certain DSpaceObject
|
||||
*/
|
||||
export class NormalizedSearchResult implements ListableObject {
|
||||
/**
|
||||
* The UUID of the DSpaceObject that was found
|
||||
*/
|
||||
@autoserialize
|
||||
indexableObject: string;
|
||||
|
||||
/**
|
||||
* The metadata that was used to find this item, hithighlighted
|
||||
*/
|
||||
@autoserialize
|
||||
hitHighlights: MetadataMap;
|
||||
|
||||
}
|
Reference in New Issue
Block a user