@comunica/bus-term-comparator-factory 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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "@context": [
3
- "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-term-comparator-factory/^4.0.0/components/context.jsonld",
4
- "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^4.0.0/components/context.jsonld",
5
- "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-function-factory/^4.0.0/components/context.jsonld"
3
+ "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-term-comparator-factory/^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/bus-term-comparator-factory",
8
8
  "components": [
@@ -68,37 +68,37 @@
68
68
  "genericTypeInstances": [
69
69
  {
70
70
  "@type": "ParameterRangeGenericTypeReference",
71
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
71
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
72
72
  },
73
73
  {
74
74
  "@type": "ParameterRangeGenericTypeReference",
75
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
75
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
76
76
  },
77
77
  {
78
78
  "@type": "ParameterRangeGenericTypeReference",
79
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
79
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
80
80
  },
81
81
  {
82
82
  "@type": "ParameterRangeGenericTypeReference",
83
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
83
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
84
84
  }
85
85
  ]
86
86
  },
87
87
  {
88
88
  "@type": "ParameterRangeGenericTypeReference",
89
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
89
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
90
90
  },
91
91
  {
92
92
  "@type": "ParameterRangeGenericTypeReference",
93
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
93
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
94
94
  },
95
95
  {
96
96
  "@type": "ParameterRangeGenericTypeReference",
97
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
97
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
98
98
  },
99
99
  {
100
100
  "@type": "ParameterRangeGenericTypeReference",
101
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
101
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
102
102
  }
103
103
  ]
104
104
  },
@@ -135,19 +135,19 @@
135
135
  "genericTypeInstances": [
136
136
  {
137
137
  "@type": "ParameterRangeGenericTypeReference",
138
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
138
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
139
139
  },
140
140
  {
141
141
  "@type": "ParameterRangeGenericTypeReference",
142
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
142
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
143
143
  },
144
144
  {
145
145
  "@type": "ParameterRangeGenericTypeReference",
146
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
146
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
147
147
  },
148
148
  {
149
149
  "@type": "ParameterRangeGenericTypeReference",
150
- "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
150
+ "parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^5.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
151
151
  }
152
152
  ]
153
153
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "@context": [
3
- "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-term-comparator-factory/^4.0.0/components/context.jsonld"
3
+ "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-term-comparator-factory/^5.0.0/components/context.jsonld"
4
4
  ],
