@nicia-ai/typegraph 0.71.0 → 0.71.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/backend/postgres/pglite-store.cjs +1 -1
  3. package/dist/backend/postgres/pglite-store.js +1 -1
  4. package/dist/backend/sqlite/local-store.cjs +1 -1
  5. package/dist/backend/sqlite/local-store.js +1 -1
  6. package/dist/{chunk-5YUJYIW3.cjs → chunk-D6J4Z423.cjs} +4 -4
  7. package/dist/{chunk-5YUJYIW3.cjs.map → chunk-D6J4Z423.cjs.map} +1 -1
  8. package/dist/{chunk-TKYOWV5U.js → chunk-EPXW4ONY.js} +5 -5
  9. package/dist/{chunk-TKYOWV5U.js.map → chunk-EPXW4ONY.js.map} +1 -1
  10. package/dist/{chunk-B33AHPS7.cjs → chunk-H3ULZVTX.cjs} +3 -3
  11. package/dist/{chunk-B33AHPS7.cjs.map → chunk-H3ULZVTX.cjs.map} +1 -1
  12. package/dist/{chunk-Z3MH5QUR.js → chunk-NMDDGDMQ.js} +3 -3
  13. package/dist/{chunk-Z3MH5QUR.js.map → chunk-NMDDGDMQ.js.map} +1 -1
  14. package/dist/{chunk-2PUJGVJ6.cjs → chunk-Q4MXRK6A.cjs} +9 -9
  15. package/dist/{chunk-2PUJGVJ6.cjs.map → chunk-Q4MXRK6A.cjs.map} +1 -1
  16. package/dist/{chunk-GW2DPIPL.js → chunk-U5RVSIFG.js} +3 -3
  17. package/dist/{chunk-GW2DPIPL.js.map → chunk-U5RVSIFG.js.map} +1 -1
  18. package/dist/{chunk-O64KMVIO.cjs → chunk-VUUIS5C7.cjs} +22 -22
  19. package/dist/{chunk-O64KMVIO.cjs.map → chunk-VUUIS5C7.cjs.map} +1 -1
  20. package/dist/{chunk-O7C44O4P.js → chunk-W2L5N4ES.js} +3 -3
  21. package/dist/{chunk-O7C44O4P.js.map → chunk-W2L5N4ES.js.map} +1 -1
  22. package/dist/{chunk-5E2PKOPM.js → chunk-XTHWIDRM.js} +4 -4
  23. package/dist/{chunk-5E2PKOPM.js.map → chunk-XTHWIDRM.js.map} +1 -1
  24. package/dist/{chunk-TVOQ2DGB.cjs → chunk-XZJDI4OR.cjs} +255 -255
  25. package/dist/{chunk-TVOQ2DGB.cjs.map → chunk-XZJDI4OR.cjs.map} +1 -1
  26. package/dist/{chunk-A7YKBSKQ.cjs → chunk-ZO72TBQE.cjs} +13 -13
  27. package/dist/{chunk-A7YKBSKQ.cjs.map → chunk-ZO72TBQE.cjs.map} +1 -1
  28. package/dist/{chunk-FFGW5GXR.js → chunk-ZX72XWSA.js} +3 -3
  29. package/dist/{chunk-FFGW5GXR.js.map → chunk-ZX72XWSA.js.map} +1 -1
  30. package/dist/graph-merge/index.cjs +31 -31
  31. package/dist/graph-merge/index.js +5 -5
  32. package/dist/index.cjs +52 -52
  33. package/dist/index.js +5 -5
  34. package/dist/interchange/index.cjs +26 -26
  35. package/dist/interchange/index.js +3 -3
  36. package/dist/{local-store-impl-MJR2DXZT.cjs → local-store-impl-VR7YQUMB.cjs} +7 -7
  37. package/dist/{local-store-impl-MJR2DXZT.cjs.map → local-store-impl-VR7YQUMB.cjs.map} +1 -1
  38. package/dist/{local-store-impl-U4MDR2N4.js → local-store-impl-Y3Q5HWSR.js} +6 -6
  39. package/dist/{local-store-impl-U4MDR2N4.js.map → local-store-impl-Y3Q5HWSR.js.map} +1 -1
  40. package/dist/{pglite-store-impl-RTAPLRQO.cjs → pglite-store-impl-NMSOMDPC.cjs} +7 -7
  41. package/dist/{pglite-store-impl-RTAPLRQO.cjs.map → pglite-store-impl-NMSOMDPC.cjs.map} +1 -1
  42. package/dist/{pglite-store-impl-QLLFPNO6.js → pglite-store-impl-QNGEP62P.js} +6 -6
  43. package/dist/{pglite-store-impl-QLLFPNO6.js.map → pglite-store-impl-QNGEP62P.js.map} +1 -1
  44. package/dist/schema/index.cjs +25 -25
  45. package/dist/schema/index.js +3 -3
  46. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { ExecutableAggregateQuery, ExecutableProjectionQuery, ExecutableQuery, ExecutableRelationQuery, MAX_EXPLICIT_RECURSIVE_DEPTH, MAX_RECURSIVE_DEPTH, PreparedQuery, QueryBuilder, RecordedStoreView, StoreAnalysisCursorStaleError, StoreSearch, StoreView, UnionableQuery, avg, composeFragments, count, countDistinct, countDistinctEdges, countEdges, createAdapterStore, createAdapterStoreWithSchema, createFragment, createQueryBuilder, createStore, createStoreWithSchema, createVerifiedAdapterStore, createVerifiedStore, defineSubgraphProject, field, having, havingEq, havingGt, havingGte, havingLt, havingLte, limitFragment, max, min, offsetFragment, orderByFragment, sum } from './chunk-TKYOWV5U.js';
