@nicia-ai/typegraph 0.58.0 → 0.59.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 (167) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +12 -0
  3. package/dist/{atomic-mutation-program-CPcn0ZPu.d.ts → atomic-mutation-program-BNvJ13bq.d.ts} +1 -1
  4. package/dist/{atomic-mutation-program-AqOe51XD.d.cts → atomic-mutation-program-DOVE147J.d.cts} +1 -1
  5. package/dist/backend/drizzle/engine/index.cjs +8 -8
  6. package/dist/backend/drizzle/engine/index.d.cts +9 -9
  7. package/dist/backend/drizzle/engine/index.d.ts +9 -9
  8. package/dist/backend/drizzle/engine/index.js +3 -3
  9. package/dist/backend/drizzle/indexes.cjs +6 -6
  10. package/dist/backend/drizzle/indexes.d.cts +1 -1
  11. package/dist/backend/drizzle/indexes.d.ts +1 -1
  12. package/dist/backend/drizzle/indexes.js +2 -2
  13. package/dist/backend/index.d.cts +7 -7
  14. package/dist/backend/index.d.ts +7 -7
  15. package/dist/backend/postgres/index.cjs +17 -17
  16. package/dist/backend/postgres/index.d.cts +8 -8
  17. package/dist/backend/postgres/index.d.ts +8 -8
  18. package/dist/backend/postgres/index.js +3 -3
  19. package/dist/backend/postgres/pglite-store.cjs +1 -1
  20. package/dist/backend/postgres/pglite-store.d.cts +6 -6
  21. package/dist/backend/postgres/pglite-store.d.ts +6 -6
  22. package/dist/backend/postgres/pglite-store.js +1 -1
  23. package/dist/backend/postgres/pglite.cjs +5 -5
  24. package/dist/backend/postgres/pglite.d.cts +3 -3
  25. package/dist/backend/postgres/pglite.d.ts +3 -3
  26. package/dist/backend/postgres/pglite.js +4 -4
  27. package/dist/backend/sqlite/index.cjs +16 -16
  28. package/dist/backend/sqlite/index.d.cts +7 -7
  29. package/dist/backend/sqlite/index.d.ts +7 -7
  30. package/dist/backend/sqlite/index.js +3 -3
  31. package/dist/backend/sqlite/libsql.cjs +7 -7
  32. package/dist/backend/sqlite/libsql.d.cts +3 -3
  33. package/dist/backend/sqlite/libsql.d.ts +3 -3
  34. package/dist/backend/sqlite/libsql.js +3 -3
  35. package/dist/backend/sqlite/local-store.cjs +1 -1
  36. package/dist/backend/sqlite/local-store.d.cts +6 -6
  37. package/dist/backend/sqlite/local-store.d.ts +6 -6
  38. package/dist/backend/sqlite/local-store.js +1 -1
  39. package/dist/backend/sqlite/local.cjs +5 -5
  40. package/dist/backend/sqlite/local.d.cts +3 -3
  41. package/dist/backend/sqlite/local.d.ts +3 -3
  42. package/dist/backend/sqlite/local.js +4 -4
  43. package/dist/{chunk-QR6V2BXA.cjs → chunk-26CL47SW.cjs} +13 -13
  44. package/dist/{chunk-QR6V2BXA.cjs.map → chunk-26CL47SW.cjs.map} +1 -1
  45. package/dist/{chunk-U53HFE4L.cjs → chunk-2GZL5ED3.cjs} +16 -16
  46. package/dist/{chunk-U53HFE4L.cjs.map → chunk-2GZL5ED3.cjs.map} +1 -1
  47. package/dist/{chunk-QIKO6DL5.js → chunk-2QNFFAMF.js} +3 -3
  48. package/dist/{chunk-QIKO6DL5.js.map → chunk-2QNFFAMF.js.map} +1 -1
  49. package/dist/{chunk-M7TRJXFE.js → chunk-3GX5HTPP.js} +3 -3
  50. package/dist/{chunk-M7TRJXFE.js.map → chunk-3GX5HTPP.js.map} +1 -1
  51. package/dist/{chunk-US3BLFWM.js → chunk-7GNPCBS2.js} +3 -3
  52. package/dist/{chunk-US3BLFWM.js.map → chunk-7GNPCBS2.js.map} +1 -1
  53. package/dist/{chunk-FHFPUORN.cjs → chunk-CA76FVJB.cjs} +1234 -306
  54. package/dist/chunk-CA76FVJB.cjs.map +1 -0
  55. package/dist/{chunk-4MZQVVPX.cjs → chunk-D5CHUSW7.cjs} +33 -2
  56. package/dist/chunk-D5CHUSW7.cjs.map +1 -0
  57. package/dist/{chunk-TKEJR2UL.cjs → chunk-DWO6WZP5.cjs} +6 -6
  58. package/dist/{chunk-TKEJR2UL.cjs.map → chunk-DWO6WZP5.cjs.map} +1 -1
  59. package/dist/{chunk-5C4OYYDD.js → chunk-DZ3ETMXF.js} +4 -4
  60. package/dist/{chunk-5C4OYYDD.js.map → chunk-DZ3ETMXF.js.map} +1 -1
  61. package/dist/{chunk-IV3FENV2.js → chunk-E6PU35DE.js} +4 -4
  62. package/dist/{chunk-IV3FENV2.js.map → chunk-E6PU35DE.js.map} +1 -1
  63. package/dist/{chunk-GUMNJJFP.cjs → chunk-EN67I47R.cjs} +9 -9
  64. package/dist/{chunk-GUMNJJFP.cjs.map → chunk-EN67I47R.cjs.map} +1 -1
  65. package/dist/{chunk-BYBMDK6X.js → chunk-GYOQAV6R.js} +3 -3
  66. package/dist/{chunk-BYBMDK6X.js.map → chunk-GYOQAV6R.js.map} +1 -1
  67. package/dist/{chunk-GTW5YKFV.js → chunk-HCNC53MU.js} +3 -3
  68. package/dist/{chunk-GTW5YKFV.js.map → chunk-HCNC53MU.js.map} +1 -1
  69. package/dist/{chunk-BMATB57B.cjs → chunk-KW3ON5IU.cjs} +11 -11
  70. package/dist/{chunk-BMATB57B.cjs.map → chunk-KW3ON5IU.cjs.map} +1 -1
  71. package/dist/{chunk-GK62U3S5.js → chunk-LOFUF6L7.js} +3 -3
  72. package/dist/{chunk-GK62U3S5.js.map → chunk-LOFUF6L7.js.map} +1 -1
  73. package/dist/{chunk-7JUD57B4.js → chunk-MKQY4ZLZ.js} +996 -68
  74. package/dist/chunk-MKQY4ZLZ.js.map +1 -0
  75. package/dist/{chunk-YTYB5KCQ.js → chunk-OH7QRGPQ.js} +33 -2
  76. package/dist/chunk-OH7QRGPQ.js.map +1 -0
  77. package/dist/{chunk-WAG3NVD7.cjs → chunk-QBQ465OX.cjs} +12 -12
  78. package/dist/{chunk-WAG3NVD7.cjs.map → chunk-QBQ465OX.cjs.map} +1 -1
  79. package/dist/{chunk-CRROO6PK.cjs → chunk-QHP2BCBJ.cjs} +4 -4
  80. package/dist/{chunk-CRROO6PK.cjs.map → chunk-QHP2BCBJ.cjs.map} +1 -1
  81. package/dist/{chunk-ZHLWPHNT.cjs → chunk-RJ3GVX73.cjs} +6 -6
  82. package/dist/{chunk-ZHLWPHNT.cjs.map → chunk-RJ3GVX73.cjs.map} +1 -1
  83. package/dist/{chunk-SYKR6MVR.cjs → chunk-T2M2S5YZ.cjs} +59 -59
  84. package/dist/{chunk-SYKR6MVR.cjs.map → chunk-T2M2S5YZ.cjs.map} +1 -1
  85. package/dist/{chunk-OESX3T5K.js → chunk-TNNDNSNH.js} +4 -4
  86. package/dist/{chunk-OESX3T5K.js.map → chunk-TNNDNSNH.js.map} +1 -1
  87. package/dist/{chunk-C3CN2C2T.cjs → chunk-UOHFBYYH.cjs} +4 -4
  88. package/dist/{chunk-C3CN2C2T.cjs.map → chunk-UOHFBYYH.cjs.map} +1 -1
  89. package/dist/{chunk-DV24YZHG.js → chunk-V3JKR2CN.js} +4 -4
  90. package/dist/{chunk-DV24YZHG.js.map → chunk-V3JKR2CN.js.map} +1 -1
  91. package/dist/{chunk-CVO2ZPW5.js → chunk-W4NT4IMI.js} +3 -3
  92. package/dist/{chunk-CVO2ZPW5.js.map → chunk-W4NT4IMI.js.map} +1 -1
  93. package/dist/{chunk-FGKWXSHF.cjs → chunk-XGYUUUHY.cjs} +22 -22
  94. package/dist/{chunk-FGKWXSHF.cjs.map → chunk-XGYUUUHY.cjs.map} +1 -1
  95. package/dist/core/index.d.cts +3 -3
  96. package/dist/core/index.d.ts +3 -3
  97. package/dist/{ddl-wlEdaCQK.d.cts → ddl-B9lzB8Zi.d.cts} +3 -3
  98. package/dist/{ddl-DkFrUTn_.d.ts → ddl-DuZWvxBb.d.ts} +3 -3
  99. package/dist/graph-extension/index.d.cts +2 -2
  100. package/dist/graph-extension/index.d.ts +2 -2
  101. package/dist/graph-merge/index.cjs +31 -31
  102. package/dist/graph-merge/index.d.cts +7 -6
  103. package/dist/graph-merge/index.d.ts +7 -6
  104. package/dist/graph-merge/index.js +8 -8
  105. package/dist/{graph-templates-6zTU7bNe.d.cts → graph-templates-Buh-RlmQ.d.cts} +2 -2
  106. package/dist/{graph-templates-B4gkXVqg.d.ts → graph-templates-DQnmCPkd.d.ts} +2 -2
  107. package/dist/index.cjs +68 -68
  108. package/dist/index.d.cts +10 -10
  109. package/dist/index.d.ts +10 -10
  110. package/dist/index.js +8 -8
  111. package/dist/indexes/index.cjs +8 -8
  112. package/dist/indexes/index.d.cts +4 -4
  113. package/dist/indexes/index.d.ts +4 -4
  114. package/dist/indexes/index.js +3 -3
  115. package/dist/{ingestion-import-target-im9wEB00.d.cts → ingestion-import-target-BSgJagqI.d.cts} +1 -1
  116. package/dist/{ingestion-import-target-SopMSm-T.d.ts → ingestion-import-target-PNw10V4T.d.ts} +1 -1
  117. package/dist/interchange/index.cjs +27 -27
  118. package/dist/interchange/index.d.cts +7 -6
  119. package/dist/interchange/index.d.ts +7 -6
  120. package/dist/interchange/index.js +4 -4
  121. package/dist/{local-store-impl-FTGRP2V7.js → local-store-impl-EPUMDNQJ.js} +12 -12
  122. package/dist/{local-store-impl-FTGRP2V7.js.map → local-store-impl-EPUMDNQJ.js.map} +1 -1
  123. package/dist/{local-store-impl-ARNXBBSF.cjs → local-store-impl-GFBZBCTN.cjs} +15 -15
  124. package/dist/{local-store-impl-ARNXBBSF.cjs.map → local-store-impl-GFBZBCTN.cjs.map} +1 -1
  125. package/dist/{pglite-store-impl-CNQZYRBC.cjs → pglite-store-impl-DB4RRLB7.cjs} +15 -15
  126. package/dist/{pglite-store-impl-CNQZYRBC.cjs.map → pglite-store-impl-DB4RRLB7.cjs.map} +1 -1
  127. package/dist/{pglite-store-impl-NULC2IHH.js → pglite-store-impl-M5PWKN7Z.js} +12 -12
  128. package/dist/{pglite-store-impl-NULC2IHH.js.map → pglite-store-impl-M5PWKN7Z.js.map} +1 -1
  129. package/dist/{postgres-Dd3TrFku.d.ts → postgres-2FBMdOE_.d.ts} +3 -3
  130. package/dist/{postgres-CLPfTNYN.d.ts → postgres-BR3AeXm9.d.ts} +1 -1
  131. package/dist/{postgres-cLQPlKtp.d.cts → postgres-CRatyTVL.d.cts} +1 -1
  132. package/dist/{postgres-B4VD_rVy.d.cts → postgres-lbZf0zyg.d.cts} +3 -3
  133. package/dist/{profile-Co154QBx.d.ts → profile-BipG05-8.d.ts} +2 -2
  134. package/dist/{profile-BqThShR_.d.cts → profile-DKtvxVyA.d.cts} +2 -2
  135. package/dist/profiler/index.d.cts +8 -7
  136. package/dist/profiler/index.d.ts +8 -7
  137. package/dist/provenance/index.cjs.map +1 -1
  138. package/dist/provenance/index.d.cts +6 -5
  139. package/dist/provenance/index.d.ts +6 -5
  140. package/dist/provenance/index.js.map +1 -1
  141. package/dist/{repair-validity-windows-BLoClfCq.d.cts → repair-validity-windows-BnSHFIsR.d.cts} +1 -1
  142. package/dist/{repair-validity-windows-C__28ckL.d.ts → repair-validity-windows-DfRb4gZm.d.ts} +1 -1
  143. package/dist/{resolve-DgFSIK99.d.ts → resolve-BbjZDYTw.d.ts} +1 -1
  144. package/dist/{resolve-DSUxNIqw.d.cts → resolve-mLksuBg2.d.cts} +1 -1
  145. package/dist/schema/index.cjs +30 -30
  146. package/dist/schema/index.d.cts +7 -7
  147. package/dist/schema/index.d.ts +7 -7
  148. package/dist/schema/index.js +5 -5
  149. package/dist/{searchable-CZKn12eY.d.cts → searchable-BEAN91Ce.d.cts} +1 -1
  150. package/dist/{searchable-CUWWphQI.d.ts → searchable-Bg2lMPRm.d.ts} +1 -1
  151. package/dist/{sqlite-mSd_eVk4.d.ts → sqlite-Cal3rHgZ.d.ts} +3 -3
  152. package/dist/{sqlite-CoBmhiFd.d.ts → sqlite-CvajLABd.d.cts} +1 -1
  153. package/dist/{sqlite-qXLIybR2.d.cts → sqlite-DQxKoWAH.d.cts} +3 -3
  154. package/dist/{sqlite-RdH7w-ix.d.cts → sqlite-jH5J-Jb8.d.ts} +1 -1
  155. package/dist/{store-BzmMsCcw.d.ts → store-CvtRQ8Nb.d.cts} +136 -10
  156. package/dist/{store-CL6uTm_W.d.cts → store-sLu0hcRm.d.ts} +136 -10
  157. package/dist/{types-BUoh7cc3.d.cts → types-BUA3dZ99.d.cts} +1 -1
  158. package/dist/{types-ClC0IFIS.d.ts → types-CPtb7KNf.d.ts} +1 -1
  159. package/dist/{types-Blq8PG_N.d.ts → types-Dky3sCFz.d.cts} +9 -0
  160. package/dist/{types-Blq8PG_N.d.cts → types-Dky3sCFz.d.ts} +9 -0
  161. package/dist/{where-61C-QoM8.d.ts → where-BReEkAiy.d.ts} +1 -1
  162. package/dist/{where-o3Me5iJx.d.cts → where-Cz11nPRu.d.cts} +1 -1
  163. package/package.json +2 -2
  164. package/dist/chunk-4MZQVVPX.cjs.map +0 -1
  165. package/dist/chunk-7JUD57B4.js.map +0 -1
  166. package/dist/chunk-FHFPUORN.cjs.map +0 -1
  167. package/dist/chunk-YTYB5KCQ.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
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-7JUD57B4.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-MKQY4ZLZ.js';
2
2
  export { sqliteVecStrategy } from './chunk-2AZXVMSX.js';
