mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 11:03:05 +00:00
[TLC-249] Ensure identifier data model mapped to type
This commit is contained in:
@@ -170,6 +170,7 @@ import { OrcidHistory } from './orcid/model/orcid-history.model';
|
||||
import { OrcidAuthService } from './orcid/orcid-auth.service';
|
||||
import { VocabularyDataService } from './submission/vocabularies/vocabulary.data.service';
|
||||
import { VocabularyEntryDetailsDataService } from './submission/vocabularies/vocabulary-entry-details.data.service';
|
||||
import { IdentifierData } from '../shared/object-list/identifier-data/identifier-data.model';
|
||||
|
||||
/**
|
||||
* When not in production, endpoint responses can be mocked for testing purposes
|
||||
@@ -356,7 +357,8 @@ export const models =
|
||||
ResearcherProfile,
|
||||
OrcidQueue,
|
||||
OrcidHistory,
|
||||
AccessStatusObject
|
||||
AccessStatusObject,
|
||||
IdentifierData,
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
@@ -128,7 +128,7 @@ export class Item extends DSpaceObject implements ChildHALResource, HandleObject
|
||||
* The identifier data for this Item
|
||||
* Will be undefined unless the identifiers {@link HALLink} has been resolved.
|
||||
*/
|
||||
@link(IDENTIFIERS)
|
||||
@link(IDENTIFIERS, false, 'identifiers')
|
||||
identifiers?: Observable<RemoteData<IdentifierData>>;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user