Commit Graph
47 Commits
Author SHA1 Message Date
Tomasz PluskiewiczandGitHub 6ec9e84831 feat: new options for express handler (#43761) 2020-04-10 20:24:08 -07:00
Tomasz PluskiewiczandGitHub df14f81746 created types for @rdfjs/express-handler (#43702) 2020-04-08 09:27:17 -07:00
Tomasz PluskiewiczandGitHub 92589048c2 refacor: use interface merging to simplify class declarations (#43604) 2020-04-06 11:08:40 -07:00
Tomasz PluskiewiczandGitHub 122c53f9eb fix(sparql-http-client): the endpointUrl is optional (#43675) 2020-04-06 09:46:42 -07:00
Tomasz PluskiewiczandGitHub 50adf1a1e9 clownface: fix addIn/addOut & in/out signatures (#43557)
* fix(clownface): addIn/addOut should accept multi-context clownface

* fix(clownface): the result of in/out should be SafeClownface
2020-04-01 12:46:47 -07:00
Tomasz PluskiewiczandGitHub f81305829c added interfaces to exported clients (#43548) 2020-04-01 09:55:44 -07:00
Tomasz PluskiewiczandGitHub 4217777839 clownface: subject traversal only find blank and named nodes (#43538)
* clownface: subject traversal only find blank and named nodes

* fix(cownface): class did not implement interface correctly
2020-04-01 09:55:10 -07:00
Tomasz PluskiewiczandGitHub 2bcc698e2d update sparql-http-client to v2.2 (#43529)
* wip: sparql-http-client 2.0

* update to sparql-http-client 2.2
2020-03-31 14:24:51 -07:00
Tomasz PluskiewiczandGitHub 28ef98c43b fix(clownface): multiple context term may be defined (#43512) 2020-03-31 09:34:51 -07:00
Tomasz PluskiewiczandGitHub 21b410c313 big refactoring of clownface (#43464)
* fix(clownface): correct the use of generics

* avoid common mistakes

* rafactor(clownface): remove duplicate interface declarations
2020-03-30 15:08:41 -07:00
Tomasz PluskiewiczandGitHub ea2c63dc94 matchdep (#43094) 2020-03-27 13:30:17 -04:00
Tomasz PluskiewiczandGitHub 48f8cf6bd1 added @rdfjs/term-set (#43077) 2020-03-27 13:28:46 -04:00
Tomasz PluskiewiczandGitHub 7fce7c3827 feat(window-or-global): have the export actually be typed (#43174) 2020-03-23 11:46:52 -04:00
Tomasz PluskiewiczandGitHub cf0edd580e fix(rdf-fetch): options are optional (#43294)
* feix(rdf-fetch): options are optional

* options are also optional
2020-03-22 13:48:21 -07:00
Tomasz PluskiewiczandGitHub eb97afe7a5 fix: using addIn/addOut methods should return single context (#43295) 2020-03-22 13:43:59 -07:00
Tomasz PluskiewiczandGitHub a20e6d6ce7 feat: @rdfjs/fetch (#42763)
* feat: @rdfjs/fetch

* linted

* fix: dataset() and quadStream() are async
2020-03-02 09:51:55 -08:00
Tomasz PluskiewiczandGitHub 72aaaaba0b feat: types for @rdfjs/dataset (#42607) 2020-02-25 16:48:19 -08:00
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