wikibase-sdk icon indicating copy to clipboard operation
wikibase-sdk copied to clipboard

JS utils functions to query a Wikibase instance and simplify its results

Results 21 wikibase-sdk issues
Sort by recently updated
recently updated
newest added

This touched a lot of things again. I enabled some more tsconfig settings and removed some //@ts-nocheck. The only one left is the simplify_claims test one which seems especially fun...

- wikibase-sdk version: 9.1.3 - Environment: node 18.1 In docs/general_helpers.md#isitemid, you have the following examples- ``` isEntityId('L1-F1') // false isEntityId('L1-S1') // false ``` Both of those examples return true for...

- wikibase-sdk version: v9 (latest) - Environment: node 1. Install wikibase-sdk via npm i wikibase-sdk 2. Try to run your code 3. Get error: ``` Error: No "exports" main defined...

I am using wikibase-sdk package in React Native , I always get this error ``` Network request failed ``` ```js const wbk = WBK({ instance: 'https://my-wikibase-instan.se', sparqlEndpoint: 'https://query.wikidata.org/sparql', }); ```...

- wikibase-sdk version: latest - Environment: deno redaktor is currently learning the planet earth including administrative or touristic hierarchies and connecting OSM relation, wikidata id, geonames etc. When I looked...

Currently `simplifySparqlResults(sparqlResults, {minimize: bool})` exists. The problem here is that the minimize argument only works when the query returns exactly one variable. If that's not the case the minimize argument...

Currently there are types like `Claims` or `PropertyClaims`. Just from looking at them its hard to know what they are exactly. (hint: `Claims = Record` and `PropertyClaims = Claim[]`) Especially...

- wikibase-sdk version: 9.0.5 - Environment: 19.7.0 Currently the Entity Type for labels, description, aliases and so on is `Record`. `WmLanguageCode` is only `de` but not something like `de-ch` which...

Latest version works as expected within javascript files. With typescript the compilation fails with error: `Cannot find module '../types/options.js' or its corresponding type declarations.` I see options.d.ts files defined in...

Hey Max, a feature request: currently I am using the simplified versions of `getManyEntities` reducing it for simplify like ``` .reduce((oneObject, fromMany) => { for (const wikibaseId in fromMany) {...