@nicia-ai/typegraph 0.35.0 → 0.36.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 (116) hide show
  1. package/dist/backend/postgres/index.cjs +19 -19
  2. package/dist/backend/postgres/index.js +6 -6
  3. package/dist/backend/postgres/pglite.cjs +11 -11
  4. package/dist/backend/postgres/pglite.js +6 -6
  5. package/dist/backend/sqlite/index.cjs +9 -9
  6. package/dist/backend/sqlite/index.js +6 -6
  7. package/dist/backend/sqlite/libsql.cjs +8 -8
  8. package/dist/backend/sqlite/libsql.js +6 -6
  9. package/dist/backend/sqlite/local.cjs +16 -16
  10. package/dist/backend/sqlite/local.js +6 -6
  11. package/dist/{chunk-VPYHY3LJ.cjs → chunk-2THZ3TQI.cjs} +11 -11
  12. package/dist/{chunk-VPYHY3LJ.cjs.map → chunk-2THZ3TQI.cjs.map} +1 -1
  13. package/dist/{chunk-EM3CWPND.cjs → chunk-456Z2U7Y.cjs} +51 -51
  14. package/dist/{chunk-EM3CWPND.cjs.map → chunk-456Z2U7Y.cjs.map} +1 -1
  15. package/dist/{chunk-GSQ6NPH6.cjs → chunk-4BCU6VFZ.cjs} +7 -7
  16. package/dist/{chunk-GSQ6NPH6.cjs.map → chunk-4BCU6VFZ.cjs.map} +1 -1
  17. package/dist/chunk-4BMPGT35.cjs +12 -0
  18. package/dist/{chunk-GUR2FNB5.cjs.map → chunk-4BMPGT35.cjs.map} +1 -1
  19. package/dist/{chunk-WJT7OU7E.cjs → chunk-4CAXEB2F.cjs} +124 -92
  20. package/dist/chunk-4CAXEB2F.cjs.map +1 -0
  21. package/dist/{chunk-WDBCBWC4.js → chunk-4GX2JJXS.js} +6 -6
  22. package/dist/{chunk-WDBCBWC4.js.map → chunk-4GX2JJXS.js.map} +1 -1
  23. package/dist/{chunk-UES55P7G.js → chunk-5DIPR3L3.js} +284 -154
  24. package/dist/chunk-5DIPR3L3.js.map +1 -0
  25. package/dist/{chunk-CZQ3FO2Q.js → chunk-5VTR2F2K.js} +49 -16
  26. package/dist/chunk-5VTR2F2K.js.map +1 -0
  27. package/dist/{chunk-CTTSDJLY.cjs → chunk-5W4L6DLF.cjs} +11 -11
  28. package/dist/{chunk-CTTSDJLY.cjs.map → chunk-5W4L6DLF.cjs.map} +1 -1
  29. package/dist/{chunk-J7WFGBJR.cjs → chunk-7BQLPXK6.cjs} +865 -735
  30. package/dist/chunk-7BQLPXK6.cjs.map +1 -0
  31. package/dist/{chunk-3TWF3SH4.js → chunk-BJVEU3ZL.js} +7 -7
  32. package/dist/{chunk-3TWF3SH4.js.map → chunk-BJVEU3ZL.js.map} +1 -1
  33. package/dist/{chunk-LGEALRC6.cjs → chunk-DIK74MXX.cjs} +18 -2
  34. package/dist/chunk-DIK74MXX.cjs.map +1 -0
  35. package/dist/{chunk-QNKSQTKQ.js → chunk-DN5VP4JC.js} +48 -17
  36. package/dist/chunk-DN5VP4JC.js.map +1 -0
  37. package/dist/{chunk-4JEZZJ6S.cjs → chunk-HW3LW7DH.cjs} +39 -39
  38. package/dist/{chunk-4JEZZJ6S.cjs.map → chunk-HW3LW7DH.cjs.map} +1 -1
  39. package/dist/{chunk-JBTOYDMN.js → chunk-IU46OHVW.js} +4 -4
  40. package/dist/{chunk-JBTOYDMN.js.map → chunk-IU46OHVW.js.map} +1 -1
  41. package/dist/{chunk-FL472AMI.cjs → chunk-J3LEGNQB.cjs} +8 -8
  42. package/dist/{chunk-FL472AMI.cjs.map → chunk-J3LEGNQB.cjs.map} +1 -1
  43. package/dist/{chunk-O7UN7OXA.cjs → chunk-JFMEONLG.cjs} +80 -80
  44. package/dist/{chunk-O7UN7OXA.cjs.map → chunk-JFMEONLG.cjs.map} +1 -1
  45. package/dist/{chunk-I7ZUZKFD.js → chunk-JFUPDJXD.js} +3 -3
  46. package/dist/{chunk-I7ZUZKFD.js.map → chunk-JFUPDJXD.js.map} +1 -1
  47. package/dist/{chunk-K3PPLHY7.js → chunk-M75SUBFG.js} +7 -7
  48. package/dist/{chunk-K3PPLHY7.js.map → chunk-M75SUBFG.js.map} +1 -1
  49. package/dist/{chunk-CK5BVQOW.cjs → chunk-PWGX5DF5.cjs} +79 -79
  50. package/dist/{chunk-CK5BVQOW.cjs.map → chunk-PWGX5DF5.cjs.map} +1 -1
  51. package/dist/{chunk-KMI7LYAF.js → chunk-PZKNKG5M.js} +8 -8
  52. package/dist/{chunk-KMI7LYAF.js.map → chunk-PZKNKG5M.js.map} +1 -1
  53. package/dist/{chunk-55MZDDZV.js → chunk-RAXU3RMB.js} +4 -4
  54. package/dist/{chunk-55MZDDZV.js.map → chunk-RAXU3RMB.js.map} +1 -1
  55. package/dist/{chunk-BLZDPRXT.cjs → chunk-RSSQKPSZ.cjs} +5 -5
  56. package/dist/{chunk-BLZDPRXT.cjs.map → chunk-RSSQKPSZ.cjs.map} +1 -1
  57. package/dist/{chunk-RGPG7EOJ.js → chunk-S5F7ZLP2.js} +3 -3
  58. package/dist/{chunk-RGPG7EOJ.js.map → chunk-S5F7ZLP2.js.map} +1 -1
  59. package/dist/{chunk-QWEUYILR.js → chunk-SKCOUWAX.js} +3 -3
  60. package/dist/{chunk-QWEUYILR.js.map → chunk-SKCOUWAX.js.map} +1 -1
  61. package/dist/{chunk-QOTI55H7.js → chunk-SXGE7ITL.js} +4 -4
  62. package/dist/{chunk-QOTI55H7.js.map → chunk-SXGE7ITL.js.map} +1 -1
  63. package/dist/{chunk-RGP33ZJ5.js → chunk-VQEXF5D4.js} +7 -7
  64. package/dist/{chunk-RGP33ZJ5.js.map → chunk-VQEXF5D4.js.map} +1 -1
  65. package/dist/{chunk-MP2JQKSG.js → chunk-WI7ISNQF.js} +17 -3
  66. package/dist/chunk-WI7ISNQF.js.map +1 -0
  67. package/dist/{chunk-4TOD4LBZ.cjs → chunk-X4JBT642.cjs} +29 -29
  68. package/dist/{chunk-4TOD4LBZ.cjs.map → chunk-X4JBT642.cjs.map} +1 -1
  69. package/dist/{chunk-EMF62TZG.cjs → chunk-ZAMFOJ5P.cjs} +86 -86
  70. package/dist/{chunk-EMF62TZG.cjs.map → chunk-ZAMFOJ5P.cjs.map} +1 -1
  71. package/dist/{chunk-VSPCZAXF.js → chunk-ZIGXMKQQ.js} +3 -3
  72. package/dist/{chunk-VSPCZAXF.js.map → chunk-ZIGXMKQQ.js.map} +1 -1
  73. package/dist/{chunk-XOX22WHL.cjs → chunk-ZUNQ5BEP.cjs} +104 -71
  74. package/dist/chunk-ZUNQ5BEP.cjs.map +1 -0
  75. package/dist/graph-extension/index.cjs +19 -19
  76. package/dist/graph-extension/index.d.cts +1 -1
  77. package/dist/graph-extension/index.d.ts +1 -1
  78. package/dist/graph-extension/index.js +4 -4
  79. package/dist/graph-merge/index.cjs +82 -82
  80. package/dist/graph-merge/index.cjs.map +1 -1
  81. package/dist/graph-merge/index.d.cts +2 -2
  82. package/dist/graph-merge/index.d.ts +2 -2
  83. package/dist/graph-merge/index.js +13 -13
  84. package/dist/graph-merge/index.js.map +1 -1
  85. package/dist/{index-6CSUAq-x.d.ts → index-BFvdmBPV.d.ts} +68 -1
  86. package/dist/{index-Bks_3HHK.d.cts → index-BLtQWKRj.d.cts} +68 -1
  87. package/dist/index.cjs +144 -136
  88. package/dist/index.d.cts +3 -3
  89. package/dist/index.d.ts +3 -3
  90. package/dist/index.js +14 -14
  91. package/dist/interchange/index.cjs +27 -26
  92. package/dist/interchange/index.d.cts +1 -1
  93. package/dist/interchange/index.d.ts +1 -1
  94. package/dist/interchange/index.js +9 -8
  95. package/dist/profiler/index.d.cts +1 -1
  96. package/dist/profiler/index.d.ts +1 -1
  97. package/dist/provenance/index.cjs +31 -31
  98. package/dist/provenance/index.d.cts +1 -1
  99. package/dist/provenance/index.d.ts +1 -1
  100. package/dist/provenance/index.js +4 -4
  101. package/dist/schema/index.cjs +31 -31
  102. package/dist/schema/index.d.cts +1 -1
  103. package/dist/schema/index.d.ts +1 -1
  104. package/dist/schema/index.js +7 -7
  105. package/dist/{store-view-BSpqvAxK.d.cts → store-view-9KDOpZzF.d.cts} +250 -36
  106. package/dist/{store-view-CKbHFRnn.d.ts → store-view-DplHC3Nt.d.ts} +250 -36
  107. package/package.json +1 -1
  108. package/dist/chunk-CZQ3FO2Q.js.map +0 -1
  109. package/dist/chunk-GUR2FNB5.cjs +0 -12
  110. package/dist/chunk-J7WFGBJR.cjs.map +0 -1
  111. package/dist/chunk-LGEALRC6.cjs.map +0 -1
  112. package/dist/chunk-MP2JQKSG.js.map +0 -1
  113. package/dist/chunk-QNKSQTKQ.js.map +0 -1
  114. package/dist/chunk-UES55P7G.js.map +0 -1
  115. package/dist/chunk-WJT7OU7E.cjs.map +0 -1
  116. package/dist/chunk-XOX22WHL.cjs.map +0 -1
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkEM3CWPND_cjs = require('./chunk-EM3CWPND.cjs');
3
+ var chunk456Z2U7Y_cjs = require('./chunk-456Z2U7Y.cjs');
4
4
  var chunkTCOCYN2P_cjs = require('./chunk-TCOCYN2P.cjs');
