mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 06:23:03 +00:00
62769: Bitstream format registry
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
import { CacheableObject } from '../cache/object-cache.reducer';
|
||||
import { ResourceType } from './resource-type';
|
||||
import { BitstreamFormatSupportLevel } from './bitstream-format-support-level';
|
||||
|
||||
/**
|
||||
* Model class for a Bitstream Format
|
||||
@@ -25,7 +25,7 @@ export class BitstreamFormat implements CacheableObject {
|
||||
/**
|
||||
* The level of support the system offers for this Bitstream Format
|
||||
*/
|
||||
supportLevel: number;
|
||||
supportLevel: BitstreamFormatSupportLevel;
|
||||
|
||||
/**
|
||||
* True if the Bitstream Format is used to store system information, rather than the content of items in the system
|
||||
@@ -35,7 +35,7 @@ export class BitstreamFormat implements CacheableObject {
|
||||
/**
|
||||
* String representing this Bitstream Format's file extension
|
||||
*/
|
||||
extensions: string;
|
||||
extensions: string[];
|
||||
|
||||
/**
|
||||
* The link to the rest endpoint where this Bitstream Format can be found
|
||||
@@ -52,4 +52,11 @@ export class BitstreamFormat implements CacheableObject {
|
||||
*/
|
||||
uuid: string;
|
||||
|
||||
/**
|
||||
* Identifier for this Bitstream Format
|
||||
* Note that this ID is unique for bitstream formats,
|
||||
* but might not be unique across different object types
|
||||
*/
|
||||
id: string;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user