moved search module contents to shared

This commit is contained in:
lotte
2019-07-10 13:17:28 +02:00
parent 7f3dab9fc0
commit 42c690dfd4
149 changed files with 598 additions and 559 deletions

View 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;
}