@nicia-ai/typegraph 0.67.1 → 0.68.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/backend/postgres/pglite-store.cjs +1 -1
  3. package/dist/backend/postgres/pglite-store.js +1 -1
  4. package/dist/backend/sqlite/local-store.cjs +1 -1
  5. package/dist/backend/sqlite/local-store.js +1 -1
  6. package/dist/{chunk-T3VU3YRQ.cjs → chunk-6GUBF5TF.cjs} +24 -18
  7. package/dist/chunk-6GUBF5TF.cjs.map +1 -0
  8. package/dist/{chunk-55DGFZYC.js → chunk-EJYBHBIB.js} +3 -3
  9. package/dist/{chunk-55DGFZYC.js.map → chunk-EJYBHBIB.js.map} +1 -1
  10. package/dist/{chunk-WY3IFEKV.cjs → chunk-IFTYHOEE.cjs} +13 -5
  11. package/dist/chunk-IFTYHOEE.cjs.map +1 -0
  12. package/dist/{chunk-RTPMG6LQ.js → chunk-JVKHJQ6Q.js} +13 -5
  13. package/dist/chunk-JVKHJQ6Q.js.map +1 -0
  14. package/dist/{chunk-FS2GVO2T.cjs → chunk-OBEYH22Q.cjs} +159 -159
  15. package/dist/{chunk-FS2GVO2T.cjs.map → chunk-OBEYH22Q.cjs.map} +1 -1
  16. package/dist/{chunk-7YJHUY4T.js → chunk-VUYODTHL.js} +10 -5
  17. package/dist/chunk-VUYODTHL.js.map +1 -0
  18. package/dist/graph-merge/index.cjs +540 -22
  19. package/dist/graph-merge/index.cjs.map +1 -1
  20. package/dist/graph-merge/index.d.cts +317 -9
  21. package/dist/graph-merge/index.d.ts +317 -9
  22. package/dist/graph-merge/index.js +512 -8
  23. package/dist/graph-merge/index.js.map +1 -1
  24. package/dist/index.cjs +43 -43
  25. package/dist/index.js +2 -2
  26. package/dist/interchange/index.cjs +25 -25
  27. package/dist/interchange/index.js +2 -2
  28. package/dist/{local-store-impl-GI6S4J6B.cjs → local-store-impl-INNRHDK3.cjs} +5 -5
  29. package/dist/{local-store-impl-GI6S4J6B.cjs.map → local-store-impl-INNRHDK3.cjs.map} +1 -1
  30. package/dist/{local-store-impl-CCMWTLGY.js → local-store-impl-VGC3OKCA.js} +4 -4
  31. package/dist/{local-store-impl-CCMWTLGY.js.map → local-store-impl-VGC3OKCA.js.map} +1 -1
  32. package/dist/{pglite-store-impl-HAPAJUIO.cjs → pglite-store-impl-KDS4NRMC.cjs} +5 -5
  33. package/dist/{pglite-store-impl-HAPAJUIO.cjs.map → pglite-store-impl-KDS4NRMC.cjs.map} +1 -1
  34. package/dist/{pglite-store-impl-HDLFOZWS.js → pglite-store-impl-LJDF2EUF.js} +4 -4
  35. package/dist/{pglite-store-impl-HDLFOZWS.js.map → pglite-store-impl-LJDF2EUF.js.map} +1 -1
  36. package/package.json +1 -1
  37. package/dist/chunk-7YJHUY4T.js.map +0 -1
  38. package/dist/chunk-RTPMG6LQ.js.map +0 -1
  39. package/dist/chunk-T3VU3YRQ.cjs.map +0 -1
  40. package/dist/chunk-WY3IFEKV.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkFS2GVO2T_cjs = require('./chunk-FS2GVO2T.cjs');
3
+ var chunkOBEYH22Q_cjs = require('./chunk-OBEYH22Q.cjs');
4
4
  var chunkCBHZX3G5_cjs = require('./chunk-CBHZX3G5.cjs');
5
5
  var chunkCBH7KZOS_cjs = require('./chunk-CBH7KZOS.cjs');
6
6
  var chunkFZKXBPTS_cjs = require('./chunk-FZKXBPTS.cjs');
@@ -9,7 +9,7 @@ var chunkQR7W37HG_cjs = require('./chunk-QR7W37HG.cjs');
9
9
  require('./chunk-2XQYRCPM.cjs');
10
10
  var chunkEACDHXJL_cjs = require('./chunk-EACDHXJL.cjs');
11
11
  var chunkVPPDQOET_cjs = require('./chunk-VPPDQOET.cjs');
12
- require('./chunk-WY3IFEKV.cjs');
12
+ require('./chunk-IFTYHOEE.cjs');
13
13
  require('./chunk-VNJMM2QQ.cjs');
14
14
  require('./chunk-I7SBZJI2.cjs');
