mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
switch to typedObject decorator, which no longer needs explict type param
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { autoserialize, autoserializeAs, deserialize } from 'cerialize';
|
||||
import { resourceType } from '../cache/builders/build-decorators';
|
||||
import { typedObject } from '../cache/builders/build-decorators';
|
||||
import { TypedObject } from '../cache/object-cache.reducer';
|
||||
import { excludeFromEquals } from '../utilities/equals.decorators';
|
||||
import { BROWSE_DEFINITION } from './browse-definition.resource-type';
|
||||
@@ -7,7 +7,7 @@ import { HALLink } from './hal-link.model';
|
||||
import { ResourceType } from './resource-type';
|
||||
import { SortOption } from './sort-option.model';
|
||||
|
||||
@resourceType(BrowseDefinition.type)
|
||||
@typedObject
|
||||
export class BrowseDefinition implements TypedObject {
|
||||
static type = BROWSE_DEFINITION;
|
||||
|
||||
|
Reference in New Issue
Block a user