1
+ export { ExecutableAggregateQuery, ExecutableProjectionQuery, ExecutableQuery, ExecutableRelationQuery, MAX_EXPLICIT_RECURSIVE_DEPTH, MAX_RECURSIVE_DEPTH, PreparedQuery, QueryBuilder, RecordedStoreView, StoreAnalysisCursorStaleError, StoreSearch, StoreView, UnionableQuery, avg, composeFragments, count, countDistinct, countDistinctEdges, countEdges, createAdapterStore, createAdapterStoreWithSchema, createFragment, createQueryBuilder, createStore, createStoreWithSchema, createVerifiedAdapterStore, createVerifiedStore, defineSubgraphProject, field, having, havingEq, havingGt, havingGte, havingLt, havingLte, limitFragment, max, min, offsetFragment, orderByFragment, sum } from './chunk-EPXW4ONY.js';
2
2
  export { sqliteVecStrategy } from './chunk-6Z6U3UCU.js';
3
3
  export { libsqlVectorStrategy } from './chunk-FPADNKGZ.js';
4
4
  export { pgvectorStrategy } from './chunk-LWBG4KMV.js';
@@ -6,17 +6,17 @@ export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecord
6
6
  import './chunk-TR2KKEE2.js';
7
7
  import { LEGACY_EMBEDDINGS_TABLE_NAME } from './chunk-DKJ6EUJM.js';
8
8
  export { createExternalRef, externalRef, getExternalRefTable, isExternalRefSchema, metaEdge } from './chunk-6FUUZ7WV.js';
9
- import './chunk-Z3MH5QUR.js';
9
+ import './chunk-NMDDGDMQ.js';
10
10
  import './chunk-QF3JP7JL.js';
11
11
  import './chunk-6HEZFGA2.js';
12
12
  import './chunk-ERBQL3RT.js';
13
13
  import './chunk-N535PWMA.js';
14
14
  import './chunk-MOBZHLQB.js';
