@comunica/actor-query-operation-path-link 2.4.0 → 2.5.1

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActorQueryOperationPathLink.js","sourceRoot":"","sources":["ActorQueryOperationPathLink.ts"],"names":[],"mappings":";;;AAAA,uEAAkE;AAGlE,qDAA0C;AAE1C;;GAEG;AACH,MAAa,2BAA4B,SAAQ,uCAAiB;IAChE,YAAmB,IAA2C;QAC5D,KAAK,CAAC,IAAI,EAAE,yBAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAEM,KAAK,CAAC,YAAY,CACvB,iBAA+B,EAC/B,OAAuB;QAEvB,MAAM,SAAS,GAAkB,iBAAiB,CAAC,SAAS,CAAC;QAC7D,MAAM,SAAS,GAAG,uCAAiB,CAAC,OAAO,CAAC,aAAa,CACvD,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,EAAE,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,KAAK,CAC5F,CAAC;QACF,OAAO,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;CACF;AAfD,kEAeC","sourcesContent":["import { ActorAbstractPath } from '@comunica/actor-abstract-path';\nimport type { IActorQueryOperationTypedMediatedArgs } from '@comunica/bus-query-operation';\nimport type { IActionContext, IQueryOperationResult } from '@comunica/types';\nimport { Algebra } from 'sparqlalgebrajs';\n\n/**\n * A comunica Path Link Query Operation Actor.\n */\nexport class ActorQueryOperationPathLink extends ActorAbstractPath {\n public constructor(args: IActorQueryOperationTypedMediatedArgs) {\n super(args, Algebra.types.LINK);\n }\n\n public async runOperation(\n operationOriginal: Algebra.Path,\n context: IActionContext,\n ): Promise<IQueryOperationResult> {\n const predicate = <Algebra.Link> operationOriginal.predicate;\n const operation = ActorAbstractPath.FACTORY.createPattern(\n operationOriginal.subject, predicate.iri, operationOriginal.object, operationOriginal.graph,\n );\n return this.mediatorQueryOperation.mediate({ operation, context });\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C","sourcesContent":["export * from './ActorQueryOperationPathLink';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comunica/actor-query-operation-path-link",
3
- "version": "2.4.0",
3
+ "version": "2.5.1",
4
4
  "description": "A path-link query-operation actor",
5
5
  "lsd:module": true,
6
6
  "main": "lib/index.js",
@@ -28,18 +28,19 @@
28
28
  "files": [
29
29
  "components",
30
30
  "lib/**/*.d.ts",
31
- "lib/**/*.js"
31
+ "lib/**/*.js",
32
+ "lib/**/*.js.map"
32
33
  ],
33
34
  "dependencies": {
34
- "@comunica/actor-abstract-path": "^2.4.0",
35
- "@comunica/bus-query-operation": "^2.4.0",
36
- "@comunica/types": "^2.4.0",
37
- "sparqlalgebrajs": "^4.0.0"
35
+ "@comunica/actor-abstract-path": "^2.5.1",
36
+ "@comunica/bus-query-operation": "^2.5.1",
37
+ "@comunica/types": "^2.5.1",
38
+ "sparqlalgebrajs": "^4.0.5"
38
39
  },
39
40
  "scripts": {
40
41
  "build": "npm run build:ts && npm run build:components",
41
42
  "build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
42
43
  "build:components": "componentsjs-generator"
43
44
  },
44
- "gitHead": "cb5a1560c9ab9ebaf3335888a1411a7e1654de1e"
45
+ "gitHead": "d64e87fad4a616224c210c2d22b38f6f9b00e1ea"
45
46
  }