@comunica/bus-query-operation 1.21.1 → 2.0.1-alpha.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +22 -0
- package/README.md +2 -2
- package/components/ActorQueryOperation.jsonld +213 -0
- package/components/ActorQueryOperationTyped.jsonld +218 -0
- package/components/ActorQueryOperationTypedMediated.jsonld +244 -0
- package/components/components.jsonld +7 -5
- package/components/context.jsonld +125 -8
- package/lib/ActorQueryOperation.d.ts +42 -120
- package/lib/ActorQueryOperation.js +44 -89
- package/lib/ActorQueryOperationTyped.d.ts +7 -12
- package/lib/ActorQueryOperationTyped.js +13 -11
- package/lib/ActorQueryOperationTypedMediated.d.ts +4 -5
- package/lib/Bindings.d.ts +13 -26
- package/lib/Bindings.js +61 -60
- package/lib/index.d.ts +4 -0
- package/{index.js → lib/index.js} +4 -4
- package/package.json +18 -39
- package/components/Actor/QueryOperation.jsonld +0 -31
- package/components/Actor/QueryOperationTypedMediated.jsonld +0 -34
- package/components/Bus/QueryOperation.jsonld +0 -8
- package/index.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/bus-query-operation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.0.1-alpha.6.0",
|
|
4
4
|
"description": "A comunica bus for query-operation events.",
|
|
5
5
|
"lsd:module": true,
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"typings": "index",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"typings": "lib/index",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/comunica/comunica.git",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
|
+
"sideEffects": false,
|
|
16
17
|
"keywords": [
|
|
17
18
|
"comunica",
|
|
18
19
|
"bus",
|
|
@@ -26,45 +27,23 @@
|
|
|
26
27
|
"files": [
|
|
27
28
|
"components",
|
|
28
29
|
"lib/**/*.d.ts",
|
|
29
|
-
"lib/**/*.js"
|
|
30
|
-
"index.d.ts",
|
|
31
|
-
"index.js"
|
|
30
|
+
"lib/**/*.js"
|
|
32
31
|
],
|
|
33
32
|
"dependencies": {
|
|
34
|
-
"@comunica/
|
|
35
|
-
"@comunica/
|
|
36
|
-
"@comunica/
|
|
37
|
-
"@
|
|
38
|
-
"
|
|
39
|
-
"
|
|
33
|
+
"@comunica/bindings-factory": "2.0.1-alpha.6.0",
|
|
34
|
+
"@comunica/context-entries": "2.0.1-alpha.6.0",
|
|
35
|
+
"@comunica/core": "2.0.1-alpha.6.0",
|
|
36
|
+
"@comunica/data-factory": "2.0.1-alpha.6.0",
|
|
37
|
+
"@comunica/types": "2.0.1-alpha.6.0",
|
|
38
|
+
"@rdfjs/types": "*",
|
|
39
|
+
"asynciterator": "^3.2.1",
|
|
40
40
|
"rdf-string": "^1.5.0",
|
|
41
|
-
"sparqlalgebrajs": "^
|
|
42
|
-
},
|
|
43
|
-
"peerDependencies": {
|
|
44
|
-
"@comunica/core": "^1.0.0"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@comunica/core": "^1.21.1",
|
|
48
|
-
"@comunica/types": "^1.19.2"
|
|
49
|
-
},
|
|
50
|
-
"jest": {
|
|
51
|
-
"globals": {
|
|
52
|
-
"ts-jest": {
|
|
53
|
-
"tsConfig": "../../tsconfig.json"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"transform": {
|
|
57
|
-
"^.+\\.ts$": "ts-jest"
|
|
58
|
-
},
|
|
59
|
-
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.ts$",
|
|
60
|
-
"moduleFileExtensions": [
|
|
61
|
-
"ts",
|
|
62
|
-
"js"
|
|
63
|
-
],
|
|
64
|
-
"collectCoverage": true
|
|
41
|
+
"sparqlalgebrajs": "^4.0.0"
|
|
65
42
|
},
|
|
66
43
|
"scripts": {
|
|
67
|
-
"build": "
|
|
68
|
-
"
|
|
69
|
-
|
|
44
|
+
"build": "npm run build:ts && npm run build:components",
|
|
45
|
+
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
|
|
46
|
+
"build:components": "componentsjs-generator"
|
|
47
|
+
},
|
|
48
|
+
"gitHead": "bbf46a068e635256495a40e784a4691b22e88bd3"
|
|
70
49
|
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^1.0.0/components/context.jsonld",
|
|
4
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^1.0.0/components/context.jsonld"
|
|
5
|
-
],
|
|
6
|
-
"@id": "npmd:@comunica/bus-query-operation",
|
|
7
|
-
"components": [
|
|
8
|
-
{
|
|
9
|
-
"@id": "cbqo:Actor/QueryOperation",
|
|
10
|
-
"@type": "AbstractClass",
|
|
11
|
-
"extends": "cc:Actor",
|
|
12
|
-
"requireElement": "ActorQueryOperation",
|
|
13
|
-
"comment": "A comunica actor for query-operation events.",
|
|
14
|
-
"parameters": [
|
|
15
|
-
{
|
|
16
|
-
"@id": "cc:Actor/bus",
|
|
17
|
-
"defaultScoped": {
|
|
18
|
-
"defaultScope": "cbqo:Actor/QueryOperation",
|
|
19
|
-
"defaultScopedValue": { "@id": "cbqo:Bus/QueryOperation" }
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"constructorArguments": [
|
|
24
|
-
{
|
|
25
|
-
"@id": "cbqo:Actor/QueryOperation/constructorArgumentsObject",
|
|
26
|
-
"extends": "cc:Actor/constructorArgumentsObject"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^1.0.0/components/context.jsonld",
|
|
4
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^1.0.0/components/context.jsonld"
|
|
5
|
-
],
|
|
6
|
-
"@id": "npmd:@comunica/bus-query-operation",
|
|
7
|
-
"components": [
|
|
8
|
-
{
|
|
9
|
-
"@id": "cbqo:Actor/QueryOperationTypedMediated",
|
|
10
|
-
"@type": "AbstractClass",
|
|
11
|
-
"extends": "cbqo:Actor/QueryOperation",
|
|
12
|
-
"requireElement": "ActorQueryOperationTypedMediated",
|
|
13
|
-
"comment": "A base implementation for query operation actors for a specific operation type that have a query operation mediator.",
|
|
14
|
-
"parameters": [
|
|
15
|
-
{
|
|
16
|
-
"@id": "cbqo:mediatorQueryOperation",
|
|
17
|
-
"comment": "The query operation mediator",
|
|
18
|
-
"required": true,
|
|
19
|
-
"unique": true
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"constructorArguments": [
|
|
23
|
-
{
|
|
24
|
-
"@id": "cbqo:Actor/QueryOperationTypedMediated/constructorArgumentsObject",
|
|
25
|
-
"extends": "cbqo:Actor/QueryOperation/constructorArgumentsObject",
|
|
26
|
-
"fields": {
|
|
27
|
-
"keyRaw": "mediatorQueryOperation",
|
|
28
|
-
"value": "cbqo:mediatorQueryOperation"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^1.0.0/components/context.jsonld",
|
|
3
|
-
"@id": "cbqo:Bus/QueryOperation",
|
|
4
|
-
"@type": "cc:BusIndexed",
|
|
5
|
-
"comment": "An indexed comunica bus for query-operation events.",
|
|
6
|
-
"actorIdentifierFields": [ "operationName" ],
|
|
7
|
-
"actionIdentifierFields": [ "operation", "type" ]
|
|
8
|
-
}
|
package/index.d.ts
DELETED