mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
switch to typedObject decorator, which no longer needs explict type param
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { autoserialize, deserialize } from 'cerialize';
|
||||
import { SectionsType } from '../../../submission/sections/sections-type';
|
||||
import { resourceType } from '../../cache/builders/build-decorators';
|
||||
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';
|
||||
@@ -13,7 +13,7 @@ export interface SubmissionSectionVisibility {
|
||||
other: any
|
||||
}
|
||||
|
||||
@resourceType(SubmissionSectionModel.type)
|
||||
@typedObject
|
||||
export class SubmissionSectionModel extends ConfigObject {
|
||||
static type = new ResourceType('submissionsection');
|
||||
|
||||
|
Reference in New Issue
Block a user