67478: Intermediate commit - Basic components

This commit is contained in:
Kristof De Langhe
2019-11-29 17:51:27 +01:00
parent 0048a97181
commit de4b32dcad
15 changed files with 326 additions and 5 deletions

View File

@@ -0,0 +1,29 @@
import { ResourceType } from './resource-type';
import { CacheableObject } from '../cache/object-cache.reducer';
/**
* Model class for an external source
*/
export class ExternalSource extends CacheableObject {
static type = new ResourceType('externalsource');
/**
* Unique identifier
*/
id: string;
/**
* The name of this external source
*/
name: string;
/**
* Is the source hierarchical?
*/
hierarchical: boolean;
/**
* The link to the rest endpoint where this External Source can be found
*/
self: string;
}