refactor: extract inline type definitions

This commit is contained in:
Michel Jonathan Schmitz
2019-02-07 10:56:18 +01:00
parent 06f8e1f436
commit 01a1d40f11
13 changed files with 335 additions and 122 deletions

View File

@@ -315,10 +315,15 @@ export interface SCThingTranslatableProperties {
/**
* Origin of the thing
*/
origin?: {
/**
* Translation of the name of the origin of the thing
*/
name: string;
};
origin?: SCThingTranslatablePropertyOrigin;
}
/**
* Translatable property of an origin
*/
export interface SCThingTranslatablePropertyOrigin {
/**
* Translation of the name of the origin
*/
name: string;
}