15
15
  require('./chunk-G7OKJDMG.cjs');
@@ -274,167 +274,167 @@ function decodeEmbeddingJson(row) {
274
274
 
275
275
  Object.defineProperty(exports, "ExecutableAggregateQuery", {
276
276
  enumerable: true,
277
- get: function () { return chunkFS2GVO2T_cjs.ExecutableAggregateQuery; }
277
+ get: function () { return chunkOBEYH22Q_cjs.ExecutableAggregateQuery; }
278
278
  });
279
279
  Object.defineProperty(exports, "ExecutableProjectionQuery", {
280
280
  enumerable: true,
281
- get: function () { return chunkFS2GVO2T_cjs.ExecutableProjectionQuery; }
281
+ get: function () { return chunkOBEYH22Q_cjs.ExecutableProjectionQuery; }
282
282
  });
283
283
  Object.defineProperty(exports, "ExecutableQuery", {
284
284
  enumerable: true,
285
- get: function () { return chunkFS2GVO2T_cjs.ExecutableQuery; }
285
+ get: function () { return chunkOBEYH22Q_cjs.ExecutableQuery; }
286
286
  });
287
287
  Object.defineProperty(exports, "ExecutableRelationQuery", {
288
288
  enumerable: true,
289
- get: function () { return chunkFS2GVO2T_cjs.ExecutableRelationQuery; }
289
+ get: function () { return chunkOBEYH22Q_cjs.ExecutableRelationQuery; }
290
290
  });
291
291
  Object.defineProperty(exports, "MAX_EXPLICIT_RECURSIVE_DEPTH", {
292
292
  enumerable: true,
293
- get: function () { return chunkFS2GVO2T_cjs.MAX_EXPLICIT_RECURSIVE_DEPTH; }
293
+ get: function () { return chunkOBEYH22Q_cjs.MAX_EXPLICIT_RECURSIVE_DEPTH; }
294
294
  });
295
295
  Object.defineProperty(exports, "MAX_RECURSIVE_DEPTH", {
296
296
  enumerable: true,
297
- get: function () { return chunkFS2GVO2T_cjs.MAX_RECURSIVE_DEPTH; }
297
+ get: function () { return chunkOBEYH22Q_cjs.MAX_RECURSIVE_DEPTH; }
298
298
  });
299
299
  Object.defineProperty(exports, "PreparedQuery", {
300
300
  enumerable: true,
301
- get: function () { return chunkFS2GVO2T_cjs.PreparedQuery; }
301
+ get: function () { return chunkOBEYH22Q_cjs.PreparedQuery; }
302
302
  });
303
303
  Object.defineProperty(exports, "QueryBuilder", {
304
304
  enumerable: true,
305
- get: function () { return chunkFS2GVO2T_cjs.QueryBuilder; }
305
+ get: function () { return chunkOBEYH22Q_cjs.QueryBuilder; }
306
306
  });
307
307
  Object.defineProperty(exports, "RecordedStoreView", {
308
308
  enumerable: true,
309
- get: function () { return chunkFS2GVO2T_cjs.RecordedStoreView; }
309
+ get: function () { return chunkOBEYH22Q_cjs.RecordedStoreView; }
310
310
  });
311
311
  Object.defineProperty(exports, "StoreAnalysisCursorStaleError", {
312
312
  enumerable: true,
313
- get: function () { return chunkFS2GVO2T_cjs.StoreAnalysisCursorStaleError; }
313
+ get: function () { return chunkOBEYH22Q_cjs.StoreAnalysisCursorStaleError; }
314
314
  });
315
315
  Object.defineProperty(exports, "StoreSearch", {
316
316
  enumerable: true,
317
- get: function () { return chunkFS2GVO2T_cjs.StoreSearch; }
317
+ get: function () { return chunkOBEYH22Q_cjs.StoreSearch; }
318
318
  });
319
319
  Object.defineProperty(exports, "StoreView", {
320
320
  enumerable: true,
321
- get: function () { return chunkFS2GVO2T_cjs.StoreView; }
321
+ get: function () { return chunkOBEYH22Q_cjs.StoreView; }
322
322
  });
323
323
  Object.defineProperty(exports, "UnionableQuery", {
324
324
  enumerable: true,
325
- get: function () { return chunkFS2GVO2T_cjs.UnionableQuery; }
325
+ get: function () { return chunkOBEYH22Q_cjs.UnionableQuery; }
326
326
  });
327
327
  Object.defineProperty(exports, "avg", {
328
328
  enumerable: true,
329
- get: function () { return chunkFS2GVO2T_cjs.avg; }
329
+ get: function () { return chunkOBEYH22Q_cjs.avg; }
330
330
  });
331
331
  Object.defineProperty(exports, "composeFragments", {
332
332
  enumerable: true,
333
- get: function () { return chunkFS2GVO2T_cjs.composeFragments; }
333
+ get: function () { return chunkOBEYH22Q_cjs.composeFragments; }
334
334
  });
335
335
  Object.defineProperty(exports, "count", {
336
336
  enumerable: true,
337
- get: function () { return chunkFS2GVO2T_cjs.count; }
337
+ get: function () { return chunkOBEYH22Q_cjs.count; }
338
338
  });
339
339
  Object.defineProperty(exports, "countDistinct", {
340
340
  enumerable: true,
341
- get: function () { return chunkFS2GVO2T_cjs.countDistinct; }
341
+ get: function () { return chunkOBEYH22Q_cjs.countDistinct; }
342
342
  });
343
343
  Object.defineProperty(exports, "countDistinctEdges", {
344
344
  enumerable: true,
345
- get: function () { return chunkFS2GVO2T_cjs.countDistinctEdges; }
345
+ get: function () { return chunkOBEYH22Q_cjs.countDistinctEdges; }
346
346
  });
347
347
  Object.defineProperty(exports, "countEdges", {
348
348
  enumerable: true,
349
- get: function () { return chunkFS2GVO2T_cjs.countEdges; }
349
+ get: function () { return chunkOBEYH22Q_cjs.countEdges; }
350
350
  });
351
351
  Object.defineProperty(exports, "createAdapterStore", {
352
352
  enumerable: true,
353
- get: function () { return chunkFS2GVO2T_cjs.createAdapterStore; }
353
+ get: function () { return chunkOBEYH22Q_cjs.createAdapterStore; }
354
354
  });
355
355
  Object.defineProperty(exports, "createAdapterStoreWithSchema", {
356
356
  enumerable: true,
357
- get: function () { return chunkFS2GVO2T_cjs.createAdapterStoreWithSchema; }
357
+ get: function () { return chunkOBEYH22Q_cjs.createAdapterStoreWithSchema; }
358
358
  });
359
359
  Object.defineProperty(exports, "createFragment", {
360
360
  enumerable: true,
361
- get: function () { return chunkFS2GVO2T_cjs.createFragment; }
361
+ get: function () { return chunkOBEYH22Q_cjs.createFragment; }
362
362
  });
363
363
  Object.defineProperty(exports, "createQueryBuilder", {
364
364
  enumerable: true,
365
- get: function () { return chunkFS2GVO2T_cjs.createQueryBuilder; }
365
+ get: function () { return chunkOBEYH22Q_cjs.createQueryBuilder; }
366
366
  });
367
367
  Object.defineProperty(exports, "createStore", {
368
368
  enumerable: true,
369
- get: function () { return chunkFS2GVO2T_cjs.createStore; }
369
+ get: function () { return chunkOBEYH22Q_cjs.createStore; }
370
370
  });
371
371
  Object.defineProperty(exports, "createStoreWithSchema", {
372
372
  enumerable: true,
373
- get: function () { return chunkFS2GVO2T_cjs.createStoreWithSchema; }
373
+ get: function () { return chunkOBEYH22Q_cjs.createStoreWithSchema; }
374
374
  });
375
375
  Object.defineProperty(exports, "createVerifiedAdapterStore", {
376
376
  enumerable: true,
377
- get: function () { return chunkFS2GVO2T_cjs.createVerifiedAdapterStore; }
377
+ get: function () { return chunkOBEYH22Q_cjs.createVerifiedAdapterStore; }
378
378
  });
379
379
  Object.defineProperty(exports, "createVerifiedStore", {
380
380
  enumerable: true,
381
- get: function () { return chunkFS2GVO2T_cjs.createVerifiedStore; }
381
+ get: function () { return chunkOBEYH22Q_cjs.createVerifiedStore; }
382
382
  });
383
383
  Object.defineProperty(exports, "defineSubgraphProject", {
384
384
  enumerable: true,
385
- get: function () { return chunkFS2GVO2T_cjs.defineSubgraphProject; }
385
+ get: function () { return chunkOBEYH22Q_cjs.defineSubgraphProject; }
386
386
  });
387
387
  Object.defineProperty(exports, "field", {
388
388
  enumerable: true,
389
- get: function () { return chunkFS2GVO2T_cjs.field; }
389
+ get: function () { return chunkOBEYH22Q_cjs.field; }
390
390
  });
391
391
  Object.defineProperty(exports, "having", {
392
392
  enumerable: true,
393
- get: function () { return chunkFS2GVO2T_cjs.having; }
393
+ get: function () { return chunkOBEYH22Q_cjs.having; }
394
394
  });
395
395
  Object.defineProperty(exports, "havingEq", {
396
396
  enumerable: true,
397
- get: function () { return chunkFS2GVO2T_cjs.havingEq; }
397
+ get: function () { return chunkOBEYH22Q_cjs.havingEq; }
398
398
  });
399
399
  Object.defineProperty(exports, "havingGt", {
400
400
  enumerable: true,
401
- get: function () { return chunkFS2GVO2T_cjs.havingGt; }
401
+ get: function () { return chunkOBEYH22Q_cjs.havingGt; }
402
402
  });
403
403
  Object.defineProperty(exports, "havingGte", {
404
404
  enumerable: true,
405
- get: function () { return chunkFS2GVO2T_cjs.havingGte; }
405
+ get: function () { return chunkOBEYH22Q_cjs.havingGte; }
406
406
  });
407
407
  Object.defineProperty(exports, "havingLt", {
408
408
  enumerable: true,
409
- get: function () { return chunkFS2GVO2T_cjs.havingLt; }
409
+ get: function () { return chunkOBEYH22Q_cjs.havingLt; }
410
410
  });
411
411
  Object.defineProperty(exports, "havingLte", {
412
412
  enumerable: true,
413
- get: function () { return chunkFS2GVO2T_cjs.havingLte; }
413
+ get: function () { return chunkOBEYH22Q_cjs.havingLte; }
414
414
  });
415
415
  Object.defineProperty(exports, "limitFragment", {
416
416
  enumerable: true,
417
- get: function () { return chunkFS2GVO2T_cjs.limitFragment; }
417
+ get: function () { return chunkOBEYH22Q_cjs.limitFragment; }
418
418
  });
419
419
  Object.defineProperty(exports, "max", {
420
420
  enumerable: true,
421
- get: function () { return chunkFS2GVO2T_cjs.max; }
421
+ get: function () { return chunkOBEYH22Q_cjs.max; }
422
422
  });
423
423
  Object.defineProperty(exports, "min", {
424
424
  enumerable: true,
425
- get: function () { return chunkFS2GVO2T_cjs.min; }
425
+ get: function () { return chunkOBEYH22Q_cjs.min; }
426
426
  });
427
427
  Object.defineProperty(exports, "offsetFragment", {
428
428
  enumerable: true,
429
- get: function () { return chunkFS2GVO2T_cjs.offsetFragment; }
429
+ get: function () { return chunkOBEYH22Q_cjs.offsetFragment; }
430
430
  });
431
431
  Object.defineProperty(exports, "orderByFragment", {
432
432
  enumerable: true,
433
- get: function () { return chunkFS2GVO2T_cjs.orderByFragment; }
433
+ get: function () { return chunkOBEYH22Q_cjs.orderByFragment; }
434
434
  });
435
435
  Object.defineProperty(exports, "sum", {
436
436
  enumerable: true,
437
- get: function () { return chunkFS2GVO2T_cjs.sum; }
437
+ get: function () { return chunkOBEYH22Q_cjs.sum; }
438
438
  });
439
439
  Object.defineProperty(exports, "sqliteVecStrategy", {
440
440
  enumerable: true,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { ExecutableAggregateQuery, ExecutableProjectionQuery, ExecutableQuery, ExecutableRelationQuery, MAX_EXPLICIT_RECURSIVE_DEPTH, MAX_RECURSIVE_DEPTH, PreparedQuery, QueryBuilder, RecordedStoreView, StoreAnalysisCursorStaleError, StoreSearch, StoreView, UnionableQuery, avg, composeFragments, count, countDistinct, countDistinctEdges, countEdges, createAdapterStore, createAdapterStoreWithSchema, createFragment, createQueryBuilder, createStore, createStoreWithSchema, createVerifiedAdapterStore, createVerifiedStore, defineSubgraphProject, field, having, havingEq, havingGt, havingGte, havingLt, havingLte, limitFragment, max, min, offsetFragment, orderByFragment, sum } from './chunk-55DGFZYC.js';
1
+ export { ExecutableAggregateQuery, ExecutableProjectionQuery, ExecutableQuery, ExecutableRelationQuery, MAX_EXPLICIT_RECURSIVE_DEPTH, MAX_RECURSIVE_DEPTH, PreparedQuery, QueryBuilder, RecordedStoreView, StoreAnalysisCursorStaleError, StoreSearch, StoreView, UnionableQuery, avg, composeFragments, count, countDistinct, countDistinctEdges, countEdges, createAdapterStore, createAdapterStoreWithSchema, createFragment, createQueryBuilder, createStore, createStoreWithSchema, createVerifiedAdapterStore, createVerifiedStore, defineSubgraphProject, field, having, havingEq, havingGt, havingGte, havingLt, havingLte, limitFragment, max, min, offsetFragment, orderByFragment, sum } from './chunk-EJYBHBIB.js';
2
2
  export { sqliteVecStrategy } from './chunk-JVWXWAV5.js';
3
3
  export { libsqlVectorStrategy } from './chunk-ZL67ENQW.js';
4
4
  export { pgvectorStrategy } from './chunk-D2DMFIH2.js';
@@ -7,7 +7,7 @@ export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecord
7
7
  import './chunk-XELE7ZOX.js';
8
8
  import { LEGACY_EMBEDDINGS_TABLE_NAME } from './chunk-BABP4D5B.js';
9
9
  export { createExternalRef, externalRef, getExternalRefTable, isExternalRefSchema, metaEdge } from './chunk-5L46OUD2.js';
10
- import './chunk-RTPMG6LQ.js';
10
+ import './chunk-JVKHJQ6Q.js';
11
11
  import './chunk-FXOFJ4FS.js';
12
12
  import './chunk-6ECNYQDW.js';
13
13
  import './chunk-CDKNGCE7.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkT3VU3YRQ_cjs = require('../chunk-T3VU3YRQ.cjs');
4
- require('../chunk-WY3IFEKV.cjs');
3
+ var chunk6GUBF5TF_cjs = require('../chunk-6GUBF5TF.cjs');
4
+ require('../chunk-IFTYHOEE.cjs');
5
5
  require('../chunk-VNJMM2QQ.cjs');
6
6
  require('../chunk-I7SBZJI2.cjs');
7
7
  require('../chunk-G7OKJDMG.cjs');
@@ -36,95 +36,95 @@ require('../chunk-7XYPLAPL.cjs');
36
36
 
37
37
  Object.defineProperty(exports, "ConflictStrategySchema", {
38
38
  enumerable: true,
39
- get: function () { return chunkT3VU3YRQ_cjs.ConflictStrategySchema; }
39
+ get: function () { return chunk6GUBF5TF_cjs.ConflictStrategySchema; }
40
40
  });
41
41
  Object.defineProperty(exports, "ExportOptionsSchema", {
42
42
  enumerable: true,
43
- get: function () { return chunkT3VU3YRQ_cjs.ExportOptionsSchema; }
43
+ get: function () { return chunk6GUBF5TF_cjs.ExportOptionsSchema; }
44
44
  });
45
45
  Object.defineProperty(exports, "ExportStreamOptionsSchema", {
46
46
  enumerable: true,
47
- get: function () { return chunkT3VU3YRQ_cjs.ExportStreamOptionsSchema; }
47
+ get: function () { return chunk6GUBF5TF_cjs.ExportStreamOptionsSchema; }
48
48
  });
49
49
  Object.defineProperty(exports, "FORMAT_VERSION", {
50
50
  enumerable: true,
51
- get: function () { return chunkT3VU3YRQ_cjs.FORMAT_VERSION; }
51
+ get: function () { return chunk6GUBF5TF_cjs.FORMAT_VERSION; }
52
52
  });
53
53
  Object.defineProperty(exports, "GraphDataHeaderSchema", {
54
54
  enumerable: true,
55
- get: function () { return chunkT3VU3YRQ_cjs.GraphDataHeaderSchema; }
55
+ get: function () { return chunk6GUBF5TF_cjs.GraphDataHeaderSchema; }
56
56
  });
57
57
  Object.defineProperty(exports, "GraphDataSchema", {
58
58
  enumerable: true,
59
- get: function () { return chunkT3VU3YRQ_cjs.GraphDataSchema; }
59
+ get: function () { return chunk6GUBF5TF_cjs.GraphDataSchema; }
60
60
  });
61
61
  Object.defineProperty(exports, "GraphDataSourceSchema", {
62
62
  enumerable: true,
63
- get: function () { return chunkT3VU3YRQ_cjs.GraphDataSourceSchema; }
63
+ get: function () { return chunk6GUBF5TF_cjs.GraphDataSourceSchema; }
64
64
  });
65
65
  Object.defineProperty(exports, "GraphInterchangeChunkSchema", {
66
66
  enumerable: true,
67
- get: function () { return chunkT3VU3YRQ_cjs.GraphInterchangeChunkSchema; }
67
+ get: function () { return chunk6GUBF5TF_cjs.GraphInterchangeChunkSchema; }
68
68
  });
69
69
  Object.defineProperty(exports, "IdentityInterchangeModeSchema", {
70
70
  enumerable: true,
71
- get: function () { return chunkT3VU3YRQ_cjs.IdentityInterchangeModeSchema; }
71
+ get: function () { return chunk6GUBF5TF_cjs.IdentityInterchangeModeSchema; }
72
72
  });
73
73
  Object.defineProperty(exports, "ImportErrorSchema", {
74
74
  enumerable: true,
75
- get: function () { return chunkT3VU3YRQ_cjs.ImportErrorSchema; }
75
+ get: function () { return chunk6GUBF5TF_cjs.ImportErrorSchema; }
76
76
  });
77
77
  Object.defineProperty(exports, "ImportOptionsSchema", {
78
78
  enumerable: true,
79
- get: function () { return chunkT3VU3YRQ_cjs.ImportOptionsSchema; }
79
+ get: function () { return chunk6GUBF5TF_cjs.ImportOptionsSchema; }
80
80
  });
81
81
  Object.defineProperty(exports, "ImportResultSchema", {
82
82
  enumerable: true,
83
- get: function () { return chunkT3VU3YRQ_cjs.ImportResultSchema; }
83
+ get: function () { return chunk6GUBF5TF_cjs.ImportResultSchema; }
84
84
  });
85
85
  Object.defineProperty(exports, "InterchangeEdgeSchema", {
86
86
  enumerable: true,
87
- get: function () { return chunkT3VU3YRQ_cjs.InterchangeEdgeSchema; }
87
+ get: function () { return chunk6GUBF5TF_cjs.InterchangeEdgeSchema; }
88
88
  });
89
89
  Object.defineProperty(exports, "InterchangeIdentityAssertionSchema", {
90
90
  enumerable: true,
91
- get: function () { return chunkT3VU3YRQ_cjs.InterchangeIdentityAssertionSchema; }
91
+ get: function () { return chunk6GUBF5TF_cjs.InterchangeIdentityAssertionSchema; }
92
92
  });
93
93
  Object.defineProperty(exports, "InterchangeIdentitySchema", {
94
94
  enumerable: true,
95
- get: function () { return chunkT3VU3YRQ_cjs.InterchangeIdentitySchema; }
95
+ get: function () { return chunk6GUBF5TF_cjs.InterchangeIdentitySchema; }
96
96
  });
97
97
  Object.defineProperty(exports, "InterchangeNodeSchema", {
98
98
  enumerable: true,
99
- get: function () { return chunkT3VU3YRQ_cjs.InterchangeNodeSchema; }
99
+ get: function () { return chunk6GUBF5TF_cjs.InterchangeNodeSchema; }
100
100
  });
101
101
  Object.defineProperty(exports, "UnknownPropertyStrategySchema", {
102
102
  enumerable: true,
103
- get: function () { return chunkT3VU3YRQ_cjs.UnknownPropertyStrategySchema; }
103
+ get: function () { return chunk6GUBF5TF_cjs.UnknownPropertyStrategySchema; }
104
104
  });
105
105
  Object.defineProperty(exports, "exportGraph", {
106
106
  enumerable: true,
107
- get: function () { return chunkT3VU3YRQ_cjs.exportGraph; }
107
+ get: function () { return chunk6GUBF5TF_cjs.exportGraph; }
108
108
  });
109
109
  Object.defineProperty(exports, "exportGraphStream", {
110
110
  enumerable: true,
111
- get: function () { return chunkT3VU3YRQ_cjs.exportGraphStream; }
111
+ get: function () { return chunk6GUBF5TF_cjs.exportGraphStream; }
112
112
  });
113
113
  Object.defineProperty(exports, "importGraph", {
114
114
  enumerable: true,
115
- get: function () { return chunkT3VU3YRQ_cjs.importGraph; }
115
+ get: function () { return chunk6GUBF5TF_cjs.importGraph; }
116
116
  });
117
117
  Object.defineProperty(exports, "importGraphStream", {
118
118
  enumerable: true,
119
- get: function () { return chunkT3VU3YRQ_cjs.importGraphStream; }
119
+ get: function () { return chunk6GUBF5TF_cjs.importGraphStream; }
120
120
  });
121
121
  Object.defineProperty(exports, "trustedImportGraph", {
122
122
  enumerable: true,
123
- get: function () { return chunkT3VU3YRQ_cjs.trustedImportGraph; }
123
+ get: function () { return chunk6GUBF5TF_cjs.trustedImportGraph; }
124
124
  });
125
125
  Object.defineProperty(exports, "trustedImportGraphStream", {
126
126
  enumerable: true,
127
- get: function () { return chunkT3VU3YRQ_cjs.trustedImportGraphStream; }
127
+ get: function () { return chunk6GUBF5TF_cjs.trustedImportGraphStream; }
128
128
  });
129
129
  //# sourceMappingURL=index.cjs.map
130
130
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- export { ConflictStrategySchema, ExportOptionsSchema, ExportStreamOptionsSchema, FORMAT_VERSION, GraphDataHeaderSchema, GraphDataSchema, GraphDataSourceSchema, GraphInterchangeChunkSchema, IdentityInterchangeModeSchema, ImportErrorSchema, ImportOptionsSchema, ImportResultSchema, InterchangeEdgeSchema, InterchangeIdentityAssertionSchema, InterchangeIdentitySchema, InterchangeNodeSchema, UnknownPropertyStrategySchema, exportGraph, exportGraphStream, importGraph, importGraphStream, trustedImportGraph, trustedImportGraphStream } from '../chunk-7YJHUY4T.js';
2
- import '../chunk-RTPMG6LQ.js';
1
+ export { ConflictStrategySchema, ExportOptionsSchema, ExportStreamOptionsSchema, FORMAT_VERSION, GraphDataHeaderSchema, GraphDataSchema, GraphDataSourceSchema, GraphInterchangeChunkSchema, IdentityInterchangeModeSchema, ImportErrorSchema, ImportOptionsSchema, ImportResultSchema, InterchangeEdgeSchema, InterchangeIdentityAssertionSchema, InterchangeIdentitySchema, InterchangeNodeSchema, UnknownPropertyStrategySchema, exportGraph, exportGraphStream, importGraph, importGraphStream, trustedImportGraph, trustedImportGraphStream } from '../chunk-VUYODTHL.js';
2
+ import '../chunk-JVKHJQ6Q.js';
3
3
  import '../chunk-FXOFJ4FS.js';
4
4
  import '../chunk-6ECNYQDW.js';
5
5
  import '../chunk-CDKNGCE7.js';
@@ -4,13 +4,13 @@ var chunkZRIXU33S_cjs = require('./chunk-ZRIXU33S.cjs');
4
4
  require('./chunk-QCD5JKU4.cjs');
5
5
  var chunk7MQL7FEN_cjs = require('./chunk-7MQL7FEN.cjs');
6
6
  require('./chunk-DCYIUKIM.cjs');
7
- var chunkFS2GVO2T_cjs = require('./chunk-FS2GVO2T.cjs');
7
+ var chunkOBEYH22Q_cjs = require('./chunk-OBEYH22Q.cjs');
8
8
  require('./chunk-CBHZX3G5.cjs');
9
9
  require('./chunk-FZKXBPTS.cjs');
10
10
  require('./chunk-76OB5RSH.cjs');
11
11
  require('./chunk-2XQYRCPM.cjs');
12
12
  require('./chunk-EACDHXJL.cjs');
13
- require('./chunk-WY3IFEKV.cjs');
13
+ require('./chunk-IFTYHOEE.cjs');
14
14
  require('./chunk-VNJMM2QQ.cjs');
15
15
  require('./chunk-I7SBZJI2.cjs');
16
16
  require('./chunk-G7OKJDMG.cjs');
@@ -67,7 +67,7 @@ async function createLocalSqliteStoreImpl(graph, options) {
67
67
  ...tables === void 0 ? {} : { tables }
68
68
  });
69
69
  try {
70
- const [store] = await chunkFS2GVO2T_cjs.createStoreWithSchema(graph, backend, {
70
+ const [store] = await chunkOBEYH22Q_cjs.createStoreWithSchema(graph, backend, {
71
71
  ...options.store,
72
72
  // The type already excludes `schema` here; the runtime strip guards
73
73
  // untyped callers, so the provisioned schema (or the default tables)
@@ -81,5 +81,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
81
81
  }
82
82
 
83
83
  exports.createLocalSqliteStoreImpl = createLocalSqliteStoreImpl;
84
- //# sourceMappingURL=local-store-impl-GI6S4J6B.cjs.map
85
- //# sourceMappingURL=local-store-impl-GI6S4J6B.cjs.map
84
+ //# sourceMappingURL=local-store-impl-INNRHDK3.cjs.map
85
+ //# sourceMappingURL=local-store-impl-INNRHDK3.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":["createSqliteTables","createLocalSqliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,oCAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAIC,0CAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"local-store-impl-GI6S4J6B.cjs","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
1
+ {"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":["createSqliteTables","createLocalSqliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,oCAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAIC,0CAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"local-store-impl-INNRHDK3.cjs","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
@@ -2,13 +2,13 @@ import { createLocalSqliteBackend } from './chunk-6J3VUPI6.js';
2
2
  import './chunk-H4FY6OZK.js';
3
3
  import { createSqliteTables } from './chunk-EORFWD6O.js';
4
4
  import './chunk-DX6DIU2S.js';
5
- import { createStoreWithSchema } from './chunk-55DGFZYC.js';
5
+ import { createStoreWithSchema } from './chunk-EJYBHBIB.js';
6
6
  import './chunk-JVWXWAV5.js';
7
7
  import './chunk-D2DMFIH2.js';
8
8
  import './chunk-OF63ZHSD.js';
9
9
  import './chunk-XELE7ZOX.js';
10
10
  import './chunk-BABP4D5B.js';
11
- import './chunk-RTPMG6LQ.js';
11
+ import './chunk-JVKHJQ6Q.js';
12
12
  import './chunk-FXOFJ4FS.js';
13
13
  import './chunk-6ECNYQDW.js';
14
14
  import './chunk-CDKNGCE7.js';
@@ -79,5 +79,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
79
79
  }
80
80
 
81
81
  export { createLocalSqliteStoreImpl };
82
- //# sourceMappingURL=local-store-impl-CCMWTLGY.js.map
83
- //# sourceMappingURL=local-store-impl-CCMWTLGY.js.map
82
+ //# sourceMappingURL=local-store-impl-VGC3OKCA.js.map
83
+ //# sourceMappingURL=local-store-impl-VGC3OKCA.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACA,kBAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,wBAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAM,qBAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAO,iBAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"local-store-impl-CCMWTLGY.js","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
1
+ {"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACA,kBAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,wBAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAM,qBAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAO,iBAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"local-store-impl-VGC3OKCA.js","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
@@ -3,12 +3,12 @@
3
3
  var chunkE6XL3KMZ_cjs = require('./chunk-E6XL3KMZ.cjs');
4
4
  var chunk7MQL7FEN_cjs = require('./chunk-7MQL7FEN.cjs');
5
5
  require('./chunk-DCYIUKIM.cjs');
6
- var chunkFS2GVO2T_cjs = require('./chunk-FS2GVO2T.cjs');
6
+ var chunkOBEYH22Q_cjs = require('./chunk-OBEYH22Q.cjs');
7
7
  require('./chunk-FZKXBPTS.cjs');
8
8
  require('./chunk-76OB5RSH.cjs');
9
9
  require('./chunk-2XQYRCPM.cjs');
10
10
  require('./chunk-EACDHXJL.cjs');
11
- require('./chunk-WY3IFEKV.cjs');
11
+ require('./chunk-IFTYHOEE.cjs');
12
12
  require('./chunk-VNJMM2QQ.cjs');
13
13
  require('./chunk-I7SBZJI2.cjs');
14
14
  require('./chunk-G7OKJDMG.cjs');
@@ -64,7 +64,7 @@ async function createLocalPgliteStoreImpl(graph, options) {
64
64
  ...tables === void 0 ? {} : { tables }
65
65
  });
66
66
  try {
67
- const [store] = await chunkFS2GVO2T_cjs.createStoreWithSchema(graph, backend, {
67
+ const [store] = await chunkOBEYH22Q_cjs.createStoreWithSchema(graph, backend, {
68
68
  ...options.store,
69
69
  // The type already excludes `schema` here; the runtime strip guards
70
70
  // untyped callers, so the provisioned schema (or the default tables)
@@ -78,5 +78,5 @@ async function createLocalPgliteStoreImpl(graph, options) {
78
78
  }
79
79
 
80
80
  exports.createLocalPgliteStoreImpl = createLocalPgliteStoreImpl;
81
- //# sourceMappingURL=pglite-store-impl-HAPAJUIO.cjs.map
82
- //# sourceMappingURL=pglite-store-impl-HAPAJUIO.cjs.map
81
+ //# sourceMappingURL=pglite-store-impl-KDS4NRMC.cjs.map
82
+ //# sourceMappingURL=pglite-store-impl-KDS4NRMC.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":["createPostgresTables","createLocalPgliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,sCAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAMC,0CAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store-impl-HAPAJUIO.cjs","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
1
+ {"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":["createPostgresTables","createLocalPgliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,sCAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAMC,0CAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store-impl-KDS4NRMC.cjs","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
@@ -1,12 +1,12 @@
1
1
  import { createLocalPgliteBackend } from './chunk-6DY26DPE.js';
2
2
  import { createPostgresTables } from './chunk-EORFWD6O.js';
3
3
  import './chunk-DX6DIU2S.js';
4
- import { createStoreWithSchema } from './chunk-55DGFZYC.js';
4
+ import { createStoreWithSchema } from './chunk-EJYBHBIB.js';
5
5
  import './chunk-D2DMFIH2.js';
6
6
  import './chunk-OF63ZHSD.js';
7
7
  import './chunk-XELE7ZOX.js';
8
8
  import './chunk-BABP4D5B.js';
9
- import './chunk-RTPMG6LQ.js';
9
+ import './chunk-JVKHJQ6Q.js';
10
10
  import './chunk-FXOFJ4FS.js';
11
11
  import './chunk-6ECNYQDW.js';
12
12
  import './chunk-CDKNGCE7.js';
@@ -76,5 +76,5 @@ async function createLocalPgliteStoreImpl(graph, options) {
76
76
  }
77
77
 
78
78
  export { createLocalPgliteStoreImpl };
79
- //# sourceMappingURL=pglite-store-impl-HDLFOZWS.js.map
80
- //# sourceMappingURL=pglite-store-impl-HDLFOZWS.js.map
79
+ //# sourceMappingURL=pglite-store-impl-LJDF2EUF.js.map
80
+ //# sourceMappingURL=pglite-store-impl-LJDF2EUF.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACA,oBAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAM,wBAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAM,qBAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAO,iBAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store-impl-HDLFOZWS.js","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
1
+ {"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACA,oBAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAM,wBAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAM,qBAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAO,iBAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store-impl-LJDF2EUF.js","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicia-ai/typegraph",
3
- "version": "0.67.1",
3
+ "version": "0.68.1",
4
4
  "description": "TypeScript-first embedded knowledge graph library with ontological reasoning",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",