5
5
  "@id": "npmd:@comunica/bus-term-comparator-factory",
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
- "cbtcf": "npmd:@comunica/bus-term-comparator-factory/^4.0.0/",
6
+ "cbtcf": "npmd:@comunica/bus-term-comparator-factory/^5.0.0/",
7
7
  "ActorTermComparatorFactory": {
8
8
  "@id": "cbtcf:components/ActorTermComparatorFactory.jsonld#ActorTermComparatorFactory",
9
9
  "@prefix": true,
File without changes
@@ -14,6 +14,9 @@ const core_1 = require("@comunica/core");
14
14
  * @see IActorTermComparatorFactoryOutput
15
15
  */
16
16
  class ActorTermComparatorFactory extends core_1.Actor {
17
+ mediatorQueryOperation;
18
+ mediatorFunctionFactory;
19
+ mediatorMergeBindingsContext;
17
20
  /**
18
21
  * @param args -
19
22
  * \ @defaultNested {<default_bus> a <cc:components/Bus.jsonld#Bus>} bus
@@ -1 +1 @@
1
- {"version":3,"file":"ActorTermComparatorFactory.js","sourceRoot":"","sources":["ActorTermComparatorFactory.ts"],"names":[],"mappings":";;;AAIA,yCAAuC;AAGvC;;;;;;;;;;GAUG;AACH,MAAsB,0BAA2C,SAC/D,YAAsF;IAKtF;;;;OAIG;IACH,YAAmB,IAAyC;QAC1D,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC;QAC1D,IAAI,CAAC,uBAAuB,GAA6B,IAAI,CAAC,uBAAuB,CAAC;QACtF,IAAI,CAAC,4BAA4B,GAAG,IAAI,CAAC,4BAA4B,CAAC;IACxE,CAAC;CACF;AAjBD,gEAiBC","sourcesContent":["import type { MediatorFunctionFactory, MediatorFunctionFactoryUnsafe } from '@comunica/bus-function-factory';\nimport type { MediatorMergeBindingsContext } from '@comunica/bus-merge-bindings-context';\nimport type { MediatorQueryOperation } from '@comunica/bus-query-operation';\nimport type { IAction, IActorArgs, IActorOutput, IActorTest, Mediate } from '@comunica/core';\nimport { Actor } from '@comunica/core';\nimport type * as RDF from '@rdfjs/types';\n\n/**\n * A comunica actor for term-comparator-factory events.\n *\n * Actor types:\n * * Input: IActionTermComparatorFactory: the Query Operation Mediator and Function Factory Mediator.\n * * Test: <none>\n * * Output: IActorTermComparatorFactoryOutput: An object that can order RDF terms.\n *\n * @see IActionTermComparatorFactory\n * @see IActorTermComparatorFactoryOutput\n */\nexport abstract class ActorTermComparatorFactory<TS = undefined> extends\n Actor<IActionTermComparatorFactory, IActorTest, IActorTermComparatorFactoryOutput, TS> {\n protected readonly mediatorQueryOperation: MediatorQueryOperation;\n protected readonly mediatorFunctionFactory: MediatorFunctionFactory;\n protected readonly mediatorMergeBindingsContext: MediatorMergeBindingsContext;\n\n /**\n * @param args -\n * \\ @defaultNested {<default_bus> a <cc:components/Bus.jsonld#Bus>} bus\n * \\ @defaultNested {Creation of term comparator failed} busFailMessage\n */\n public constructor(args: IActorTermComparatorFactoryArgs<TS>) {\n super(args);\n this.mediatorQueryOperation = args.mediatorQueryOperation;\n this.mediatorFunctionFactory = <MediatorFunctionFactory> args.mediatorFunctionFactory;\n this.mediatorMergeBindingsContext = args.mediatorMergeBindingsContext;\n }\n}\n\nexport interface IActionTermComparatorFactory extends IAction {\n\n}\n\nexport interface ITermComparator {\n /**\n * Orders two RDF terms according to: https://www.w3.org/TR/sparql11-query/#modOrderBy\n * @param termA the first term\n * @param termB the second term\n */\n orderTypes: (termA: RDF.Term | undefined, termB: RDF.Term | undefined) => -1 | 0 | 1;\n}\n\nexport interface IActorTermComparatorFactoryOutput extends IActorOutput, ITermComparator {}\n\nexport interface IActorTermComparatorFactoryArgs<TS = undefined> extends IActorArgs<\nIActionTermComparatorFactory,\nIActorTest,\nIActorTermComparatorFactoryOutput,\nTS\n> {\n mediatorQueryOperation: MediatorQueryOperation;\n mediatorFunctionFactory: MediatorFunctionFactoryUnsafe;\n /**\n * A mediator for creating binding context merge handlers\n */\n mediatorMergeBindingsContext: MediatorMergeBindingsContext;\n}\n\nexport type MediatorTermComparatorFactory = Mediate<\nIActionTermComparatorFactory,\nIActorTermComparatorFactoryOutput\n>;\n"]}
1
+ {"version":3,"file":"ActorTermComparatorFactory.js","sourceRoot":"","sources":["ActorTermComparatorFactory.ts"],"names":[],"mappings":";;;AAIA,yCAAuC;AAGvC;;;;;;;;;;GAUG;AACH,MAAsB,0BAA2C,SAC/D,YAAsF;IACnE,sBAAsB,CAAyB;IAC/C,uBAAuB,CAA0B;IACjD,4BAA4B,CAA+B;IAE9E;;;;OAIG;IACH,YAAmB,IAAyC;QAC1D,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC;QAC1D,IAAI,CAAC,uBAAuB,GAA6B,IAAI,CAAC,uBAAuB,CAAC;QACtF,IAAI,CAAC,4BAA4B,GAAG,IAAI,CAAC,4BAA4B,CAAC;IACxE,CAAC;CACF;AAjBD,gEAiBC","sourcesContent":["import type { MediatorFunctionFactory, MediatorFunctionFactoryUnsafe } from '@comunica/bus-function-factory';\nimport type { MediatorMergeBindingsContext } from '@comunica/bus-merge-bindings-context';\nimport type { MediatorQueryOperation } from '@comunica/bus-query-operation';\nimport type { IAction, IActorArgs, IActorOutput, IActorTest, Mediate } from '@comunica/core';\nimport { Actor } from '@comunica/core';\nimport type * as RDF from '@rdfjs/types';\n\n/**\n * A comunica actor for term-comparator-factory events.\n *\n * Actor types:\n * * Input: IActionTermComparatorFactory: the Query Operation Mediator and Function Factory Mediator.\n * * Test: <none>\n * * Output: IActorTermComparatorFactoryOutput: An object that can order RDF terms.\n *\n * @see IActionTermComparatorFactory\n * @see IActorTermComparatorFactoryOutput\n */\nexport abstract class ActorTermComparatorFactory<TS = undefined> extends\n Actor<IActionTermComparatorFactory, IActorTest, IActorTermComparatorFactoryOutput, TS> {\n protected readonly mediatorQueryOperation: MediatorQueryOperation;\n protected readonly mediatorFunctionFactory: MediatorFunctionFactory;\n protected readonly mediatorMergeBindingsContext: MediatorMergeBindingsContext;\n\n /**\n * @param args -\n * \\ @defaultNested {<default_bus> a <cc:components/Bus.jsonld#Bus>} bus\n * \\ @defaultNested {Creation of term comparator failed} busFailMessage\n */\n public constructor(args: IActorTermComparatorFactoryArgs<TS>) {\n super(args);\n this.mediatorQueryOperation = args.mediatorQueryOperation;\n this.mediatorFunctionFactory = <MediatorFunctionFactory> args.mediatorFunctionFactory;\n this.mediatorMergeBindingsContext = args.mediatorMergeBindingsContext;\n }\n}\n\nexport interface IActionTermComparatorFactory extends IAction {\n\n}\n\nexport interface ITermComparator {\n /**\n * Orders two RDF terms according to: https://www.w3.org/TR/sparql11-query/#modOrderBy\n * @param termA the first term\n * @param termB the second term\n */\n orderTypes: (termA: RDF.Term | undefined, termB: RDF.Term | undefined) => -1 | 0 | 1;\n}\n\nexport interface IActorTermComparatorFactoryOutput extends IActorOutput, ITermComparator {}\n\nexport interface IActorTermComparatorFactoryArgs<TS = undefined> extends IActorArgs<\nIActionTermComparatorFactory,\nIActorTest,\nIActorTermComparatorFactoryOutput,\nTS\n> {\n mediatorQueryOperation: MediatorQueryOperation;\n mediatorFunctionFactory: MediatorFunctionFactoryUnsafe;\n /**\n * A mediator for creating binding context merge handlers\n */\n mediatorMergeBindingsContext: MediatorMergeBindingsContext;\n}\n\nexport type MediatorTermComparatorFactory = Mediate<\nIActionTermComparatorFactory,\nIActorTermComparatorFactoryOutput\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/bus-term-comparator-factory",
3
- "version": "4.5.0",
3
+ "version": "5.0.2",
4
4
  "description": "A comunica bus for term-comparator-factory events.",
5
5
  "lsd:module": true,
6
6
  "license": "MIT",
@@ -36,11 +36,11 @@
36
36
  "build:components": "componentsjs-generator"
37
37
  },
38
38
  "dependencies": {
39
- "@comunica/bus-function-factory": "^4.5.0",
40
- "@comunica/bus-merge-bindings-context": "^4.5.0",
41
- "@comunica/bus-query-operation": "^4.5.0",
42
- "@comunica/core": "^4.5.0",
39
+ "@comunica/bus-function-factory": "^5.0.2",
40
+ "@comunica/bus-merge-bindings-context": "^5.0.2",
41
+ "@comunica/bus-query-operation": "^5.0.2",
42
+ "@comunica/core": "^5.0.2",
43
43
  "@rdfjs/types": "*"
44
44
  },
45
- "gitHead": "2bcd98c387a021fc5c08d375793c205ca3d1bf0d"
45
+ "gitHead": "3b29f914010fd2fc56682a0ceff962ef6ff24f32"
46
46
  }