version-history.model.ts (dspace-angular-dspace-7.0) | : | version-history.model.ts (dspace-angular-dspace-7.1) | ||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
*/ | */ | |||
@typedObject | @typedObject | |||
@inheritSerialization(DSpaceObject) | @inheritSerialization(DSpaceObject) | |||
export class VersionHistory extends DSpaceObject { | export class VersionHistory extends DSpaceObject { | |||
static type = VERSION_HISTORY; | static type = VERSION_HISTORY; | |||
@deserialize | @deserialize | |||
_links: { | _links: { | |||
self: HALLink; | self: HALLink; | |||
versions: HALLink; | versions: HALLink; | |||
draftVersion: HALLink; | ||||
}; | }; | |||
/** | /** | |||
* The identifier of this Version History | * The identifier of this Version History | |||
*/ | */ | |||
@autoserialize | @autoserialize | |||
id: string; | id: string; | |||
/** | /** | |||
* The summary of this Version History | ||||
*/ | ||||
@autoserialize | ||||
summary: string; | ||||
/** | ||||
* The name of the submitter of this Version History | ||||
*/ | ||||
@autoserialize | ||||
submitterName: string; | ||||
/** | ||||
* Whether exist a workspace item | ||||
*/ | ||||
@autoserialize | ||||
draftVersion: boolean; | ||||
/** | ||||
* The list of versions within this history | * The list of versions within this history | |||
*/ | */ | |||
@excludeFromEquals | @excludeFromEquals | |||
@link(VERSION, true) | @link(VERSION, true) | |||
versions: Observable<RemoteData<PaginatedList<Version>>>; | versions: Observable<RemoteData<PaginatedList<Version>>>; | |||
} | } | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 19 lines changed or added |