mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 18:44:14 +00:00
64503: MetadataConfig in ContentSource + JSDocs
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import { autoserialize, autoserializeAs, deserializeAs, deserialize } from 'cerialize';
|
||||
import { MetadataConfig } from './metadata-config.model';
|
||||
|
||||
/**
|
||||
* The type of content harvesting used
|
||||
*/
|
||||
export enum ContentSourceHarvestType {
|
||||
None = 'NONE',
|
||||
Metadata = 'METADATA_ONLY',
|
||||
@@ -43,6 +47,11 @@ export class ContentSource {
|
||||
@autoserializeAs('harvest_type')
|
||||
harvestType = ContentSourceHarvestType.None;
|
||||
|
||||
/**
|
||||
* The available metadata configurations
|
||||
*/
|
||||
metadataConfigs: MetadataConfig[];
|
||||
|
||||
/**
|
||||
* The REST link to itself
|
||||
*/
|
||||
|
Reference in New Issue
Block a user