64503: MetadataConfig in ContentSource + JSDocs

This commit is contained in:
Kristof De Langhe
2019-08-20 17:54:58 +02:00
parent 1b9bc2f7a3
commit 8103321245
5 changed files with 59 additions and 1 deletions

View File

@@ -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
*/