mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
[TLC-380] Support browse links and regex links in metadata display
(resolved conflicts jan 2023)
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
/**
|
||||
* An Enum defining the representation type of metadata
|
||||
*/
|
||||
import { BrowseDefinition } from '../browse-definition.model';
|
||||
|
||||
export enum MetadataRepresentationType {
|
||||
None = 'none',
|
||||
Item = 'item',
|
||||
AuthorityControlled = 'authority_controlled',
|
||||
PlainText = 'plain_text'
|
||||
PlainText = 'plain_text',
|
||||
BrowseLink = 'browse_link'
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -24,8 +27,14 @@ export interface MetadataRepresentation {
|
||||
*/
|
||||
representationType: MetadataRepresentationType;
|
||||
|
||||
/**
|
||||
* The browse definition (optional)
|
||||
*/
|
||||
browseDefinition?: BrowseDefinition;
|
||||
|
||||
/**
|
||||
* Fetches the value to be displayed
|
||||
*/
|
||||
getValue(): string;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user