@zazuko/query-rdf-data-cube
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -0,1 +1,11 @@ | ||
<a name="0.6.0"></a> | ||
# [0.6.0](https://github.com/zazuko/query-rdf-data-cube/compare/v0.5.0...v0.6.0) (2019-11-25) | ||
### Bug Fixes | ||
* **datacube:** datacubes have a single label ([99aedf6](https://github.com/zazuko/query-rdf-data-cube/commit/99aedf6)) | ||
<a name="0.5.0"></a> | ||
@@ -2,0 +12,0 @@ # [0.5.0](https://github.com/zazuko/query-rdf-data-cube/compare/v0.4.1...v0.5.0) (2019-11-21) |
@@ -23,3 +23,3 @@ import { Literal, NamedNode } from "rdf-js"; | ||
graphIri: NamedNode; | ||
labels?: Label[]; | ||
label?: Label; | ||
extraMetadata?: Map<string, any>; | ||
@@ -35,3 +35,3 @@ } | ||
static fromJSON(json: string): DataCube; | ||
labels: Label[]; | ||
label: Label; | ||
iri: string; | ||
@@ -50,5 +50,5 @@ endpoint: string; | ||
* @param options.graphIri The IRI of the graph from which the data will be fetched. | ||
* @param options.labels (Optional) A list of labels for the DataCube in the following form: | ||
* `[ { value: "Something", language: "en" }, { value: "Etwas", language: "de" }, … ]` | ||
* @param options.languages Languages in which to get the labels, by priority, e.g. `["de", "en"]`. | ||
* @param options.label (Optional) A label for the DataCube in the following form: | ||
* `{ value: "Something", language: "en" }` | ||
* @param options.languages Languages in which to get the label, by priority, e.g. `["de", "en"]`. | ||
*/ | ||
@@ -55,0 +55,0 @@ constructor(endpoint: string, options: DataCubeOptions); |
@@ -23,3 +23,3 @@ import { Literal, NamedNode } from "rdf-js"; | ||
graphIri: NamedNode; | ||
labels?: Label[]; | ||
label?: Label; | ||
extraMetadata?: Map<string, any>; | ||
@@ -35,3 +35,3 @@ } | ||
static fromJSON(json: string): DataCube; | ||
labels: Label[]; | ||
label: Label; | ||
iri: string; | ||
@@ -50,5 +50,5 @@ endpoint: string; | ||
* @param options.graphIri The IRI of the graph from which the data will be fetched. | ||
* @param options.labels (Optional) A list of labels for the DataCube in the following form: | ||
* `[ { value: "Something", language: "en" }, { value: "Etwas", language: "de" }, … ]` | ||
* @param options.languages Languages in which to get the labels, by priority, e.g. `["de", "en"]`. | ||
* @param options.label (Optional) A label for the DataCube in the following form: | ||
* `{ value: "Something", language: "en" }` | ||
* @param options.languages Languages in which to get the label, by priority, e.g. `["de", "en"]`. | ||
*/ | ||
@@ -55,0 +55,0 @@ constructor(endpoint: string, options: DataCubeOptions); |
{ | ||
"name": "@zazuko/query-rdf-data-cube", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Query (or introspect) [RDF Data Cubes](https://www.w3.org/TR/vocab-data-cube/) with a JavaScript API, without writing SPARQL.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
236104