@comunica/bus-query-operation 2.0.1-alpha.9.0 → 2.2.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/components/ActorQueryOperation.jsonld +82 -25
- package/components/ActorQueryOperationTyped.jsonld +29 -9
- package/components/ActorQueryOperationTypedMediated.jsonld +18 -7
- package/components/BusQueryOperation.jsonld +65 -0
- package/components/components.jsonld +2 -1
- package/components/context.jsonld +10 -1
- package/lib/ActorQueryOperation.d.ts +1 -1
- package/lib/ActorQueryOperation.js +1 -1
- package/lib/BusQueryOperation.d.ts +10 -0
- package/lib/BusQueryOperation.js +18 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +6 -1
- package/package.json +8 -8
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright © 2017–now Ruben Taelman, Joachim Van Herwegen
|
|
4
|
+
Comunica Association and Ghent University – imec, Belgium
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
THE SOFTWARE.
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
},
|
|
80
80
|
"default": {
|
|
81
81
|
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation_default_bus",
|
|
82
|
-
"@type": "
|
|
82
|
+
"@type": "cbqo:components/BusQueryOperation.jsonld#BusQueryOperation"
|
|
83
83
|
},
|
|
84
84
|
"comment": "The bus this actor subscribes to."
|
|
85
85
|
},
|
|
@@ -117,19 +117,55 @@
|
|
|
117
117
|
"comment": "Actor that must be registered in the bus before this actor."
|
|
118
118
|
}
|
|
119
119
|
],
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
120
|
+
"memberFields": [
|
|
121
|
+
{
|
|
122
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_constructor",
|
|
123
|
+
"memberFieldName": "constructor"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_getSafeBindings",
|
|
127
|
+
"memberFieldName": "getSafeBindings"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_getSafeQuads",
|
|
131
|
+
"memberFieldName": "getSafeQuads"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_getSafeBoolean",
|
|
135
|
+
"memberFieldName": "getSafeBoolean"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_getSafeVoid",
|
|
139
|
+
"memberFieldName": "getSafeVoid"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_cachifyMetadata",
|
|
143
|
+
"memberFieldName": "cachifyMetadata"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_validateQueryOutput",
|
|
147
|
+
"memberFieldName": "validateQueryOutput"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_getBaseExpressionContext",
|
|
151
|
+
"memberFieldName": "getBaseExpressionContext"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_getExpressionContext",
|
|
155
|
+
"memberFieldName": "getExpressionContext"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_getAsyncExpressionContext",
|
|
159
|
+
"memberFieldName": "getAsyncExpressionContext"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_createExistenceResolver",
|
|
163
|
+
"memberFieldName": "createExistenceResolver"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation__member_throwOnReadOnly",
|
|
167
|
+
"memberFieldName": "throwOnReadOnly"
|
|
168
|
+
}
|
|
133
169
|
],
|
|
134
170
|
"constructorArguments": [
|
|
135
171
|
{
|
|
@@ -165,8 +201,11 @@
|
|
|
165
201
|
"cc:components/Actor.jsonld#IAction"
|
|
166
202
|
],
|
|
167
203
|
"parameters": [],
|
|
168
|
-
"
|
|
169
|
-
|
|
204
|
+
"memberFields": [
|
|
205
|
+
{
|
|
206
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#IActionQueryOperation__member_operation",
|
|
207
|
+
"memberFieldName": "operation"
|
|
208
|
+
}
|
|
170
209
|
],
|
|
171
210
|
"constructorArguments": []
|
|
172
211
|
},
|
|
@@ -175,10 +214,19 @@
|
|
|
175
214
|
"@type": "AbstractClass",
|
|
176
215
|
"requireElement": "IBaseExpressionContext",
|
|
177
216
|
"parameters": [],
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
217
|
+
"memberFields": [
|
|
218
|
+
{
|
|
219
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#IBaseExpressionContext__member_now",
|
|
220
|
+
"memberFieldName": "now"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#IBaseExpressionContext__member_baseIRI",
|
|
224
|
+
"memberFieldName": "baseIRI"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#IBaseExpressionContext__member_extensionFunctionCreator",
|
|
228
|
+
"memberFieldName": "extensionFunctionCreator"
|
|
229
|
+
}
|
|
182
230
|
],
|
|
183
231
|
"constructorArguments": []
|
|
184
232
|
},
|
|
@@ -190,8 +238,11 @@
|
|
|
190
238
|
"cbqo:components/ActorQueryOperation.jsonld#IBaseExpressionContext"
|
|
191
239
|
],
|
|
192
240
|
"parameters": [],
|
|
193
|
-
"
|
|
194
|
-
|
|
241
|
+
"memberFields": [
|
|
242
|
+
{
|
|
243
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#ISyncExpressionContext__member_bnode",
|
|
244
|
+
"memberFieldName": "bnode"
|
|
245
|
+
}
|
|
195
246
|
],
|
|
196
247
|
"constructorArguments": []
|
|
197
248
|
},
|
|
@@ -203,9 +254,15 @@
|
|
|
203
254
|
"cbqo:components/ActorQueryOperation.jsonld#IBaseExpressionContext"
|
|
204
255
|
],
|
|
205
256
|
"parameters": [],
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
257
|
+
"memberFields": [
|
|
258
|
+
{
|
|
259
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#IAsyncExpressionContext__member_bnode",
|
|
260
|
+
"memberFieldName": "bnode"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"@id": "cbqo:components/ActorQueryOperation.jsonld#IAsyncExpressionContext__member_exists",
|
|
264
|
+
"memberFieldName": "exists"
|
|
265
|
+
}
|
|
209
266
|
],
|
|
210
267
|
"constructorArguments": []
|
|
211
268
|
}
|
|
@@ -79,7 +79,8 @@
|
|
|
79
79
|
"urn:npm:sparqlalgebrajs:Drop",
|
|
80
80
|
"urn:npm:sparqlalgebrajs:Add",
|
|
81
81
|
"urn:npm:sparqlalgebrajs:Move",
|
|
82
|
-
"urn:npm:sparqlalgebrajs:Copy"
|
|
82
|
+
"urn:npm:sparqlalgebrajs:Copy",
|
|
83
|
+
"urn:npm:sparqlalgebrajs:Nop"
|
|
83
84
|
]
|
|
84
85
|
}
|
|
85
86
|
]
|
|
@@ -139,7 +140,7 @@
|
|
|
139
140
|
},
|
|
140
141
|
"default": {
|
|
141
142
|
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation_default_bus",
|
|
142
|
-
"@type": "
|
|
143
|
+
"@type": "cbqo:components/BusQueryOperation.jsonld#BusQueryOperation"
|
|
143
144
|
},
|
|
144
145
|
"comment": "The bus this actor subscribes to."
|
|
145
146
|
},
|
|
@@ -177,13 +178,32 @@
|
|
|
177
178
|
"comment": "Actor that must be registered in the bus before this actor."
|
|
178
179
|
}
|
|
179
180
|
],
|
|
180
|
-
"
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
181
|
+
"memberFields": [
|
|
182
|
+
{
|
|
183
|
+
"@id": "cbqo:components/ActorQueryOperationTyped.jsonld#ActorQueryOperationTyped__member_operationName",
|
|
184
|
+
"memberFieldName": "operationName",
|
|
185
|
+
"range": "xsd:string"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"@id": "cbqo:components/ActorQueryOperationTyped.jsonld#ActorQueryOperationTyped__member_constructor",
|
|
189
|
+
"memberFieldName": "constructor"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"@id": "cbqo:components/ActorQueryOperationTyped.jsonld#ActorQueryOperationTyped__member_test",
|
|
193
|
+
"memberFieldName": "test"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"@id": "cbqo:components/ActorQueryOperationTyped.jsonld#ActorQueryOperationTyped__member_run",
|
|
197
|
+
"memberFieldName": "run"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"@id": "cbqo:components/ActorQueryOperationTyped.jsonld#ActorQueryOperationTyped__member_testOperation",
|
|
201
|
+
"memberFieldName": "testOperation"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"@id": "cbqo:components/ActorQueryOperationTyped.jsonld#ActorQueryOperationTyped__member_runOperation",
|
|
205
|
+
"memberFieldName": "runOperation"
|
|
206
|
+
}
|
|
187
207
|
],
|
|
188
208
|
"constructorArguments": [
|
|
189
209
|
{
|
|
@@ -89,7 +89,8 @@
|
|
|
89
89
|
"urn:npm:sparqlalgebrajs:Drop",
|
|
90
90
|
"urn:npm:sparqlalgebrajs:Add",
|
|
91
91
|
"urn:npm:sparqlalgebrajs:Move",
|
|
92
|
-
"urn:npm:sparqlalgebrajs:Copy"
|
|
92
|
+
"urn:npm:sparqlalgebrajs:Copy",
|
|
93
|
+
"urn:npm:sparqlalgebrajs:Nop"
|
|
93
94
|
]
|
|
94
95
|
}
|
|
95
96
|
]
|
|
@@ -153,7 +154,7 @@
|
|
|
153
154
|
},
|
|
154
155
|
"default": {
|
|
155
156
|
"@id": "cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation_default_bus",
|
|
156
|
-
"@type": "
|
|
157
|
+
"@type": "cbqo:components/BusQueryOperation.jsonld#BusQueryOperation"
|
|
157
158
|
},
|
|
158
159
|
"comment": "The bus this actor subscribes to."
|
|
159
160
|
},
|
|
@@ -191,9 +192,16 @@
|
|
|
191
192
|
"comment": "Actor that must be registered in the bus before this actor."
|
|
192
193
|
}
|
|
193
194
|
],
|
|
194
|
-
"
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
"memberFields": [
|
|
196
|
+
{
|
|
197
|
+
"@id": "cbqo:components/ActorQueryOperationTypedMediated.jsonld#ActorQueryOperationTypedMediated__member_mediatorQueryOperation",
|
|
198
|
+
"memberFieldName": "mediatorQueryOperation",
|
|
199
|
+
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"@id": "cbqo:components/ActorQueryOperationTypedMediated.jsonld#ActorQueryOperationTypedMediated__member_constructor",
|
|
203
|
+
"memberFieldName": "constructor"
|
|
204
|
+
}
|
|
197
205
|
],
|
|
198
206
|
"constructorArguments": [
|
|
199
207
|
{
|
|
@@ -235,8 +243,11 @@
|
|
|
235
243
|
"@type": "AbstractClass",
|
|
236
244
|
"requireElement": "IActorQueryOperationTypedMediatedArgs",
|
|
237
245
|
"parameters": [],
|
|
238
|
-
"
|
|
239
|
-
|
|
246
|
+
"memberFields": [
|
|
247
|
+
{
|
|
248
|
+
"@id": "cbqo:components/ActorQueryOperationTypedMediated.jsonld#IActorQueryOperationTypedMediatedArgs__member_mediatorQueryOperation",
|
|
249
|
+
"memberFieldName": "mediatorQueryOperation"
|
|
250
|
+
}
|
|
240
251
|
],
|
|
241
252
|
"constructorArguments": []
|
|
242
253
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": [
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^2.0.0/components/context.jsonld",
|
|
4
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^2.0.0/components/context.jsonld",
|
|
5
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/types/^2.0.0/components/context.jsonld"
|
|
6
|
+
],
|
|
7
|
+
"@id": "npmd:@comunica/bus-query-operation",
|
|
8
|
+
"components": [
|
|
9
|
+
{
|
|
10
|
+
"@id": "cbqo:components/BusQueryOperation.jsonld#BusQueryOperation",
|
|
11
|
+
"@type": "Class",
|
|
12
|
+
"requireElement": "BusQueryOperation",
|
|
13
|
+
"extends": [
|
|
14
|
+
{
|
|
15
|
+
"@type": "GenericComponentExtension",
|
|
16
|
+
"component": "cc:components/BusIndexed.jsonld#BusIndexed",
|
|
17
|
+
"genericTypeInstances": [
|
|
18
|
+
"cbqo:components/ActorQueryOperation.jsonld#ActorQueryOperation",
|
|
19
|
+
"cbqo:components/ActorQueryOperation.jsonld#IActionQueryOperation",
|
|
20
|
+
"cc:components/Actor.jsonld#IActorTest",
|
|
21
|
+
{
|
|
22
|
+
"@type": "ParameterRangeUnion",
|
|
23
|
+
"parameterRangeElements": [
|
|
24
|
+
"ct:components/IQueryOperationResult.jsonld#IQueryOperationResultBindings",
|
|
25
|
+
"ct:components/IQueryOperationResult.jsonld#IQueryOperationResultQuads",
|
|
26
|
+
"ct:components/IQueryOperationResult.jsonld#IQueryOperationResultBoolean",
|
|
27
|
+
"ct:components/IQueryOperationResult.jsonld#IQueryOperationResultVoid"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"comment": "Indexed bus for query operations.",
|
|
34
|
+
"parameters": [
|
|
35
|
+
{
|
|
36
|
+
"@id": "cbqo:components/BusQueryOperation.jsonld#BusQueryOperation_args_name",
|
|
37
|
+
"range": "xsd:string",
|
|
38
|
+
"default": {
|
|
39
|
+
"@id": "rdf:subject"
|
|
40
|
+
},
|
|
41
|
+
"comment": "The name for this bus."
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"memberFields": [
|
|
45
|
+
{
|
|
46
|
+
"@id": "cbqo:components/BusQueryOperation.jsonld#BusQueryOperation__member_constructor",
|
|
47
|
+
"memberFieldName": "constructor"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"constructorArguments": [
|
|
51
|
+
{
|
|
52
|
+
"@id": "cbqo:components/BusQueryOperation.jsonld#BusQueryOperation_args__constructorArgument",
|
|
53
|
+
"fields": [
|
|
54
|
+
{
|
|
55
|
+
"keyRaw": "name",
|
|
56
|
+
"value": {
|
|
57
|
+
"@id": "cbqo:components/BusQueryOperation.jsonld#BusQueryOperation_args_name"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"import": [
|
|
9
9
|
"cbqo:components/ActorQueryOperation.jsonld",
|
|
10
10
|
"cbqo:components/ActorQueryOperationTyped.jsonld",
|
|
11
|
-
"cbqo:components/ActorQueryOperationTypedMediated.jsonld"
|
|
11
|
+
"cbqo:components/ActorQueryOperationTypedMediated.jsonld",
|
|
12
|
+
"cbqo:components/BusQueryOperation.jsonld"
|
|
12
13
|
]
|
|
13
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^5.0.0/components/context.jsonld",
|
|
4
4
|
{
|
|
5
5
|
"npmd": "https://linkedsoftwaredependencies.org/bundles/npm/",
|
|
6
6
|
"cbqo": "npmd:@comunica/bus-query-operation/^2.0.0/",
|
|
@@ -124,6 +124,15 @@
|
|
|
124
124
|
"@id": "cbqo:components/ActorQueryOperationTypedMediated.jsonld#IActorQueryOperationTypedMediatedArgs",
|
|
125
125
|
"@prefix": true,
|
|
126
126
|
"@context": {}
|
|
127
|
+
},
|
|
128
|
+
"BusQueryOperation": {
|
|
129
|
+
"@id": "cbqo:components/BusQueryOperation.jsonld#BusQueryOperation",
|
|
130
|
+
"@prefix": true,
|
|
131
|
+
"@context": {
|
|
132
|
+
"args_name": {
|
|
133
|
+
"@id": "cbqo:components/BusQueryOperation.jsonld#BusQueryOperation_args_name"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
127
136
|
}
|
|
128
137
|
}
|
|
129
138
|
]
|
|
@@ -16,7 +16,7 @@ import type { Algebra } from 'sparqlalgebrajs';
|
|
|
16
16
|
*/
|
|
17
17
|
export declare abstract class ActorQueryOperation extends Actor<IActionQueryOperation, IActorTest, IQueryOperationResult> {
|
|
18
18
|
/**
|
|
19
|
-
* @param args - @defaultNested {<default_bus> a <
|
|
19
|
+
* @param args - @defaultNested {<default_bus> a <cbqo:components/BusQueryOperation.jsonld#BusQueryOperation>} bus
|
|
20
20
|
*/
|
|
21
21
|
protected constructor(args: IActorQueryOperationArgs);
|
|
22
22
|
/**
|
|
@@ -25,7 +25,7 @@ let bnodeCounter = 0;
|
|
|
25
25
|
*/
|
|
26
26
|
class ActorQueryOperation extends core_1.Actor {
|
|
27
27
|
/**
|
|
28
|
-
* @param args - @defaultNested {<default_bus> a <
|
|
28
|
+
* @param args - @defaultNested {<default_bus> a <cbqo:components/BusQueryOperation.jsonld#BusQueryOperation>} bus
|
|
29
29
|
*/
|
|
30
30
|
constructor(args) {
|
|
31
31
|
super(args);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IActorTest, IBusArgs } from '@comunica/core';
|
|
2
|
+
import { BusIndexed } from '@comunica/core';
|
|
3
|
+
import type { IQueryOperationResult } from '@comunica/types';
|
|
4
|
+
import type { ActorQueryOperation, IActionQueryOperation } from './ActorQueryOperation';
|
|
5
|
+
/**
|
|
6
|
+
* Indexed bus for query operations.
|
|
7
|
+
*/
|
|
8
|
+
export declare class BusQueryOperation extends BusIndexed<ActorQueryOperation, IActionQueryOperation, IActorTest, IQueryOperationResult> {
|
|
9
|
+
constructor(args: IBusArgs);
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusQueryOperation = void 0;
|
|
4
|
+
const core_1 = require("@comunica/core");
|
|
5
|
+
/**
|
|
6
|
+
* Indexed bus for query operations.
|
|
7
|
+
*/
|
|
8
|
+
class BusQueryOperation extends core_1.BusIndexed {
|
|
9
|
+
constructor(args) {
|
|
10
|
+
super({
|
|
11
|
+
...args,
|
|
12
|
+
actorIdentifierFields: ['operationName'],
|
|
13
|
+
actionIdentifierFields: ['operation', 'type'],
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.BusQueryOperation = BusQueryOperation;
|
|
18
|
+
//# sourceMappingURL=BusQueryOperation.js.map
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -14,4 +18,5 @@ __exportStar(require("./ActorQueryOperation"), exports);
|
|
|
14
18
|
__exportStar(require("./ActorQueryOperationTyped"), exports);
|
|
15
19
|
__exportStar(require("./ActorQueryOperationTypedMediated"), exports);
|
|
16
20
|
__exportStar(require("./Bindings"), exports);
|
|
21
|
+
__exportStar(require("./BusQueryOperation"), exports);
|
|
17
22
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/bus-query-operation",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "A comunica bus for query-operation events.",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"lib/**/*.js"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@comunica/bindings-factory": "2.
|
|
34
|
-
"@comunica/context-entries": "2.
|
|
35
|
-
"@comunica/core": "2.
|
|
36
|
-
"@comunica/data-factory": "2.0.1
|
|
37
|
-
"@comunica/types": "2.
|
|
33
|
+
"@comunica/bindings-factory": "^2.2.0",
|
|
34
|
+
"@comunica/context-entries": "^2.2.0",
|
|
35
|
+
"@comunica/core": "^2.2.0",
|
|
36
|
+
"@comunica/data-factory": "^2.0.1",
|
|
37
|
+
"@comunica/types": "^2.2.0",
|
|
38
38
|
"@rdfjs/types": "*",
|
|
39
|
-
"asynciterator": "^3.
|
|
39
|
+
"asynciterator": "^3.3.0",
|
|
40
40
|
"rdf-string": "^1.5.0",
|
|
41
41
|
"sparqlalgebrajs": "^4.0.0"
|
|
42
42
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
|
|
46
46
|
"build:components": "componentsjs-generator"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "00d4108e46250fb94b586bfb8caf5e8b1c704160"
|
|
49
49
|
}
|