mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
continued refactoring
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { autoserialize, autoserializeAs } from 'cerialize';
|
||||
import { SortOption } from './sort-option.model';
|
||||
import { ResourceType } from './resource-type';
|
||||
import { TypedObject } from '../cache/object-cache.reducer';
|
||||
|
||||
export class BrowseDefinition {
|
||||
export class BrowseDefinition implements TypedObject {
|
||||
@autoserialize
|
||||
id: string;
|
||||
|
||||
@@ -15,7 +17,7 @@ export class BrowseDefinition {
|
||||
defaultSortOrder: string;
|
||||
|
||||
@autoserialize
|
||||
type: string;
|
||||
type: ResourceType;
|
||||
|
||||
@autoserializeAs('metadata')
|
||||
metadataKeys: string[];
|
||||
|
Reference in New Issue
Block a user