feat: add SCThingTranslator class. move functionality accordingly

This commit is contained in:
Rainer Killinger
2018-12-03 14:58:46 +01:00
committed by Karl-Philipp Wulfert
parent 797e5ca9de
commit 90e3d22399
9 changed files with 376 additions and 89 deletions

View File

@@ -38,4 +38,14 @@ export interface SCPlaceWithoutReferences extends SCThing {
* @see http://wiki.openstreetmap.org/wiki/Key:opening_hours/specification
*/
openingHours?: string;
/**
* Translated fields of a place
*/
translations?: SCTranslations<SCPlaceWithoutReferencesTranslatableProperties>;
}
export interface SCPlaceWithoutReferencesTranslatableProperties extends SCThingTranslatableProperties {
address?: SCPostalAddress;
}