mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 11:03:05 +00:00
63669: Content Source valid check + JSDocs
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import { v4 as uuid } from 'uuid';
|
||||
|
||||
/**
|
||||
* A model class that holds information about the Content Source of a Collection
|
||||
*/
|
||||
export class ContentSource {
|
||||
/**
|
||||
* Unique identifier
|
||||
@@ -32,6 +35,7 @@ export class ContentSource {
|
||||
harvest = 3;
|
||||
|
||||
constructor() {
|
||||
// TODO: Remove this once the Content Source is fetched from the REST API and a custom generated UUID is not necessary anymore
|
||||
this.uuid = uuid();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user