5
- var chunkCTTSDJLY_cjs = require('./chunk-CTTSDJLY.cjs');
5
+ var chunk5W4L6DLF_cjs = require('./chunk-5W4L6DLF.cjs');
6
6
  var chunkD7ZEOS56_cjs = require('./chunk-D7ZEOS56.cjs');
7
7
  var chunkEOLERH7Y_cjs = require('./chunk-EOLERH7Y.cjs');
8
- var chunk4TOD4LBZ_cjs = require('./chunk-4TOD4LBZ.cjs');
9
- var chunkBLZDPRXT_cjs = require('./chunk-BLZDPRXT.cjs');
10
- var chunkLGEALRC6_cjs = require('./chunk-LGEALRC6.cjs');
8
+ var chunkX4JBT642_cjs = require('./chunk-X4JBT642.cjs');
9
+ var chunkRSSQKPSZ_cjs = require('./chunk-RSSQKPSZ.cjs');
10
+ var chunkDIK74MXX_cjs = require('./chunk-DIK74MXX.cjs');
11
11
  var drizzleOrm = require('drizzle-orm');
12
12
  var pgCore = require('drizzle-orm/pg-core');
13
13
 
@@ -36,7 +36,7 @@ var DEFAULT_POSTGRES_STATEMENT_CACHE_MAX = 256;
36
36
  var STATEMENT_NAME_CACHE = /* @__PURE__ */ new Map();
37
37
  var nextStatementId = 0;
