@nicia-ai/typegraph 0.73.0 → 0.73.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 +15 -0
- package/dist/backend/postgres/pglite-store.cjs +1 -1
- package/dist/backend/postgres/pglite-store.js +1 -1
- package/dist/backend/postgres/working-copy.cjs +85 -85
- package/dist/backend/postgres/working-copy.js +4 -4
- package/dist/backend/sqlite/local-store.cjs +1 -1
- package/dist/backend/sqlite/local-store.js +1 -1
- package/dist/{chunk-7QQ3ICAZ.cjs → chunk-BZ5EXHZX.cjs} +11 -11
- package/dist/{chunk-7QQ3ICAZ.cjs.map → chunk-BZ5EXHZX.cjs.map} +1 -1
- package/dist/{chunk-ZN24TFVZ.cjs → chunk-GLDGT3L3.cjs} +6 -3
- package/dist/chunk-GLDGT3L3.cjs.map +1 -0
- package/dist/{chunk-ORTKLAAU.js → chunk-LJG2TYCN.js} +3 -3
- package/dist/{chunk-ORTKLAAU.js.map → chunk-LJG2TYCN.js.map} +1 -1
- package/dist/{chunk-VKMLQTXP.cjs → chunk-MPCF5XBW.cjs} +159 -159
- package/dist/{chunk-VKMLQTXP.cjs.map → chunk-MPCF5XBW.cjs.map} +1 -1
- package/dist/{chunk-5RTWCMBC.js → chunk-OA4PF2QI.js} +6 -3
- package/dist/chunk-OA4PF2QI.js.map +1 -0
- package/dist/{chunk-XGYVKBI5.cjs → chunk-P52FOZSI.cjs} +8 -8
- package/dist/{chunk-XGYVKBI5.cjs.map → chunk-P52FOZSI.cjs.map} +1 -1
- package/dist/{chunk-KI7VMCOG.cjs → chunk-QJGQ3FN2.cjs} +16 -16
- package/dist/{chunk-KI7VMCOG.cjs.map → chunk-QJGQ3FN2.cjs.map} +1 -1
- package/dist/{chunk-MSUUUG5B.js → chunk-TI2O2U4G.js} +4 -4
- package/dist/{chunk-MSUUUG5B.js.map → chunk-TI2O2U4G.js.map} +1 -1
- package/dist/{chunk-FC7INRDS.js → chunk-WX7BQELV.js} +4 -4
- package/dist/{chunk-FC7INRDS.js.map → chunk-WX7BQELV.js.map} +1 -1
- package/dist/{chunk-NMLLXBGF.js → chunk-XIFBU27X.js} +3 -3
- package/dist/{chunk-NMLLXBGF.js.map → chunk-XIFBU27X.js.map} +1 -1
- package/dist/graph-merge/index.cjs +531 -531
- package/dist/graph-merge/index.js +6 -6
- package/dist/index.cjs +43 -43
- package/dist/index.js +2 -2
- package/dist/interchange/index.cjs +26 -26
- package/dist/interchange/index.js +3 -3
- package/dist/{local-store-impl-ALYCG7CX.js → local-store-impl-HPNBERU4.js} +4 -4
- package/dist/{local-store-impl-ALYCG7CX.js.map → local-store-impl-HPNBERU4.js.map} +1 -1
- package/dist/{local-store-impl-2HTGPM6A.cjs → local-store-impl-WIVQ5HDM.cjs} +5 -5
- package/dist/{local-store-impl-2HTGPM6A.cjs.map → local-store-impl-WIVQ5HDM.cjs.map} +1 -1
- package/dist/{pglite-store-impl-F2WHYIM7.cjs → pglite-store-impl-IXKIXLH6.cjs} +5 -5
- package/dist/{pglite-store-impl-F2WHYIM7.cjs.map → pglite-store-impl-IXKIXLH6.cjs.map} +1 -1
- package/dist/{pglite-store-impl-3UUTJLGP.js → pglite-store-impl-U3TW3Z4C.js} +4 -4
- package/dist/{pglite-store-impl-3UUTJLGP.js.map → pglite-store-impl-U3TW3Z4C.js.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-5RTWCMBC.js.map +0 -1
- package/dist/chunk-ZN24TFVZ.cjs.map +0 -1
|
@@ -8,7 +8,7 @@ require('../../chunk-7XYPLAPL.cjs');
|
|
|
8
8
|
async function createLocalSqliteStore(graph, options = {}) {
|
|
9
9
|
const impl = await chunkAF2NZMES_cjs.loadDrizzleBackedModule(
|
|
10
10
|
"./sqlite/local",
|
|
11
|
-
() => import('../../local-store-impl-
|
|
11
|
+
() => import('../../local-store-impl-WIVQ5HDM.cjs')
|
|
12
12
|
);
|
|
13
13
|
return impl.createLocalSqliteStoreImpl(graph, options);
|
|
14
14
|
}
|
|
@@ -6,7 +6,7 @@ import '../../chunk-GMKPIYHY.js';
|
|
|
6
6
|
async function createLocalSqliteStore(graph, options = {}) {
|
|
7
7
|
const impl = await loadDrizzleBackedModule(
|
|
8
8
|
"./sqlite/local",
|
|
9
|
-
() => import('../../local-store-impl-
|
|
9
|
+
() => import('../../local-store-impl-HPNBERU4.js')
|
|
10
10
|
);
|
|
11
11
|
return impl.createLocalSqliteStoreImpl(graph, options);
|
|
12
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkMPCF5XBW_cjs = require('./chunk-MPCF5XBW.cjs');
|
|
4
|
+
var chunkQJGQ3FN2_cjs = require('./chunk-QJGQ3FN2.cjs');
|
|
5
5
|
var chunkQT3KWMGH_cjs = require('./chunk-QT3KWMGH.cjs');
|
|
6
6
|
var chunkQV6LL3PK_cjs = require('./chunk-QV6LL3PK.cjs');
|
|
7
7
|
var chunkQTP3A3FC_cjs = require('./chunk-QTP3A3FC.cjs');
|
|
@@ -2345,7 +2345,7 @@ function cloneWorkingCopyWithGraphStrategy(makeBackend, graphForClone, options =
|
|
|
2345
2345
|
create: async (baseStore) => {
|
|
2346
2346
|
const backend = await makeBackend();
|
|
2347
2347
|
try {
|
|
2348
|
-
const [freshStore] = await
|
|
2348
|
+
const [freshStore] = await chunkMPCF5XBW_cjs.createStoreWithSchema(
|
|
2349
2349
|
graphForClone(baseStore),
|
|
2350
2350
|
backend,
|
|
2351
2351
|
{
|
|
@@ -2385,18 +2385,18 @@ function cloneWorkingCopyWithGraphStrategy(makeBackend, graphForClone, options =
|
|
|
2385
2385
|
const result = chunkKT5UIJ3J_cjs.snapshotExportContention(
|
|
2386
2386
|
chunkQV6LL3PK_cjs.storeBackend(baseStore),
|
|
2387
2387
|
chunkQV6LL3PK_cjs.storeBackend(freshStore)
|
|
2388
|
-
) === void 0 ? await
|
|
2388
|
+
) === void 0 ? await chunkQJGQ3FN2_cjs.importGraphStream(
|
|
2389
2389
|
freshStore,
|
|
2390
|
-
|
|
2390
|
+
chunkQJGQ3FN2_cjs.exportGraphStream(baseStore, exportOptions),
|
|
2391
2391
|
importOptions
|
|
2392
|
-
) : await
|
|
2392
|
+
) : await chunkQJGQ3FN2_cjs.importGraph(
|
|
2393
2393
|
freshStore,
|
|
2394
|
-
await
|
|
2394
|
+
await chunkQJGQ3FN2_cjs.exportGraph(baseStore, exportOptions),
|
|
2395
2395
|
importOptions
|
|
2396
2396
|
);
|
|
2397
2397
|
if (!result.success) {
|
|
2398
2398
|
throw new BranchError(
|
|
2399
|
-
`Clone import failed: the working copy could not be seeded from the base store. ${
|
|
2399
|
+
`Clone import failed: the working copy could not be seeded from the base store. ${chunkQJGQ3FN2_cjs.summarizeImportErrors(result.errors)}`,
|
|
2400
2400
|
{ details: { errors: result.errors } }
|
|
2401
2401
|
);
|
|
2402
2402
|
}
|
|
@@ -2481,7 +2481,7 @@ function forkedWorkingCopyStrategy(options) {
|
|
|
2481
2481
|
{ details: { inheritedTables, connectedTables } }
|
|
2482
2482
|
);
|
|
2483
2483
|
}
|
|
2484
|
-
const forkStore =
|
|
2484
|
+
const forkStore = chunkMPCF5XBW_cjs.createStore(baseStore.graph, backend, forkOptions);
|
|
2485
2485
|
await assertWorkingCopyMatchesBase(forkStore, base);
|
|
2486
2486
|
return forkStore;
|
|
2487
2487
|
} catch (error) {
|
|
@@ -3100,5 +3100,5 @@ exports.schemaActiveVersionOf = schemaActiveVersionOf;
|
|
|
3100
3100
|
exports.schemaComponentOf = schemaComponentOf;
|
|
3101
3101
|
exports.translateIdentityCommitError = translateIdentityCommitError;
|
|
3102
3102
|
exports.translateMergeCommitError = translateMergeCommitError;
|
|
3103
|
-
//# sourceMappingURL=chunk-
|
|
3104
|
-
//# sourceMappingURL=chunk-
|
|
3103
|
+
//# sourceMappingURL=chunk-BZ5EXHZX.cjs.map
|
|
3104
|
+
//# sourceMappingURL=chunk-BZ5EXHZX.cjs.map
|