@comunica/actor-function-factory-term-greater-than 4.5.0 → 5.0.2
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/README.md +1 -1
- package/components/ActorFunctionFactoryTermGreaterThan.jsonld +15 -15
- package/components/components.jsonld +1 -1
- package/components/context.jsonld +1 -1
- package/lib/ActorFunctionFactoryTermGreaterThan.d.ts +0 -0
- package/lib/ActorFunctionFactoryTermGreaterThan.js +1 -0
- package/lib/ActorFunctionFactoryTermGreaterThan.js.map +1 -1
- package/lib/TermFunctionGreaterThan.d.ts +0 -0
- package/lib/TermFunctionGreaterThan.js +1 -0
- package/lib/TermFunctionGreaterThan.js.map +1 -1
- package/lib/index.d.ts +0 -0
- package/lib/index.js +0 -0
- package/lib/index.js.map +0 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ After installing, this package can be added to your engine's configuration as fo
|
|
|
24
24
|
{
|
|
25
25
|
"@context": [
|
|
26
26
|
...
|
|
27
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-function-factory-term-greater-than/^
|
|
27
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-function-factory-term-greater-than/^5.0.0/components/context.jsonld"
|
|
28
28
|
],
|
|
29
29
|
"actors": [
|
|
30
30
|
...
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-function-factory-term-greater-than/^
|
|
4
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^
|
|
5
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-function-factory/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-function-factory-term-greater-than/^5.0.0/components/context.jsonld",
|
|
4
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^5.0.0/components/context.jsonld",
|
|
5
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-function-factory/^5.0.0/components/context.jsonld"
|
|
6
6
|
],
|
|
7
7
|
"@id": "npmd:@comunica/actor-function-factory-term-greater-than",
|
|
8
8
|
"components": [
|
|
@@ -39,37 +39,37 @@
|
|
|
39
39
|
"genericTypeInstances": [
|
|
40
40
|
{
|
|
41
41
|
"@type": "ParameterRangeGenericTypeReference",
|
|
42
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
42
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"@type": "ParameterRangeGenericTypeReference",
|
|
46
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
46
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"@type": "ParameterRangeGenericTypeReference",
|
|
50
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
50
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"@type": "ParameterRangeGenericTypeReference",
|
|
54
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
54
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
|
|
55
55
|
}
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
"@type": "ParameterRangeGenericTypeReference",
|
|
60
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
60
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"@type": "ParameterRangeGenericTypeReference",
|
|
64
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
64
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"@type": "ParameterRangeGenericTypeReference",
|
|
68
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
68
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"@type": "ParameterRangeGenericTypeReference",
|
|
72
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
72
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
|
|
73
73
|
}
|
|
74
74
|
]
|
|
75
75
|
},
|
|
@@ -106,19 +106,19 @@
|
|
|
106
106
|
"genericTypeInstances": [
|
|
107
107
|
{
|
|
108
108
|
"@type": "ParameterRangeGenericTypeReference",
|
|
109
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
109
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"@type": "ParameterRangeGenericTypeReference",
|
|
113
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
113
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
"@type": "ParameterRangeGenericTypeReference",
|
|
117
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
117
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"@type": "ParameterRangeGenericTypeReference",
|
|
121
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
121
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
|
|
122
122
|
}
|
|
123
123
|
]
|
|
124
124
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-function-factory-term-greater-than/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-function-factory-term-greater-than/^5.0.0/components/context.jsonld"
|
|
4
4
|
],
|
|
5
5
|
"@id": "npmd:@comunica/actor-function-factory-term-greater-than",
|
|
6
6
|
"@type": "Module",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^6.0.0/components/context.jsonld",
|
|
4
4
|
{
|
|
5
5
|
"npmd": "https://linkedsoftwaredependencies.org/bundles/npm/",
|
|
6
|
-
"cafftgt": "npmd:@comunica/actor-function-factory-term-greater-than/^
|
|
6
|
+
"cafftgt": "npmd:@comunica/actor-function-factory-term-greater-than/^5.0.0/",
|
|
7
7
|
"ActorFunctionFactoryTermGreaterThan": {
|
|
8
8
|
"@id": "cafftgt:components/ActorFunctionFactoryTermGreaterThan.jsonld#ActorFunctionFactoryTermGreaterThan",
|
|
9
9
|
"@prefix": true,
|
|
File without changes
|
|
@@ -8,6 +8,7 @@ const TermFunctionGreaterThan_1 = require("./TermFunctionGreaterThan");
|
|
|
8
8
|
* A comunica TermFunctionGreaterThan Function Factory Actor.
|
|
9
9
|
*/
|
|
10
10
|
class ActorFunctionFactoryTermGreaterThan extends bus_function_factory_1.ActorFunctionFactoryDedicated {
|
|
11
|
+
mediatorFunctionFactory;
|
|
11
12
|
constructor(args) {
|
|
12
13
|
super({
|
|
13
14
|
...args,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActorFunctionFactoryTermGreaterThan.js","sourceRoot":"","sources":["ActorFunctionFactoryTermGreaterThan.ts"],"names":[],"mappings":";;;AAQA,yEAEwC;AAExC,qFAAsE;AACtE,uEAAoE;AAMpE;;GAEG;AACH,MAAa,mCAAoC,SAAQ,oDAA6B;
|
|
1
|
+
{"version":3,"file":"ActorFunctionFactoryTermGreaterThan.js","sourceRoot":"","sources":["ActorFunctionFactoryTermGreaterThan.ts"],"names":[],"mappings":";;;AAQA,yEAEwC;AAExC,qFAAsE;AACtE,uEAAoE;AAMpE;;GAEG;AACH,MAAa,mCAAoC,SAAQ,oDAA6B;IACnE,uBAAuB,CAA0B;IAElE,YAAmB,IAAsD;QACvE,KAAK,CAAC;YACJ,GAAG,IAAI;YACP,aAAa,EAAE,CAAE,2CAAc,CAAC,EAAE,CAAE;YACpC,YAAY,EAAE,IAAI;SACnB,CAAC,CAAC;QACH,IAAI,CAAC,uBAAuB,GAA6B,IAAI,CAAC,uBAAuB,CAAC;IACxF,CAAC;IAEM,KAAK,CAAC,GAAG,CAAmC,IAAO;QAExD,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC;YAClE,YAAY,EAAE,2CAAc,CAAC,EAAE;YAC/B,qBAAqB,EAAE,IAAI;YAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC,CAAC;QAEH,OAAO,IAAI,iDAAuB,CAAC,gBAAgB,CAAC,CAAC;IACvD,CAAC;CACF;AAvBD,kFAuBC","sourcesContent":["import type {\n IActionFunctionFactory,\n IActorFunctionFactoryArgs,\n IActorFunctionFactoryOutput,\n IActorFunctionFactoryOutputTerm,\n MediatorFunctionFactory,\n MediatorFunctionFactoryUnsafe,\n} from '@comunica/bus-function-factory';\nimport {\n ActorFunctionFactoryDedicated,\n} from '@comunica/bus-function-factory';\n\nimport { SparqlOperator } from '@comunica/utils-expression-evaluator';\nimport { TermFunctionGreaterThan } from './TermFunctionGreaterThan';\n\ninterface IActorFunctionFactoryTermFunctionGreaterThanArgs extends IActorFunctionFactoryArgs {\n mediatorFunctionFactory: MediatorFunctionFactoryUnsafe;\n}\n\n/**\n * A comunica TermFunctionGreaterThan Function Factory Actor.\n */\nexport class ActorFunctionFactoryTermGreaterThan extends ActorFunctionFactoryDedicated {\n private readonly mediatorFunctionFactory: MediatorFunctionFactory;\n\n public constructor(args: IActorFunctionFactoryTermFunctionGreaterThanArgs) {\n super({\n ...args,\n functionNames: [ SparqlOperator.GT ],\n termFunction: true,\n });\n this.mediatorFunctionFactory = <MediatorFunctionFactory> args.mediatorFunctionFactory;\n }\n\n public async run<T extends IActionFunctionFactory>(args: T):\n Promise<T extends { requireTermExpression: true } ? IActorFunctionFactoryOutputTerm : IActorFunctionFactoryOutput> {\n const lessThanFunction = await this.mediatorFunctionFactory.mediate({\n functionName: SparqlOperator.LT,\n requireTermExpression: true,\n context: args.context,\n arguments: args.arguments,\n });\n\n return new TermFunctionGreaterThan(lessThanFunction);\n }\n}\n"]}
|
|
File without changes
|
|
@@ -4,6 +4,7 @@ exports.TermFunctionGreaterThan = void 0;
|
|
|
4
4
|
const bus_function_factory_1 = require("@comunica/bus-function-factory");
|
|
5
5
|
const utils_expression_evaluator_1 = require("@comunica/utils-expression-evaluator");
|
|
6
6
|
class TermFunctionGreaterThan extends bus_function_factory_1.TermFunctionBase {
|
|
7
|
+
lessThanFunction;
|
|
7
8
|
constructor(lessThanFunction) {
|
|
8
9
|
super({
|
|
9
10
|
arity: 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TermFunctionGreaterThan.js","sourceRoot":"","sources":["TermFunctionGreaterThan.ts"],"names":[],"mappings":";;;AACA,yEAAkE;AAElE,qFAG8C;AAE9C,MAAa,uBAAwB,SAAQ,uCAAgB;
|
|
1
|
+
{"version":3,"file":"TermFunctionGreaterThan.js","sourceRoot":"","sources":["TermFunctionGreaterThan.ts"],"names":[],"mappings":";;;AACA,yEAAkE;AAElE,qFAG8C;AAE9C,MAAa,uBAAwB,SAAQ,uCAAgB;IACvB;IAApC,YAAoC,gBAA+B;QACjE,KAAK,CAAC;YACJ,KAAK,EAAE,CAAC;YACR,QAAQ,EAAE,2CAAc,CAAC,EAAE;YAC3B,SAAS,EAAE,IAAA,oCAAO,EAAC,2CAAc,CAAC,EAAE,CAAC;iBAClC,GAAG,CAAC,CAAE,MAAM,EAAE,MAAM,CAAE,EAAE,mBAAmB,CAAC,EAAE,CAC7C,CAAC,CAAE,KAAK,EAAE,MAAM,CAAE,EAAE,EAAE;YACtB,iBAAiB;YACf,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAE,MAAM,EAAE,KAAK,CAAE,EAAE,mBAAmB,CAAC,CAAC;iBAC9E,OAAO,EAAE;SACb,CAAC,CAAC;QAV+B,qBAAgB,GAAhB,gBAAgB,CAAe;IAWnE,CAAC;CACF;AAbD,0DAaC","sourcesContent":["import type { ITermFunction } from '@comunica/bus-function-factory';\nimport { TermFunctionBase } from '@comunica/bus-function-factory';\n\nimport {\n declare,\n SparqlOperator,\n} from '@comunica/utils-expression-evaluator';\n\nexport class TermFunctionGreaterThan extends TermFunctionBase {\n public constructor(private readonly lessThanFunction: ITermFunction) {\n super({\n arity: 2,\n operator: SparqlOperator.GT,\n overloads: declare(SparqlOperator.GT)\n .set([ 'term', 'term' ], expressionEvaluator =>\n ([ first, second ]) =>\n // X < Y -> Y > X\n this.lessThanFunction.applyOnTerms([ second, first ], expressionEvaluator))\n .collect(),\n });\n }\n}\n"]}
|
package/lib/index.d.ts
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
package/lib/index.js.map
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-function-factory-term-greater-than",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "A term-greater-than function-factory actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"build:components": "componentsjs-generator"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@comunica/bus-function-factory": "^
|
|
41
|
-
"@comunica/utils-expression-evaluator": "^
|
|
40
|
+
"@comunica/bus-function-factory": "^5.0.2",
|
|
41
|
+
"@comunica/utils-expression-evaluator": "^5.0.2"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "3b29f914010fd2fc56682a0ceff962ef6ff24f32"
|
|
44
44
|
}
|