mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
63669: Content-Source integrated with FieldUpdate
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user