63669: Content-Source integrated with FieldUpdate

This commit is contained in:
Kristof De Langhe
2019-07-12 13:34:40 +02:00
parent 03887e7c41
commit 615a47fe5b
8 changed files with 184 additions and 15 deletions

View File

@@ -1,17 +1,35 @@
import { v4 as uuid } from 'uuid';
export class ContentSource {
/**
* Unique identifier
*/
uuid: string;
/**
* Does this collection harvest its content from an external source ?
*/
enabled = false;
/**
* OAI Provider
*/
provider: string;
/**
* OAI Specific set ID
*/
set: string;
format: string;
/**
* Metadata Format
*/
format = 'dc';
harvestType: number;
/**
* Type of content being harvested
*/
harvest = 3;
constructor() {
this.uuid = uuid();