@lucern/graph-sync 1.0.56 → 1.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.
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,10 @@ All notable changes to `@lucern/graph-sync` will be documented in this file.
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
- No unreleased changes yet.
|
|
7
7
|
|
|
8
|
-
## [1.0.
|
|
8
|
+
## [1.0.58] - 2026-07-03
|
|
9
|
+
- Release notes pending.
|
|
10
|
+
|
|
11
|
+
## [1.0.57] - 2026-07-03
|
|
9
12
|
- Release notes pending.
|
|
10
13
|
|
|
11
14
|
## [1.0.55] - 2026-06-30
|
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright 2024 Vercel, Inc.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as convex_server from 'convex/server';
|
|
2
2
|
export { n as neo4jQueries } from './neo4jQueries-D14Putpd.js';
|
|
3
3
|
import * as convex_values from 'convex/values';
|
|
4
|
-
export { n as neo4jSyncHelpers } from './neo4jSyncHelpers-
|
|
4
|
+
export { n as neo4jSyncHelpers } from './neo4jSyncHelpers-DWr-lF-A.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* neo4jDriver module implementation.
|
|
@@ -137,10 +137,10 @@ declare const createEdge: convex_server.RegisteredAction<"internal", {
|
|
|
137
137
|
validFrom?: number | undefined;
|
|
138
138
|
validUntil?: number | undefined;
|
|
139
139
|
metadata?: any;
|
|
140
|
-
edgeType: string;
|
|
141
140
|
globalId: string;
|
|
142
141
|
fromGlobalId: string;
|
|
143
142
|
toGlobalId: string;
|
|
143
|
+
edgeType: string;
|
|
144
144
|
createdBy: string;
|
|
145
145
|
}, Promise<{
|
|
146
146
|
success: boolean;
|
|
@@ -267,8 +267,8 @@ declare const syncNodeToNeo4j: convex_server.RegisteredAction<"internal", {
|
|
|
267
267
|
success: boolean;
|
|
268
268
|
}>>>;
|
|
269
269
|
declare const syncEdgeToNeo4j: convex_server.RegisteredAction<"internal", {
|
|
270
|
-
edgeId: convex_values.GenericId<"epistemicEdges">;
|
|
271
270
|
operation: "upsert" | "delete";
|
|
271
|
+
edgeId: convex_values.GenericId<"epistemicEdges">;
|
|
272
272
|
}, Promise<Readonly<{
|
|
273
273
|
error?: string;
|
|
274
274
|
entityType: SyncEntityType;
|
|
@@ -7,10 +7,10 @@ type Id<TableName extends TableNames = string> = GenericId<TableName>;
|
|
|
7
7
|
|
|
8
8
|
declare const logSyncEvent: convex_server.RegisteredMutation<"internal", {
|
|
9
9
|
error?: string | undefined;
|
|
10
|
-
eventType: "node_created" | "node_updated" | "node_deleted" | "edge_created" | "edge_deleted";
|
|
11
|
-
entityId: string;
|
|
12
10
|
entityType: string;
|
|
13
|
-
|
|
11
|
+
entityId: string;
|
|
12
|
+
status: "pending" | "failed" | "success";
|
|
13
|
+
eventType: "node_deleted" | "node_updated" | "edge_deleted" | "edge_created" | "node_created";
|
|
14
14
|
}, void>;
|
|
15
15
|
declare const getNodeForSync: convex_server.RegisteredQuery<"internal", {
|
|
16
16
|
nodeId: convex_values.GenericId<"epistemicNodes">;
|
|
@@ -142,9 +142,9 @@ declare const resolveEdgeRetryTarget: convex_server.RegisteredQuery<"internal",
|
|
|
142
142
|
edgeId?: undefined;
|
|
143
143
|
}>>;
|
|
144
144
|
declare const queueForRetry: convex_server.RegisteredMutation<"internal", {
|
|
145
|
-
entityId: string;
|
|
146
|
-
entityType: "node" | "edge";
|
|
147
145
|
error: string;
|
|
146
|
+
entityType: "node" | "edge";
|
|
147
|
+
entityId: string;
|
|
148
148
|
operation: "upsert" | "delete";
|
|
149
149
|
}, Promise<{
|
|
150
150
|
queued: boolean;
|
|
@@ -169,7 +169,7 @@ declare const getPendingRetries: convex_server.RegisteredQuery<"internal", {
|
|
|
169
169
|
updatedAt?: number;
|
|
170
170
|
})[]>>;
|
|
171
171
|
declare const updateQueueStatus: convex_server.RegisteredMutation<"internal", {
|
|
172
|
-
status: "pending" | "
|
|
172
|
+
status: "pending" | "in_progress" | "failed" | "succeeded";
|
|
173
173
|
queueId: convex_values.GenericId<"neo4jSyncQueue">;
|
|
174
174
|
}, Promise<void>>;
|
|
175
175
|
declare const incrementAttempts: convex_server.RegisteredMutation<"internal", {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'convex/values';
|
|
2
2
|
import 'convex/server';
|
|
3
|
-
export { c as checkSyncHealth, g as getAllEdgesForResync, a as getAllNodesForResync, b as getEdgeBatchForSync, d as getEdgeForSync, e as getEmbeddingForSync, f as getNodeBatchForSync, h as getNodeForSync, i as getPendingRetries, j as incrementAttempts, l as logSyncEvent, q as queueForRetry, r as resolveEdgeRetryTarget, u as updateQueueStatus } from './neo4jSyncHelpers-
|
|
3
|
+
export { c as checkSyncHealth, g as getAllEdgesForResync, a as getAllNodesForResync, b as getEdgeBatchForSync, d as getEdgeForSync, e as getEmbeddingForSync, f as getNodeBatchForSync, h as getNodeForSync, i as getPendingRetries, j as incrementAttempts, l as logSyncEvent, q as queueForRetry, r as resolveEdgeRetryTarget, u as updateQueueStatus } from './neo4jSyncHelpers-DWr-lF-A.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucern/graph-sync",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.58",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -43,20 +43,19 @@
|
|
|
43
43
|
"import": "./dist/neo4jSyncHelpers.js"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"scripts": {
|
|
47
|
-
"build": "tsup",
|
|
48
|
-
"postbuild": "node ../../scripts/ensure-graph-sync-use-node.mjs",
|
|
49
|
-
"prepack": "npm run build",
|
|
50
|
-
"typecheck": "tsc --noEmit"
|
|
51
|
-
},
|
|
52
46
|
"dependencies": {
|
|
53
|
-
"@lucern/contracts": "1.0.56",
|
|
54
|
-
"@lucern/graph-primitives": "1.0.56",
|
|
55
47
|
"convex": "^1.39.1",
|
|
56
|
-
"neo4j-driver": "^5.28.1"
|
|
48
|
+
"neo4j-driver": "^5.28.1",
|
|
49
|
+
"@lucern/contracts": "1.0.58",
|
|
50
|
+
"@lucern/graph-primitives": "1.0.58"
|
|
57
51
|
},
|
|
58
52
|
"devDependencies": {
|
|
59
53
|
"tsup": "^8.5.0",
|
|
60
54
|
"typescript": "^5.7.0"
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"build": "tsup",
|
|
58
|
+
"postbuild": "node ../../scripts/ensure-graph-sync-use-node.mjs",
|
|
59
|
+
"typecheck": "tsc --noEmit"
|
|
61
60
|
}
|
|
62
|
-
}
|
|
61
|
+
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"proofIrVersion": "proof-ir/v1",
|
|
3
|
-
"manifestVersions": {
|
|
4
|
-
"@lucern/confidence": "0.3.0-alpha.0",
|
|
5
|
-
"@lucern/contracts": "0.3.0-alpha.0",
|
|
6
|
-
"edge-policy-manifest": "1.0.0"
|
|
7
|
-
},
|
|
8
|
-
"invariantsCovered": [
|
|
9
|
-
"INV-1: beliefs append-only",
|
|
10
|
-
"INV-14: no silent state transitions",
|
|
11
|
-
"MANIFEST-1: kernel projections declare epistemicAudit"
|
|
12
|
-
],
|
|
13
|
-
"invariantResults": [
|
|
14
|
-
{
|
|
15
|
-
"invariant": "INV-1: beliefs append-only",
|
|
16
|
-
"status": "passed",
|
|
17
|
-
"severity": "block_publish",
|
|
18
|
-
"evidenceRefs": []
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"invariant": "INV-14: no silent state transitions",
|
|
22
|
-
"status": "passed",
|
|
23
|
-
"severity": "block_publish",
|
|
24
|
-
"evidenceRefs": []
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"invariant": "MANIFEST-1: kernel projections declare epistemicAudit",
|
|
28
|
-
"status": "passed",
|
|
29
|
-
"severity": "block_publish",
|
|
30
|
-
"evidenceRefs": []
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"contractsCovered": [
|
|
34
|
-
"append_sl_scoring",
|
|
35
|
-
"create_evidence",
|
|
36
|
-
"list_beliefs",
|
|
37
|
-
"list_tasks"
|
|
38
|
-
],
|
|
39
|
-
"emittersUsed": [
|
|
40
|
-
"typescript-types",
|
|
41
|
-
"convex-validators",
|
|
42
|
-
"proof-attestation"
|
|
43
|
-
],
|
|
44
|
-
"signedAt": 1782994689967
|
|
45
|
-
}
|