Oscar Lorentzon
fc627d7d96
docs: add js docs to public classes
...
Add docs to classes that are part of documentation
build. Add new classes to documentation build.
Make using section similar for landing and readme.
2020-12-09 21:57:33 +01:00
Oscar Lorentzon
1416c61c4f
fix(api): handle quadrilateral s2 cells
...
Handle the fact that s2 cells are quadrilaterals
and not rectangles on the plane.
Simplified solution for region coverage by
adding all neighbors if any point of region
is outside center cell.
2020-12-04 15:57:59 +01:00
Oscar Lorentzon
38f2dd4e93
fix: correct corner order for s2 cells
2020-12-03 11:55:41 +01:00
Oscar Lorentzon
b1ba8b704c
feat: expose array buffer fetcher
...
Expose to simplify data provider development.
2020-12-02 18:42:01 +01:00
Oscar Lorentzon
ae9fc71134
feat: load clusters from url
...
Add JSON inflator class to be able to reuse
in data providers.
2020-12-02 18:25:17 +01:00
Oscar Lorentzon
2bf32cb7c3
refactor: rename falcor urls class for clarity
2020-12-02 16:48:34 +01:00
Oscar Lorentzon
f3fa835f85
refactor(api): rename set user token method for clarity
...
Distinguish user token and client token with clear naming.
2020-11-06 11:33:40 +01:00
Oscar Lorentzon
2099a10da3
refactor(api): rename client id to more general client token
2020-11-04 18:00:33 +01:00
Oscar Lorentzon
d093883c11
refactor(api): support single cell fetch only
...
Require API user to parallelize the cell fetching.
2020-11-04 17:44:56 +01:00
Oscar Lorentzon
d34b74830c
refactor(api): call image function with url
...
Set thumb URLs on node fetch to enable dynamic URLs
returned by the API.
2020-11-03 19:40:58 +01:00
Oscar Lorentzon
9cdc57b4d6
refactor(api): require data and geometry provider base params
2020-10-26 17:58:59 +01:00
Oscar Lorentzon
24b23e192c
feat(api): complete and test s2 geo provider
2020-10-26 15:45:06 +01:00
Oscar Lorentzon
c9e293801e
refactor(api): move interfaces to interface folder
2020-10-16 11:20:27 +02:00
Oscar Lorentzon
17f1eb9d48
refactor(api): add falcor prefix to data provider for clarity
2020-10-16 11:15:32 +02:00
Oscar Lorentzon
4ddede39c4
refactor(api): geometry provider api
...
Make tile abstraction layer to enable different
implementations.
2020-10-15 14:04:42 +02:00
Oscar Lorentzon
57a32d735d
refactor(api): remove unused url properties
2020-10-07 22:07:50 +02:00
Oscar Lorentzon
cee21f37e9
refactor(api): make data provider urls internal
2020-10-07 21:43:16 +02:00
Oscar Lorentzon
fd4374cffe
refactor(api): extend data provider base
2020-10-06 10:25:00 +02:00
Oscar Lorentzon
2e3b553679
refactor(api): move cluster rec interface to api folder
2020-10-06 09:54:47 +02:00
Oscar Lorentzon
2b4617bd7a
feat(api): get static resources through data provider
...
Use data provider in node caching.
2020-10-05 18:07:55 +02:00
Oscar Lorentzon
0469c966ab
refactor(api): replace api v3 with data provider solution
2020-09-22 15:42:28 +02:00
Oscar Lorentzon
60fe0cc14b
test(api): unit test data provider
...
Fix error handling so that value is returned correctly.
2020-09-22 11:40:47 +02:00
Oscar Lorentzon
1969bd83bc
refactor: use pipe operators
...
Use pipe operators everywhere.
Fix errors becasue of piping more than nine operations.
2018-06-13 12:03:40 +00:00
Oscar Lorentzon
72e778b921
chore: upgrade to rxjs 6 compat
...
Downgrade node types version because of observable type
compatibility issue.
Remove unsupported generics from empty calls.
Use observable create for API call wrapping
becasue of non compatible type when using
observable from promise.
Add frame generator because it was removed
from RxJS 6.
2018-06-12 06:01:04 +00:00
Oscar Lorentzon
c38f4e7c4f
chore: remove typings dependency
...
Add types folder as type root.
Declare modules in type def files to be able to compile.
2018-06-11 06:16:58 +00:00
Oscar Lorentzon
e3250d8162
refactor: import rxjs operators in a single place
2018-04-17 12:50:59 +00:00
Oscar Lorentzon
38169b5125
refactor: request non nested sequence_key property
...
Request non nested sequence_key property for performance reasons.
Handle non exisiting sequences by returning empty sequence as
fallback in API.
Add tests for fallback logic.
2018-02-20 11:51:48 +01:00
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