@comunica/mediator-combine-union
Advanced tools
Comparing version 1.15.0 to 1.17.0
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,2 +0,3 @@ | ||
import { Actor, IAction, IActorOutput, IActorTest, IMediatorArgs, Mediator } from '@comunica/core'; | ||
import type { Actor, IAction, IActorOutput, IActorTest, IMediatorArgs } from '@comunica/core'; | ||
import { Mediator } from '@comunica/core'; | ||
/** | ||
@@ -3,0 +4,0 @@ * A comunica mediator that takes the union of all actor results. |
@@ -20,3 +20,3 @@ "use strict"; | ||
} | ||
catch (error) { | ||
catch (_a) { | ||
testResults = []; | ||
@@ -23,0 +23,0 @@ } |
{ | ||
"name": "@comunica/mediator-combine-union", | ||
"version": "1.15.0", | ||
"version": "1.17.0", | ||
"description": "A combine-union mediator", | ||
@@ -15,3 +15,7 @@ "lsd:module": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-union", | ||
"typings": "index", | ||
"repository": "https://github.com/comunica/comunica/tree/master/packages/mediator-combine-union", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/comunica/comunica.git", | ||
"directory": "packages/mediator-combine-union" | ||
}, | ||
"publishConfig": { | ||
@@ -28,3 +32,3 @@ "access": "public" | ||
}, | ||
"homepage": "https://github.com/comunica/comunica#readme", | ||
"homepage": "https://comunica.dev/", | ||
"files": [ | ||
@@ -41,3 +45,3 @@ "components", | ||
"devDependencies": { | ||
"@comunica/core": "^1.15.0" | ||
"@comunica/core": "^1.17.0" | ||
}, | ||
@@ -66,3 +70,3 @@ "jest": { | ||
}, | ||
"gitHead": "d71011b99f9fb5d125822fd42e75db6868ef4a64" | ||
"gitHead": "cea13b435ebbda09e0ad359f54d3c62077fe3bba" | ||
} |
@@ -7,4 +7,7 @@ # Comunica Mediator Combine Union | ||
This module is part of the [Comunica framework](https://github.com/comunica/comunica). | ||
This module is part of the [Comunica framework](https://github.com/comunica/comunica), | ||
and should only be used by [developers that want to build their own query engine](https://comunica.dev/docs/modify/). | ||
[Click here if you just want to query with Comunica](https://comunica.dev/docs/query/). | ||
## Install | ||
@@ -16,4 +19,30 @@ | ||
## Usage | ||
## Configure | ||
TODO | ||
After installing, this mediator can be instantiated as follows: | ||
```text | ||
{ | ||
"@context": [ | ||
... | ||
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-union/^1.0.0/components/context.jsonld" | ||
], | ||
"actors": [ | ||
... | ||
{ | ||
"@type": "SomeActor", | ||
"someMediator": { | ||
"@id": "config-sets:rdf-dereference.json#mediatorRdfParseMediatypes", | ||
"@type": "MediatorCombineUnion", | ||
"cc:Mediator/bus": { "@id": "cbrp:Bus/RdfParse" }, | ||
"cmcu:Mediator/CombineUnion/field": "mediaTypes" | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
### Config Parameters | ||
* `cc:Mediator/bus`: Identifier of the bus to mediate over. | ||
* `cmcu:Mediator/CombineUnion/field`: The field name to mediate over. | ||
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
9626
80
47
0