Commit Graph
30 Commits
Author SHA1 Message Date
Tomasz PluskiewiczandGitHub bc2379577e fix: add missing interface (#42525) 2020-02-21 11:07:46 -08:00
Tomasz PluskiewiczandGitHub e81a5a06a6 feat: types for @rdfjs/to-ntriples (#42271)
* feat: types for @rdfjs/to-ntriples

* added OTHER_FILES.txt
2020-02-11 09:02:35 -08:00
Tomasz PluskiewiczandGitHub bcfad61323 fix: stub out the Context class (#41961)
* fix: stub out the Context class

* fix: _context is actually an array

* fix: single term = single context
2020-01-30 13:05:38 -08:00
Tomasz PluskiewiczandWesley Wigham b1f277e1cd add @rdfjs/fetch-lite and @rdfjs/formats-common (#41679)
* feat: add @rdfjs/formats-common

* feat: add @rdfjs/fetch-lite

* combine with PR for formats-common

* update to latest rdf-js

* update to latest rdf-js
2020-01-28 12:04:45 -08:00
Tomasz PluskiewiczandWesley Wigham f14e4fa9f8 fix:(rdf-js) relax input params of dataset and dataset factory (#41678)
* fix(rdf-js): dataset type argument should behave covariantly

* fix(rdf-js): add return type to dataset factory generic arguments

* chore: update types of rdf-dataset-indexed

* revert: unrelated change for another PR

* revert: keep DatasetFactory#dataset consistent with spec

* refactor: make dataset indexed generic

* refactor: introduce second parameter on dataset and dataset factory

* fix(rdf-ext): incorrect import from events

* fix(rdf-transform-triple-to-quad): incorrect import from events

* revert(rdf-dataset-indexed): revert unrelated changes
2020-01-27 14:19:41 -08:00
Tomasz PluskiewiczandBen Lichtman f0232f626b fix: make data factory generic (#41651)
* fix: make data factory generic

* fix: update rdf-transform-triple-to-quad
2020-01-24 17:00:10 -08:00
Tomasz PluskiewiczandBen Lichtman 41a817a924 refactor: simplify iteratee declarations (#41810) 2020-01-23 10:03:14 -08:00
Tomasz PluskiewiczandBen Lichtman fed60e05ad fix(clownface): in and out can be called without parameters (#41784) 2020-01-22 09:23:02 -08:00
Tomasz PluskiewiczandEli Barzilay 09e7976094 feat: typings for rdf-transform-triple-to-quad (#41594)
* feat: typings for rdf-transform-triple-to-quad

* revert: changes to rdf-js

also improve tests
2020-01-16 13:24:18 -05:00
Tomasz PluskiewiczandEli Barzilay c537b15a91 feat: add @rdfjs/sink-map (#41649) 2020-01-16 12:50:56 -05:00
Tomasz PluskiewiczandEli Barzilay 02820af95f fix(rdf-ext): merge also accepts quad array (#41647) 2020-01-16 11:36:53 -05:00
Tomasz PluskiewiczandEli Barzilay 0336b73b10 fix: clownface#list returns iterable and not iterator (#41617) 2020-01-16 11:13:11 -05:00
Tomasz PluskiewiczandEli Barzilay c5944e94b5 fix: clownface factory should reflect the initialized term/value in the returned type (#41628) 2020-01-15 19:26:04 -05:00
Tomasz PluskiewiczandEli Barzilay e23367b72d fix: rdf-js sink must accept other stream types (#41591) 2020-01-15 05:16:08 -05:00
Tomasz PluskiewiczandEli Barzilay 5101bd7b8a fix: preserve term generic type when constructing from another graph (#41606)
* fix: preserve term generic type when constructing from another graph

* style: revert unwanted whitespace change
2020-01-15 02:52:54 -05:00
Tomasz PluskiewiczandEli Barzilay ff0f21449a fix: rdf-ext factory does not accept base terms (#41588) 2020-01-14 16:27:25 -05:00
Tomasz PluskiewiczandRyan Cavanaugh 897add7fa4 feat: improve creating single-node-context (#41557) 2020-01-13 09:18:25 -08:00
Tomasz PluskiewiczandRyan Cavanaugh 98f5d66f4f fix: rdf-js parsers actually return a quad stream (#41298)
* fix: rdf-js parsers actually return a quad stream

* test: verify parser satisfies generic param
2020-01-03 12:59:30 -08:00
Tomasz PluskiewiczandRyan Cavanaugh f85a085e48 adjust return types from safe clownface (#41296)
* adjust return types from safe clownface

* style: tslint fixes
2020-01-02 10:35:28 -08:00
Tomasz PluskiewiczandAndrew Branch 006d2106dd typings for @rdfjs/parser-n3 (#41232) 2019-12-27 09:38:56 -06:00
Tomasz PluskiewiczandAndrew Branch 0d303e5ea8 fix(@rdfjs/namespace): builder can be called without params (#41231) 2019-12-27 09:37:58 -06:00
Tomasz PluskiewiczandAndrew Branch 6668a171f5 typings for rdf-ext (#40986) 2019-12-26 13:02:19 -06:00
Tomasz PluskiewiczandAndrew Branch ce01557b55 typings for rdf-ext/clownface (#41016)
* typings for rdf-ext/clownface

* refactor: separate interfaces which can be inferred by usage

* refactor: rename and redefined constructor params object

* refactor: remove lib/index.d.ts which does not match actual code

* fix: remove require import

* align add callback with reality
2019-12-23 12:31:45 -06:00
Tomasz PluskiewiczandAndrew Branch cc23ed1761 fix: align callback functions of dataset with spec (#40989)
* fix: align callback functions of dataset with spec

* reduce clutter in rdf-js tests
2019-12-23 10:26:29 -06:00
Tomasz PluskiewiczandDaniel Rosenwasser 4634f03735 fix: node.equals should allow null and undefined (#41143) 2019-12-19 22:20:35 -08:00
Tomasz PluskiewiczandOrta f7f904f320 fix(rdf-js): match should allow null on optional parameters (#41012) 2019-12-13 10:39:05 +00:00
Tomasz PluskiewiczandAndrew Casey 4f1973349e sparql-http-client: update to version 1.2 (#40651) 2019-11-26 15:09:25 -08:00
Tomasz PluskiewiczandPranav Senthilnathan 32b0df8a68 feat: types for set-link which augments express (#40374) 2019-11-14 12:48:53 -08:00
Tomasz PluskiewiczandArmando Aguirre a136c9f181 refactor: sparql-http-client updated to use correct exports (#39966)
* fix: sparql-http-client should use built-in fetch

* fix: disable tslint rule to accommodate for commonjs default export

* revert default export

* change export syntax
2019-10-29 14:00:37 -07:00
Tomasz PluskiewiczandArmando Aguirre 7ea9422586 added typings for sparql-http-client (#38915)
* added typings for sparql-http-client

* use readonly array for select result
2019-10-08 16:07:05 -07:00