@comunica/actor-function-factory-term-greater-than-equal 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/ActorFunctionFactoryTermGreaterThanEqual.jsonld +15 -15
- package/components/components.jsonld +1 -1
- package/components/context.jsonld +1 -1
- package/lib/ActorFunctionFactoryTermGreaterThanEqual.d.ts +0 -0
- package/lib/ActorFunctionFactoryTermGreaterThanEqual.js +1 -0
- package/lib/ActorFunctionFactoryTermGreaterThanEqual.js.map +1 -1
- package/lib/TermFunctionGreaterThanEqual.d.ts +0 -0
- package/lib/TermFunctionGreaterThanEqual.js +1 -0
- package/lib/TermFunctionGreaterThanEqual.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-equal/^
|
|
27
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-function-factory-term-greater-than-equal/^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-equal/^
|
|
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-equal/^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-equal",
|
|
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-equal/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-function-factory-term-greater-than-equal/^5.0.0/components/context.jsonld"
|
|
4
4
|
],
|
|
5
5
|
"@id": "npmd:@comunica/actor-function-factory-term-greater-than-equal",
|
|
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
|
-
"cafftgte": "npmd:@comunica/actor-function-factory-term-greater-than-equal/^
|
|
6
|
+
"cafftgte": "npmd:@comunica/actor-function-factory-term-greater-than-equal/^5.0.0/",
|
|
7
7
|
"ActorFunctionFactoryTermGreaterThanEqual": {
|
|
8
8
|
"@id": "cafftgte:components/ActorFunctionFactoryTermGreaterThanEqual.jsonld#ActorFunctionFactoryTermGreaterThanEqual",
|
|
9
9
|
"@prefix": true,
|
|
File without changes
|
|
@@ -8,6 +8,7 @@ const TermFunctionGreaterThanEqual_1 = require("./TermFunctionGreaterThanEqual")
|
|
|
8
8
|
* A comunica TermFunctionGreaterThanEqual Function Factory Actor.
|
|
9
9
|
*/
|
|
10
10
|
class ActorFunctionFactoryTermGreaterThanEqual extends bus_function_factory_1.ActorFunctionFactoryDedicated {
|
|
11
|
+
mediatorFunctionFactory;
|
|
11
12
|
constructor(args) {
|
|
12
13
|
super({
|
|
13
14
|
...args,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActorFunctionFactoryTermGreaterThanEqual.js","sourceRoot":"","sources":["ActorFunctionFactoryTermGreaterThanEqual.ts"],"names":[],"mappings":";;;AAQA,yEAEwC;AAExC,qFAAsE;AACtE,iFAA8E;AAM9E;;GAEG;AACH,MAAa,wCAAyC,SAAQ,oDAA6B;
|
|
1
|
+
{"version":3,"file":"ActorFunctionFactoryTermGreaterThanEqual.js","sourceRoot":"","sources":["ActorFunctionFactoryTermGreaterThanEqual.ts"],"names":[],"mappings":";;;AAQA,yEAEwC;AAExC,qFAAsE;AACtE,iFAA8E;AAM9E;;GAEG;AACH,MAAa,wCAAyC,SAAQ,oDAA6B;IACxE,uBAAuB,CAA0B;IAElE,YAAmB,IAA2D;QAC5E,KAAK,CAAC;YACJ,GAAG,IAAI;YACP,aAAa,EAAE,CAAE,2CAAc,CAAC,GAAG,CAAE;YACrC,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,qBAAqB,GAAG,MAAM,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC;YACvE,YAAY,EAAE,2CAAc,CAAC,GAAG;YAChC,qBAAqB,EAAE,IAAI;YAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC,CAAC;QAEH,OAAO,IAAI,2DAA4B,CAAC,qBAAqB,CAAC,CAAC;IACjE,CAAC;CACF;AAvBD,4FAuBC","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 { TermFunctionGreaterThanEqual } from './TermFunctionGreaterThanEqual';\n\ninterface IActorFunctionFactoryTermFunctionGreaterThanEqualArgs extends IActorFunctionFactoryArgs {\n mediatorFunctionFactory: MediatorFunctionFactoryUnsafe;\n}\n\n/**\n * A comunica TermFunctionGreaterThanEqual Function Factory Actor.\n */\nexport class ActorFunctionFactoryTermGreaterThanEqual extends ActorFunctionFactoryDedicated {\n private readonly mediatorFunctionFactory: MediatorFunctionFactory;\n\n public constructor(args: IActorFunctionFactoryTermFunctionGreaterThanEqualArgs) {\n super({\n ...args,\n functionNames: [ SparqlOperator.GTE ],\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 lessThanEqualFunction = await this.mediatorFunctionFactory.mediate({\n functionName: SparqlOperator.LTE,\n requireTermExpression: true,\n context: args.context,\n arguments: args.arguments,\n });\n\n return new TermFunctionGreaterThanEqual(lessThanEqualFunction);\n }\n}\n"]}
|
|
File without changes
|
|
@@ -4,6 +4,7 @@ exports.TermFunctionGreaterThanEqual = 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 TermFunctionGreaterThanEqual extends bus_function_factory_1.TermFunctionBase {
|
|
7
|
+
lessThanEqualFunction;
|
|
7
8
|
constructor(lessThanEqualFunction) {
|
|
8
9
|
super({
|
|
9
10
|
arity: 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TermFunctionGreaterThanEqual.js","sourceRoot":"","sources":["TermFunctionGreaterThanEqual.ts"],"names":[],"mappings":";;;AACA,yEAAkE;AAElE,qFAG8C;AAE9C,MAAa,4BAA6B,SAAQ,uCAAgB;
|
|
1
|
+
{"version":3,"file":"TermFunctionGreaterThanEqual.js","sourceRoot":"","sources":["TermFunctionGreaterThanEqual.ts"],"names":[],"mappings":";;;AACA,yEAAkE;AAElE,qFAG8C;AAE9C,MAAa,4BAA6B,SAAQ,uCAAgB;IAC5B;IAApC,YAAoC,qBAAoC;QACtE,KAAK,CAAC;YACJ,KAAK,EAAE,CAAC;YACR,QAAQ,EAAE,2CAAc,CAAC,GAAG;YAC5B,SAAS,EAAE,IAAA,oCAAO,EAAC,2CAAc,CAAC,GAAG,CAAC;iBACnC,GAAG,CAAC,CAAE,MAAM,EAAE,MAAM,CAAE,EAAE,QAAQ,CAAC,EAAE,CAClC,CAAC,CAAE,KAAK,EAAE,MAAM,CAAE,EAAE,EAAE;YACpB,mBAAmB;YACnB,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC,CAAE,MAAM,EAAE,KAAK,CAAE,EAAE,QAAQ,CAAC,CAAC;iBACxE,OAAO,EAAE;SACb,CAAC,CAAC;QAV+B,0BAAqB,GAArB,qBAAqB,CAAe;IAWxE,CAAC;CACF;AAbD,oEAaC","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 TermFunctionGreaterThanEqual extends TermFunctionBase {\n public constructor(private readonly lessThanEqualFunction: ITermFunction) {\n super({\n arity: 2,\n operator: SparqlOperator.GTE,\n overloads: declare(SparqlOperator.GTE)\n .set([ 'term', 'term' ], exprEval =>\n ([ first, second ]) =>\n // X >= Y -> Y <= X\n this.lessThanEqualFunction.applyOnTerms([ second, first ], exprEval))\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-equal",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "A term-greater-than-equal 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
|
}
|