62769: Bitstream format registry

This commit is contained in:
Yana De Pauw
2019-08-05 13:14:03 +02:00
parent 395509a19a
commit 279b80b4de
35 changed files with 2039 additions and 246 deletions

View File

@@ -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;
}