Oscar Lorentzon
51f79ef802
chore: extend tslint recommended
...
Extend recommended while keeping functionality.
Remove duplicate blank lines.
2017-11-14 13:23:36 +00:00
Oscar Lorentzon
9e2d32107b
fix(api): throw informative error when no result
...
Throw error with informative error message when requesting
an image that does not exist or is filtered.
2017-06-28 16:22:31 +00:00
Oscar Lorentzon
a720d1a2df
Migrate to TS 2.1.
...
Extending Error does not create instances of the created error classes.
Act accordingly in unit test error type checks.
Upgrade three js typings for compatibility.
Error derived classes does not need to create stack trace
explicitly.
Use tilde ranges for ts dev deps for future compatibility.
2016-12-21 17:04:09 +01:00
Oscar Lorentzon
bf6179e1b4
Instantiate models in creator class.
...
Inject model creator to in APIv3 and test.
2016-11-09 14:41:46 +01:00
Oscar Lorentzon
a582ede529
API methods for all model calls.
...
Do not expose model on API. Wrap all methods in API
class to make retries simple.
Use API methods in stats component.
Unit test API.
2016-10-25 14:14:39 +02:00
Oscar Lorentzon
58e2e2b496
Remove unused classes, tests and dependencies.
...
Remove graphlib and rest dependencies used in old graph and API.
Use new graph service, graph and node everywhere.
2016-10-24 16:23:46 +02:00
Oscar Lorentzon
2ca1ae2865
Methods for invalidating API cache.
...
Unit tests.
2016-10-20 11:54:16 +02:00
Oscar Lorentzon
5bcf200286
Handle undefined imagesByH response.
...
Fill response to be equivalent to an empty response.
2016-10-18 10:39:32 +02:00
Oscar Lorentzon
fba319bfb6
Unit test API v3.
2016-10-14 14:24:12 +02:00
Oscar Lorentzon
89030047ad
TS lint scripts.
...
TS lint scripts for spec and src.
Fix all spec files to comply with linting.
Use lint script in pre commit hook.
2016-07-12 11:42:23 -04:00
Oscar Lorentzon
b41d39ad53
Migrate to typings 1.0.
...
Fixes #135
2016-06-07 14:53:35 +02:00
Johan Gyllenspetz
bd65b2bd5b
Remove or API test
2016-03-08 09:32:25 -08:00
Oscar Lorentzon
8066b9c52a
Use Typings instead of TSD.
...
Remove deprecated TSD dependency.
Use Typings to install type definitions.
Install rx typings from npm package.
2016-02-29 16:58:56 +01:00
Oscar Lorentzon
344d472f70
Test that API im or is called correctly.
2016-02-24 14:54:55 +01:00
Oscar Lorentzon
55610f0be8
Rename API spec file to APIv2.
2016-02-24 14:29:11 +01:00
Oscar Lorentzon
d14af591f7
Test that the correct API path is called for nav.
2016-02-24 14:27:45 +01:00
Johan Gyllenspetz
b9b9ca31f9
Refactor Parsing and specs
...
* Remove optionsparser for now (its a bad construct)
* Move specs to dirs
2016-01-08 16:14:01 -08:00