[CST-4499] Version history (WIP) - Authorization features - Deleting not working

This commit is contained in:
Davide Negretti
2021-09-16 00:28:45 +02:00
parent 77ff774c97
commit f858eeef46
10 changed files with 302 additions and 123 deletions

View File

@@ -9,6 +9,7 @@ import { link, typedObject } from '../cache/builders/build-decorators';
import { DSpaceObject } from './dspace-object.model';
import { HALLink } from './hal-link.model';
import { VERSION } from './version.resource-type';
import { ResourceType } from './resource-type';
/**
* Class representing a DSpace Version History
@@ -22,6 +23,7 @@ export class VersionHistory extends DSpaceObject {
_links: {
self: HALLink;
versions: HALLink;
draftVersion: HALLink;
};
/**
@@ -42,6 +44,12 @@ export class VersionHistory extends DSpaceObject {
@autoserialize
submitterName: string;
/**
* Whether exist a workspace item
*/
@autoserialize
draftVersion: boolean;
/**
* The list of versions within this history
*/