mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 11:33:04 +00:00
Cache redesign part 1, and add support for alternative links
This commit is contained in:
@@ -2,8 +2,8 @@ import { autoserialize, deserialize, inheritSerialization } from 'cerialize';
|
||||
import { SectionsType } from '../../../submission/sections/sections-type';
|
||||
import { typedObject } from '../../cache/builders/build-decorators';
|
||||
import { HALLink } from '../../shared/hal-link.model';
|
||||
import { ResourceType } from '../../shared/resource-type';
|
||||
import { ConfigObject } from './config.model';
|
||||
import { SUBMISSION_SECTION_TYPE } from './config-type';
|
||||
|
||||
/**
|
||||
* An interface that define section visibility and its properties.
|
||||
@@ -16,7 +16,7 @@ export interface SubmissionSectionVisibility {
|
||||
@typedObject
|
||||
@inheritSerialization(ConfigObject)
|
||||
export class SubmissionSectionModel extends ConfigObject {
|
||||
static type = new ResourceType('submissionsection');
|
||||
static type = SUBMISSION_SECTION_TYPE;
|
||||
|
||||
/**
|
||||
* The header for this section
|
||||
|
Reference in New Issue
Block a user