@nicia-ai/typegraph 0.55.0 → 0.56.0

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 (148) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/backend/index.cjs +86 -86
  3. package/dist/backend/index.js +7 -7
  4. package/dist/backend/postgres/index.cjs +22 -22
  5. package/dist/backend/postgres/index.js +8 -8
  6. package/dist/backend/postgres/pglite-store.cjs +1 -1
  7. package/dist/backend/postgres/pglite-store.d.cts +2 -2
  8. package/dist/backend/postgres/pglite-store.d.ts +2 -2
  9. package/dist/backend/postgres/pglite-store.js +1 -1
  10. package/dist/backend/postgres/pglite.cjs +10 -10
  11. package/dist/backend/postgres/pglite.js +9 -9
  12. package/dist/backend/sqlite/index.cjs +21 -21
  13. package/dist/backend/sqlite/index.js +8 -8
  14. package/dist/backend/sqlite/libsql.cjs +12 -12
  15. package/dist/backend/sqlite/libsql.js +8 -8
  16. package/dist/backend/sqlite/local-store.cjs +1 -1
  17. package/dist/backend/sqlite/local-store.d.cts +2 -2
  18. package/dist/backend/sqlite/local-store.d.ts +2 -2
  19. package/dist/backend/sqlite/local-store.js +1 -1
  20. package/dist/backend/sqlite/local.cjs +10 -10
  21. package/dist/backend/sqlite/local.js +9 -9
  22. package/dist/{chunk-S5WG5AFG.cjs → chunk-2XUAUSMI.cjs} +12 -12
  23. package/dist/{chunk-S5WG5AFG.cjs.map → chunk-2XUAUSMI.cjs.map} +1 -1
  24. package/dist/{chunk-MTE255N3.cjs → chunk-36XLQHZA.cjs} +4 -4
  25. package/dist/{chunk-MTE255N3.cjs.map → chunk-36XLQHZA.cjs.map} +1 -1
  26. package/dist/{chunk-FWSGKOBN.js → chunk-6LTRZOUU.js} +6 -6
  27. package/dist/{chunk-FWSGKOBN.js.map → chunk-6LTRZOUU.js.map} +1 -1
  28. package/dist/{chunk-YVKPUSHS.js → chunk-75KH6Y2W.js} +16 -7
  29. package/dist/chunk-75KH6Y2W.js.map +1 -0
  30. package/dist/{chunk-MJXEO7YA.js → chunk-762VPGHN.js} +5 -5
  31. package/dist/{chunk-MJXEO7YA.js.map → chunk-762VPGHN.js.map} +1 -1
  32. package/dist/{chunk-GGDTMBNA.cjs → chunk-7CCVR2QF.cjs} +54 -54
  33. package/dist/{chunk-GGDTMBNA.cjs.map → chunk-7CCVR2QF.cjs.map} +1 -1
  34. package/dist/{chunk-7EOJO6QB.js → chunk-7MHENVRG.js} +3 -3
  35. package/dist/{chunk-7EOJO6QB.js.map → chunk-7MHENVRG.js.map} +1 -1
  36. package/dist/{chunk-7B3DSFX3.cjs → chunk-AUTRK6WM.cjs} +4 -4
  37. package/dist/{chunk-7B3DSFX3.cjs.map → chunk-AUTRK6WM.cjs.map} +1 -1
  38. package/dist/{chunk-SIQ4BFL5.js → chunk-AZP5CCHL.js} +4 -4
  39. package/dist/{chunk-SIQ4BFL5.js.map → chunk-AZP5CCHL.js.map} +1 -1
  40. package/dist/{chunk-WTW7RWAG.cjs → chunk-BYUIOM4L.cjs} +6 -6
  41. package/dist/{chunk-WTW7RWAG.cjs.map → chunk-BYUIOM4L.cjs.map} +1 -1
  42. package/dist/{chunk-74FNI3PT.js → chunk-C3TJU4KQ.js} +6 -6
  43. package/dist/chunk-C3TJU4KQ.js.map +1 -0
  44. package/dist/{chunk-7V2R4MH6.js → chunk-CEQOTZGB.js} +5 -5
  45. package/dist/{chunk-7V2R4MH6.js.map → chunk-CEQOTZGB.js.map} +1 -1
  46. package/dist/{chunk-TKFQLKH2.cjs → chunk-CYKHSH5O.cjs} +36 -36
  47. package/dist/{chunk-TKFQLKH2.cjs.map → chunk-CYKHSH5O.cjs.map} +1 -1
  48. package/dist/{chunk-D5TCKAQT.cjs → chunk-DGIA64DM.cjs} +4 -4
  49. package/dist/{chunk-D5TCKAQT.cjs.map → chunk-DGIA64DM.cjs.map} +1 -1
  50. package/dist/{chunk-FFR3YUY2.js → chunk-E4QYEWVH.js} +5 -5
  51. package/dist/{chunk-FFR3YUY2.js.map → chunk-E4QYEWVH.js.map} +1 -1
  52. package/dist/{chunk-467YITD4.cjs → chunk-ETU5IILQ.cjs} +13 -13
  53. package/dist/{chunk-467YITD4.cjs.map → chunk-ETU5IILQ.cjs.map} +1 -1
  54. package/dist/{chunk-HW3IX2RF.js → chunk-EWRLWI7W.js} +4 -4
  55. package/dist/{chunk-HW3IX2RF.js.map → chunk-EWRLWI7W.js.map} +1 -1
  56. package/dist/{chunk-KZ6OHFDV.js → chunk-F2S5JWCT.js} +3 -3
  57. package/dist/{chunk-KZ6OHFDV.js.map → chunk-F2S5JWCT.js.map} +1 -1
  58. package/dist/{chunk-45WPPI64.js → chunk-FMCPKMQI.js} +3 -3
  59. package/dist/{chunk-45WPPI64.js.map → chunk-FMCPKMQI.js.map} +1 -1
  60. package/dist/{chunk-QM6IQW7B.js → chunk-ILHVYKXJ.js} +7 -7
  61. package/dist/{chunk-QM6IQW7B.js.map → chunk-ILHVYKXJ.js.map} +1 -1
  62. package/dist/{chunk-ECYEWFEH.cjs → chunk-J34FSPSC.cjs} +16 -6
  63. package/dist/chunk-J34FSPSC.cjs.map +1 -0
  64. package/dist/{chunk-GFYCLCGU.cjs → chunk-KM3CLHDB.cjs} +9 -9
  65. package/dist/{chunk-GFYCLCGU.cjs.map → chunk-KM3CLHDB.cjs.map} +1 -1
  66. package/dist/{chunk-SLNH62T3.js → chunk-KQYUKOGX.js} +3 -3
  67. package/dist/{chunk-SLNH62T3.js.map → chunk-KQYUKOGX.js.map} +1 -1
  68. package/dist/{chunk-7I2PYI4U.cjs → chunk-KR3N6Y7O.cjs} +67 -67
  69. package/dist/{chunk-7I2PYI4U.cjs.map → chunk-KR3N6Y7O.cjs.map} +1 -1
  70. package/dist/{chunk-HZCOCNIX.cjs → chunk-L2REUAJB.cjs} +24 -24
  71. package/dist/{chunk-HZCOCNIX.cjs.map → chunk-L2REUAJB.cjs.map} +1 -1
  72. package/dist/{chunk-VU65FXEG.js → chunk-LFXBFPI2.js} +66 -29
  73. package/dist/chunk-LFXBFPI2.js.map +1 -0
  74. package/dist/{chunk-NXRSR6QG.js → chunk-MHM6OGZR.js} +9 -9
  75. package/dist/{chunk-NXRSR6QG.js.map → chunk-MHM6OGZR.js.map} +1 -1
  76. package/dist/{chunk-FCUSVSYX.js → chunk-MRGWM5LE.js} +10 -10
  77. package/dist/{chunk-FCUSVSYX.js.map → chunk-MRGWM5LE.js.map} +1 -1
  78. package/dist/{chunk-WXGMDROJ.js → chunk-QDNEXTON.js} +7 -7
  79. package/dist/{chunk-WXGMDROJ.js.map → chunk-QDNEXTON.js.map} +1 -1
  80. package/dist/{chunk-VYU5H4FO.js → chunk-RXA2D3UR.js} +3 -3
  81. package/dist/{chunk-VYU5H4FO.js.map → chunk-RXA2D3UR.js.map} +1 -1
  82. package/dist/{chunk-XODNY4QI.js → chunk-TIBSLFHR.js} +6 -6
  83. package/dist/{chunk-XODNY4QI.js.map → chunk-TIBSLFHR.js.map} +1 -1
  84. package/dist/{chunk-KZG7HQSN.cjs → chunk-UVMSWO6X.cjs} +173 -173
  85. package/dist/{chunk-KZG7HQSN.cjs.map → chunk-UVMSWO6X.cjs.map} +1 -1
  86. package/dist/{chunk-ORPT5EQW.cjs → chunk-UZ6CJUC5.cjs} +27 -27
  87. package/dist/chunk-UZ6CJUC5.cjs.map +1 -0
  88. package/dist/{chunk-GNF3PHEQ.cjs → chunk-VF2IMMZT.cjs} +17 -17
  89. package/dist/{chunk-GNF3PHEQ.cjs.map → chunk-VF2IMMZT.cjs.map} +1 -1
  90. package/dist/{chunk-PGZV3E3I.cjs → chunk-VXEHEPC4.cjs} +4 -4
  91. package/dist/{chunk-PGZV3E3I.cjs.map → chunk-VXEHEPC4.cjs.map} +1 -1
  92. package/dist/{chunk-OJ47LMOB.cjs → chunk-WIUHN6SZ.cjs} +669 -628
  93. package/dist/chunk-WIUHN6SZ.cjs.map +1 -0
  94. package/dist/{chunk-HNW5IDB3.js → chunk-WIZB5U6N.js} +7 -7
  95. package/dist/{chunk-HNW5IDB3.js.map → chunk-WIZB5U6N.js.map} +1 -1
  96. package/dist/{chunk-IDQZI6GL.js → chunk-XH75W3O5.js} +3 -3
  97. package/dist/{chunk-IDQZI6GL.js.map → chunk-XH75W3O5.js.map} +1 -1
  98. package/dist/{chunk-T7LSSV7J.cjs → chunk-XXEFDJHY.cjs} +45 -45
  99. package/dist/{chunk-T7LSSV7J.cjs.map → chunk-XXEFDJHY.cjs.map} +1 -1
  100. package/dist/{chunk-GORCU2GR.cjs → chunk-Z4NU4MYB.cjs} +123 -123
  101. package/dist/{chunk-GORCU2GR.cjs.map → chunk-Z4NU4MYB.cjs.map} +1 -1
  102. package/dist/{chunk-KFC3OUV4.cjs → chunk-ZHK3HEZ2.cjs} +130 -130
  103. package/dist/{chunk-KFC3OUV4.cjs.map → chunk-ZHK3HEZ2.cjs.map} +1 -1
  104. package/dist/{chunk-FYMYLZGX.cjs → chunk-ZXXGMQC3.cjs} +10 -10
  105. package/dist/{chunk-FYMYLZGX.cjs.map → chunk-ZXXGMQC3.cjs.map} +1 -1
  106. package/dist/graph-merge/index.cjs +577 -99
  107. package/dist/graph-merge/index.cjs.map +1 -1
  108. package/dist/graph-merge/index.d.cts +108 -4
  109. package/dist/graph-merge/index.d.ts +108 -4
  110. package/dist/graph-merge/index.js +495 -21
  111. package/dist/graph-merge/index.js.map +1 -1
  112. package/dist/{graph-templates-qraW63Ry.d.ts → graph-templates-BSA9VU_O.d.ts} +1 -1
  113. package/dist/{graph-templates--hp2U4kn.d.cts → graph-templates-Cg7DpEOF.d.cts} +1 -1
  114. package/dist/index.cjs +95 -95
  115. package/dist/index.d.cts +3 -3
  116. package/dist/index.d.ts +3 -3
  117. package/dist/index.js +16 -16
  118. package/dist/interchange/index.cjs +33 -33
  119. package/dist/interchange/index.d.cts +1 -1
  120. package/dist/interchange/index.d.ts +1 -1
  121. package/dist/interchange/index.js +10 -10
  122. package/dist/{local-store-impl-HXBO3VF4.js → local-store-impl-77DCLAAY.js} +18 -18
  123. package/dist/{local-store-impl-HXBO3VF4.js.map → local-store-impl-77DCLAAY.js.map} +1 -1
  124. package/dist/{local-store-impl-CUQKHHOZ.cjs → local-store-impl-NJCWM3KR.cjs} +22 -22
  125. package/dist/{local-store-impl-CUQKHHOZ.cjs.map → local-store-impl-NJCWM3KR.cjs.map} +1 -1
  126. package/dist/{pglite-store-impl-BD3AVOUH.js → pglite-store-impl-3VFSYLAJ.js} +18 -18
  127. package/dist/{pglite-store-impl-BD3AVOUH.js.map → pglite-store-impl-3VFSYLAJ.js.map} +1 -1
  128. package/dist/{pglite-store-impl-C3MQ72LT.cjs → pglite-store-impl-LHLJ3GBQ.cjs} +22 -22
  129. package/dist/{pglite-store-impl-C3MQ72LT.cjs.map → pglite-store-impl-LHLJ3GBQ.cjs.map} +1 -1
  130. package/dist/profiler/index.d.cts +1 -1
  131. package/dist/profiler/index.d.ts +1 -1
  132. package/dist/provenance/index.cjs +21 -21
  133. package/dist/provenance/index.d.cts +1 -1
  134. package/dist/provenance/index.d.ts +1 -1
  135. package/dist/provenance/index.js +5 -5
  136. package/dist/schema/index.cjs +36 -36
  137. package/dist/schema/index.d.cts +3 -3
  138. package/dist/schema/index.d.ts +3 -3
  139. package/dist/schema/index.js +6 -6
  140. package/dist/{store-stw2AEB4.d.ts → store-CQ3uzXla.d.ts} +58 -27
  141. package/dist/{store-DTEkUQ0k.d.cts → store-DbHAgVMH.d.cts} +58 -27
  142. package/package.json +1 -1
  143. package/dist/chunk-74FNI3PT.js.map +0 -1
  144. package/dist/chunk-ECYEWFEH.cjs.map +0 -1
  145. package/dist/chunk-OJ47LMOB.cjs.map +0 -1
  146. package/dist/chunk-ORPT5EQW.cjs.map +0 -1
  147. package/dist/chunk-VU65FXEG.js.map +0 -1
  148. package/dist/chunk-YVKPUSHS.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,28 +1,28 @@
