@comunica/mediator-combine-pipeline
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 goes over all actors in sequence and forwards I/O. |
@@ -18,3 +18,3 @@ "use strict"; | ||
} | ||
catch (error) { | ||
catch (_a) { | ||
// If no actors are available, just return the input as output | ||
@@ -21,0 +21,0 @@ return action; |
{ | ||
"name": "@comunica/mediator-combine-pipeline", | ||
"version": "1.15.0", | ||
"version": "1.17.0", | ||
"description": "A sequential combine mediator", | ||
@@ -15,3 +15,7 @@ "lsd:module": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-pipeline", | ||
"typings": "index", | ||
"repository": "https://github.com/comunica/comunica/tree/master/packages/mediator-combine-pipeline", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/comunica/comunica.git", | ||
"directory": "packages/mediator-combine-pipeline" | ||
}, | ||
"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" | ||
} |
@@ -8,4 +8,7 @@ # Comunica Mediator Sequential | ||
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 | ||
@@ -17,4 +20,28 @@ | ||
## Usage | ||
## Configure | ||
TODO | ||
After installing, this mediator can be instantiated as follows: | ||
```text | ||
{ | ||
"@context": [ | ||
... | ||
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-pipeline/^1.0.0/components/context.jsonld" | ||
], | ||
"actors": [ | ||
... | ||
{ | ||
"@type": "SomeActor", | ||
"someMediator": { | ||
"@id": "config-sets:sparql-init.json#mediatorOptimizeQueryOperation", | ||
"@type": "MediatorCombinePipeline", | ||
"cc:Mediator/bus": { "@id": "cboqo:Bus/OptimizeQueryOperation" } | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
### Config Parameters | ||
* `cc:Mediator/bus`: Identifier of the bus 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
8605
62
46
0