@comake/skl-js-engine 0.13.4 → 0.15.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/dist/SklEngine.d.ts +2 -2
- package/dist/SklEngine.js +62 -42
- package/dist/SklEngine.js.map +1 -1
- package/dist/SklEngineOptions.d.ts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/storage/BaseQueryAdapterOptions.d.ts +0 -4
- package/dist/storage/FindOperator.d.ts +9 -8
- package/dist/storage/FindOperator.js +6 -0
- package/dist/storage/FindOperator.js.map +1 -1
- package/dist/storage/FindOptionsTypes.d.ts +7 -6
- package/dist/storage/memory/MemoryQueryAdapter.js +4 -0
- package/dist/storage/memory/MemoryQueryAdapter.js.map +1 -1
- package/dist/storage/operator/Equal.d.ts +1 -1
- package/dist/storage/operator/Equal.js.map +1 -1
- package/dist/storage/operator/GreaterThan.d.ts +1 -1
- package/dist/storage/operator/GreaterThan.js.map +1 -1
- package/dist/storage/operator/GreaterThanOrEqual.d.ts +1 -1
- package/dist/storage/operator/GreaterThanOrEqual.js.map +1 -1
- package/dist/storage/operator/In.d.ts +1 -1
- package/dist/storage/operator/In.js.map +1 -1
- package/dist/storage/operator/Inverse.d.ts +1 -1
- package/dist/storage/operator/Inverse.js.map +1 -1
- package/dist/storage/operator/InversePath.d.ts +6 -0
- package/dist/storage/operator/InversePath.js +13 -0
- package/dist/storage/operator/InversePath.js.map +1 -0
- package/dist/storage/operator/InverseRelation.d.ts +1 -1
- package/dist/storage/operator/InverseRelation.js.map +1 -1
- package/dist/storage/operator/InverseRelationOrder.d.ts +1 -1
- package/dist/storage/operator/InverseRelationOrder.js.map +1 -1
- package/dist/storage/operator/LessThan.d.ts +1 -1
- package/dist/storage/operator/LessThan.js.map +1 -1
- package/dist/storage/operator/LessThanOrEqual.d.ts +1 -1
- package/dist/storage/operator/LessThanOrEqual.js.map +1 -1
- package/dist/storage/operator/Not.d.ts +1 -1
- package/dist/storage/operator/Not.js.map +1 -1
- package/dist/storage/operator/OneOrMorePath.d.ts +6 -0
- package/dist/storage/operator/OneOrMorePath.js +13 -0
- package/dist/storage/operator/OneOrMorePath.js.map +1 -0
- package/dist/storage/operator/Path.d.ts +2 -0
- package/dist/storage/operator/Path.js +13 -0
- package/dist/storage/operator/Path.js.map +1 -0
- package/dist/storage/operator/SequencePath.d.ts +6 -0
- package/dist/storage/operator/SequencePath.js +13 -0
- package/dist/storage/operator/SequencePath.js.map +1 -0
- package/dist/storage/operator/ZeroOrMorePath.d.ts +6 -0
- package/dist/storage/operator/ZeroOrMorePath.js +13 -0
- package/dist/storage/operator/ZeroOrMorePath.js.map +1 -0
- package/dist/storage/sparql/SparqlQueryBuilder.d.ts +1 -0
- package/dist/storage/sparql/SparqlQueryBuilder.js +71 -4
- package/dist/storage/sparql/SparqlQueryBuilder.js.map +1 -1
- package/dist/util/SparqlUtil.d.ts +3 -1
- package/dist/util/SparqlUtil.js +20 -4
- package/dist/util/SparqlUtil.js.map +1 -1
- package/dist/util/TripleUtil.js.map +1 -1
- package/dist/util/Types.d.ts +11 -0
- package/package.json +2 -2
package/dist/util/Types.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export interface OperationResponse extends JSONObject {
|
|
|
71
71
|
export interface VerbConfig {
|
|
72
72
|
/**
|
|
73
73
|
* Callbacks to execute upon events.
|
|
74
|
+
* If global callbacks are provided, both are executed.
|
|
74
75
|
*/
|
|
75
76
|
callbacks?: Callbacks;
|
|
76
77
|
/**
|
|
@@ -78,4 +79,14 @@ export interface VerbConfig {
|
|
|
78
79
|
* return values according to schemas. Overrides the global setting.
|
|
79
80
|
*/
|
|
80
81
|
readonly disableValidation?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* An object containing files keyed on their title that can be used in mappings.
|
|
84
|
+
* Merged with the global setting. The verb config taking prededence in the case of overlapping names.
|
|
85
|
+
*/
|
|
86
|
+
readonly inputFiles?: Record<string, string>;
|
|
87
|
+
/**
|
|
88
|
+
* Manually defined functions which can be used in mappings.
|
|
89
|
+
* Merged with the global setting. The verb config taking prededence in the case of overlapping names.
|
|
90
|
+
*/
|
|
91
|
+
readonly functions?: Record<string, (args: any | any[]) => any>;
|
|
81
92
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comake/skl-js-engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "Standard Knowledge Language Javascript Engine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skl",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@comake/openapi-operation-executor": "^0.11.1",
|
|
46
|
-
"@comake/rmlmapper-js": "^0.
|
|
46
|
+
"@comake/rmlmapper-js": "^0.5.1",
|
|
47
47
|
"@rdfjs/data-model": "^1.3.0",
|
|
48
48
|
"jsonld": "^8.1.0",
|
|
49
49
|
"jsonpath-plus": "^7.2.0",
|