mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 13:33:03 +00:00
add a custom FindDataImpl for browsedefinitions
This commit is contained in:
16
src/app/core/shared/browse-definition.model.ts
Normal file
16
src/app/core/shared/browse-definition.model.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { autoserialize } from 'cerialize';
|
||||
import { CacheableObject } from '../cache/cacheable-object.model';
|
||||
|
||||
/**
|
||||
* Base class for BrowseDefinition models
|
||||
*/
|
||||
export abstract class BrowseDefinition extends CacheableObject {
|
||||
|
||||
@autoserialize
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* Get the render type of the BrowseDefinition model
|
||||
*/
|
||||
abstract getRenderType(): string;
|
||||
}
|
Reference in New Issue
Block a user