3
3
  export { libsqlVectorStrategy } from './chunk-AIU2RHVG.js';
4
4
  export { pgvectorStrategy } from './chunk-CLGE3366.js';
@@ -7,17 +7,17 @@ export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecord
7
7
  import './chunk-7GZJ36LN.js';
8
8
  import { LEGACY_EMBEDDINGS_TABLE_NAME } from './chunk-VEW3743S.js';
9
9
  export { createExternalRef, externalRef, getExternalRefTable, isExternalRefSchema, metaEdge } from './chunk-6WZ4NGMO.js';
10
- import './chunk-DV24YZHG.js';
10
+ import './chunk-V3JKR2CN.js';
11
11
  import './chunk-6BVZHDAZ.js';
12
12
  import './chunk-AHRNKPEV.js';
13
13
  import './chunk-IM4X2ZOR.js';
14
14
  import './chunk-N535PWMA.js';
15
15
  import './chunk-2DNUADXX.js';
16
- export { instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from './chunk-M7TRJXFE.js';
17
- export { broader, core, differentFrom, disjointWith, equivalentTo, getActiveSchema, getCommittedSchemaVersion, hasPart, implies, inverseOf, isSchemaInitialized, narrower, partOf, relatedTo, sameAs, subClassOf } from './chunk-IV3FENV2.js';
16
+ export { instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from './chunk-3GX5HTPP.js';
17
+ export { broader, core, differentFrom, disjointWith, equivalentTo, getActiveSchema, getCommittedSchemaVersion, hasPart, implies, inverseOf, isSchemaInitialized, narrower, partOf, relatedTo, sameAs, subClassOf } from './chunk-E6PU35DE.js';
18
18
  import './chunk-RFMSZ7CF.js';
19
19
  export { defineEdge, defineNode, isMetaEdge } from './chunk-YXT3CCTR.js';
20
- import './chunk-CVO2ZPW5.js';
20
+ import './chunk-W4NT4IMI.js';
21
21
  import { storeRuntime } from './chunk-HWWPL2YL.js';
22
22
  export { compareAndSetAbsent, generateId } from './chunk-HWWPL2YL.js';
23
23
  export { exists, fieldRef, inSubquery, isParameterRef, notExists, notInSubquery, param } from './chunk-XWMB3AFN.js';
@@ -28,11 +28,11 @@ export { defineGraph, getEdgeKinds, getNodeKinds, isGraphDef } from './chunk-CYS
28
28
  export { asEdgeId, asNodeId, isEdgeTargetMap, isEdgeType, isEdgeTypeWithEndpoints, isNodeType } from './chunk-WUNSJGP6.js';
29
29
  export { asRecordedInstant, compareRecordedInstants, recordedInstantRevision, recordedInstantWallTime } from './chunk-6TIDSIPH.js';
30
30
  export { andWhere, notWhere, orWhere } from './chunk-QZ7A6HBM.js';
31
- import './chunk-GK62U3S5.js';
31
+ import './chunk-LOFUF6L7.js';
32
32
  export { SYSTEM_INDEX_DECLARATIONS } from './chunk-JANTPNIZ.js';
33
- export { defineEdgeIndex, defineNodeIndex } from './chunk-QIKO6DL5.js';
33
+ export { defineEdgeIndex, defineNodeIndex } from './chunk-2QNFFAMF.js';
34
34
  import './chunk-K34OPSJK.js';
35
- import './chunk-YTYB5KCQ.js';
35
+ import './chunk-OH7QRGPQ.js';
36
36
  import './chunk-RZ474NIQ.js';
37
37
  import './chunk-2EBMPJBO.js';
38
38
  export { buildVectorCapabilities, fts5Strategy, tsvectorStrategy } from './chunk-3MZTAXYX.js';
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkUWG5GX6E_cjs = require('../chunk-UWG5GX6E.cjs');
4
- var chunkZHLWPHNT_cjs = require('../chunk-ZHLWPHNT.cjs');
4
+ var chunkRJ3GVX73_cjs = require('../chunk-RJ3GVX73.cjs');
5
5
  var chunkGDTWUVSN_cjs = require('../chunk-GDTWUVSN.cjs');
6
- var chunkCRROO6PK_cjs = require('../chunk-CRROO6PK.cjs');
6
+ var chunkQHP2BCBJ_cjs = require('../chunk-QHP2BCBJ.cjs');
7
7
  require('../chunk-ZY4GXIVN.cjs');
8
- require('../chunk-4MZQVVPX.cjs');
8
+ require('../chunk-D5CHUSW7.cjs');
9
9
  require('../chunk-BZZ2ZGWE.cjs');
10
10
  require('../chunk-NAUA4PW5.cjs');
11
11
  require('../chunk-4FB7REYC.cjs');
@@ -41,15 +41,15 @@ Object.defineProperty(exports, "toDeclaredIndexes", {
41
41
  });
42
42
  Object.defineProperty(exports, "generateEdgeIndexDDL", {
43
43
  enumerable: true,
44
- get: function () { return chunkZHLWPHNT_cjs.generateEdgeIndexDDL; }
44
+ get: function () { return chunkRJ3GVX73_cjs.generateEdgeIndexDDL; }
45
45
  });
46
46
  Object.defineProperty(exports, "generateIndexDDL", {
47
47
  enumerable: true,
48
- get: function () { return chunkZHLWPHNT_cjs.generateIndexDDL; }
48
+ get: function () { return chunkRJ3GVX73_cjs.generateIndexDDL; }
49
49
  });
50
50
  Object.defineProperty(exports, "generateNodeIndexDDL", {
51
51
  enumerable: true,
52
- get: function () { return chunkZHLWPHNT_cjs.generateNodeIndexDDL; }
52
+ get: function () { return chunkRJ3GVX73_cjs.generateNodeIndexDDL; }
53
53
  });
54
54
  Object.defineProperty(exports, "SYSTEM_INDEX_DECLARATIONS", {
55
55
  enumerable: true,
@@ -61,11 +61,11 @@ Object.defineProperty(exports, "generateSystemIndexDDL", {
61
61
  });
62
62
  Object.defineProperty(exports, "defineEdgeIndex", {
63
63
  enumerable: true,
64
- get: function () { return chunkCRROO6PK_cjs.defineEdgeIndex; }
64
+ get: function () { return chunkQHP2BCBJ_cjs.defineEdgeIndex; }
65
65
  });
66
66
  Object.defineProperty(exports, "defineNodeIndex", {
67
67
  enumerable: true,
68
- get: function () { return chunkCRROO6PK_cjs.defineNodeIndex; }
68
+ get: function () { return chunkQHP2BCBJ_cjs.defineNodeIndex; }
69
69
  });
70
70
  //# sourceMappingURL=index.cjs.map
71
71
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
- import { p as EdgeIndexDeclaration, q as SqlDialect, r as RelationalIndexDeclaration, s as NodeIndexDeclaration, I as IndexDeclaration } from '../types-Blq8PG_N.cjs';
2
- export { t as EdgeIndexConfig, u as EdgeIndexDirection, v as EdgeIndexWhereBuilder, w as IndexOrigin, x as IndexScope, y as IndexWhereExpression, z as IndexWhereFieldBuilder, D as IndexWhereInput, H as NodeIndexConfig, L as NodeIndexWhereBuilder, M as SystemColumnName, O as VectorIndexDeclaration, P as VectorIndexImplementation, U as VectorIndexMetric, X as VectorIndexParams } from '../types-Blq8PG_N.cjs';
3
- export { S as SYSTEM_INDEX_DECLARATIONS, a as SystemIndexDeclaration, b as SystemIndexTable, c as andWhere, d as defineEdgeIndex, e as defineNodeIndex, g as generateSystemIndexDDL, n as notWhere, o as orWhere } from '../where-o3Me5iJx.cjs';
4
- import { D as DeclaredIndex } from '../types-BUoh7cc3.cjs';
1
+ import { p as EdgeIndexDeclaration, q as SqlDialect, r as RelationalIndexDeclaration, s as NodeIndexDeclaration, I as IndexDeclaration } from '../types-Dky3sCFz.cjs';
2
+ export { t as EdgeIndexConfig, u as EdgeIndexDirection, v as EdgeIndexWhereBuilder, w as IndexOrigin, x as IndexScope, y as IndexWhereExpression, z as IndexWhereFieldBuilder, D as IndexWhereInput, H as NodeIndexConfig, L as NodeIndexWhereBuilder, M as SystemColumnName, O as VectorIndexDeclaration, P as VectorIndexImplementation, U as VectorIndexMetric, X as VectorIndexParams } from '../types-Dky3sCFz.cjs';
3
+ export { S as SYSTEM_INDEX_DECLARATIONS, a as SystemIndexDeclaration, b as SystemIndexTable, c as andWhere, d as defineEdgeIndex, e as defineNodeIndex, g as generateSystemIndexDDL, n as notWhere, o as orWhere } from '../where-Cz11nPRu.cjs';
4
+ import { D as DeclaredIndex } from '../types-BUA3dZ99.cjs';
5
5
  import 'zod';
6
6
 
7
7
  type GenerateIndexDdlOptions = Readonly<{
@@ -1,7 +1,7 @@
1
- import { p as EdgeIndexDeclaration, q as SqlDialect, r as RelationalIndexDeclaration, s as NodeIndexDeclaration, I as IndexDeclaration } from '../types-Blq8PG_N.js';
2
- export { t as EdgeIndexConfig, u as EdgeIndexDirection, v as EdgeIndexWhereBuilder, w as IndexOrigin, x as IndexScope, y as IndexWhereExpression, z as IndexWhereFieldBuilder, D as IndexWhereInput, H as NodeIndexConfig, L as NodeIndexWhereBuilder, M as SystemColumnName, O as VectorIndexDeclaration, P as VectorIndexImplementation, U as VectorIndexMetric, X as VectorIndexParams } from '../types-Blq8PG_N.js';
3
- export { S as SYSTEM_INDEX_DECLARATIONS, a as SystemIndexDeclaration, b as SystemIndexTable, c as andWhere, d as defineEdgeIndex, e as defineNodeIndex, g as generateSystemIndexDDL, n as notWhere, o as orWhere } from '../where-61C-QoM8.js';
4
- import { D as DeclaredIndex } from '../types-ClC0IFIS.js';
1
+ import { p as EdgeIndexDeclaration, q as SqlDialect, r as RelationalIndexDeclaration, s as NodeIndexDeclaration, I as IndexDeclaration } from '../types-Dky3sCFz.js';
2
+ export { t as EdgeIndexConfig, u as EdgeIndexDirection, v as EdgeIndexWhereBuilder, w as IndexOrigin, x as IndexScope, y as IndexWhereExpression, z as IndexWhereFieldBuilder, D as IndexWhereInput, H as NodeIndexConfig, L as NodeIndexWhereBuilder, M as SystemColumnName, O as VectorIndexDeclaration, P as VectorIndexImplementation, U as VectorIndexMetric, X as VectorIndexParams } from '../types-Dky3sCFz.js';
3
+ export { S as SYSTEM_INDEX_DECLARATIONS, a as SystemIndexDeclaration, b as SystemIndexTable, c as andWhere, d as defineEdgeIndex, e as defineNodeIndex, g as generateSystemIndexDDL, n as notWhere, o as orWhere } from '../where-BReEkAiy.js';
4
+ import { D as DeclaredIndex } from '../types-CPtb7KNf.js';
5
5
  import 'zod';
6
6
 
7
7
  type GenerateIndexDdlOptions = Readonly<{
@@ -1,9 +1,9 @@
1
1
  export { andWhere, notWhere, orWhere, toDeclaredIndex, toDeclaredIndexes } from '../chunk-QZ7A6HBM.js';
2
- export { generateEdgeIndexDDL, generateIndexDDL, generateNodeIndexDDL } from '../chunk-GK62U3S5.js';
2
+ export { generateEdgeIndexDDL, generateIndexDDL, generateNodeIndexDDL } from '../chunk-LOFUF6L7.js';
3
3
  export { SYSTEM_INDEX_DECLARATIONS, generateSystemIndexDDL } from '../chunk-JANTPNIZ.js';
4
- export { defineEdgeIndex, defineNodeIndex } from '../chunk-QIKO6DL5.js';
4
+ export { defineEdgeIndex, defineNodeIndex } from '../chunk-2QNFFAMF.js';
5
5
  import '../chunk-K34OPSJK.js';
6
- import '../chunk-YTYB5KCQ.js';
6
+ import '../chunk-OH7QRGPQ.js';
7
7
  import '../chunk-RZ474NIQ.js';
8
8
  import '../chunk-2EBMPJBO.js';
9
9
  import '../chunk-3MZTAXYX.js';
@@ -1,4 +1,4 @@
1
- import { e as GraphDef } from './types-Blq8PG_N.cjs';
1
+ import { e as GraphDef } from './types-Dky3sCFz.cjs';
2
2
 
3
3
  /**
4
4
  * Private capability bridge from an opaque ingestion branch to interchange.
@@ -1,4 +1,4 @@
1
- import { e as GraphDef } from './types-Blq8PG_N.js';
1
+ import { e as GraphDef } from './types-Dky3sCFz.js';
2
2
 
3
3
  /**
4
4
  * Private capability bridge from an opaque ingestion branch to interchange.
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkFGKWXSHF_cjs = require('../chunk-FGKWXSHF.cjs');
4
- require('../chunk-QR6V2BXA.cjs');
3
+ var chunkXGYUUUHY_cjs = require('../chunk-XGYUUUHY.cjs');
4
+ require('../chunk-26CL47SW.cjs');
5
5
  require('../chunk-BPYZUJX5.cjs');
6
6
  require('../chunk-Y6M5BFRJ.cjs');
7
7
  require('../chunk-GD7IWK36.cjs');
8
8
  require('../chunk-R255UE5U.cjs');
9
9
  require('../chunk-XUCVGEJT.cjs');
10
- require('../chunk-C3CN2C2T.cjs');
10
+ require('../chunk-UOHFBYYH.cjs');
11
11
  require('../chunk-IV5W7LKW.cjs');
12
12
  require('../chunk-WEXAMJTA.cjs');
13
13
  require('../chunk-OGK7F2J3.cjs');
@@ -15,7 +15,7 @@ require('../chunk-EOLNL35G.cjs');
15
15
  require('../chunk-6ODVH5SA.cjs');
16
16
  require('../chunk-FSSQ4YNU.cjs');
17
17
  require('../chunk-NWJV4UVW.cjs');
18
- require('../chunk-4MZQVVPX.cjs');
18
+ require('../chunk-D5CHUSW7.cjs');
19
19
  require('../chunk-BZZ2ZGWE.cjs');
20
20
  require('../chunk-NAUA4PW5.cjs');
21
21
  require('../chunk-4FB7REYC.cjs');
@@ -32,95 +32,95 @@ require('../chunk-BXHAPCQG.cjs');
32
32
 
33
33
  Object.defineProperty(exports, "ConflictStrategySchema", {
34
34
  enumerable: true,
35
- get: function () { return chunkFGKWXSHF_cjs.ConflictStrategySchema; }
35
+ get: function () { return chunkXGYUUUHY_cjs.ConflictStrategySchema; }
36
36
  });
37
37
  Object.defineProperty(exports, "ExportOptionsSchema", {
38
38
  enumerable: true,
39
- get: function () { return chunkFGKWXSHF_cjs.ExportOptionsSchema; }
39
+ get: function () { return chunkXGYUUUHY_cjs.ExportOptionsSchema; }
40
40
  });
41
41
  Object.defineProperty(exports, "ExportStreamOptionsSchema", {
42
42
  enumerable: true,
43
- get: function () { return chunkFGKWXSHF_cjs.ExportStreamOptionsSchema; }
43
+ get: function () { return chunkXGYUUUHY_cjs.ExportStreamOptionsSchema; }
44
44
  });
45
45
  Object.defineProperty(exports, "FORMAT_VERSION", {
46
46
  enumerable: true,
47
- get: function () { return chunkFGKWXSHF_cjs.FORMAT_VERSION; }
47
+ get: function () { return chunkXGYUUUHY_cjs.FORMAT_VERSION; }
48
48
  });
49
49
  Object.defineProperty(exports, "GraphDataHeaderSchema", {
50
50
  enumerable: true,
51
- get: function () { return chunkFGKWXSHF_cjs.GraphDataHeaderSchema; }
51
+ get: function () { return chunkXGYUUUHY_cjs.GraphDataHeaderSchema; }
52
52
  });
53
53
  Object.defineProperty(exports, "GraphDataSchema", {
54
54
  enumerable: true,
55
- get: function () { return chunkFGKWXSHF_cjs.GraphDataSchema; }
55
+ get: function () { return chunkXGYUUUHY_cjs.GraphDataSchema; }
56
56
  });
57
57
  Object.defineProperty(exports, "GraphDataSourceSchema", {
58
58
  enumerable: true,
59
- get: function () { return chunkFGKWXSHF_cjs.GraphDataSourceSchema; }
59
+ get: function () { return chunkXGYUUUHY_cjs.GraphDataSourceSchema; }
60
60
  });
61
61
  Object.defineProperty(exports, "GraphInterchangeChunkSchema", {
62
62
  enumerable: true,
63
- get: function () { return chunkFGKWXSHF_cjs.GraphInterchangeChunkSchema; }
63
+ get: function () { return chunkXGYUUUHY_cjs.GraphInterchangeChunkSchema; }
64
64
  });
65
65
  Object.defineProperty(exports, "IdentityInterchangeModeSchema", {
66
66
  enumerable: true,
67
- get: function () { return chunkFGKWXSHF_cjs.IdentityInterchangeModeSchema; }
67
+ get: function () { return chunkXGYUUUHY_cjs.IdentityInterchangeModeSchema; }
68
68
  });
69
69
  Object.defineProperty(exports, "ImportErrorSchema", {
70
70
  enumerable: true,
71
- get: function () { return chunkFGKWXSHF_cjs.ImportErrorSchema; }
71
+ get: function () { return chunkXGYUUUHY_cjs.ImportErrorSchema; }
72
72
  });
73
73
  Object.defineProperty(exports, "ImportOptionsSchema", {
74
74
  enumerable: true,
75
- get: function () { return chunkFGKWXSHF_cjs.ImportOptionsSchema; }
75
+ get: function () { return chunkXGYUUUHY_cjs.ImportOptionsSchema; }
76
76
  });
77
77
  Object.defineProperty(exports, "ImportResultSchema", {
78
78
  enumerable: true,
79
- get: function () { return chunkFGKWXSHF_cjs.ImportResultSchema; }
79
+ get: function () { return chunkXGYUUUHY_cjs.ImportResultSchema; }
80
80
  });
81
81
  Object.defineProperty(exports, "InterchangeEdgeSchema", {
82
82
  enumerable: true,
83
- get: function () { return chunkFGKWXSHF_cjs.InterchangeEdgeSchema; }
83
+ get: function () { return chunkXGYUUUHY_cjs.InterchangeEdgeSchema; }
84
84
  });
85
85
  Object.defineProperty(exports, "InterchangeIdentityAssertionSchema", {
86
86
  enumerable: true,
87
- get: function () { return chunkFGKWXSHF_cjs.InterchangeIdentityAssertionSchema; }
87
+ get: function () { return chunkXGYUUUHY_cjs.InterchangeIdentityAssertionSchema; }
88
88
  });
89
89
  Object.defineProperty(exports, "InterchangeIdentitySchema", {
90
90
  enumerable: true,
91
- get: function () { return chunkFGKWXSHF_cjs.InterchangeIdentitySchema; }
91
+ get: function () { return chunkXGYUUUHY_cjs.InterchangeIdentitySchema; }
92
92
  });
93
93
  Object.defineProperty(exports, "InterchangeNodeSchema", {
94
94
  enumerable: true,
95
- get: function () { return chunkFGKWXSHF_cjs.InterchangeNodeSchema; }
95
+ get: function () { return chunkXGYUUUHY_cjs.InterchangeNodeSchema; }
96
96
  });
97
97
  Object.defineProperty(exports, "UnknownPropertyStrategySchema", {
98
98
  enumerable: true,
99
- get: function () { return chunkFGKWXSHF_cjs.UnknownPropertyStrategySchema; }
99
+ get: function () { return chunkXGYUUUHY_cjs.UnknownPropertyStrategySchema; }
100
100
  });
101
101
  Object.defineProperty(exports, "exportGraph", {
102
102
  enumerable: true,
103
- get: function () { return chunkFGKWXSHF_cjs.exportGraph; }
103
+ get: function () { return chunkXGYUUUHY_cjs.exportGraph; }
104
104
  });
105
105
  Object.defineProperty(exports, "exportGraphStream", {
106
106
  enumerable: true,
107
- get: function () { return chunkFGKWXSHF_cjs.exportGraphStream; }
107
+ get: function () { return chunkXGYUUUHY_cjs.exportGraphStream; }
108
108
  });
109
109
  Object.defineProperty(exports, "importGraph", {
110
110
  enumerable: true,
111
- get: function () { return chunkFGKWXSHF_cjs.importGraph; }
111
+ get: function () { return chunkXGYUUUHY_cjs.importGraph; }
112
112
  });
113
113
  Object.defineProperty(exports, "importGraphStream", {
114
114
  enumerable: true,
115
- get: function () { return chunkFGKWXSHF_cjs.importGraphStream; }
115
+ get: function () { return chunkXGYUUUHY_cjs.importGraphStream; }
116
116
  });
117
117
  Object.defineProperty(exports, "trustedImportGraph", {
118
118
  enumerable: true,
119
- get: function () { return chunkFGKWXSHF_cjs.trustedImportGraph; }
119
+ get: function () { return chunkXGYUUUHY_cjs.trustedImportGraph; }
120
120
  });
121
121
  Object.defineProperty(exports, "trustedImportGraphStream", {
122
122
  enumerable: true,
123
- get: function () { return chunkFGKWXSHF_cjs.trustedImportGraphStream; }
123
+ get: function () { return chunkXGYUUUHY_cjs.trustedImportGraphStream; }
124
124
  });
125
125
  //# sourceMappingURL=index.cjs.map
126
126
  //# sourceMappingURL=index.cjs.map
@@ -1,10 +1,11 @@
1
- import { e as GraphDef } from '../types-Blq8PG_N.cjs';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Blq8PG_N.cjs';
1
+ import { e as GraphDef } from '../types-Dky3sCFz.cjs';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Dky3sCFz.cjs';
3
+ import { b as Store } from '../store-CvtRQ8Nb.cjs';
4
+ export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-CvtRQ8Nb.cjs';
3
5
  import { z } from 'zod';
4
- import { b as Store } from '../store-CL6uTm_W.cjs';
5
- import { I as IngestionImportTarget } from '../ingestion-import-target-im9wEB00.cjs';
6
- import '../searchable-CZKn12eY.cjs';
7
- import '../resolve-DSUxNIqw.cjs';
6
+ import { I as IngestionImportTarget } from '../ingestion-import-target-BSgJagqI.cjs';
7
+ import '../searchable-BEAN91Ce.cjs';
8
+ import '../resolve-mLksuBg2.cjs';
8
9
 
9
10
  /**
10
11
  * Graph interchange format types.
@@ -1,10 +1,11 @@
1
- import { e as GraphDef } from '../types-Blq8PG_N.js';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Blq8PG_N.js';
1
+ import { e as GraphDef } from '../types-Dky3sCFz.js';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Dky3sCFz.js';
3
+ import { b as Store } from '../store-sLu0hcRm.js';
4
+ export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-sLu0hcRm.js';
3
5
  import { z } from 'zod';
4
- import { b as Store } from '../store-BzmMsCcw.js';
5
- import { I as IngestionImportTarget } from '../ingestion-import-target-SopMSm-T.js';
6
- import '../searchable-CUWWphQI.js';
7
- import '../resolve-DgFSIK99.js';
6
+ import { I as IngestionImportTarget } from '../ingestion-import-target-PNw10V4T.js';
7
+ import '../searchable-Bg2lMPRm.js';
8
+ import '../resolve-BbjZDYTw.js';
8
9
 
9
10
  /**
10
11
  * Graph interchange format types.
@@ -1,11 +1,11 @@
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-5C4OYYDD.js';
2
- import '../chunk-DV24YZHG.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-DZ3ETMXF.js';
2
+ import '../chunk-V3JKR2CN.js';
3
3
  import '../chunk-6BVZHDAZ.js';
4
4
  import '../chunk-AHRNKPEV.js';
5
5
  import '../chunk-IM4X2ZOR.js';
6
6
  import '../chunk-N535PWMA.js';
7
7
  import '../chunk-2DNUADXX.js';
8
- import '../chunk-CVO2ZPW5.js';
8
+ import '../chunk-W4NT4IMI.js';
9
9
  import '../chunk-HWWPL2YL.js';
10
10
  import '../chunk-XWMB3AFN.js';
11
11
  import '../chunk-ZQIDQHDR.js';
@@ -13,7 +13,7 @@ import '../chunk-LI7JGO5B.js';
13
13
  import '../chunk-CYSXF3PS.js';
14
14
  import '../chunk-WUNSJGP6.js';
15
15
  import '../chunk-6TIDSIPH.js';
16
- import '../chunk-YTYB5KCQ.js';
16
+ import '../chunk-OH7QRGPQ.js';
17
17
  import '../chunk-RZ474NIQ.js';
18
18
  import '../chunk-2EBMPJBO.js';
19
19
  import '../chunk-3MZTAXYX.js';
@@ -1,23 +1,23 @@
1
- import { createLocalSqliteBackend } from './chunk-US3BLFWM.js';
1
+ import { createLocalSqliteBackend } from './chunk-7GNPCBS2.js';
2
2
  import './chunk-H4FY6OZK.js';
3
- import { createSqliteTables } from './chunk-OESX3T5K.js';
4
- import './chunk-GTW5YKFV.js';
5
- import { createStoreWithSchema } from './chunk-7JUD57B4.js';
3
+ import { createSqliteTables } from './chunk-TNNDNSNH.js';
4
+ import './chunk-HCNC53MU.js';
5
+ import { createStoreWithSchema } from './chunk-MKQY4ZLZ.js';
6
6
  import './chunk-2AZXVMSX.js';
7
7
  import './chunk-CLGE3366.js';
8
8
  import './chunk-EFTVYPGQ.js';
9
9
  import './chunk-7GZJ36LN.js';
10
10
  import './chunk-VEW3743S.js';
11
- import './chunk-DV24YZHG.js';
11
+ import './chunk-V3JKR2CN.js';
12
12
  import './chunk-6BVZHDAZ.js';
13
13
  import './chunk-AHRNKPEV.js';
14
14
  import './chunk-IM4X2ZOR.js';
15
15
  import './chunk-N535PWMA.js';
16
16
  import './chunk-2DNUADXX.js';
17
- import './chunk-IV3FENV2.js';
17
+ import './chunk-E6PU35DE.js';
18
18
  import './chunk-RFMSZ7CF.js';
19
19
  import './chunk-YXT3CCTR.js';
20
- import './chunk-CVO2ZPW5.js';
20
+ import './chunk-W4NT4IMI.js';
21
21
  import './chunk-HWWPL2YL.js';
22
22
  import './chunk-XWMB3AFN.js';
23
23
  import './chunk-ZQIDQHDR.js';
@@ -25,11 +25,11 @@ import { closeAfterFailure } from './chunk-LI7JGO5B.js';
25
25
  import './chunk-CYSXF3PS.js';
26
26
  import './chunk-WUNSJGP6.js';
27
27
  import './chunk-6TIDSIPH.js';
28
- import './chunk-GK62U3S5.js';
28
+ import './chunk-LOFUF6L7.js';
29
29
  import './chunk-JANTPNIZ.js';
30
- import './chunk-QIKO6DL5.js';
30
+ import './chunk-2QNFFAMF.js';
31
31
  import './chunk-K34OPSJK.js';
32
- import './chunk-YTYB5KCQ.js';
32
+ import './chunk-OH7QRGPQ.js';
33
33
  import './chunk-RZ474NIQ.js';
34
34
  import './chunk-2EBMPJBO.js';
35
35
  import './chunk-3MZTAXYX.js';
@@ -75,5 +75,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
75
75
  }
76
76
 
77
77
  export { createLocalSqliteStoreImpl };
78
- //# sourceMappingURL=local-store-impl-FTGRP2V7.js.map
79
- //# sourceMappingURL=local-store-impl-FTGRP2V7.js.map
78
+ //# sourceMappingURL=local-store-impl-EPUMDNQJ.js.map
79
+ //# sourceMappingURL=local-store-impl-EPUMDNQJ.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-FTGRP2V7.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-EPUMDNQJ.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,25 +1,25 @@
1
1
  'use strict';
2
2
 
3
- var chunkWAG3NVD7_cjs = require('./chunk-WAG3NVD7.cjs');
3
+ var chunkQBQ465OX_cjs = require('./chunk-QBQ465OX.cjs');
4
4
  require('./chunk-QCD5JKU4.cjs');
5
- var chunkSYKR6MVR_cjs = require('./chunk-SYKR6MVR.cjs');
6
- require('./chunk-BMATB57B.cjs');
7
- var chunkFHFPUORN_cjs = require('./chunk-FHFPUORN.cjs');
5
+ var chunkT2M2S5YZ_cjs = require('./chunk-T2M2S5YZ.cjs');
6
+ require('./chunk-KW3ON5IU.cjs');
7
+ var chunkCA76FVJB_cjs = require('./chunk-CA76FVJB.cjs');
8
8
  require('./chunk-PKWAO4NC.cjs');
9
9
  require('./chunk-YB26L7MD.cjs');
10
10
  require('./chunk-7BHUIAZR.cjs');
11
11
  require('./chunk-JFLJVLNU.cjs');
12
12
  require('./chunk-OPEKIWJL.cjs');
13
- require('./chunk-QR6V2BXA.cjs');
13
+ require('./chunk-26CL47SW.cjs');
14
14
  require('./chunk-BPYZUJX5.cjs');
15
15
  require('./chunk-Y6M5BFRJ.cjs');
16
16
  require('./chunk-GD7IWK36.cjs');
17
17
  require('./chunk-R255UE5U.cjs');
18
18
  require('./chunk-XUCVGEJT.cjs');
19
- require('./chunk-U53HFE4L.cjs');
19
+ require('./chunk-2GZL5ED3.cjs');
20
20
  require('./chunk-6YKISECL.cjs');
21
21
  require('./chunk-UVVDQGOY.cjs');
22
- require('./chunk-C3CN2C2T.cjs');
22
+ require('./chunk-UOHFBYYH.cjs');
23
23
  require('./chunk-IV5W7LKW.cjs');
24
24
  require('./chunk-WEXAMJTA.cjs');
25
25
  require('./chunk-OGK7F2J3.cjs');
@@ -27,11 +27,11 @@ var chunkEOLNL35G_cjs = require('./chunk-EOLNL35G.cjs');
27
27
  require('./chunk-6ODVH5SA.cjs');
28
28
  require('./chunk-FSSQ4YNU.cjs');
29
29
  require('./chunk-NWJV4UVW.cjs');
30
- require('./chunk-ZHLWPHNT.cjs');
30
+ require('./chunk-RJ3GVX73.cjs');
31
31
  require('./chunk-GDTWUVSN.cjs');
32
- require('./chunk-CRROO6PK.cjs');
32
+ require('./chunk-QHP2BCBJ.cjs');
33
33
  require('./chunk-ZY4GXIVN.cjs');
34
- require('./chunk-4MZQVVPX.cjs');
34
+ require('./chunk-D5CHUSW7.cjs');
35
35
  require('./chunk-BZZ2ZGWE.cjs');
36
36
  require('./chunk-NAUA4PW5.cjs');
37
37
  require('./chunk-4FB7REYC.cjs');
@@ -54,8 +54,8 @@ function withoutSchemaOverride(schemaManagement) {
54
54
  return rest;
55
55
  }
56
56
  async function createLocalSqliteStoreImpl(graph, options) {
57
- const tables = options.store?.schema === void 0 ? void 0 : chunkSYKR6MVR_cjs.createSqliteTables(options.store.schema.tables);
58
- const { backend } = chunkWAG3NVD7_cjs.createLocalSqliteBackend({
57
+ const tables = options.store?.schema === void 0 ? void 0 : chunkT2M2S5YZ_cjs.createSqliteTables(options.store.schema.tables);
58
+ const { backend } = chunkQBQ465OX_cjs.createLocalSqliteBackend({
59
59
  ...options.path === void 0 ? {} : { path: options.path },
60
60
  ...options.pragmas === void 0 ? {} : { pragmas: options.pragmas },
61
61
  ...options.capabilities === void 0 ? {} : { capabilities: options.capabilities },
@@ -63,7 +63,7 @@ async function createLocalSqliteStoreImpl(graph, options) {
63
63
  ...tables === void 0 ? {} : { tables }
64
64
  });
65
65
  try {
66
- const [store] = await chunkFHFPUORN_cjs.createStoreWithSchema(graph, backend, {
66
+ const [store] = await chunkCA76FVJB_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)
@@ -77,5 +77,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
77
77
  }
78
78
 
79
79
  exports.createLocalSqliteStoreImpl = createLocalSqliteStoreImpl;
80
- //# sourceMappingURL=local-store-impl-ARNXBBSF.cjs.map
81
- //# sourceMappingURL=local-store-impl-ARNXBBSF.cjs.map
80
+ //# sourceMappingURL=local-store-impl-GFBZBCTN.cjs.map
81
+ //# sourceMappingURL=local-store-impl-GFBZBCTN.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-ARNXBBSF.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-GFBZBCTN.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,23 +1,23 @@
1
1
  'use strict';
2
2
 
3
- var chunkTKEJR2UL_cjs = require('./chunk-TKEJR2UL.cjs');
4
- var chunkSYKR6MVR_cjs = require('./chunk-SYKR6MVR.cjs');
5
- require('./chunk-BMATB57B.cjs');
6
- var chunkFHFPUORN_cjs = require('./chunk-FHFPUORN.cjs');
3
+ var chunkDWO6WZP5_cjs = require('./chunk-DWO6WZP5.cjs');
4
+ var chunkT2M2S5YZ_cjs = require('./chunk-T2M2S5YZ.cjs');
5
+ require('./chunk-KW3ON5IU.cjs');
6
+ var chunkCA76FVJB_cjs = require('./chunk-CA76FVJB.cjs');
7
7
  require('./chunk-YB26L7MD.cjs');
8
8
  require('./chunk-7BHUIAZR.cjs');
9
9
  require('./chunk-JFLJVLNU.cjs');
10
10
  require('./chunk-OPEKIWJL.cjs');
11
- require('./chunk-QR6V2BXA.cjs');
11
+ require('./chunk-26CL47SW.cjs');
12
12
  require('./chunk-BPYZUJX5.cjs');
13
13
  require('./chunk-Y6M5BFRJ.cjs');
14
14
  require('./chunk-GD7IWK36.cjs');
15
15
  require('./chunk-R255UE5U.cjs');
16
16
  require('./chunk-XUCVGEJT.cjs');
17
- require('./chunk-U53HFE4L.cjs');
17
+ require('./chunk-2GZL5ED3.cjs');
18
18
  require('./chunk-6YKISECL.cjs');
19
19
  require('./chunk-UVVDQGOY.cjs');
20
- require('./chunk-C3CN2C2T.cjs');
20
+ require('./chunk-UOHFBYYH.cjs');
21
21
  require('./chunk-IV5W7LKW.cjs');
22
22
  require('./chunk-WEXAMJTA.cjs');
23
23
  require('./chunk-OGK7F2J3.cjs');
@@ -25,11 +25,11 @@ var chunkEOLNL35G_cjs = require('./chunk-EOLNL35G.cjs');
25
25
  require('./chunk-6ODVH5SA.cjs');
26
26
  require('./chunk-FSSQ4YNU.cjs');
27
27
  require('./chunk-NWJV4UVW.cjs');
28
- require('./chunk-ZHLWPHNT.cjs');
28
+ require('./chunk-RJ3GVX73.cjs');
29
29
  require('./chunk-GDTWUVSN.cjs');
30
- require('./chunk-CRROO6PK.cjs');
30
+ require('./chunk-QHP2BCBJ.cjs');
31
31
  require('./chunk-ZY4GXIVN.cjs');
32
- require('./chunk-4MZQVVPX.cjs');
32
+ require('./chunk-D5CHUSW7.cjs');
33
33
  require('./chunk-BZZ2ZGWE.cjs');
34
34
  require('./chunk-NAUA4PW5.cjs');
35
35
  require('./chunk-4FB7REYC.cjs');
@@ -52,15 +52,15 @@ function withoutSchemaOverride(schemaManagement) {
52
52
  return rest;
53
53
  }
54
54
  async function createLocalPgliteStoreImpl(graph, options) {
55
- const tables = options.store?.schema === void 0 ? void 0 : chunkSYKR6MVR_cjs.createPostgresTables(options.store.schema.tables);
56
- const { backend } = await chunkTKEJR2UL_cjs.createLocalPgliteBackend({
55
+ const tables = options.store?.schema === void 0 ? void 0 : chunkT2M2S5YZ_cjs.createPostgresTables(options.store.schema.tables);
56
+ const { backend } = await chunkDWO6WZP5_cjs.createLocalPgliteBackend({
57
57
  ...options.dataDir === void 0 ? {} : { dataDir: options.dataDir },
58
58
  ...options.vector === false ? { vector: false } : {},
59
59
  ...options.fulltext === void 0 ? {} : { fulltext: options.fulltext },
60
60
  ...tables === void 0 ? {} : { tables }
61
61
  });
62
62
  try {
63
- const [store] = await chunkFHFPUORN_cjs.createStoreWithSchema(graph, backend, {
63
+ const [store] = await chunkCA76FVJB_cjs.createStoreWithSchema(graph, backend, {
64
64
  ...options.store,
65
65
  // The type already excludes `schema` here; the runtime strip guards
66
66
  // untyped callers, so the provisioned schema (or the default tables)
@@ -74,5 +74,5 @@ async function createLocalPgliteStoreImpl(graph, options) {
74
74
  }
75
75
 
76
76
  exports.createLocalPgliteStoreImpl = createLocalPgliteStoreImpl;
77
- //# sourceMappingURL=pglite-store-impl-CNQZYRBC.cjs.map
78
- //# sourceMappingURL=pglite-store-impl-CNQZYRBC.cjs.map
77
+ //# sourceMappingURL=pglite-store-impl-DB4RRLB7.cjs.map
78
+ //# sourceMappingURL=pglite-store-impl-DB4RRLB7.cjs.map