38
38
  function statementNameFor(sqlText, cacheMax) {
39
- return chunkEM3CWPND_cjs.getOrCreateLru(STATEMENT_NAME_CACHE, sqlText, cacheMax, () => {
39
+ return chunk456Z2U7Y_cjs.getOrCreateLru(STATEMENT_NAME_CACHE, sqlText, cacheMax, () => {
40
40
  const name = `tg_${nextStatementId}`;
41
41
  nextStatementId += 1;
42
42
  return name;
@@ -141,7 +141,7 @@ function createPostgresExecutionAdapter(db, options = {}) {
141
141
  const cacheMax = options.preparedStatementCacheMax ?? DEFAULT_POSTGRES_STATEMENT_CACHE_MAX;
142
142
  const pgClient = resolvePgClient(db, prepareStatements, cacheMax);
143
143
  function compile(query) {
144
- return chunkEM3CWPND_cjs.compileQueryWithDialect(db, query, "PostgreSQL");
144
+ return chunk456Z2U7Y_cjs.compileQueryWithDialect(db, query, "PostgreSQL");
145
145
  }
146
146
  if (pgClient === void 0) {
147
147
  return {
@@ -187,7 +187,7 @@ function createStatementQueue() {
187
187
  let closed = false;
188
188
  return {
189
189
  enqueue(task) {
190
- if (closed) return Promise.reject(new chunkLGEALRC6_cjs.TransactionClosedError());
190
+ if (closed) return Promise.reject(new chunkDIK74MXX_cjs.TransactionClosedError());
191
191
  const result = tail.then(() => task());
192
192
  tail = result.then(ignoreOutcome, ignoreOutcome);
193
193
  return result;
@@ -235,58 +235,58 @@ var NODE_INSERT_PARAM_COUNT = 9;
235
235
  var EDGE_INSERT_PARAM_COUNT = 12;
236
236
  var POSTGRES_NODE_INSERT_BATCH_SIZE = Math.max(
237
237
  1,
238
- Math.floor(chunk4TOD4LBZ_cjs.POSTGRES_MAX_BIND_PARAMETERS / NODE_INSERT_PARAM_COUNT)
238
+ Math.floor(chunkX4JBT642_cjs.POSTGRES_MAX_BIND_PARAMETERS / NODE_INSERT_PARAM_COUNT)
239
239
  );
240
240
  var POSTGRES_EDGE_INSERT_BATCH_SIZE = Math.max(
241
241
  1,
242
- Math.floor(chunk4TOD4LBZ_cjs.POSTGRES_MAX_BIND_PARAMETERS / EDGE_INSERT_PARAM_COUNT)
242
+ Math.floor(chunkX4JBT642_cjs.POSTGRES_MAX_BIND_PARAMETERS / EDGE_INSERT_PARAM_COUNT)
243
243
  );
244
244
  var POSTGRES_GET_NODES_ID_CHUNK_SIZE = Math.max(
245
245
  1,
246
- chunk4TOD4LBZ_cjs.POSTGRES_MAX_BIND_PARAMETERS - 2
246
+ chunkX4JBT642_cjs.POSTGRES_MAX_BIND_PARAMETERS - 2
247
247
  );
248
248
  var POSTGRES_GET_EDGES_ID_CHUNK_SIZE = Math.max(
249
249
  1,
250
- chunk4TOD4LBZ_cjs.POSTGRES_MAX_BIND_PARAMETERS - 1
250
+ chunkX4JBT642_cjs.POSTGRES_MAX_BIND_PARAMETERS - 1
251
251
  );
252
252
  var FULLTEXT_UPSERT_PARAM_COUNT = 6;
253
253
  var FULLTEXT_DELETE_FIXED_PARAM_COUNT = 2;
254
254
  var POSTGRES_FULLTEXT_UPSERT_BATCH_SIZE = Math.max(
255
255
  1,
256
- Math.floor(chunk4TOD4LBZ_cjs.POSTGRES_MAX_BIND_PARAMETERS / FULLTEXT_UPSERT_PARAM_COUNT)
256
+ Math.floor(chunkX4JBT642_cjs.POSTGRES_MAX_BIND_PARAMETERS / FULLTEXT_UPSERT_PARAM_COUNT)
257
257
  );
258
258
  var POSTGRES_FULLTEXT_DELETE_CHUNK_SIZE = Math.max(
259
259
  1,
260
- chunk4TOD4LBZ_cjs.POSTGRES_MAX_BIND_PARAMETERS - FULLTEXT_DELETE_FIXED_PARAM_COUNT
260
+ chunkX4JBT642_cjs.POSTGRES_MAX_BIND_PARAMETERS - FULLTEXT_DELETE_FIXED_PARAM_COUNT
261
261
  );
262
262
  var CHECK_UNIQUE_BATCH_FIXED_PARAM_COUNT = 3;
263
263
  var POSTGRES_CHECK_UNIQUE_BATCH_CHUNK_SIZE = Math.max(
264
264
  1,
265
- chunk4TOD4LBZ_cjs.POSTGRES_MAX_BIND_PARAMETERS - CHECK_UNIQUE_BATCH_FIXED_PARAM_COUNT
265
+ chunkX4JBT642_cjs.POSTGRES_MAX_BIND_PARAMETERS - CHECK_UNIQUE_BATCH_FIXED_PARAM_COUNT
266
266
  );
267
267
  var UNIQUE_INSERT_PARAM_COUNT = 6;
268
268
  var POSTGRES_UNIQUE_INSERT_BATCH_SIZE = Math.max(
269
269
  1,
270
- Math.floor(chunk4TOD4LBZ_cjs.POSTGRES_MAX_BIND_PARAMETERS / UNIQUE_INSERT_PARAM_COUNT)
270
+ Math.floor(chunkX4JBT642_cjs.POSTGRES_MAX_BIND_PARAMETERS / UNIQUE_INSERT_PARAM_COUNT)
271
271
  );
272
- var toNodeRow = chunkCTTSDJLY_cjs.createNodeRowMapper(chunkCTTSDJLY_cjs.POSTGRES_ROW_MAPPER_CONFIG);
273
- var toEdgeRow = chunkCTTSDJLY_cjs.createEdgeRowMapper(chunkCTTSDJLY_cjs.POSTGRES_ROW_MAPPER_CONFIG);
274
- var toUniqueRow = chunkCTTSDJLY_cjs.createUniqueRowMapper(chunkCTTSDJLY_cjs.POSTGRES_ROW_MAPPER_CONFIG);
275
- var toSchemaVersionRow = chunkCTTSDJLY_cjs.createSchemaVersionRowMapper(
276
- chunkCTTSDJLY_cjs.POSTGRES_ROW_MAPPER_CONFIG
272
+ var toNodeRow = chunk5W4L6DLF_cjs.createNodeRowMapper(chunk5W4L6DLF_cjs.POSTGRES_ROW_MAPPER_CONFIG);
273
+ var toEdgeRow = chunk5W4L6DLF_cjs.createEdgeRowMapper(chunk5W4L6DLF_cjs.POSTGRES_ROW_MAPPER_CONFIG);
274
+ var toUniqueRow = chunk5W4L6DLF_cjs.createUniqueRowMapper(chunk5W4L6DLF_cjs.POSTGRES_ROW_MAPPER_CONFIG);
275
+ var toSchemaVersionRow = chunk5W4L6DLF_cjs.createSchemaVersionRowMapper(
276
+ chunk5W4L6DLF_cjs.POSTGRES_ROW_MAPPER_CONFIG
277
277
  );
278
278
  function buildPostgresCapabilities(fulltextStrategy, vectorStrategy) {
279
279
  return {
280
- ...chunk4TOD4LBZ_cjs.POSTGRES_CAPABILITIES,
280
+ ...chunkX4JBT642_cjs.POSTGRES_CAPABILITIES,
281
281
  ...vectorStrategy === void 0 ? {} : { vector: chunkD7ZEOS56_cjs.buildVectorCapabilities(vectorStrategy) },
282
282
  fulltext: chunkD7ZEOS56_cjs.buildFulltextCapabilities(fulltextStrategy)
283
283
  };
284
284
  }
285
285
  function createPostgresBackend(db, options = {}) {
286
- const tables2 = options.tables ?? chunkEM3CWPND_cjs.tables;
286
+ const tables2 = options.tables ?? chunk456Z2U7Y_cjs.tables;
287
287
  const fulltextStrategy = options.fulltext ?? chunkD7ZEOS56_cjs.tsvectorStrategy;
288
288
  const vectorStrategy = options.vector === false ? void 0 : options.vector ?? chunkTCOCYN2P_cjs.pgvectorStrategy;
289
- const vectorSlotLatch = vectorStrategy === void 0 ? void 0 : chunkEM3CWPND_cjs.createVectorSlotLatch();
289
+ const vectorSlotLatch = vectorStrategy === void 0 ? void 0 : chunk456Z2U7Y_cjs.createVectorSlotLatch();
290
290
  const iterativeScanProbe = createIterativeScanProbe();
291
291
  const baseCapabilities = buildPostgresCapabilities(
292
292
  fulltextStrategy,
@@ -318,13 +318,13 @@ function createPostgresBackend(db, options = {}) {
318
318
  tableNames.edges,
319
319
  drizzleOrm.getTableName(tables2.uniques),
320
320
  tableNames.fulltext
321
- ].map((name) => drizzleOrm.sql`ANALYZE (SKIP_LOCKED) ${chunkCTTSDJLY_cjs.quoteIdentifier(name)}`);
321
+ ].map((name) => drizzleOrm.sql`ANALYZE (SKIP_LOCKED) ${chunk5W4L6DLF_cjs.quoteIdentifier(name)}`);
322
322
  const recordedAnalyzeTables = [
323
323
  tableNames.recordedNodes,
324
324
  tableNames.recordedEdges,
325
325
  tableNames.recordedClock
326
326
  ];
327
- const operationStrategy = chunkEM3CWPND_cjs.createPostgresOperationStrategy(
327
+ const operationStrategy = chunk456Z2U7Y_cjs.createPostgresOperationStrategy(
328
328
  tables2,
329
329
  fulltextStrategy
330
330
  );
@@ -340,7 +340,7 @@ function createPostgresBackend(db, options = {}) {
340
340
  vectorSlotLatch,
341
341
  iterativeScanProbe
342
342
  });
343
- const recordedTableExists = chunkEM3CWPND_cjs.createCachedTableExistence(
343
+ const recordedTableExists = chunk456Z2U7Y_cjs.createCachedTableExistence(
344
344
  async (tableName) => {
345
345
  const rows = await executionAdapter.execute(
346
346
  operationStrategy.buildTableExists(tableName)
@@ -351,7 +351,7 @@ function createPostgresBackend(db, options = {}) {
351
351
  );
352
352
  function runSchemaWriteTransaction(graphId, fn) {
353
353
  if (!capabilities.transactions) {
354
- throw new chunkLGEALRC6_cjs.ConfigurationError(
354
+ throw new chunkDIK74MXX_cjs.ConfigurationError(
355
355
  "commitSchemaVersion and setActiveVersion require atomic transactions, but this Postgres backend does not provide them. The drizzle-orm/neon-http driver communicates over HTTP and cannot hold a session across statements; use drizzle-orm/neon-serverless (websocket) for transactional writes.",
356
356
  {
357
357
  backend: "postgres",
@@ -381,7 +381,7 @@ function createPostgresBackend(db, options = {}) {
381
381
  }
382
382
  const matTable = tables2.contributionMaterializations;
383
383
  async function ensureContributionMaterializationsTableImpl() {
384
- await db.execute(drizzleOrm.sql.raw(chunkEM3CWPND_cjs.generatePgCreateTableSQL(matTable)));
384
+ await db.execute(drizzleOrm.sql.raw(chunk456Z2U7Y_cjs.generatePgCreateTableSQL(matTable)));
385
385
  }
386
386
  async function getContributionMaterializationRow(identity) {
387
387
  const rows = await db.select().from(matTable).where(
@@ -394,16 +394,16 @@ function createPostgresBackend(db, options = {}) {
394
394
  );
395
395
  const row = rows[0];
396
396
  if (row === void 0) return void 0;
397
- return chunkEM3CWPND_cjs.mapContributionMaterializationRow(
397
+ return chunk456Z2U7Y_cjs.mapContributionMaterializationRow(
398
398
  row,
399
- chunkEM3CWPND_cjs.POSTGRES_CONTRIBUTION_MAT_TIMESTAMPS.decode
399
+ chunk456Z2U7Y_cjs.POSTGRES_CONTRIBUTION_MAT_TIMESTAMPS.decode
400
400
  );
401
401
  }
402
402
  async function recordContributionMaterializationRow(params) {
403
403
  await db.insert(matTable).values(
404
- chunkEM3CWPND_cjs.buildContributionInsertValues(
404
+ chunk456Z2U7Y_cjs.buildContributionInsertValues(
405
405
  params,
406
- chunkEM3CWPND_cjs.POSTGRES_CONTRIBUTION_MAT_TIMESTAMPS.encode
406
+ chunk456Z2U7Y_cjs.POSTGRES_CONTRIBUTION_MAT_TIMESTAMPS.encode
407
407
  )
408
408
  ).onConflictDoUpdate({
409
409
  target: [
@@ -412,13 +412,13 @@ function createPostgresBackend(db, options = {}) {
412
412
  matTable.owner,
413
413
  matTable.tableName
414
414
  ],
415
- set: chunkEM3CWPND_cjs.buildContributionOnConflictSet(
415
+ set: chunk456Z2U7Y_cjs.buildContributionOnConflictSet(
416
416
  matTable.materializedAt,
417
417
  params.materializedAt
418
418
  )
419
419
  });
420
420
  }
421
- const contributionMaterializer = chunkEM3CWPND_cjs.createContributionMaterializer({
421
+ const contributionMaterializer = chunk456Z2U7Y_cjs.createContributionMaterializer({
422
422
  dialect: "postgres",
423
423
  fulltextStrategy,
424
424
  fulltextTableName: tables2.fulltextTableName,
@@ -441,7 +441,7 @@ function createPostgresBackend(db, options = {}) {
441
441
  iterativeScanProbe
442
442
  });
443
443
  return {
444
- backend: chunkEM3CWPND_cjs.gateFulltext(
444
+ backend: chunk456Z2U7Y_cjs.gateFulltext(
445
445
  backend2,
446
446
  contributionMaterializer.assertInitialized
447
447
  ),
@@ -451,14 +451,14 @@ function createPostgresBackend(db, options = {}) {
451
451
  const backend = {
452
452
  ...operations,
453
453
  async bootstrapTables() {
454
- const statements = chunkEM3CWPND_cjs.generatePostgresDDL(tables2, fulltextStrategy);
454
+ const statements = chunk456Z2U7Y_cjs.generatePostgresDDL(tables2, fulltextStrategy);
455
455
  for (const statement of statements) {
456
456
  await db.execute(drizzleOrm.sql.raw(statement));
457
457
  }
458
458
  },
459
459
  async ensureRevisionOriginsTable() {
460
460
  await db.execute(
461
- drizzleOrm.sql.raw(chunkEM3CWPND_cjs.generatePgCreateTableSQL(tables2.revisionOrigins))
461
+ drizzleOrm.sql.raw(chunk456Z2U7Y_cjs.generatePgCreateTableSQL(tables2.revisionOrigins))
462
462
  );
463
463
  },
464
464
  // Every fulltext-touching method asserts the durable marker instead
@@ -466,7 +466,7 @@ function createPostgresBackend(db, options = {}) {
466
466
  // uninitialized database throws `StoreNotInitializedError` loudly
467
467
  // rather than self-healing on a read/write path (#135). Shared
468
468
  // verbatim with the tx-scoped gate via `gateFulltextMethods`.
469
- ...chunkEM3CWPND_cjs.gateFulltextMethods(
469
+ ...chunk456Z2U7Y_cjs.gateFulltextMethods(
470
470
  operations,
471
471
  contributionMaterializer.assertInitialized
472
472
  ),
@@ -475,7 +475,7 @@ function createPostgresBackend(db, options = {}) {
475
475
  },
476
476
  async ensureIndexMaterializationsTable() {
477
477
  await db.execute(
478
- drizzleOrm.sql.raw(chunkEM3CWPND_cjs.generatePgCreateTableSQL(tables2.indexMaterializations))
478
+ drizzleOrm.sql.raw(chunk456Z2U7Y_cjs.generatePgCreateTableSQL(tables2.indexMaterializations))
479
479
  );
480
480
  const tableName = drizzleOrm.getTableName(tables2.indexMaterializations);
481
481
  await db.execute(
@@ -527,26 +527,26 @@ function createPostgresBackend(db, options = {}) {
527
527
  const rows = await db.select().from(t).where(drizzleOrm.eq(t.indexName, indexName));
528
528
  const row = rows[0];
529
529
  if (row === void 0) return void 0;
530
- return chunkEM3CWPND_cjs.mapMaterializationRow(row, chunkEM3CWPND_cjs.POSTGRES_INDEX_MAT_TIMESTAMPS.decode);
530
+ return chunk456Z2U7Y_cjs.mapMaterializationRow(row, chunk456Z2U7Y_cjs.POSTGRES_INDEX_MAT_TIMESTAMPS.decode);
531
531
  },
532
532
  async getIndexMaterializations(statusKeys) {
533
533
  if (statusKeys.length === 0) return [];
534
534
  const t = tables2.indexMaterializations;
535
535
  const rows = await db.select().from(t).where(drizzleOrm.inArray(t.indexName, [...statusKeys]));
536
536
  return rows.map(
537
- (row) => chunkEM3CWPND_cjs.mapMaterializationRow(row, chunkEM3CWPND_cjs.POSTGRES_INDEX_MAT_TIMESTAMPS.decode)
537
+ (row) => chunk456Z2U7Y_cjs.mapMaterializationRow(row, chunk456Z2U7Y_cjs.POSTGRES_INDEX_MAT_TIMESTAMPS.decode)
538
538
  );
539
539
  },
540
540
  async recordIndexMaterialization(params) {
541
541
  const t = tables2.indexMaterializations;
542
542
  await db.insert(t).values(
543
- chunkEM3CWPND_cjs.buildMaterializationInsertValues(
543
+ chunk456Z2U7Y_cjs.buildMaterializationInsertValues(
544
544
  params,
545
- chunkEM3CWPND_cjs.POSTGRES_INDEX_MAT_TIMESTAMPS.encode
545
+ chunk456Z2U7Y_cjs.POSTGRES_INDEX_MAT_TIMESTAMPS.encode
546
546
  )
547
547
  ).onConflictDoUpdate({
548
548
  target: t.indexName,
549
- set: chunkEM3CWPND_cjs.buildMaterializationOnConflictSet(
549
+ set: chunk456Z2U7Y_cjs.buildMaterializationOnConflictSet(
550
550
  t.materializedAt,
551
551
  params.materializedAt
552
552
  )
@@ -565,37 +565,37 @@ function createPostgresBackend(db, options = {}) {
565
565
  await contributionMaterializer.assertInitialized(graphId);
566
566
  },
567
567
  async ensureKindRemovalsTable() {
568
- await db.execute(drizzleOrm.sql.raw(chunkEM3CWPND_cjs.generatePgCreateTableSQL(tables2.kindRemovals)));
568
+ await db.execute(drizzleOrm.sql.raw(chunk456Z2U7Y_cjs.generatePgCreateTableSQL(tables2.kindRemovals)));
569
569
  },
570
570
  async getPendingKindRemovals(graphId) {
571
571
  const t = tables2.kindRemovals;
572
572
  const rows = await db.select().from(t).where(drizzleOrm.and(drizzleOrm.eq(t.graphId, graphId), drizzleOrm.isNull(t.removedAt)));
573
573
  return rows.map(
574
- (row) => chunkEM3CWPND_cjs.mapKindRemovalRow(row, chunkEM3CWPND_cjs.POSTGRES_KIND_REMOVAL_TIMESTAMPS.decode)
574
+ (row) => chunk456Z2U7Y_cjs.mapKindRemovalRow(row, chunk456Z2U7Y_cjs.POSTGRES_KIND_REMOVAL_TIMESTAMPS.decode)
575
575
  );
576
576
  },
577
577
  async getAllKindRemovals(graphId) {
578
578
  const t = tables2.kindRemovals;
579
579
  const rows = await db.select().from(t).where(drizzleOrm.eq(t.graphId, graphId));
580
580
  return rows.map(
581
- (row) => chunkEM3CWPND_cjs.mapKindRemovalRow(row, chunkEM3CWPND_cjs.POSTGRES_KIND_REMOVAL_TIMESTAMPS.decode)
581
+ (row) => chunk456Z2U7Y_cjs.mapKindRemovalRow(row, chunk456Z2U7Y_cjs.POSTGRES_KIND_REMOVAL_TIMESTAMPS.decode)
582
582
  );
583
583
  },
584
584
  async recordKindRemoval(params) {
585
585
  const t = tables2.kindRemovals;
586
586
  await db.insert(t).values(
587
- chunkEM3CWPND_cjs.buildKindRemovalInsertValues(
587
+ chunk456Z2U7Y_cjs.buildKindRemovalInsertValues(
588
588
  params,
589
- chunkEM3CWPND_cjs.POSTGRES_KIND_REMOVAL_TIMESTAMPS.encode
589
+ chunk456Z2U7Y_cjs.POSTGRES_KIND_REMOVAL_TIMESTAMPS.encode
590
590
  )
591
591
  ).onConflictDoUpdate({
592
592
  target: [t.graphId, t.kindName, t.entity, t.schemaVersion],
593
- set: chunkEM3CWPND_cjs.buildKindRemovalOnConflictSet(t.removedAt, params.removedAt)
593
+ set: chunk456Z2U7Y_cjs.buildKindRemovalOnConflictSet(t.removedAt, params.removedAt)
594
594
  });
595
595
  },
596
596
  async ensureReconciliationMarkersTable() {
597
597
  await db.execute(
598
- drizzleOrm.sql.raw(chunkEM3CWPND_cjs.generatePgCreateTableSQL(tables2.reconciliationMarkers))
598
+ drizzleOrm.sql.raw(chunk456Z2U7Y_cjs.generatePgCreateTableSQL(tables2.reconciliationMarkers))
599
599
  );
600
600
  },
601
601
  async ensureRuntimeContributions(graphId) {
@@ -634,7 +634,7 @@ function createPostgresBackend(db, options = {}) {
634
634
  const presentRecordedTables = tablePresence.filter((entry) => entry.exists).map((entry) => entry.tableName);
635
635
  for (const tableName of presentRecordedTables) {
636
636
  await db.execute(
637
- drizzleOrm.sql`ANALYZE (SKIP_LOCKED) ${chunkCTTSDJLY_cjs.quoteIdentifier(tableName)}`
637
+ drizzleOrm.sql`ANALYZE (SKIP_LOCKED) ${chunk5W4L6DLF_cjs.quoteIdentifier(tableName)}`
638
638
  );
639
639
  }
640
640
  },
@@ -665,7 +665,7 @@ function createPostgresBackend(db, options = {}) {
665
665
  },
666
666
  adoptTransaction(externalTx) {
667
667
  if (!capabilities.transactions) {
668
- throw new chunkLGEALRC6_cjs.ConfigurationError(
668
+ throw new chunkDIK74MXX_cjs.ConfigurationError(
669
669
  "Cross-store atomicity is unavailable on this Postgres backend: its driver does not support transactions (drizzle-orm/neon-http, Cloudflare D1). Adopting an external transaction here would let the caller's relational write commit with no way to roll back the graph write. Use a node-postgres or neon-serverless (Pool/WebSocket) connection for cross-store transactions.",
670
670
  {
671
671
  backend: "postgres",
@@ -674,7 +674,7 @@ function createPostgresBackend(db, options = {}) {
674
674
  }
675
675
  );
676
676
  }
677
- chunkEM3CWPND_cjs.assertAdoptedDialect(externalTx, pgCore.PgDatabase, "postgres");
677
+ chunk456Z2U7Y_cjs.assertAdoptedDialect(externalTx, pgCore.PgDatabase, "postgres");
678
678
  return bindTransactionBackend(externalTx).backend;
679
679
  },
680
680
  async close() {
@@ -778,7 +778,7 @@ function createPostgresOperationBackend(options) {
778
778
  async function runVectorSearchGucGroup(overrides, query) {
779
779
  const runExclusive = executionAdapter.runExclusive;
780
780
  if (runExclusive === void 0) {
781
- throw new chunkLGEALRC6_cjs.CompilerInvariantError(
781
+ throw new chunkDIK74MXX_cjs.CompilerInvariantError(
782
782
  "A transaction-scoped Postgres backend must expose runExclusive; its execution adapter was not wrapped by createSerialExecutionAdapter."
783
783
  );
784
784
  }
@@ -836,7 +836,7 @@ function createPostgresOperationBackend(options) {
836
836
  embeddingUpsertBatchSize: Math.max(
837
837
  1,
838
838
  Math.floor(
839
- (capabilities.maxBindParameters ?? chunk4TOD4LBZ_cjs.POSTGRES_MAX_BIND_PARAMETERS) / chunkEM3CWPND_cjs.EMBEDDING_UPSERT_PARAM_COUNT
839
+ (capabilities.maxBindParameters ?? chunkX4JBT642_cjs.POSTGRES_MAX_BIND_PARAMETERS) / chunk456Z2U7Y_cjs.EMBEDDING_UPSERT_PARAM_COUNT
840
840
  )
841
841
  ),
842
842
  getEdgesChunkSize: POSTGRES_GET_EDGES_ID_CHUNK_SIZE,
@@ -844,14 +844,14 @@ function createPostgresOperationBackend(options) {
844
844
  nodeInsertBatchSize: POSTGRES_NODE_INSERT_BATCH_SIZE,
845
845
  uniqueInsertBatchSize: POSTGRES_UNIQUE_INSERT_BATCH_SIZE
846
846
  };
847
- const commonBackend = chunkEM3CWPND_cjs.createCommonOperationBackend({
847
+ const commonBackend = chunk456Z2U7Y_cjs.createCommonOperationBackend({
848
848
  batchConfig,
849
849
  execution: {
850
850
  execAll,
851
851
  execGet,
852
852
  execRun
853
853
  },
854
- nowIso: chunkCTTSDJLY_cjs.nowIso,
854
+ nowIso: chunk5W4L6DLF_cjs.nowIso,
855
855
  operationStrategy,
856
856
  rowMappers: {
857
857
  toEdgeRow,
@@ -869,28 +869,28 @@ function createPostgresOperationBackend(options) {
869
869
  };
870
870
  const vectorEmbeddingMethods = vectorStrategy === void 0 ? {} : {
871
871
  async upsertEmbedding(params) {
872
- const slot = chunkEM3CWPND_cjs.vectorSlotFromParams(params);
872
+ const slot = chunk456Z2U7Y_cjs.vectorSlotFromParams(params);
873
873
  await ensureVectorSlotStorage(slot);
874
- const statements = vectorStrategy.buildUpsert(slot, params, chunkCTTSDJLY_cjs.nowIso());
874
+ const statements = vectorStrategy.buildUpsert(slot, params, chunk5W4L6DLF_cjs.nowIso());
875
875
  try {
876
876
  for (const statement of statements) {
877
877
  await execRun(statement);
878
878
  }
879
879
  } catch (error) {
880
- throw chunkEM3CWPND_cjs.mapVectorWriteError(error, params);
880
+ throw chunk456Z2U7Y_cjs.mapVectorWriteError(error, params);
881
881
  }
882
882
  },
883
883
  async upsertEmbeddingBatch(params) {
884
884
  if (params.rows.length === 0) return;
885
- const slot = chunkEM3CWPND_cjs.vectorSlotFromParams(params);
885
+ const slot = chunk456Z2U7Y_cjs.vectorSlotFromParams(params);
886
886
  await ensureVectorSlotStorage(slot);
887
887
  const rowsById = new Map(
888
888
  params.rows.map((row) => [row.nodeId, row])
889
889
  );
890
890
  const rows = [...rowsById.values()];
891
- const timestamp = chunkCTTSDJLY_cjs.nowIso();
891
+ const timestamp = chunk5W4L6DLF_cjs.nowIso();
892
892
  try {
893
- for (const chunk2 of chunk4TOD4LBZ_cjs.chunk(
893
+ for (const chunk2 of chunkX4JBT642_cjs.chunk(
894
894
  rows,
895
895
  batchConfig.embeddingUpsertBatchSize
896
896
  )) {
@@ -919,11 +919,11 @@ function createPostgresOperationBackend(options) {
919
919
  }
920
920
  }
921
921
  } catch (error) {
922
- throw chunkEM3CWPND_cjs.mapVectorWriteError(error, params);
922
+ throw chunk456Z2U7Y_cjs.mapVectorWriteError(error, params);
923
923
  }
924
924
  },
925
925
  async deleteEmbedding(params) {
926
- const slot = chunkEM3CWPND_cjs.vectorSlotFromParams(params);
926
+ const slot = chunk456Z2U7Y_cjs.vectorSlotFromParams(params);
927
927
  await ensureVectorSlotStorage(slot);
928
928
  const statements = vectorStrategy.buildDelete(slot, params);
929
929
  for (const statement of statements) {
@@ -933,7 +933,7 @@ function createPostgresOperationBackend(options) {
933
933
  async vectorSearch(params) {
934
934
  chunkD7ZEOS56_cjs.assertVectorSearchLimit(params.limit);
935
935
  chunkTCOCYN2P_cjs.assertPgvectorEfSearch(params.efSearch);
936
- const slot = chunkEM3CWPND_cjs.vectorSlotFromParams(params);
936
+ const slot = chunk456Z2U7Y_cjs.vectorSlotFromParams(params);
937
937
  await ensureVectorSlotStorage(slot);
938
938
  const query = vectorStrategy.buildSearch(
939
939
  slot,
@@ -950,7 +950,7 @@ function createPostgresOperationBackend(options) {
950
950
  try {
951
951
  rows = await runVectorSearch(gucOverrides, query);
952
952
  } catch (error) {
953
- throw chunkEM3CWPND_cjs.mapVectorWriteError(error, params);
953
+ throw chunk456Z2U7Y_cjs.mapVectorWriteError(error, params);
954
954
  }
955
955
  return rows.map((row) => ({
956
956
  nodeId: row.node_id,
@@ -965,7 +965,7 @@ function createPostgresOperationBackend(options) {
965
965
  chunkD7ZEOS56_cjs.assertVectorSearchLimit(params.limit);
966
966
  chunkD7ZEOS56_cjs.assertVectorSearchLimit(params.vector.k);
967
967
  chunkTCOCYN2P_cjs.assertPgvectorEfSearch(params.vector.efSearch);
968
- const slot = chunkEM3CWPND_cjs.vectorSlotFromParams({
968
+ const slot = chunk456Z2U7Y_cjs.vectorSlotFromParams({
969
969
  graphId: params.graphId,
970
970
  nodeKind: params.nodeKind,
971
971
  fieldPath: params.vector.fieldPath,
@@ -992,7 +992,7 @@ function createPostgresOperationBackend(options) {
992
992
  const vectorSql = vectorStrategy.buildSearch(
993
993
  slot,
994
994
  vectorParams,
995
- chunkEM3CWPND_cjs.hybridCandidatesRef()
995
+ chunk456Z2U7Y_cjs.hybridCandidatesRef()
996
996
  );
997
997
  const statement = operationStrategy.buildHybridSearch(
998
998
  { ...params, candidates },
@@ -1010,9 +1010,9 @@ function createPostgresOperationBackend(options) {
1010
1010
  statement
1011
1011
  );
1012
1012
  } catch (error) {
1013
- throw chunkEM3CWPND_cjs.mapVectorWriteError(error, vectorParams);
1013
+ throw chunk456Z2U7Y_cjs.mapVectorWriteError(error, vectorParams);
1014
1014
  }
1015
- return raw.map((row) => chunkEM3CWPND_cjs.mapHybridSearchRow(row, toNodeRow));
1015
+ return raw.map((row) => chunk456Z2U7Y_cjs.mapHybridSearchRow(row, toNodeRow));
1016
1016
  }
1017
1017
  } : {}
1018
1018
  };
@@ -1028,7 +1028,7 @@ function createPostgresOperationBackend(options) {
1028
1028
  // === Vector Index Operations ===
1029
1029
  async createVectorIndex(params) {
1030
1030
  if (vectorStrategy === void 0) return;
1031
- const slot = chunkEM3CWPND_cjs.vectorSlotFromCreateIndexParams(params);
1031
+ const slot = chunk456Z2U7Y_cjs.vectorSlotFromCreateIndexParams(params);
1032
1032
  await ensureVectorSlotStorage(slot);
1033
1033
  const indexStatement = vectorStrategy.buildCreateIndex?.(slot, {
1034
1034
  concurrent: params.concurrent === true
@@ -1037,12 +1037,12 @@ function createPostgresOperationBackend(options) {
1037
1037
  try {
1038
1038
  await execRun(indexStatement);
1039
1039
  } catch (error) {
1040
- if (!chunkBLZDPRXT_cjs.isInsufficientResourcesError(error)) throw error;
1040
+ if (!chunkRSSQKPSZ_cjs.isInsufficientResourcesError(error)) throw error;
1041
1041
  const dropStatement = vectorStrategy.buildDropIndex?.(slot);
1042
1042
  if (dropStatement !== void 0) {
1043
1043
  await execRun(dropStatement);
1044
1044
  }
1045
- const table = chunkCTTSDJLY_cjs.quoteIdentifier(
1045
+ const table = chunk5W4L6DLF_cjs.quoteIdentifier(
1046
1046
  vectorStrategy.tableName(
1047
1047
  slot.graphId,
1048
1048
  slot.nodeKind,
@@ -1062,7 +1062,7 @@ function createPostgresOperationBackend(options) {
1062
1062
  },
1063
1063
  // === Fulltext Operations ===
1064
1064
  async upsertFulltext(params) {
1065
- const timestamp = chunkCTTSDJLY_cjs.nowIso();
1065
+ const timestamp = chunk5W4L6DLF_cjs.nowIso();
1066
1066
  const statements = operationStrategy.buildUpsertFulltext(
1067
1067
  params,
1068
1068
  timestamp
@@ -1079,8 +1079,8 @@ function createPostgresOperationBackend(options) {
1079
1079
  },
1080
1080
  async upsertFulltextBatch(params) {
1081
1081
  if (params.rows.length === 0) return;
1082
- const timestamp = chunkCTTSDJLY_cjs.nowIso();
1083
- for (const rows of chunk4TOD4LBZ_cjs.chunk(
1082
+ const timestamp = chunk5W4L6DLF_cjs.nowIso();
1083
+ for (const rows of chunkX4JBT642_cjs.chunk(
1084
1084
  params.rows,
1085
1085
  POSTGRES_FULLTEXT_UPSERT_BATCH_SIZE
1086
1086
  )) {
@@ -1095,7 +1095,7 @@ function createPostgresOperationBackend(options) {
1095
1095
  },
1096
1096
  async deleteFulltextBatch(params) {
1097
1097
  if (params.nodeIds.length === 0) return;
1098
- for (const nodeIds of chunk4TOD4LBZ_cjs.chunk(
1098
+ for (const nodeIds of chunkX4JBT642_cjs.chunk(
1099
1099
  params.nodeIds,
1100
1100
  POSTGRES_FULLTEXT_DELETE_CHUNK_SIZE
1101
1101
  )) {
@@ -1113,20 +1113,20 @@ function createPostgresOperationBackend(options) {
1113
1113
  const rows = await execAll(query);
1114
1114
  return rows.map((row, index) => ({
1115
1115
  nodeId: row.node_id,
1116
- score: chunkCTTSDJLY_cjs.coerceNumericScore(row.score),
1116
+ score: chunk5W4L6DLF_cjs.coerceNumericScore(row.score),
1117
1117
  rank: index + 1,
1118
1118
  ...row.snippet === null ? {} : { snippet: row.snippet }
1119
1119
  }));
1120
1120
  },
1121
1121
  async dropVectorIndex(params) {
1122
1122
  if (vectorStrategy === void 0) return;
1123
- const slot = chunkEM3CWPND_cjs.vectorSlotFromDropIndexParams(params);
1123
+ const slot = chunk456Z2U7Y_cjs.vectorSlotFromDropIndexParams(params);
1124
1124
  const dropStatement = vectorStrategy.buildDropIndex?.(slot);
1125
1125
  if (dropStatement === void 0) return;
1126
1126
  try {
1127
1127
  await execRun(dropStatement);
1128
1128
  } catch (error) {
1129
- if (!chunkBLZDPRXT_cjs.isMissingTableError(error)) throw error;
1129
+ if (!chunkRSSQKPSZ_cjs.isMissingTableError(error)) throw error;
1130
1130
  }
1131
1131
  },
1132
1132
  // === Query Execution ===
@@ -1163,7 +1163,7 @@ function createTransactionBackend(options) {
1163
1163
  capabilities: options.capabilities,
1164
1164
  fulltextStrategy: options.fulltextStrategy,
1165
1165
  vectorStrategy: options.vectorStrategy,
1166
- vectorSlotLatch: options.vectorStrategy === void 0 ? void 0 : chunkEM3CWPND_cjs.createVectorSlotLatch(),
1166
+ vectorSlotLatch: options.vectorStrategy === void 0 ? void 0 : chunk456Z2U7Y_cjs.createVectorSlotLatch(),
1167
1167
  // The probe is process-wide truth, so — unlike the slot latch — the outer
1168
1168
  // instance's is reused rather than a fresh one per transaction.
1169
1169
  iterativeScanProbe: options.iterativeScanProbe
@@ -1172,5 +1172,5 @@ function createTransactionBackend(options) {
1172
1172
  }
1173
1173
 
1174
1174
  exports.createPostgresBackend = createPostgresBackend;
1175
- //# sourceMappingURL=chunk-EMF62TZG.cjs.map
1176
- //# sourceMappingURL=chunk-EMF62TZG.cjs.map
1175
+ //# sourceMappingURL=chunk-ZAMFOJ5P.cjs.map
1176
+ //# sourceMappingURL=chunk-ZAMFOJ5P.cjs.map