1
- export { ExecutableAggregateQuery, ExecutableQuery, 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-VU65FXEG.js';
1
+ export { ExecutableAggregateQuery, ExecutableQuery, 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-LFXBFPI2.js';
2
2
  export { sqliteVecStrategy } from './chunk-TLXL2DJU.js';
3
3
  export { libsqlVectorStrategy } from './chunk-5TXXCXD3.js';
4
4
  export { pgvectorStrategy } from './chunk-OAGKRW22.js';
5
5
  import './chunk-6XQGOJ4M.js';
6
- import './chunk-HW3IX2RF.js';
7
- export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecordedAnchor, repairInvertedValidityWindows } from './chunk-7V2R4MH6.js';
8
- import { LEGACY_EMBEDDINGS_TABLE_NAME } from './chunk-VYU5H4FO.js';
6
+ import './chunk-EWRLWI7W.js';
7
+ export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecordedAnchor, repairInvertedValidityWindows } from './chunk-CEQOTZGB.js';
8
+ import { LEGACY_EMBEDDINGS_TABLE_NAME } from './chunk-RXA2D3UR.js';
9
9
  export { createExternalRef, externalRef, getExternalRefTable, isExternalRefSchema, metaEdge } from './chunk-L5E3Z4QK.js';
10
- import './chunk-FCUSVSYX.js';
11
- import { storeRuntime } from './chunk-74FNI3PT.js';
12
- export { compareAndSetAbsent } from './chunk-74FNI3PT.js';
13
- import './chunk-45WPPI64.js';
14
- import './chunk-7EOJO6QB.js';
15
- import './chunk-SLNH62T3.js';
16
- export { instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from './chunk-KZ6OHFDV.js';
17
- export { broader, core, differentFrom, disjointWith, equivalentTo, getActiveSchema, getCommittedSchemaVersion, hasPart, implies, inverseOf, isSchemaInitialized, narrower, partOf, relatedTo, sameAs, subClassOf } from './chunk-FFR3YUY2.js';
10
+ import './chunk-MRGWM5LE.js';
11
+ import { storeRuntime } from './chunk-C3TJU4KQ.js';
12
+ export { compareAndSetAbsent } from './chunk-C3TJU4KQ.js';
13
+ import './chunk-FMCPKMQI.js';
14
+ import './chunk-7MHENVRG.js';
15
+ import './chunk-KQYUKOGX.js';
16
+ export { instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from './chunk-F2S5JWCT.js';
17
+ export { broader, core, differentFrom, disjointWith, equivalentTo, getActiveSchema, getCommittedSchemaVersion, hasPart, implies, inverseOf, isSchemaInitialized, narrower, partOf, relatedTo, sameAs, subClassOf } from './chunk-E4QYEWVH.js';
18
18
  import './chunk-RFMSZ7CF.js';
19
19
  export { defineEdge, defineNode, isMetaEdge } from './chunk-P5J256Q7.js';
20
- import './chunk-MJXEO7YA.js';
21
- export { exists, fieldRef, generateId, inSubquery, isParameterRef, notExists, notInSubquery, param } from './chunk-SIQ4BFL5.js';
20
+ import './chunk-762VPGHN.js';
21
+ export { exists, fieldRef, generateId, inSubquery, isParameterRef, notExists, notInSubquery, param } from './chunk-AZP5CCHL.js';
22
22
  import './chunk-JYY2EB5K.js';
23
23
  import { isMissingTableError } from './chunk-U4SGJQKQ.js';
24
- import './chunk-IDQZI6GL.js';
25
- export { DEFAULT_SQL_SCHEMA, createSqlSchema, recordedRelation, rowPropsToJsonText, rowPropsToObject, supportsInteractiveTransactions, supportsRootAtomicBatch } from './chunk-YVKPUSHS.js';
24
+ import './chunk-XH75W3O5.js';
25
+ export { DEFAULT_SQL_SCHEMA, createSqlSchema, recordedRelation, rowPropsToJsonText, rowPropsToObject, supportsInteractiveTransactions, supportsRootAtomicBatch } from './chunk-75KH6Y2W.js';
26
26
  export { defineGraph, getEdgeKinds, getNodeKinds, isGraphDef } from './chunk-4PNRH5BO.js';
27
27
  export { asEdgeId, asNodeId, isEdgeTargetMap, isEdgeType, isEdgeTypeWithEndpoints, isNodeType } from './chunk-HFZWYHYC.js';
28
28
  export { asRecordedInstant, compareRecordedInstants, recordedInstantRevision, recordedInstantWallTime } from './chunk-EMORF4PV.js';
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunk7I2PYI4U_cjs = require('../chunk-7I2PYI4U.cjs');
4
- require('../chunk-KZG7HQSN.cjs');
5
- require('../chunk-ORPT5EQW.cjs');
6
- require('../chunk-PGZV3E3I.cjs');
7
- require('../chunk-MTE255N3.cjs');
8
- require('../chunk-D5TCKAQT.cjs');
9
- require('../chunk-T7LSSV7J.cjs');
10
- require('../chunk-TKFQLKH2.cjs');
3
+ var chunkKR3N6Y7O_cjs = require('../chunk-KR3N6Y7O.cjs');
4
+ require('../chunk-UVMSWO6X.cjs');
5
+ require('../chunk-UZ6CJUC5.cjs');
6
+ require('../chunk-VXEHEPC4.cjs');
7
+ require('../chunk-36XLQHZA.cjs');
8
+ require('../chunk-DGIA64DM.cjs');
9
+ require('../chunk-XXEFDJHY.cjs');
10
+ require('../chunk-CYKHSH5O.cjs');
11
11
  require('../chunk-6OWTUEUL.cjs');
12
12
  require('../chunk-5X46XWNH.cjs');
13
- require('../chunk-FYMYLZGX.cjs');
14
- require('../chunk-ECYEWFEH.cjs');
13
+ require('../chunk-ZXXGMQC3.cjs');
14
+ require('../chunk-J34FSPSC.cjs');
15
15
  require('../chunk-V32ES2Q2.cjs');
16
16
  require('../chunk-OJHFXL7Y.cjs');
17
17
  require('../chunk-F2HGOZJR.cjs');
@@ -33,95 +33,95 @@ require('../chunk-BXHAPCQG.cjs');
33
33
 
34
34
  Object.defineProperty(exports, "ConflictStrategySchema", {
35
35
  enumerable: true,
36
- get: function () { return chunk7I2PYI4U_cjs.ConflictStrategySchema; }
36
+ get: function () { return chunkKR3N6Y7O_cjs.ConflictStrategySchema; }
37
37
  });
38
38
  Object.defineProperty(exports, "ExportOptionsSchema", {
39
39
  enumerable: true,
40
- get: function () { return chunk7I2PYI4U_cjs.ExportOptionsSchema; }
40
+ get: function () { return chunkKR3N6Y7O_cjs.ExportOptionsSchema; }
41
41
  });
42
42
  Object.defineProperty(exports, "ExportStreamOptionsSchema", {
43
43
  enumerable: true,
44
- get: function () { return chunk7I2PYI4U_cjs.ExportStreamOptionsSchema; }
44
+ get: function () { return chunkKR3N6Y7O_cjs.ExportStreamOptionsSchema; }
45
45
  });
46
46
  Object.defineProperty(exports, "FORMAT_VERSION", {
47
47
  enumerable: true,
48
- get: function () { return chunk7I2PYI4U_cjs.FORMAT_VERSION; }
48
+ get: function () { return chunkKR3N6Y7O_cjs.FORMAT_VERSION; }
49
49
  });
50
50
  Object.defineProperty(exports, "GraphDataHeaderSchema", {
51
51
  enumerable: true,
52
- get: function () { return chunk7I2PYI4U_cjs.GraphDataHeaderSchema; }
52
+ get: function () { return chunkKR3N6Y7O_cjs.GraphDataHeaderSchema; }
53
53
  });
54
54
  Object.defineProperty(exports, "GraphDataSchema", {
55
55
  enumerable: true,
56
- get: function () { return chunk7I2PYI4U_cjs.GraphDataSchema; }
56
+ get: function () { return chunkKR3N6Y7O_cjs.GraphDataSchema; }
57
57
  });
58
58
  Object.defineProperty(exports, "GraphDataSourceSchema", {
59
59
  enumerable: true,
60
- get: function () { return chunk7I2PYI4U_cjs.GraphDataSourceSchema; }
60
+ get: function () { return chunkKR3N6Y7O_cjs.GraphDataSourceSchema; }
61
61
  });
62
62
  Object.defineProperty(exports, "GraphInterchangeChunkSchema", {
63
63
  enumerable: true,
64
- get: function () { return chunk7I2PYI4U_cjs.GraphInterchangeChunkSchema; }
64
+ get: function () { return chunkKR3N6Y7O_cjs.GraphInterchangeChunkSchema; }
65
65
  });
66
66
  Object.defineProperty(exports, "IdentityInterchangeModeSchema", {
67
67
  enumerable: true,
68
- get: function () { return chunk7I2PYI4U_cjs.IdentityInterchangeModeSchema; }
68
+ get: function () { return chunkKR3N6Y7O_cjs.IdentityInterchangeModeSchema; }
69
69
  });
70
70
  Object.defineProperty(exports, "ImportErrorSchema", {
71
71
  enumerable: true,
72
- get: function () { return chunk7I2PYI4U_cjs.ImportErrorSchema; }
72
+ get: function () { return chunkKR3N6Y7O_cjs.ImportErrorSchema; }
73
73
  });
74
74
  Object.defineProperty(exports, "ImportOptionsSchema", {
75
75
  enumerable: true,
76
- get: function () { return chunk7I2PYI4U_cjs.ImportOptionsSchema; }
76
+ get: function () { return chunkKR3N6Y7O_cjs.ImportOptionsSchema; }
77
77
  });
78
78
  Object.defineProperty(exports, "ImportResultSchema", {
79
79
  enumerable: true,
80
- get: function () { return chunk7I2PYI4U_cjs.ImportResultSchema; }
80
+ get: function () { return chunkKR3N6Y7O_cjs.ImportResultSchema; }
81
81
  });
82
82
  Object.defineProperty(exports, "InterchangeEdgeSchema", {
83
83
  enumerable: true,
84
- get: function () { return chunk7I2PYI4U_cjs.InterchangeEdgeSchema; }
84
+ get: function () { return chunkKR3N6Y7O_cjs.InterchangeEdgeSchema; }
85
85
  });
86
86
  Object.defineProperty(exports, "InterchangeIdentityAssertionSchema", {
87
87
  enumerable: true,
88
- get: function () { return chunk7I2PYI4U_cjs.InterchangeIdentityAssertionSchema; }
88
+ get: function () { return chunkKR3N6Y7O_cjs.InterchangeIdentityAssertionSchema; }
89
89
  });
90
90
  Object.defineProperty(exports, "InterchangeIdentitySchema", {
91
91
  enumerable: true,
92
- get: function () { return chunk7I2PYI4U_cjs.InterchangeIdentitySchema; }
92
+ get: function () { return chunkKR3N6Y7O_cjs.InterchangeIdentitySchema; }
93
93
  });
94
94
  Object.defineProperty(exports, "InterchangeNodeSchema", {
95
95
  enumerable: true,
96
- get: function () { return chunk7I2PYI4U_cjs.InterchangeNodeSchema; }
96
+ get: function () { return chunkKR3N6Y7O_cjs.InterchangeNodeSchema; }
97
97
  });
98
98
  Object.defineProperty(exports, "UnknownPropertyStrategySchema", {
99
99
  enumerable: true,
100
- get: function () { return chunk7I2PYI4U_cjs.UnknownPropertyStrategySchema; }
100
+ get: function () { return chunkKR3N6Y7O_cjs.UnknownPropertyStrategySchema; }
101
101
  });
102
102
  Object.defineProperty(exports, "exportGraph", {
103
103
  enumerable: true,
104
- get: function () { return chunk7I2PYI4U_cjs.exportGraph; }
104
+ get: function () { return chunkKR3N6Y7O_cjs.exportGraph; }
105
105
  });
106
106
  Object.defineProperty(exports, "exportGraphStream", {
107
107
  enumerable: true,
108
- get: function () { return chunk7I2PYI4U_cjs.exportGraphStream; }
108
+ get: function () { return chunkKR3N6Y7O_cjs.exportGraphStream; }
109
109
  });
110
110
  Object.defineProperty(exports, "importGraph", {
111
111
  enumerable: true,
112
- get: function () { return chunk7I2PYI4U_cjs.importGraph; }
112
+ get: function () { return chunkKR3N6Y7O_cjs.importGraph; }
113
113
  });
114
114
  Object.defineProperty(exports, "importGraphStream", {
115
115
  enumerable: true,
116
- get: function () { return chunk7I2PYI4U_cjs.importGraphStream; }
116
+ get: function () { return chunkKR3N6Y7O_cjs.importGraphStream; }
117
117
  });
118
118
  Object.defineProperty(exports, "trustedImportGraph", {
119
119
  enumerable: true,
120
- get: function () { return chunk7I2PYI4U_cjs.trustedImportGraph; }
120
+ get: function () { return chunkKR3N6Y7O_cjs.trustedImportGraph; }
121
121
  });
122
122
  Object.defineProperty(exports, "trustedImportGraphStream", {
123
123
  enumerable: true,
124
- get: function () { return chunk7I2PYI4U_cjs.trustedImportGraphStream; }
124
+ get: function () { return chunkKR3N6Y7O_cjs.trustedImportGraphStream; }
125
125
  });
126
126
  //# sourceMappingURL=index.cjs.map
127
127
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  import { d as GraphDef } from '../types-vg7PwMjm.cjs';
2
2
  export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-vg7PwMjm.cjs';
3
3
  import { z } from 'zod';
4
- import { b as Store } from '../store-DTEkUQ0k.cjs';
4
+ import { b as Store } from '../store-DbHAgVMH.cjs';
5
5
  import { I as IngestionImportTarget } from '../ingestion-import-target-C6Z1ugDW.cjs';
6
6
  import '../temporal-ljhXRasd.cjs';
7
7
  import '../searchable-CpK80Wld.cjs';
@@ -1,7 +1,7 @@
1
1
  import { d as GraphDef } from '../types-vg7PwMjm.js';
2
2
  export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-vg7PwMjm.js';
3
3
  import { z } from 'zod';
4
- import { b as Store } from '../store-stw2AEB4.js';
4
+ import { b as Store } from '../store-CQ3uzXla.js';
5
5
  import { I as IngestionImportTarget } from '../ingestion-import-target-Dt7cC-Et.js';
6
6
  import '../temporal-CFrB9A1u.js';
7
7
  import '../searchable-CZjq8iIQ.js';
@@ -1,15 +1,15 @@
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-NXRSR6QG.js';
2
- import '../chunk-FCUSVSYX.js';
3
- import '../chunk-74FNI3PT.js';
4
- import '../chunk-45WPPI64.js';
5
- import '../chunk-7EOJO6QB.js';
6
- import '../chunk-SLNH62T3.js';
7
- import '../chunk-MJXEO7YA.js';
8
- import '../chunk-SIQ4BFL5.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-MHM6OGZR.js';
2
+ import '../chunk-MRGWM5LE.js';
3
+ import '../chunk-C3TJU4KQ.js';
4
+ import '../chunk-FMCPKMQI.js';
5
+ import '../chunk-7MHENVRG.js';
6
+ import '../chunk-KQYUKOGX.js';
7
+ import '../chunk-762VPGHN.js';
8
+ import '../chunk-AZP5CCHL.js';
9
9
  import '../chunk-JYY2EB5K.js';
10
10
  import '../chunk-U4SGJQKQ.js';
11
- import '../chunk-IDQZI6GL.js';
12
- import '../chunk-YVKPUSHS.js';
11
+ import '../chunk-XH75W3O5.js';
12
+ import '../chunk-75KH6Y2W.js';
13
13
  import '../chunk-4PNRH5BO.js';
14
14
  import '../chunk-HFZWYHYC.js';
15
15
  import '../chunk-EMORF4PV.js';
@@ -1,27 +1,27 @@
1
- import { createLocalSqliteBackend } from './chunk-FWSGKOBN.js';
1
+ import { createLocalSqliteBackend } from './chunk-6LTRZOUU.js';
2
2
  import './chunk-H4FY6OZK.js';
3
- import './chunk-HNW5IDB3.js';
4
- import { createSqliteTables } from './chunk-WXGMDROJ.js';
3
+ import './chunk-WIZB5U6N.js';
4
+ import { createSqliteTables } from './chunk-QDNEXTON.js';
5
5
  import './chunk-KHGHOXY2.js';
6
- import { createStoreWithSchema } from './chunk-VU65FXEG.js';
6
+ import { createStoreWithSchema } from './chunk-LFXBFPI2.js';
7
7
  import './chunk-TLXL2DJU.js';
8
8
  import './chunk-6XQGOJ4M.js';
9
- import './chunk-HW3IX2RF.js';
10
- import './chunk-VYU5H4FO.js';
11
- import './chunk-FCUSVSYX.js';
12
- import './chunk-74FNI3PT.js';
13
- import './chunk-45WPPI64.js';
14
- import './chunk-7EOJO6QB.js';
15
- import './chunk-SLNH62T3.js';
16
- import './chunk-FFR3YUY2.js';
9
+ import './chunk-EWRLWI7W.js';
10
+ import './chunk-RXA2D3UR.js';
11
+ import './chunk-MRGWM5LE.js';
12
+ import './chunk-C3TJU4KQ.js';
13
+ import './chunk-FMCPKMQI.js';
14
+ import './chunk-7MHENVRG.js';
15
+ import './chunk-KQYUKOGX.js';
16
+ import './chunk-E4QYEWVH.js';
17
17
  import './chunk-RFMSZ7CF.js';
18
18
  import './chunk-P5J256Q7.js';
19
- import './chunk-MJXEO7YA.js';
20
- import './chunk-SIQ4BFL5.js';
19
+ import './chunk-762VPGHN.js';
20
+ import './chunk-AZP5CCHL.js';
21
21
  import './chunk-JYY2EB5K.js';
22
22
  import './chunk-U4SGJQKQ.js';
23
- import './chunk-IDQZI6GL.js';
24
- import { closeAfterFailure } from './chunk-YVKPUSHS.js';
23
+ import './chunk-XH75W3O5.js';
24
+ import { closeAfterFailure } from './chunk-75KH6Y2W.js';
25
25
  import './chunk-4PNRH5BO.js';
26
26
  import './chunk-HFZWYHYC.js';
27
27
  import './chunk-EMORF4PV.js';
@@ -75,5 +75,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
75
75
  }
76
76
 
77
77
  export { createLocalSqliteStoreImpl };
78
- //# sourceMappingURL=local-store-impl-HXBO3VF4.js.map
79
- //# sourceMappingURL=local-store-impl-HXBO3VF4.js.map
78
+ //# sourceMappingURL=local-store-impl-77DCLAAY.js.map
79
+ //# sourceMappingURL=local-store-impl-77DCLAAY.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,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-HXBO3VF4.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 ...(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,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-77DCLAAY.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 ...(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,29 +1,29 @@
1
1
  'use strict';
2
2
 
3
- var chunkGNF3PHEQ_cjs = require('./chunk-GNF3PHEQ.cjs');
3
+ var chunkVF2IMMZT_cjs = require('./chunk-VF2IMMZT.cjs');
4
4
  require('./chunk-QCD5JKU4.cjs');
5
- require('./chunk-GORCU2GR.cjs');
6
- var chunkGGDTMBNA_cjs = require('./chunk-GGDTMBNA.cjs');
5
+ require('./chunk-Z4NU4MYB.cjs');
6
+ var chunk7CCVR2QF_cjs = require('./chunk-7CCVR2QF.cjs');
7
7
  require('./chunk-IZKJF3ZP.cjs');
8
- var chunkOJ47LMOB_cjs = require('./chunk-OJ47LMOB.cjs');
8
+ var chunkWIUHN6SZ_cjs = require('./chunk-WIUHN6SZ.cjs');
9
9
  require('./chunk-KJ4IMWPI.cjs');
10
10
  require('./chunk-2QOLVZCH.cjs');
11
- require('./chunk-WTW7RWAG.cjs');
12
- require('./chunk-7B3DSFX3.cjs');
13
- require('./chunk-KZG7HQSN.cjs');
14
- require('./chunk-ORPT5EQW.cjs');
15
- require('./chunk-PGZV3E3I.cjs');
16
- require('./chunk-MTE255N3.cjs');
17
- require('./chunk-D5TCKAQT.cjs');
18
- require('./chunk-HZCOCNIX.cjs');
11
+ require('./chunk-BYUIOM4L.cjs');
12
+ require('./chunk-AUTRK6WM.cjs');
13
+ require('./chunk-UVMSWO6X.cjs');
14
+ require('./chunk-UZ6CJUC5.cjs');
15
+ require('./chunk-VXEHEPC4.cjs');
16
+ require('./chunk-36XLQHZA.cjs');
17
+ require('./chunk-DGIA64DM.cjs');
18
+ require('./chunk-L2REUAJB.cjs');
19
19
  require('./chunk-6YKISECL.cjs');
20
20
  require('./chunk-OGZA7IS4.cjs');
21
- require('./chunk-T7LSSV7J.cjs');
22
- require('./chunk-TKFQLKH2.cjs');
21
+ require('./chunk-XXEFDJHY.cjs');
22
+ require('./chunk-CYKHSH5O.cjs');
23
23
  require('./chunk-6OWTUEUL.cjs');
24
24
  require('./chunk-5X46XWNH.cjs');
25
- require('./chunk-FYMYLZGX.cjs');
26
- var chunkECYEWFEH_cjs = require('./chunk-ECYEWFEH.cjs');
25
+ require('./chunk-ZXXGMQC3.cjs');
26
+ var chunkJ34FSPSC_cjs = require('./chunk-J34FSPSC.cjs');
27
27
  require('./chunk-V32ES2Q2.cjs');
28
28
  require('./chunk-OJHFXL7Y.cjs');
29
29
  require('./chunk-F2HGOZJR.cjs');
@@ -55,15 +55,15 @@ function withoutSchemaOverride(schemaManagement) {
55
55
  return rest;
56
56
  }
57
57
  async function createLocalSqliteStoreImpl(graph, options) {
58
- const tables = options.store?.schema === void 0 ? void 0 : chunkGGDTMBNA_cjs.createSqliteTables(options.store.schema.tables);
59
- const { backend } = chunkGNF3PHEQ_cjs.createLocalSqliteBackend({
58
+ const tables = options.store?.schema === void 0 ? void 0 : chunk7CCVR2QF_cjs.createSqliteTables(options.store.schema.tables);
59
+ const { backend } = chunkVF2IMMZT_cjs.createLocalSqliteBackend({
60
60
  ...options.path === void 0 ? {} : { path: options.path },
61
61
  ...options.pragmas === void 0 ? {} : { pragmas: options.pragmas },
62
62
  ...options.capabilities === void 0 ? {} : { capabilities: options.capabilities },
63
63
  ...tables === void 0 ? {} : { tables }
64
64
  });
65
65
  try {
66
- const [store] = await chunkOJ47LMOB_cjs.createStoreWithSchema(graph, backend, {
66
+ const [store] = await chunkWIUHN6SZ_cjs.createStoreWithSchema(graph, backend, {
67
67
  ...options.store,
68
68
  // The type already excludes `schema` here; the runtime strip guards
69
69
  // untyped callers, so the provisioned schema (or the default tables)
@@ -72,10 +72,10 @@ async function createLocalSqliteStoreImpl(graph, options) {
72
72
  });
73
73
  return store;
74
74
  } catch (error) {
75
- return chunkECYEWFEH_cjs.closeAfterFailure(backend, error);
75
+ return chunkJ34FSPSC_cjs.closeAfterFailure(backend, error);
76
76
  }
77
77
  }
78
78
 
79
79
  exports.createLocalSqliteStoreImpl = createLocalSqliteStoreImpl;
80
- //# sourceMappingURL=local-store-impl-CUQKHHOZ.cjs.map
81
- //# sourceMappingURL=local-store-impl-CUQKHHOZ.cjs.map
80
+ //# sourceMappingURL=local-store-impl-NJCWM3KR.cjs.map
81
+ //# sourceMappingURL=local-store-impl-NJCWM3KR.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,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-CUQKHHOZ.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 ...(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,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-NJCWM3KR.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 ...(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,26 +1,26 @@
1
- import { createLocalPgliteBackend } from './chunk-XODNY4QI.js';
2
- import './chunk-QM6IQW7B.js';
3
- import { createPostgresTables } from './chunk-WXGMDROJ.js';
1
+ import { createLocalPgliteBackend } from './chunk-TIBSLFHR.js';
2
+ import './chunk-ILHVYKXJ.js';
3
+ import { createPostgresTables } from './chunk-QDNEXTON.js';
4
4
  import './chunk-KHGHOXY2.js';
5
- import { createStoreWithSchema } from './chunk-VU65FXEG.js';
5
+ import { createStoreWithSchema } from './chunk-LFXBFPI2.js';
6
6
  import './chunk-OAGKRW22.js';
7
7
  import './chunk-6XQGOJ4M.js';
8
- import './chunk-HW3IX2RF.js';
9
- import './chunk-VYU5H4FO.js';
10
- import './chunk-FCUSVSYX.js';
11
- import './chunk-74FNI3PT.js';
12
- import './chunk-45WPPI64.js';
13
- import './chunk-7EOJO6QB.js';
14
- import './chunk-SLNH62T3.js';
15
- import './chunk-FFR3YUY2.js';
8
+ import './chunk-EWRLWI7W.js';
9
+ import './chunk-RXA2D3UR.js';
10
+ import './chunk-MRGWM5LE.js';
11
+ import './chunk-C3TJU4KQ.js';
12
+ import './chunk-FMCPKMQI.js';
13
+ import './chunk-7MHENVRG.js';
14
+ import './chunk-KQYUKOGX.js';
15
+ import './chunk-E4QYEWVH.js';
16
16
  import './chunk-RFMSZ7CF.js';
17
17
  import './chunk-P5J256Q7.js';
18
- import './chunk-MJXEO7YA.js';
19
- import './chunk-SIQ4BFL5.js';
18
+ import './chunk-762VPGHN.js';
19
+ import './chunk-AZP5CCHL.js';
20
20
  import './chunk-JYY2EB5K.js';
21
21
  import './chunk-U4SGJQKQ.js';
22
- import './chunk-IDQZI6GL.js';
23
- import { closeAfterFailure } from './chunk-YVKPUSHS.js';
22
+ import './chunk-XH75W3O5.js';
23
+ import { closeAfterFailure } from './chunk-75KH6Y2W.js';
24
24
  import './chunk-4PNRH5BO.js';
25
25
  import './chunk-HFZWYHYC.js';
26
26
  import './chunk-EMORF4PV.js';
@@ -73,5 +73,5 @@ async function createLocalPgliteStoreImpl(graph, options) {
73
73
  }
74
74
 
75
75
  export { createLocalPgliteStoreImpl };
76
- //# sourceMappingURL=pglite-store-impl-BD3AVOUH.js.map
77
- //# sourceMappingURL=pglite-store-impl-BD3AVOUH.js.map
76
+ //# sourceMappingURL=pglite-store-impl-3VFSYLAJ.js.map
77
+ //# sourceMappingURL=pglite-store-impl-3VFSYLAJ.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,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-BD3AVOUH.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 ...(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,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-3VFSYLAJ.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 ...(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,28 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkS5WG5AFG_cjs = require('./chunk-S5WG5AFG.cjs');
4
- require('./chunk-KFC3OUV4.cjs');
5
- var chunkGGDTMBNA_cjs = require('./chunk-GGDTMBNA.cjs');
3
+ var chunk2XUAUSMI_cjs = require('./chunk-2XUAUSMI.cjs');
4
+ require('./chunk-ZHK3HEZ2.cjs');
5
+ var chunk7CCVR2QF_cjs = require('./chunk-7CCVR2QF.cjs');
6
6
  require('./chunk-IZKJF3ZP.cjs');
7
- var chunkOJ47LMOB_cjs = require('./chunk-OJ47LMOB.cjs');
7
+ var chunkWIUHN6SZ_cjs = require('./chunk-WIUHN6SZ.cjs');
8
8
  require('./chunk-WOD3VQQE.cjs');
9
9
  require('./chunk-2QOLVZCH.cjs');
10
- require('./chunk-WTW7RWAG.cjs');
11
- require('./chunk-7B3DSFX3.cjs');
12
- require('./chunk-KZG7HQSN.cjs');
13
- require('./chunk-ORPT5EQW.cjs');
14
- require('./chunk-PGZV3E3I.cjs');
15
- require('./chunk-MTE255N3.cjs');
16
- require('./chunk-D5TCKAQT.cjs');
17
- require('./chunk-HZCOCNIX.cjs');
10
+ require('./chunk-BYUIOM4L.cjs');
11
+ require('./chunk-AUTRK6WM.cjs');
12
+ require('./chunk-UVMSWO6X.cjs');
13
+ require('./chunk-UZ6CJUC5.cjs');
14
+ require('./chunk-VXEHEPC4.cjs');
15
+ require('./chunk-36XLQHZA.cjs');
16
+ require('./chunk-DGIA64DM.cjs');
17
+ require('./chunk-L2REUAJB.cjs');
18
18
  require('./chunk-6YKISECL.cjs');
19
19
  require('./chunk-OGZA7IS4.cjs');
20
- require('./chunk-T7LSSV7J.cjs');
21
- require('./chunk-TKFQLKH2.cjs');
20
+ require('./chunk-XXEFDJHY.cjs');
21
+ require('./chunk-CYKHSH5O.cjs');
22
22
  require('./chunk-6OWTUEUL.cjs');
23
23
  require('./chunk-5X46XWNH.cjs');
24
- require('./chunk-FYMYLZGX.cjs');
25
- var chunkECYEWFEH_cjs = require('./chunk-ECYEWFEH.cjs');
24
+ require('./chunk-ZXXGMQC3.cjs');
25
+ var chunkJ34FSPSC_cjs = require('./chunk-J34FSPSC.cjs');
26
26
  require('./chunk-V32ES2Q2.cjs');
27
27
  require('./chunk-OJHFXL7Y.cjs');
28
28
  require('./chunk-F2HGOZJR.cjs');
@@ -54,14 +54,14 @@ function withoutSchemaOverride(schemaManagement) {
54
54
  return rest;
55
55
  }
56
56
  async function createLocalPgliteStoreImpl(graph, options) {
57
- const tables = options.store?.schema === void 0 ? void 0 : chunkGGDTMBNA_cjs.createPostgresTables(options.store.schema.tables);
58
- const { backend } = await chunkS5WG5AFG_cjs.createLocalPgliteBackend({
57
+ const tables = options.store?.schema === void 0 ? void 0 : chunk7CCVR2QF_cjs.createPostgresTables(options.store.schema.tables);
58
+ const { backend } = await chunk2XUAUSMI_cjs.createLocalPgliteBackend({
59
59
  ...options.dataDir === void 0 ? {} : { dataDir: options.dataDir },
60
60
  ...options.vector === false ? { vector: false } : {},
61
61
  ...tables === void 0 ? {} : { tables }
62
62
  });
63
63
  try {
64
- const [store] = await chunkOJ47LMOB_cjs.createStoreWithSchema(graph, backend, {
64
+ const [store] = await chunkWIUHN6SZ_cjs.createStoreWithSchema(graph, backend, {
65
65
  ...options.store,
66
66
  // The type already excludes `schema` here; the runtime strip guards
67
67
  // untyped callers, so the provisioned schema (or the default tables)
@@ -70,10 +70,10 @@ async function createLocalPgliteStoreImpl(graph, options) {
70
70
  });
71
71
  return store;
72
72
  } catch (error) {
73
- return chunkECYEWFEH_cjs.closeAfterFailure(backend, error);
73
+ return chunkJ34FSPSC_cjs.closeAfterFailure(backend, error);
74
74
  }
75
75
  }
76
76
 
77
77
  exports.createLocalPgliteStoreImpl = createLocalPgliteStoreImpl;
78
- //# sourceMappingURL=pglite-store-impl-C3MQ72LT.cjs.map
79
- //# sourceMappingURL=pglite-store-impl-C3MQ72LT.cjs.map
78
+ //# sourceMappingURL=pglite-store-impl-LHLJ3GBQ.cjs.map
79
+ //# sourceMappingURL=pglite-store-impl-LHLJ3GBQ.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,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-C3MQ72LT.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 ...(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,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-LHLJ3GBQ.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 ...(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,6 +1,6 @@
1
1
  import { d as GraphDef, Q as QueryAst } from '../types-vg7PwMjm.cjs';
2
2
  export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-vg7PwMjm.cjs';
3
- import { b as Store } from '../store-DTEkUQ0k.cjs';
3
+ import { b as Store } from '../store-DbHAgVMH.cjs';
4
4
  import { P as ProfilerOptions, a as ProfileReport } from '../types-8s8o5840.cjs';
5
5
  export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-8s8o5840.cjs';
6
6
  import 'zod';