@littlebigbrain/client 0.8.0 → 0.8.1
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 +11 -5
- package/dist/client.d.ts +30 -175
- package/dist/client.js +36 -233
- package/dist/index.d.ts +1 -1
- package/dist/namespaces.d.ts +15 -84
- package/dist/namespaces.js +31 -190
- package/dist/schema.d.ts +973 -5668
- package/dist/types.d.ts +2 -17
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -11,14 +11,9 @@ export type GraphMetadata = Schemas["GraphMetadataResponse"];
|
|
|
11
11
|
export type Snapshot = Schemas["SnapshotView"];
|
|
12
12
|
export type CommitRequest = Schemas["TripletCommitFile"];
|
|
13
13
|
export type CommitResponse = Schemas["GraphCommitResponse"];
|
|
14
|
-
export type AskRequest = Schemas["AskRequest"];
|
|
15
|
-
export type AskResponse = Schemas["AskResponse"];
|
|
16
14
|
export type SchemaView = Schemas["SchemaBundleView"];
|
|
17
15
|
/**
|
|
18
|
-
*
|
|
19
|
-
* (`/v1/graph/entities`, `/v1/graph/edges`, `/v1/graph/observations`): the rows
|
|
20
|
-
* in `data`, plus `next_cursor` (echo back as `cursor` for the next page) and
|
|
21
|
-
* the pre-page `total_count`. Walk pages with {@link LbbClient.listAll}.
|
|
16
|
+
* Cursor-based list envelope used by bounded collection reads.
|
|
22
17
|
*/
|
|
23
18
|
export interface ListResponse<T> {
|
|
24
19
|
object: "list";
|
|
@@ -49,7 +44,7 @@ export interface RdfImportOptions {
|
|
|
49
44
|
format?: "ntriples" | "turtle" | "nquads" | "trig";
|
|
50
45
|
baseIri?: string;
|
|
51
46
|
graphUri?: string;
|
|
52
|
-
/** Stable document scope for blank labels across chunks
|
|
47
|
+
/** Stable document scope for blank labels across chunks. */
|
|
53
48
|
blankNodeScope?: string;
|
|
54
49
|
batch?: number;
|
|
55
50
|
strict?: boolean;
|
|
@@ -58,14 +53,6 @@ export interface RdfImportOptions {
|
|
|
58
53
|
edgeIdempotency?: "append" | "skip_unchanged";
|
|
59
54
|
idempotencyKey?: string;
|
|
60
55
|
}
|
|
61
|
-
export interface RdfExportOptions {
|
|
62
|
-
format?: "turtle" | "ntriples" | "trig" | "nquads";
|
|
63
|
-
maxTriples?: number;
|
|
64
|
-
asOfValidTime?: string;
|
|
65
|
-
asOfCommitSeq?: number;
|
|
66
|
-
entailment?: "subclass" | "none";
|
|
67
|
-
reason?: boolean;
|
|
68
|
-
}
|
|
69
56
|
export type AttributeFilterOp = "eq" | "ne" | "lt" | "le" | "gt" | "ge";
|
|
70
57
|
export type AttributeFilterValue = string | number | boolean | {
|
|
71
58
|
dateTime: string;
|
|
@@ -91,8 +78,6 @@ export interface EntityAttributeFilterOptions {
|
|
|
91
78
|
select?: string[];
|
|
92
79
|
limit?: number;
|
|
93
80
|
offset?: number;
|
|
94
|
-
asOfValidTime?: string;
|
|
95
|
-
asOfCommitSeq?: number;
|
|
96
81
|
orderBy?: Schemas["SparqlOrderBy"][];
|
|
97
82
|
reason?: boolean;
|
|
98
83
|
maxSolutions?: number;
|