@thi.ng/rstream-query 2.1.33 → 2.1.34
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/CHANGELOG.md +1 -1
- package/README.md +6 -9
- package/api.d.ts +10 -10
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/rstream-query)
|
|
6
6
|

|
|
7
|
-
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
This project is part of the
|
|
10
10
|
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
@@ -78,11 +78,8 @@ ES module import:
|
|
|
78
78
|
|
|
79
79
|
For Node.js REPL:
|
|
80
80
|
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
node --experimental-repl-await
|
|
84
|
-
|
|
85
|
-
> const rstreamQuery = await import("@thi.ng/rstream-query");
|
|
81
|
+
```js
|
|
82
|
+
const rstreamQuery = await import("@thi.ng/rstream-query");
|
|
86
83
|
```
|
|
87
84
|
|
|
88
85
|
Package sizes (brotli'd, pre-treeshake): ESM: 2.49 KB
|
|
@@ -233,7 +230,7 @@ The source code for the above example is
|
|
|
233
230
|
|
|
234
231
|
## Authors
|
|
235
232
|
|
|
236
|
-
Karsten Schmidt
|
|
233
|
+
- [Karsten Schmidt](https://thi.ng)
|
|
237
234
|
|
|
238
235
|
If this project contributes to an academic publication, please cite it as:
|
|
239
236
|
|
|
@@ -248,4 +245,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
248
245
|
|
|
249
246
|
## License
|
|
250
247
|
|
|
251
|
-
© 2018 - 2022 Karsten Schmidt // Apache
|
|
248
|
+
© 2018 - 2022 Karsten Schmidt // Apache License 2.0
|
package/api.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { Fn, IObjectOf } from "@thi.ng/api";
|
|
2
2
|
import type { ISubscription } from "@thi.ng/rstream";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
3
|
+
export type Pattern = [any, any, any];
|
|
4
|
+
export type PathPattern = [any, any[], any];
|
|
5
|
+
export type Triple = Pattern;
|
|
6
|
+
export type Triples = Set<Pattern>;
|
|
7
|
+
export type TripleIds = Set<number>;
|
|
8
|
+
export type Solution = IObjectOf<any>;
|
|
9
|
+
export type Solutions = Set<Solution>;
|
|
10
|
+
export type QuerySolution = ISubscription<any, Solutions>;
|
|
11
|
+
export type BindFn = Fn<Solution, any>;
|
|
12
12
|
export interface Edit {
|
|
13
13
|
index: Set<number>;
|
|
14
14
|
key: any;
|
|
@@ -20,7 +20,7 @@ export interface QuerySpec {
|
|
|
20
20
|
bind?: IObjectOf<BindFn>;
|
|
21
21
|
limit?: number;
|
|
22
22
|
}
|
|
23
|
-
export
|
|
23
|
+
export type SubQuerySpec = WhereQuerySpec | PathQuerySpec;
|
|
24
24
|
export interface WhereQuerySpec {
|
|
25
25
|
where: Pattern[];
|
|
26
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rstream-query",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.34",
|
|
4
4
|
"description": "@thi.ng/rstream based triple store & reactive query engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://patreon.com/thing_umbrella"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"author": "Karsten Schmidt
|
|
24
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "yarn clean && tsc --declaration",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.
|
|
38
|
-
"@thi.ng/associative": "^6.2.
|
|
39
|
-
"@thi.ng/checks": "^3.3.
|
|
40
|
-
"@thi.ng/equiv": "^2.1.
|
|
41
|
-
"@thi.ng/errors": "^2.2.
|
|
42
|
-
"@thi.ng/logger": "^1.4.
|
|
43
|
-
"@thi.ng/math": "^5.3.
|
|
44
|
-
"@thi.ng/rstream": "^7.2.
|
|
45
|
-
"@thi.ng/rstream-dot": "^2.1.
|
|
46
|
-
"@thi.ng/transducers": "^8.3.
|
|
37
|
+
"@thi.ng/api": "^8.6.0",
|
|
38
|
+
"@thi.ng/associative": "^6.2.19",
|
|
39
|
+
"@thi.ng/checks": "^3.3.5",
|
|
40
|
+
"@thi.ng/equiv": "^2.1.15",
|
|
41
|
+
"@thi.ng/errors": "^2.2.6",
|
|
42
|
+
"@thi.ng/logger": "^1.4.5",
|
|
43
|
+
"@thi.ng/math": "^5.3.16",
|
|
44
|
+
"@thi.ng/rstream": "^7.2.31",
|
|
45
|
+
"@thi.ng/rstream-dot": "^2.1.34",
|
|
46
|
+
"@thi.ng/transducers": "^8.3.26"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@microsoft/api-extractor": "^7.33.
|
|
50
|
-
"@thi.ng/testament": "^0.3.
|
|
49
|
+
"@microsoft/api-extractor": "^7.33.7",
|
|
50
|
+
"@thi.ng/testament": "^0.3.7",
|
|
51
51
|
"rimraf": "^3.0.2",
|
|
52
52
|
"tools": "^0.0.1",
|
|
53
|
-
"typedoc": "^0.23.
|
|
54
|
-
"typescript": "^4.
|
|
53
|
+
"typedoc": "^0.23.22",
|
|
54
|
+
"typescript": "^4.9.4"
|
|
55
55
|
},
|
|
56
56
|
"keywords": [
|
|
57
57
|
"database",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"parent": "@thi.ng/rstream",
|
|
109
109
|
"year": 2018
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
|
|
112
112
|
}
|