15
- export { instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from './chunk-FFGW5GXR.js';
16
- export { getActiveSchema, getCommittedSchemaVersion, isSchemaInitialized } from './chunk-GW2DPIPL.js';
15
+ export { instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from './chunk-ZX72XWSA.js';
16
+ export { getActiveSchema, getCommittedSchemaVersion, isSchemaInitialized } from './chunk-U5RVSIFG.js';
17
17
  import './chunk-RFMSZ7CF.js';
18
18
  export { defineEdge } from './chunk-UJLNQ5A5.js';
19
- import './chunk-O7C44O4P.js';
19
+ import './chunk-W2L5N4ES.js';
20
20
  import { storeRuntime } from './chunk-2HE3UZEM.js';
21
21
  export { compareAndSetAbsent, generateId } from './chunk-2HE3UZEM.js';
22
22
  export { exists, fieldRef, inSubquery, isParameterRef, notExists, notInSubquery, param } from './chunk-6TFLRXRV.js';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkO64KMVIO_cjs = require('../chunk-O64KMVIO.cjs');
4
- require('../chunk-2PUJGVJ6.cjs');
3
+ var chunkVUUIS5C7_cjs = require('../chunk-VUUIS5C7.cjs');
4
+ require('../chunk-Q4MXRK6A.cjs');
5
5
  require('../chunk-RFRKNBIO.cjs');
6
6
  require('../chunk-4DI7FJG6.cjs');
7
7
  require('../chunk-RJHEBE5W.cjs');
8
8
  require('../chunk-R255UE5U.cjs');
9
9
  require('../chunk-AY2X2567.cjs');
10
- require('../chunk-B33AHPS7.cjs');
10
+ require('../chunk-H3ULZVTX.cjs');
11
11
  require('../chunk-QEXVOTI2.cjs');
12
12
  require('../chunk-XFX3Z5R7.cjs');
13
13
  require('../chunk-MYE7SL75.cjs');
@@ -36,95 +36,95 @@ require('../chunk-7XYPLAPL.cjs');
36
36
 
37
37
  Object.defineProperty(exports, "ConflictStrategySchema", {
38
38
  enumerable: true,
39
- get: function () { return chunkO64KMVIO_cjs.ConflictStrategySchema; }
39
+ get: function () { return chunkVUUIS5C7_cjs.ConflictStrategySchema; }
40
40
  });
41
41
  Object.defineProperty(exports, "ExportOptionsSchema", {
42
42
  enumerable: true,
43
- get: function () { return chunkO64KMVIO_cjs.ExportOptionsSchema; }
43
+ get: function () { return chunkVUUIS5C7_cjs.ExportOptionsSchema; }
44
44
  });
45
45
  Object.defineProperty(exports, "ExportStreamOptionsSchema", {
46
46
  enumerable: true,
47
- get: function () { return chunkO64KMVIO_cjs.ExportStreamOptionsSchema; }
47
+ get: function () { return chunkVUUIS5C7_cjs.ExportStreamOptionsSchema; }
48
48
  });
49
49
  Object.defineProperty(exports, "FORMAT_VERSION", {
50
50
  enumerable: true,
51
- get: function () { return chunkO64KMVIO_cjs.FORMAT_VERSION; }
51
+ get: function () { return chunkVUUIS5C7_cjs.FORMAT_VERSION; }
52
52
  });
53
53
  Object.defineProperty(exports, "GraphDataHeaderSchema", {
54
54
  enumerable: true,
55
- get: function () { return chunkO64KMVIO_cjs.GraphDataHeaderSchema; }
55
+ get: function () { return chunkVUUIS5C7_cjs.GraphDataHeaderSchema; }
56
56
  });
57
57
  Object.defineProperty(exports, "GraphDataSchema", {
58
58
  enumerable: true,
59
- get: function () { return chunkO64KMVIO_cjs.GraphDataSchema; }
59
+ get: function () { return chunkVUUIS5C7_cjs.GraphDataSchema; }
60
60
  });
61
61
  Object.defineProperty(exports, "GraphDataSourceSchema", {
62
62
  enumerable: true,
63
- get: function () { return chunkO64KMVIO_cjs.GraphDataSourceSchema; }
63
+ get: function () { return chunkVUUIS5C7_cjs.GraphDataSourceSchema; }
64
64
  });
65
65
  Object.defineProperty(exports, "GraphInterchangeChunkSchema", {
66
66
  enumerable: true,
67
- get: function () { return chunkO64KMVIO_cjs.GraphInterchangeChunkSchema; }
67
+ get: function () { return chunkVUUIS5C7_cjs.GraphInterchangeChunkSchema; }
68
68
  });
69
69
  Object.defineProperty(exports, "IdentityInterchangeModeSchema", {
70
70
  enumerable: true,
71
- get: function () { return chunkO64KMVIO_cjs.IdentityInterchangeModeSchema; }
71
+ get: function () { return chunkVUUIS5C7_cjs.IdentityInterchangeModeSchema; }
72
72
  });
73
73
  Object.defineProperty(exports, "ImportErrorSchema", {
74
74
  enumerable: true,
75
- get: function () { return chunkO64KMVIO_cjs.ImportErrorSchema; }
75
+ get: function () { return chunkVUUIS5C7_cjs.ImportErrorSchema; }
76
76
  });
77
77
  Object.defineProperty(exports, "ImportOptionsSchema", {
78
78
  enumerable: true,
79
- get: function () { return chunkO64KMVIO_cjs.ImportOptionsSchema; }
79
+ get: function () { return chunkVUUIS5C7_cjs.ImportOptionsSchema; }
80
80
  });
81
81
  Object.defineProperty(exports, "ImportResultSchema", {
82
82
  enumerable: true,
83
- get: function () { return chunkO64KMVIO_cjs.ImportResultSchema; }
83
+ get: function () { return chunkVUUIS5C7_cjs.ImportResultSchema; }
84
84
  });
85
85
  Object.defineProperty(exports, "InterchangeEdgeSchema", {
86
86
  enumerable: true,
87
- get: function () { return chunkO64KMVIO_cjs.InterchangeEdgeSchema; }
87
+ get: function () { return chunkVUUIS5C7_cjs.InterchangeEdgeSchema; }
88
88
  });
89
89
  Object.defineProperty(exports, "InterchangeIdentityAssertionSchema", {
90
90
  enumerable: true,
91
- get: function () { return chunkO64KMVIO_cjs.InterchangeIdentityAssertionSchema; }
91
+ get: function () { return chunkVUUIS5C7_cjs.InterchangeIdentityAssertionSchema; }
92
92
  });
93
93
  Object.defineProperty(exports, "InterchangeIdentitySchema", {
94
94
  enumerable: true,
95
- get: function () { return chunkO64KMVIO_cjs.InterchangeIdentitySchema; }
95
+ get: function () { return chunkVUUIS5C7_cjs.InterchangeIdentitySchema; }
96
96
  });
97
97
  Object.defineProperty(exports, "InterchangeNodeSchema", {
98
98
  enumerable: true,
99
- get: function () { return chunkO64KMVIO_cjs.InterchangeNodeSchema; }
99
+ get: function () { return chunkVUUIS5C7_cjs.InterchangeNodeSchema; }
100
100
  });
101
101
  Object.defineProperty(exports, "UnknownPropertyStrategySchema", {
102
102
  enumerable: true,
103
- get: function () { return chunkO64KMVIO_cjs.UnknownPropertyStrategySchema; }
103
+ get: function () { return chunkVUUIS5C7_cjs.UnknownPropertyStrategySchema; }
104
104
  });
105
105
  Object.defineProperty(exports, "exportGraph", {
106
106
  enumerable: true,
107
- get: function () { return chunkO64KMVIO_cjs.exportGraph; }
107
+ get: function () { return chunkVUUIS5C7_cjs.exportGraph; }
108
108
  });
109
109
  Object.defineProperty(exports, "exportGraphStream", {
110
110
  enumerable: true,
111
- get: function () { return chunkO64KMVIO_cjs.exportGraphStream; }
111
+ get: function () { return chunkVUUIS5C7_cjs.exportGraphStream; }
112
112
  });
113
113
  Object.defineProperty(exports, "importGraph", {
114
114
  enumerable: true,
115
- get: function () { return chunkO64KMVIO_cjs.importGraph; }
115
+ get: function () { return chunkVUUIS5C7_cjs.importGraph; }
116
116
  });
117
117
  Object.defineProperty(exports, "importGraphStream", {
118
118
  enumerable: true,
119
- get: function () { return chunkO64KMVIO_cjs.importGraphStream; }
119
+ get: function () { return chunkVUUIS5C7_cjs.importGraphStream; }
120
120
  });
121
121
  Object.defineProperty(exports, "trustedImportGraph", {
122
122
  enumerable: true,
123
- get: function () { return chunkO64KMVIO_cjs.trustedImportGraph; }
123
+ get: function () { return chunkVUUIS5C7_cjs.trustedImportGraph; }
124
124
  });
125
125
  Object.defineProperty(exports, "trustedImportGraphStream", {
126
126
  enumerable: true,
127
- get: function () { return chunkO64KMVIO_cjs.trustedImportGraphStream; }
127
+ get: function () { return chunkVUUIS5C7_cjs.trustedImportGraphStream; }
128
128
  });
129
129
  //# sourceMappingURL=index.cjs.map
130
130
  //# sourceMappingURL=index.cjs.map
@@ -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-5E2PKOPM.js';
2
- import '../chunk-Z3MH5QUR.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-XTHWIDRM.js';
2
+ import '../chunk-NMDDGDMQ.js';
3
3
  import '../chunk-QF3JP7JL.js';
4
4
  import '../chunk-6HEZFGA2.js';
5
5
  import '../chunk-ERBQL3RT.js';
6
6
  import '../chunk-N535PWMA.js';
7
7
  import '../chunk-MOBZHLQB.js';
8
- import '../chunk-O7C44O4P.js';
8
+ import '../chunk-W2L5N4ES.js';
9
9
  import '../chunk-2HE3UZEM.js';
10
10
  import '../chunk-6TFLRXRV.js';
11
11
  import '../chunk-3C4X6DTM.js';
@@ -4,21 +4,21 @@ var chunk37CJVJWG_cjs = require('./chunk-37CJVJWG.cjs');
4
4
  require('./chunk-QCD5JKU4.cjs');
5
5
  var chunkIGF4SQLX_cjs = require('./chunk-IGF4SQLX.cjs');
6
6
  require('./chunk-KYT534K3.cjs');
7
- var chunkTVOQ2DGB_cjs = require('./chunk-TVOQ2DGB.cjs');
7
+ var chunkXZJDI4OR_cjs = require('./chunk-XZJDI4OR.cjs');
8
8
  require('./chunk-6DPKYRAO.cjs');
9
9
  require('./chunk-RQXQ2RK5.cjs');
10
10
  require('./chunk-B5C2V2LN.cjs');
11
11
  require('./chunk-WIV73HDP.cjs');
12
- require('./chunk-2PUJGVJ6.cjs');
12
+ require('./chunk-Q4MXRK6A.cjs');
13
13
  require('./chunk-RFRKNBIO.cjs');
14
14
  require('./chunk-4DI7FJG6.cjs');
15
15
  require('./chunk-RJHEBE5W.cjs');
16
16
  require('./chunk-R255UE5U.cjs');
17
17
  require('./chunk-AY2X2567.cjs');
18
- require('./chunk-A7YKBSKQ.cjs');
18
+ require('./chunk-ZO72TBQE.cjs');
19
19
  require('./chunk-6YKISECL.cjs');
20
20
  require('./chunk-HGIG6XJW.cjs');
21
- require('./chunk-B33AHPS7.cjs');
21
+ require('./chunk-H3ULZVTX.cjs');
22
22
  require('./chunk-QEXVOTI2.cjs');
23
23
  require('./chunk-XFX3Z5R7.cjs');
24
24
  require('./chunk-MYE7SL75.cjs');
@@ -67,7 +67,7 @@ async function createLocalSqliteStoreImpl(graph, options) {
67
67
  ...tables === void 0 ? {} : { tables }
68
68
  });
69
69
  try {
70
- const [store] = await chunkTVOQ2DGB_cjs.createStoreWithSchema(graph, backend, {
70
+ const [store] = await chunkXZJDI4OR_cjs.createStoreWithSchema(graph, backend, {
71
71
  ...options.store,
72
72
  // The type already excludes `schema` here; the runtime strip guards
73
73
  // untyped callers, so the provisioned schema (or the default tables)
@@ -81,5 +81,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
81
81
  }
82
82
 
83
83
  exports.createLocalSqliteStoreImpl = createLocalSqliteStoreImpl;
84
- //# sourceMappingURL=local-store-impl-MJR2DXZT.cjs.map
85
- //# sourceMappingURL=local-store-impl-MJR2DXZT.cjs.map
84
+ //# sourceMappingURL=local-store-impl-VR7YQUMB.cjs.map
85
+ //# sourceMappingURL=local-store-impl-VR7YQUMB.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-MJR2DXZT.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-VR7YQUMB.cjs","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
@@ -2,21 +2,21 @@ import { createLocalSqliteBackend } from './chunk-XAMK2GWB.js';
2
2
  import './chunk-H4FY6OZK.js';
3
3
  import { createSqliteTables } from './chunk-K5UNHOX2.js';
4
4
  import './chunk-QJCNQPKO.js';
5
- import { createStoreWithSchema } from './chunk-TKYOWV5U.js';
5
+ import { createStoreWithSchema } from './chunk-EPXW4ONY.js';
6
6
  import './chunk-6Z6U3UCU.js';
7
7
  import './chunk-LWBG4KMV.js';
8
8
  import './chunk-TR2KKEE2.js';
9
9
  import './chunk-DKJ6EUJM.js';
10
- import './chunk-Z3MH5QUR.js';
10
+ import './chunk-NMDDGDMQ.js';
11
11
  import './chunk-QF3JP7JL.js';
12
12
  import './chunk-6HEZFGA2.js';
13
13
  import './chunk-ERBQL3RT.js';
14
14
  import './chunk-N535PWMA.js';
15
15
  import './chunk-MOBZHLQB.js';
16
- import './chunk-GW2DPIPL.js';
16
+ import './chunk-U5RVSIFG.js';
17
17
  import './chunk-RFMSZ7CF.js';
18
18
  import './chunk-UJLNQ5A5.js';
19
- import './chunk-O7C44O4P.js';
19
+ import './chunk-W2L5N4ES.js';
20
20
  import './chunk-2HE3UZEM.js';
21
21
  import './chunk-6TFLRXRV.js';
22
22
  import './chunk-3C4X6DTM.js';
@@ -79,5 +79,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
79
79
  }
80
80
 
81
81
  export { createLocalSqliteStoreImpl };
82
- //# sourceMappingURL=local-store-impl-U4MDR2N4.js.map
83
- //# sourceMappingURL=local-store-impl-U4MDR2N4.js.map
82
+ //# sourceMappingURL=local-store-impl-Y3Q5HWSR.js.map
83
+ //# sourceMappingURL=local-store-impl-Y3Q5HWSR.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-U4MDR2N4.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-Y3Q5HWSR.js","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
@@ -3,20 +3,20 @@
3
3
  var chunkW55NU2GB_cjs = require('./chunk-W55NU2GB.cjs');
4
4
  var chunkIGF4SQLX_cjs = require('./chunk-IGF4SQLX.cjs');
5
5
  require('./chunk-KYT534K3.cjs');
6
- var chunkTVOQ2DGB_cjs = require('./chunk-TVOQ2DGB.cjs');
6
+ var chunkXZJDI4OR_cjs = require('./chunk-XZJDI4OR.cjs');
7
7
  require('./chunk-RQXQ2RK5.cjs');
8
8
  require('./chunk-B5C2V2LN.cjs');
9
9
  require('./chunk-WIV73HDP.cjs');
10
- require('./chunk-2PUJGVJ6.cjs');
10
+ require('./chunk-Q4MXRK6A.cjs');
11
11
  require('./chunk-RFRKNBIO.cjs');
12
12
  require('./chunk-4DI7FJG6.cjs');
13
13
  require('./chunk-RJHEBE5W.cjs');
14
14
  require('./chunk-R255UE5U.cjs');
15
15
  require('./chunk-AY2X2567.cjs');
16
- require('./chunk-A7YKBSKQ.cjs');
16
+ require('./chunk-ZO72TBQE.cjs');
17
17
  require('./chunk-6YKISECL.cjs');
18
18
  require('./chunk-HGIG6XJW.cjs');
19
- require('./chunk-B33AHPS7.cjs');
19
+ require('./chunk-H3ULZVTX.cjs');
20
20
  require('./chunk-QEXVOTI2.cjs');
21
21
  require('./chunk-XFX3Z5R7.cjs');
22
22
  require('./chunk-MYE7SL75.cjs');
@@ -64,7 +64,7 @@ async function createLocalPgliteStoreImpl(graph, options) {
64
64
  ...tables === void 0 ? {} : { tables }
65
65
  });
66
66
  try {
67
- const [store] = await chunkTVOQ2DGB_cjs.createStoreWithSchema(graph, backend, {
67
+ const [store] = await chunkXZJDI4OR_cjs.createStoreWithSchema(graph, backend, {
68
68
  ...options.store,
69
69
  // The type already excludes `schema` here; the runtime strip guards
70
70
  // untyped callers, so the provisioned schema (or the default tables)
@@ -78,5 +78,5 @@ async function createLocalPgliteStoreImpl(graph, options) {
78
78
  }
79
79
 
80
80
  exports.createLocalPgliteStoreImpl = createLocalPgliteStoreImpl;
81
- //# sourceMappingURL=pglite-store-impl-RTAPLRQO.cjs.map
82
- //# sourceMappingURL=pglite-store-impl-RTAPLRQO.cjs.map
81
+ //# sourceMappingURL=pglite-store-impl-NMSOMDPC.cjs.map
82
+ //# sourceMappingURL=pglite-store-impl-NMSOMDPC.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":["createPostgresTables","createLocalPgliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,sCAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAMC,0CAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store-impl-RTAPLRQO.cjs","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
1
+ {"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":["createPostgresTables","createLocalPgliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,sCAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAMC,0CAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store-impl-NMSOMDPC.cjs","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
@@ -1,20 +1,20 @@
1
1
  import { createLocalPgliteBackend } from './chunk-SQVD2Z3F.js';
2
2
  import { createPostgresTables } from './chunk-K5UNHOX2.js';
3
3
  import './chunk-QJCNQPKO.js';
4
- import { createStoreWithSchema } from './chunk-TKYOWV5U.js';
4
+ import { createStoreWithSchema } from './chunk-EPXW4ONY.js';
5
5
  import './chunk-LWBG4KMV.js';
6
6
  import './chunk-TR2KKEE2.js';
7
7
  import './chunk-DKJ6EUJM.js';
8
- import './chunk-Z3MH5QUR.js';
8
+ import './chunk-NMDDGDMQ.js';
9
9
  import './chunk-QF3JP7JL.js';
10
10
  import './chunk-6HEZFGA2.js';
11
11
  import './chunk-ERBQL3RT.js';
12
12
  import './chunk-N535PWMA.js';
13
13
  import './chunk-MOBZHLQB.js';
14
- import './chunk-GW2DPIPL.js';
14
+ import './chunk-U5RVSIFG.js';
15
15
  import './chunk-RFMSZ7CF.js';
16
16
  import './chunk-UJLNQ5A5.js';
17
- import './chunk-O7C44O4P.js';
17
+ import './chunk-W2L5N4ES.js';
18
18
  import './chunk-2HE3UZEM.js';
19
19
  import './chunk-6TFLRXRV.js';
20
20
  import './chunk-3C4X6DTM.js';
@@ -76,5 +76,5 @@ async function createLocalPgliteStoreImpl(graph, options) {
76
76
  }
77
77
 
78
78
  export { createLocalPgliteStoreImpl };
79
- //# sourceMappingURL=pglite-store-impl-QLLFPNO6.js.map
80
- //# sourceMappingURL=pglite-store-impl-QLLFPNO6.js.map
79
+ //# sourceMappingURL=pglite-store-impl-QNGEP62P.js.map
80
+ //# sourceMappingURL=pglite-store-impl-QNGEP62P.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACA,oBAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAM,wBAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAM,qBAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAO,iBAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store-impl-QLLFPNO6.js","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
1
+ {"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACA,oBAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAM,wBAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAM,qBAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAO,iBAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store-impl-QNGEP62P.js","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunk5YUJYIW3_cjs = require('../chunk-5YUJYIW3.cjs');
4
- var chunkA7YKBSKQ_cjs = require('../chunk-A7YKBSKQ.cjs');
3
+ var chunkD6J4Z423_cjs = require('../chunk-D6J4Z423.cjs');
4
+ var chunkZO72TBQE_cjs = require('../chunk-ZO72TBQE.cjs');
5
5
  require('../chunk-6YKISECL.cjs');
6
6
  require('../chunk-HGIG6XJW.cjs');
7
- require('../chunk-B33AHPS7.cjs');
7
+ require('../chunk-H3ULZVTX.cjs');
8
8
  var chunkQEXVOTI2_cjs = require('../chunk-QEXVOTI2.cjs');
9
9
  require('../chunk-XFX3Z5R7.cjs');
10
10
  require('../chunk-MYE7SL75.cjs');
@@ -38,91 +38,91 @@ require('../chunk-7XYPLAPL.cjs');
38
38
 
39
39
  Object.defineProperty(exports, "deserializeSchema", {
40
40
  enumerable: true,
41
- get: function () { return chunk5YUJYIW3_cjs.deserializeSchema; }
41
+ get: function () { return chunkD6J4Z423_cjs.deserializeSchema; }
42
42
  });
43
43
  Object.defineProperty(exports, "instantiateGraph", {
44
44
  enumerable: true,
45
- get: function () { return chunk5YUJYIW3_cjs.instantiateGraph; }
45
+ get: function () { return chunkD6J4Z423_cjs.instantiateGraph; }
46
46
  });
47
47
  Object.defineProperty(exports, "instantiateGraphTemplate", {
48
48
  enumerable: true,
49
- get: function () { return chunk5YUJYIW3_cjs.instantiateGraphTemplate; }
49
+ get: function () { return chunkD6J4Z423_cjs.instantiateGraphTemplate; }
50
50
  });
51
51
  Object.defineProperty(exports, "registerGraphTemplate", {
52
52
  enumerable: true,
53
- get: function () { return chunk5YUJYIW3_cjs.registerGraphTemplate; }
53
+ get: function () { return chunkD6J4Z423_cjs.registerGraphTemplate; }
54
54
  });
55
55
  Object.defineProperty(exports, "applyDeprecatedKinds", {
56
56
  enumerable: true,
57
- get: function () { return chunkA7YKBSKQ_cjs.applyDeprecatedKinds; }
57
+ get: function () { return chunkZO72TBQE_cjs.applyDeprecatedKinds; }
58
58
  });
59
59
  Object.defineProperty(exports, "assertSchemaCurrent", {
60
60
  enumerable: true,
61
- get: function () { return chunkA7YKBSKQ_cjs.assertSchemaCurrent; }
61
+ get: function () { return chunkZO72TBQE_cjs.assertSchemaCurrent; }
62
62
  });
63
63
  Object.defineProperty(exports, "classifySchemaChanges", {
64
64
  enumerable: true,
65
- get: function () { return chunkA7YKBSKQ_cjs.classifySchemaChanges; }
65
+ get: function () { return chunkZO72TBQE_cjs.classifySchemaChanges; }
66
66
  });
67
67
  Object.defineProperty(exports, "computeSchemaDiff", {
68
68
  enumerable: true,
69
- get: function () { return chunkA7YKBSKQ_cjs.computeSchemaDiff; }
69
+ get: function () { return chunkZO72TBQE_cjs.computeSchemaDiff; }
70
70
  });
71
71
  Object.defineProperty(exports, "ensureSchema", {
72
72
  enumerable: true,
73
- get: function () { return chunkA7YKBSKQ_cjs.ensureSchema; }
73
+ get: function () { return chunkZO72TBQE_cjs.ensureSchema; }
74
74
  });
75
75
  Object.defineProperty(exports, "getActiveSchema", {
76
76
  enumerable: true,
77
- get: function () { return chunkA7YKBSKQ_cjs.getActiveSchema; }
77
+ get: function () { return chunkZO72TBQE_cjs.getActiveSchema; }
78
78
  });
79
79
  Object.defineProperty(exports, "getCommittedSchemaVersion", {
80
80
  enumerable: true,
81
- get: function () { return chunkA7YKBSKQ_cjs.getCommittedSchemaVersion; }
81
+ get: function () { return chunkZO72TBQE_cjs.getCommittedSchemaVersion; }
82
82
  });
83
83
  Object.defineProperty(exports, "getMigrationActions", {
84
84
  enumerable: true,
85
- get: function () { return chunkA7YKBSKQ_cjs.getMigrationActions; }
85
+ get: function () { return chunkZO72TBQE_cjs.getMigrationActions; }
86
86
  });
87
87
  Object.defineProperty(exports, "getSchemaChanges", {
88
88
  enumerable: true,
89
- get: function () { return chunkA7YKBSKQ_cjs.getSchemaChanges; }
89
+ get: function () { return chunkZO72TBQE_cjs.getSchemaChanges; }
90
90
  });
91
91
  Object.defineProperty(exports, "initializeSchema", {
92
92
  enumerable: true,
93
- get: function () { return chunkA7YKBSKQ_cjs.initializeSchema; }
93
+ get: function () { return chunkZO72TBQE_cjs.initializeSchema; }
94
94
  });
95
95
  Object.defineProperty(exports, "isBackwardsCompatible", {
96
96
  enumerable: true,
97
- get: function () { return chunkA7YKBSKQ_cjs.isBackwardsCompatible; }
97
+ get: function () { return chunkZO72TBQE_cjs.isBackwardsCompatible; }
98
98
  });
99
99
  Object.defineProperty(exports, "isSchemaInitialized", {
100
100
  enumerable: true,
101
- get: function () { return chunkA7YKBSKQ_cjs.isSchemaInitialized; }
101
+ get: function () { return chunkZO72TBQE_cjs.isSchemaInitialized; }
102
102
  });
103
103
  Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
104
104
  enumerable: true,
105
- get: function () { return chunkA7YKBSKQ_cjs.loadActiveSchemaWithBootstrap; }
105
+ get: function () { return chunkZO72TBQE_cjs.loadActiveSchemaWithBootstrap; }
106
106
  });
107
107
  Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
108
108
  enumerable: true,
109
- get: function () { return chunkA7YKBSKQ_cjs.loadAndMergeGraphExtensionDocument; }
109
+ get: function () { return chunkZO72TBQE_cjs.loadAndMergeGraphExtensionDocument; }
110
110
  });
111
111
  Object.defineProperty(exports, "migrateSchema", {
112
112
  enumerable: true,
113
- get: function () { return chunkA7YKBSKQ_cjs.migrateSchema; }
113
+ get: function () { return chunkZO72TBQE_cjs.migrateSchema; }
114
114
  });
115
115
  Object.defineProperty(exports, "parseSerializedSchema", {
116
116
  enumerable: true,
117
- get: function () { return chunkA7YKBSKQ_cjs.parseSerializedSchema; }
117
+ get: function () { return chunkZO72TBQE_cjs.parseSerializedSchema; }
118
118
  });
119
119
  Object.defineProperty(exports, "requiresMigration", {
120
120
  enumerable: true,
121
- get: function () { return chunkA7YKBSKQ_cjs.requiresMigration; }
121
+ get: function () { return chunkZO72TBQE_cjs.requiresMigration; }
122
122
  });
123
123
  Object.defineProperty(exports, "rollbackSchema", {
124
124
  enumerable: true,
125
- get: function () { return chunkA7YKBSKQ_cjs.rollbackSchema; }
125
+ get: function () { return chunkZO72TBQE_cjs.rollbackSchema; }
126
126
  });
127
127
  Object.defineProperty(exports, "createValidationError", {
128
128
  enumerable: true,
@@ -1,8 +1,8 @@
1
- export { deserializeSchema, instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from '../chunk-FFGW5GXR.js';
2
- export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema } from '../chunk-GW2DPIPL.js';
1
+ export { deserializeSchema, instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from '../chunk-ZX72XWSA.js';
2
+ export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema } from '../chunk-U5RVSIFG.js';
3
3
  import '../chunk-RFMSZ7CF.js';
4
4
  import '../chunk-UJLNQ5A5.js';
5
- import '../chunk-O7C44O4P.js';
5
+ import '../chunk-W2L5N4ES.js';
6
6
  export { createValidationError, installRevisionChangesJournal, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-2HE3UZEM.js';
7
7
  import '../chunk-6TFLRXRV.js';
8
8
  import '../chunk-3C4X6DTM.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicia-ai/typegraph",
3
- "version": "0.71.0",
3
+ "version": "0.71.1",
4
4
  "description": "TypeScript-first embedded knowledge graph library with ontological reasoning",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",