@rdfx/tinybase 0.0.56 → 0.0.58
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.
|
@@ -2,7 +2,7 @@ import type { DataFactory, DatasetCoreFactory, Quad, Stream } from "@rdfjs/types
|
|
|
2
2
|
import { GraphIdentifier, type GraphStore } from "@rdfx/graph-store";
|
|
3
3
|
import type { Logger } from "@rdfx/logger";
|
|
4
4
|
import { Either, Maybe } from "purify-ts";
|
|
5
|
-
import { type
|
|
5
|
+
import { type MergeableStore, type NoValuesSchema } from "tinybase/with-schemas";
|
|
6
6
|
export declare class TinyBaseGraphStore implements GraphStore {
|
|
7
7
|
protected readonly dataFactory: DataFactory;
|
|
8
8
|
protected readonly datasetFactory: DatasetCoreFactory;
|
|
@@ -40,7 +40,10 @@ export declare class TinyBaseGraphStore implements GraphStore {
|
|
|
40
40
|
protected parseRow(identifier: GraphIdentifier, ntriples: string): Either<Error, readonly Quad[]>;
|
|
41
41
|
}
|
|
42
42
|
export declare namespace TinyBaseGraphStore {
|
|
43
|
-
type TinyBaseStore =
|
|
43
|
+
type TinyBaseStore = MergeableStore<[
|
|
44
|
+
typeof tablesSchema,
|
|
45
|
+
NoValuesSchema
|
|
46
|
+
]>;
|
|
44
47
|
const tablesSchema: {
|
|
45
48
|
readonly graph: {
|
|
46
49
|
readonly ntriples: {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@rdfx/graph-store": "0.0.
|
|
4
|
-
"@rdfx/logger": "0.0.
|
|
5
|
-
"@rdfx/stream": "0.0.
|
|
6
|
-
"@rdfx/string": "0.0.
|
|
3
|
+
"@rdfx/graph-store": "0.0.58",
|
|
4
|
+
"@rdfx/logger": "0.0.58",
|
|
5
|
+
"@rdfx/stream": "0.0.58",
|
|
6
|
+
"@rdfx/string": "0.0.58",
|
|
7
7
|
"@rdfjs/types": "~2.0.1",
|
|
8
8
|
"@types/n3": "~1.26.0",
|
|
9
9
|
"n3": "~1.26.0",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"tinybase": "~9.4.0"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@rdfx/collection": "0.0.
|
|
15
|
-
"@rdfx/data-factory": "0.0.
|
|
14
|
+
"@rdfx/collection": "0.0.58",
|
|
15
|
+
"@rdfx/data-factory": "0.0.58"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"LICENSE",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
},
|
|
38
38
|
"type": "module",
|
|
39
39
|
"types": "./dist/index.d.ts",
|
|
40
|
-
"version": "0.0.
|
|
40
|
+
"version": "0.0.58"
|
|
41
41
|
}
|