@nicia-ai/typegraph 0.71.0 → 0.71.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/CHANGELOG.md +6 -0
- package/dist/backend/postgres/pglite-store.cjs +1 -1
- package/dist/backend/postgres/pglite-store.js +1 -1
- package/dist/backend/sqlite/local-store.cjs +1 -1
- package/dist/backend/sqlite/local-store.js +1 -1
- package/dist/{chunk-5YUJYIW3.cjs → chunk-D6J4Z423.cjs} +4 -4
- package/dist/{chunk-5YUJYIW3.cjs.map → chunk-D6J4Z423.cjs.map} +1 -1
- package/dist/{chunk-TKYOWV5U.js → chunk-EPXW4ONY.js} +5 -5
- package/dist/{chunk-TKYOWV5U.js.map → chunk-EPXW4ONY.js.map} +1 -1
- package/dist/{chunk-B33AHPS7.cjs → chunk-H3ULZVTX.cjs} +3 -3
- package/dist/{chunk-B33AHPS7.cjs.map → chunk-H3ULZVTX.cjs.map} +1 -1
- package/dist/{chunk-Z3MH5QUR.js → chunk-NMDDGDMQ.js} +3 -3
- package/dist/{chunk-Z3MH5QUR.js.map → chunk-NMDDGDMQ.js.map} +1 -1
- package/dist/{chunk-2PUJGVJ6.cjs → chunk-Q4MXRK6A.cjs} +9 -9
- package/dist/{chunk-2PUJGVJ6.cjs.map → chunk-Q4MXRK6A.cjs.map} +1 -1
- package/dist/{chunk-GW2DPIPL.js → chunk-U5RVSIFG.js} +3 -3
- package/dist/{chunk-GW2DPIPL.js.map → chunk-U5RVSIFG.js.map} +1 -1
- package/dist/{chunk-O64KMVIO.cjs → chunk-VUUIS5C7.cjs} +22 -22
- package/dist/{chunk-O64KMVIO.cjs.map → chunk-VUUIS5C7.cjs.map} +1 -1
- package/dist/{chunk-O7C44O4P.js → chunk-W2L5N4ES.js} +3 -3
- package/dist/{chunk-O7C44O4P.js.map → chunk-W2L5N4ES.js.map} +1 -1
- package/dist/{chunk-5E2PKOPM.js → chunk-XTHWIDRM.js} +4 -4
- package/dist/{chunk-5E2PKOPM.js.map → chunk-XTHWIDRM.js.map} +1 -1
- package/dist/{chunk-TVOQ2DGB.cjs → chunk-XZJDI4OR.cjs} +255 -255
- package/dist/{chunk-TVOQ2DGB.cjs.map → chunk-XZJDI4OR.cjs.map} +1 -1
- package/dist/{chunk-A7YKBSKQ.cjs → chunk-ZO72TBQE.cjs} +13 -13
- package/dist/{chunk-A7YKBSKQ.cjs.map → chunk-ZO72TBQE.cjs.map} +1 -1
- package/dist/{chunk-FFGW5GXR.js → chunk-ZX72XWSA.js} +3 -3
- package/dist/{chunk-FFGW5GXR.js.map → chunk-ZX72XWSA.js.map} +1 -1
- package/dist/graph-merge/index.cjs +31 -31
- package/dist/graph-merge/index.js +5 -5
- package/dist/index.cjs +52 -52
- package/dist/index.js +5 -5
- package/dist/interchange/index.cjs +26 -26
- package/dist/interchange/index.js +3 -3
- package/dist/{local-store-impl-MJR2DXZT.cjs → local-store-impl-VR7YQUMB.cjs} +7 -7
- package/dist/{local-store-impl-MJR2DXZT.cjs.map → local-store-impl-VR7YQUMB.cjs.map} +1 -1
- package/dist/{local-store-impl-U4MDR2N4.js → local-store-impl-Y3Q5HWSR.js} +6 -6
- package/dist/{local-store-impl-U4MDR2N4.js.map → local-store-impl-Y3Q5HWSR.js.map} +1 -1
- package/dist/{pglite-store-impl-RTAPLRQO.cjs → pglite-store-impl-NMSOMDPC.cjs} +7 -7
- package/dist/{pglite-store-impl-RTAPLRQO.cjs.map → pglite-store-impl-NMSOMDPC.cjs.map} +1 -1
- package/dist/{pglite-store-impl-QLLFPNO6.js → pglite-store-impl-QNGEP62P.js} +6 -6
- package/dist/{pglite-store-impl-QLLFPNO6.js.map → pglite-store-impl-QNGEP62P.js.map} +1 -1
- package/dist/schema/index.cjs +25 -25
- package/dist/schema/index.js +3 -3
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ var chunk4DI7FJG6_cjs = require('./chunk-4DI7FJG6.cjs');
|
|
|
5
5
|
var chunkRJHEBE5W_cjs = require('./chunk-RJHEBE5W.cjs');
|
|
6
6
|
var chunkR255UE5U_cjs = require('./chunk-R255UE5U.cjs');
|
|
7
7
|
var chunkAY2X2567_cjs = require('./chunk-AY2X2567.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkH3ULZVTX_cjs = require('./chunk-H3ULZVTX.cjs');
|
|
9
9
|
var chunkQEXVOTI2_cjs = require('./chunk-QEXVOTI2.cjs');
|
|
10
10
|
var chunkXFX3Z5R7_cjs = require('./chunk-XFX3Z5R7.cjs');
|
|
11
11
|
var chunkMYE7SL75_cjs = require('./chunk-MYE7SL75.cjs');
|
|
@@ -2331,14 +2331,14 @@ async function diagnoseAtomicNodeDisjointness(ctx, backend, preparedCreates) {
|
|
|
2331
2331
|
...group.ids
|
|
2332
2332
|
]);
|
|
2333
2333
|
for (const row of rows) {
|
|
2334
|
-
rowsByReference.set(
|
|
2334
|
+
rowsByReference.set(chunkH3ULZVTX_cjs.refKey({ kind: row.kind, id: row.id }), row);
|
|
2335
2335
|
}
|
|
2336
2336
|
}
|
|
2337
2337
|
);
|
|
2338
2338
|
return preparedCreates.map((prepared, index) => {
|
|
2339
2339
|
for (const conflictingKind of chunkBXHAPCQG_cjs.requireDefined(disjointKindsByInput[index])) {
|
|
2340
2340
|
const row = rowsByReference.get(
|
|
2341
|
-
|
|
2341
|
+
chunkH3ULZVTX_cjs.refKey({ kind: conflictingKind, id: prepared.id })
|
|
2342
2342
|
);
|
|
2343
2343
|
if (row === void 0 || !chunkAZ2Q6RRS_cjs.isLiveNodeRow(row)) continue;
|
|
2344
2344
|
const error = chunkDUN24DFZ_cjs.checkDisjointness(
|
|
@@ -2477,7 +2477,7 @@ function restoreAtomicNodeBatchRows(graphId, preparedCreates, returnedRows) {
|
|
|
2477
2477
|
{ expectedGraphId: graphId, actualGraphId: row.graph_id }
|
|
2478
2478
|
);
|
|
2479
2479
|
}
|
|
2480
|
-
const key =
|
|
2480
|
+
const key = chunkH3ULZVTX_cjs.refKey({ kind: row.kind, id: row.id });
|
|
2481
2481
|
if (rowsByReference.has(key)) {
|
|
2482
2482
|
throw new chunk7XYPLAPL_cjs.CompilerInvariantError(
|
|
2483
2483
|
"Atomic node batch returned duplicate node references.",
|
|
@@ -2488,7 +2488,7 @@ function restoreAtomicNodeBatchRows(graphId, preparedCreates, returnedRows) {
|
|
|
2488
2488
|
}
|
|
2489
2489
|
return preparedCreates.map((prepared) => {
|
|
2490
2490
|
const row = rowsByReference.get(
|
|
2491
|
-
|
|
2491
|
+
chunkH3ULZVTX_cjs.refKey({ kind: prepared.kind, id: prepared.id })
|
|
2492
2492
|
);
|
|
2493
2493
|
if (row === void 0) {
|
|
2494
2494
|
throw new chunk7XYPLAPL_cjs.CompilerInvariantError(
|
|
@@ -3011,13 +3011,13 @@ async function executeNodeCreateBatch(ctx, inputs, backend, options) {
|
|
|
3011
3011
|
}
|
|
3012
3012
|
const byReference = new Map(
|
|
3013
3013
|
[...inserted, ...resurrected].map((row) => [
|
|
3014
|
-
|
|
3014
|
+
chunkH3ULZVTX_cjs.refKey({ kind: row.kind, id: row.id }),
|
|
3015
3015
|
row
|
|
3016
3016
|
])
|
|
3017
3017
|
);
|
|
3018
3018
|
const rows = preparedCreates.map(
|
|
3019
3019
|
(prepared) => chunkBXHAPCQG_cjs.requireDefined(
|
|
3020
|
-
byReference.get(
|
|
3020
|
+
byReference.get(chunkH3ULZVTX_cjs.refKey({ kind: prepared.kind, id: prepared.id })),
|
|
3021
3021
|
`Missing written row for ${prepared.kind} ${prepared.id}`
|
|
3022
3022
|
)
|
|
3023
3023
|
);
|
|
@@ -4514,5 +4514,5 @@ exports.unsupportedResolvedMutationSet = unsupportedResolvedMutationSet;
|
|
|
4514
4514
|
exports.validityEndAfterMutation = validityEndAfterMutation;
|
|
4515
4515
|
exports.withAlreadyExistsTranslation = withAlreadyExistsTranslation;
|
|
4516
4516
|
exports.writeResultAlwaysChanges = writeResultAlwaysChanges;
|
|
4517
|
-
//# sourceMappingURL=chunk-
|
|
4518
|
-
//# sourceMappingURL=chunk-
|
|
4517
|
+
//# sourceMappingURL=chunk-Q4MXRK6A.cjs.map
|
|
4518
|
+
//# sourceMappingURL=chunk-Q4MXRK6A.cjs.map
|