refactor: swap out jsonschema package for json-schema

This commit is contained in:
Wieland Schöbl
2020-02-18 14:27:44 +01:00
committed by Rainer Killinger
parent d3b620a745
commit 827ba47892
6 changed files with 813 additions and 829 deletions

View File

@@ -189,7 +189,7 @@ export class SCThingTranslator {
* // or
* const dishTranslatedAccess = translator.translate(dish);
* dishTranslatedAccess.offers[0].inPlace.categories[1]();
* // undoing the TSTSOCType<T>
* // undoing the TSOCType<T>
* const dishAsBefore: SCDish = dishTranslatedAccess()!;
* @param data Top level object that gets passed through the recursion
* @returns an TSOCType<T> object allowing for access to translations or a translated value(s)
@@ -231,7 +231,7 @@ export class SCThingTranslator {
/**
* Given a SCThingType this function will translate it
*
*
* @param type The type that will be translated
* @param language The language the type will be translated to
* @returns Known translation of type parameter