@zazuko/query-rdf-data-cube
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -0,1 +1,11 @@ | ||
<a name="0.5.0"></a> | ||
# [0.5.0](https://github.com/zazuko/query-rdf-data-cube/compare/v0.4.1...v0.5.0) (2019-11-21) | ||
### Bug Fixes | ||
* **component:** components have a single label ([ecfb90b](https://github.com/zazuko/query-rdf-data-cube/commit/ecfb90b)) | ||
<a name="0.4.1"></a> | ||
@@ -2,0 +12,0 @@ ## [0.4.1](https://github.com/zazuko/query-rdf-data-cube/compare/v0.4.0...v0.4.1) (2019-11-18) |
@@ -7,3 +7,3 @@ import { Term } from "rdf-js"; | ||
iri: string; | ||
labels: Label[]; | ||
label: Label; | ||
extraMetadata: object; | ||
@@ -26,6 +26,4 @@ }; | ||
* iri: "http://example.com/price", | ||
* labels: [ | ||
* { value: "Price", language: "en" }, | ||
* { value: "Prix", language: "fr" }, | ||
* ]}); | ||
* label: { value: "Price", language: "en" }, | ||
* }); | ||
* | ||
@@ -53,3 +51,3 @@ * const query = dataCube | ||
static fromJSON(json: string): Component; | ||
labels: Label[]; | ||
label: Label; | ||
iri: Term; | ||
@@ -69,10 +67,10 @@ extraMetadata: { | ||
* const priceMeasure = new Measure({ | ||
* iri: "http://example.com/price", labels: [{ value: "Price", language: "en" }] | ||
* iri: "http://example.com/price", label: { value: "Price", language: "en" } | ||
* }); | ||
* ``` | ||
* | ||
* @param {({ labels?: Label[], iri: string | Term})} options Additional info about the component. | ||
* @param {({ label?: Label, iri: string | Term})} options Additional info about the component. | ||
* @param options.iri - The IRI of the Component. | ||
* @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.label (Optional) A label for the DataCube in the following form: | ||
* `{ value: "Something", language: "en" }` | ||
* @memberof Component | ||
@@ -82,3 +80,3 @@ */ | ||
iri: string | Term; | ||
labels?: Label[]; | ||
label?: Label; | ||
extraMetadata?: object; | ||
@@ -85,0 +83,0 @@ }); |
@@ -7,3 +7,3 @@ import { Term } from "rdf-js"; | ||
iri: string; | ||
labels: Label[]; | ||
label: Label; | ||
extraMetadata: object; | ||
@@ -26,6 +26,4 @@ }; | ||
* iri: "http://example.com/price", | ||
* labels: [ | ||
* { value: "Price", language: "en" }, | ||
* { value: "Prix", language: "fr" }, | ||
* ]}); | ||
* label: { value: "Price", language: "en" }, | ||
* }); | ||
* | ||
@@ -53,3 +51,3 @@ * const query = dataCube | ||
static fromJSON(json: string): Component; | ||
labels: Label[]; | ||
label: Label; | ||
iri: Term; | ||
@@ -69,10 +67,10 @@ extraMetadata: { | ||
* const priceMeasure = new Measure({ | ||
* iri: "http://example.com/price", labels: [{ value: "Price", language: "en" }] | ||
* iri: "http://example.com/price", label: { value: "Price", language: "en" } | ||
* }); | ||
* ``` | ||
* | ||
* @param {({ labels?: Label[], iri: string | Term})} options Additional info about the component. | ||
* @param {({ label?: Label, iri: string | Term})} options Additional info about the component. | ||
* @param options.iri - The IRI of the Component. | ||
* @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.label (Optional) A label for the DataCube in the following form: | ||
* `{ value: "Something", language: "en" }` | ||
* @memberof Component | ||
@@ -82,3 +80,3 @@ */ | ||
iri: string | Term; | ||
labels?: Label[]; | ||
label?: Label; | ||
extraMetadata?: object; | ||
@@ -85,0 +83,0 @@ }); |
{ | ||
"name": "@zazuko/query-rdf-data-cube", | ||
"version": "0.4.1", | ||
"version": "0.5.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
236131
6087