1
0

Added mocks for all model types, added CollectionDataService

This commit is contained in:
Art Lowel
2017-02-14 14:40:57 +01:00
parent c3214595ef
commit c8fb98760d
30 changed files with 1129 additions and 162 deletions

View File

@@ -0,0 +1,14 @@
import { URLCombiner } from "./url-combiner";
import { GlobalConfig } from "../../../config";
/**
* Combines a variable number of strings representing parts
* of a relative UI URL in to a single, absolute UI URL
*
* TODO write tests once GlobalConfig becomes injectable
*/
export class UIURLCombiner extends URLCombiner{
constructor(...parts:Array<string>) {
super(GlobalConfig.ui.baseURL, GlobalConfig.ui.nameSpace, ...parts);
}
}