@nicia-ai/typegraph 0.58.0 → 0.60.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 (179) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +15 -0
  3. package/dist/{atomic-mutation-program-CPcn0ZPu.d.ts → atomic-mutation-program-BNvJ13bq.d.ts} +1 -1
  4. package/dist/{atomic-mutation-program-AqOe51XD.d.cts → atomic-mutation-program-DOVE147J.d.cts} +1 -1
  5. package/dist/backend/drizzle/engine/index.cjs +8 -8
  6. package/dist/backend/drizzle/engine/index.d.cts +9 -9
  7. package/dist/backend/drizzle/engine/index.d.ts +9 -9
  8. package/dist/backend/drizzle/engine/index.js +3 -3
  9. package/dist/backend/drizzle/indexes.cjs +6 -6
  10. package/dist/backend/drizzle/indexes.d.cts +1 -1
  11. package/dist/backend/drizzle/indexes.d.ts +1 -1
  12. package/dist/backend/drizzle/indexes.js +2 -2
  13. package/dist/backend/index.d.cts +7 -7
  14. package/dist/backend/index.d.ts +7 -7
  15. package/dist/backend/postgres/index.cjs +17 -17
  16. package/dist/backend/postgres/index.d.cts +8 -8
  17. package/dist/backend/postgres/index.d.ts +8 -8
  18. package/dist/backend/postgres/index.js +3 -3
  19. package/dist/backend/postgres/pglite-store.cjs +1 -1
  20. package/dist/backend/postgres/pglite-store.d.cts +6 -6
  21. package/dist/backend/postgres/pglite-store.d.ts +6 -6
  22. package/dist/backend/postgres/pglite-store.js +1 -1
  23. package/dist/backend/postgres/pglite.cjs +5 -5
  24. package/dist/backend/postgres/pglite.d.cts +3 -3
  25. package/dist/backend/postgres/pglite.d.ts +3 -3
  26. package/dist/backend/postgres/pglite.js +4 -4
  27. package/dist/backend/sqlite/index.cjs +16 -16
  28. package/dist/backend/sqlite/index.d.cts +7 -7
  29. package/dist/backend/sqlite/index.d.ts +7 -7
  30. package/dist/backend/sqlite/index.js +3 -3
  31. package/dist/backend/sqlite/libsql.cjs +7 -7
  32. package/dist/backend/sqlite/libsql.d.cts +3 -3
  33. package/dist/backend/sqlite/libsql.d.ts +3 -3
  34. package/dist/backend/sqlite/libsql.js +3 -3
  35. package/dist/backend/sqlite/local-store.cjs +1 -1
  36. package/dist/backend/sqlite/local-store.d.cts +6 -6
  37. package/dist/backend/sqlite/local-store.d.ts +6 -6
  38. package/dist/backend/sqlite/local-store.js +1 -1
  39. package/dist/backend/sqlite/local.cjs +5 -5
  40. package/dist/backend/sqlite/local.d.cts +3 -3
  41. package/dist/backend/sqlite/local.d.ts +3 -3
  42. package/dist/backend/sqlite/local.js +4 -4
  43. package/dist/{chunk-7JUD57B4.js → chunk-2DKIJP2R.js} +1044 -84
  44. package/dist/chunk-2DKIJP2R.js.map +1 -0
  45. package/dist/{chunk-QIKO6DL5.js → chunk-2QNFFAMF.js} +3 -3
  46. package/dist/{chunk-QIKO6DL5.js.map → chunk-2QNFFAMF.js.map} +1 -1
  47. package/dist/{chunk-6BVZHDAZ.js → chunk-43DOTETB.js} +3 -3
  48. package/dist/{chunk-6BVZHDAZ.js.map → chunk-43DOTETB.js.map} +1 -1
  49. package/dist/{chunk-US3BLFWM.js → chunk-7GNPCBS2.js} +3 -3
  50. package/dist/{chunk-US3BLFWM.js.map → chunk-7GNPCBS2.js.map} +1 -1
  51. package/dist/{chunk-IV5W7LKW.cjs → chunk-A22XPVBQ.cjs} +2 -2
  52. package/dist/chunk-A22XPVBQ.cjs.map +1 -0
  53. package/dist/{chunk-CVO2ZPW5.js → chunk-B4P4DAW3.js} +4 -4
  54. package/dist/{chunk-CVO2ZPW5.js.map → chunk-B4P4DAW3.js.map} +1 -1
  55. package/dist/{chunk-FHFPUORN.cjs → chunk-CNFKFE5L.cjs} +1375 -415
  56. package/dist/chunk-CNFKFE5L.cjs.map +1 -0
  57. package/dist/{chunk-4MZQVVPX.cjs → chunk-D5CHUSW7.cjs} +33 -2
  58. package/dist/chunk-D5CHUSW7.cjs.map +1 -0
  59. package/dist/{chunk-TKEJR2UL.cjs → chunk-DWO6WZP5.cjs} +6 -6
  60. package/dist/{chunk-TKEJR2UL.cjs.map → chunk-DWO6WZP5.cjs.map} +1 -1
  61. package/dist/{chunk-GUMNJJFP.cjs → chunk-EHDLHPMK.cjs} +9 -9
  62. package/dist/{chunk-GUMNJJFP.cjs.map → chunk-EHDLHPMK.cjs.map} +1 -1
  63. package/dist/{chunk-DV24YZHG.js → chunk-FTDRMXIJ.js} +6 -6
  64. package/dist/{chunk-DV24YZHG.js.map → chunk-FTDRMXIJ.js.map} +1 -1
  65. package/dist/{chunk-BYBMDK6X.js → chunk-GYOQAV6R.js} +3 -3
  66. package/dist/{chunk-BYBMDK6X.js.map → chunk-GYOQAV6R.js.map} +1 -1
  67. package/dist/{chunk-GTW5YKFV.js → chunk-HCNC53MU.js} +3 -3
  68. package/dist/{chunk-GTW5YKFV.js.map → chunk-HCNC53MU.js.map} +1 -1
  69. package/dist/{chunk-M7TRJXFE.js → chunk-ILVXUOQY.js} +3 -3
  70. package/dist/{chunk-M7TRJXFE.js.map → chunk-ILVXUOQY.js.map} +1 -1
  71. package/dist/{chunk-FGKWXSHF.cjs → chunk-KGQVK2II.cjs} +40 -40
  72. package/dist/{chunk-FGKWXSHF.cjs.map → chunk-KGQVK2II.cjs.map} +1 -1
  73. package/dist/{chunk-BMATB57B.cjs → chunk-KW3ON5IU.cjs} +11 -11
  74. package/dist/{chunk-BMATB57B.cjs.map → chunk-KW3ON5IU.cjs.map} +1 -1
  75. package/dist/{chunk-GK62U3S5.js → chunk-LOFUF6L7.js} +3 -3
  76. package/dist/{chunk-GK62U3S5.js.map → chunk-LOFUF6L7.js.map} +1 -1
  77. package/dist/{chunk-BPYZUJX5.cjs → chunk-MTJAT6UO.cjs} +5 -5
  78. package/dist/{chunk-BPYZUJX5.cjs.map → chunk-MTJAT6UO.cjs.map} +1 -1
  79. package/dist/{chunk-YTYB5KCQ.js → chunk-OH7QRGPQ.js} +33 -2
  80. package/dist/chunk-OH7QRGPQ.js.map +1 -0
  81. package/dist/{chunk-U53HFE4L.cjs → chunk-OKA6H3B3.cjs} +22 -22
  82. package/dist/{chunk-U53HFE4L.cjs.map → chunk-OKA6H3B3.cjs.map} +1 -1
  83. package/dist/{chunk-QR6V2BXA.cjs → chunk-PTFO3JI5.cjs} +114 -114
  84. package/dist/{chunk-QR6V2BXA.cjs.map → chunk-PTFO3JI5.cjs.map} +1 -1
  85. package/dist/{chunk-C3CN2C2T.cjs → chunk-Q6ZVQWH7.cjs} +38 -38
  86. package/dist/{chunk-C3CN2C2T.cjs.map → chunk-Q6ZVQWH7.cjs.map} +1 -1
  87. package/dist/{chunk-WAG3NVD7.cjs → chunk-QBQ465OX.cjs} +12 -12
  88. package/dist/{chunk-WAG3NVD7.cjs.map → chunk-QBQ465OX.cjs.map} +1 -1
  89. package/dist/{chunk-CRROO6PK.cjs → chunk-QHP2BCBJ.cjs} +4 -4
  90. package/dist/{chunk-CRROO6PK.cjs.map → chunk-QHP2BCBJ.cjs.map} +1 -1
  91. package/dist/{chunk-HWWPL2YL.js → chunk-QWIR5533.js} +2 -2
  92. package/dist/chunk-QWIR5533.js.map +1 -0
  93. package/dist/{chunk-ZHLWPHNT.cjs → chunk-RJ3GVX73.cjs} +6 -6
  94. package/dist/{chunk-ZHLWPHNT.cjs.map → chunk-RJ3GVX73.cjs.map} +1 -1
  95. package/dist/{chunk-SYKR6MVR.cjs → chunk-T2M2S5YZ.cjs} +59 -59
  96. package/dist/{chunk-SYKR6MVR.cjs.map → chunk-T2M2S5YZ.cjs.map} +1 -1
  97. package/dist/{chunk-OESX3T5K.js → chunk-TNNDNSNH.js} +4 -4
  98. package/dist/{chunk-OESX3T5K.js.map → chunk-TNNDNSNH.js.map} +1 -1
  99. package/dist/{chunk-5C4OYYDD.js → chunk-UVQMUBZ6.js} +6 -6
  100. package/dist/{chunk-5C4OYYDD.js.map → chunk-UVQMUBZ6.js.map} +1 -1
  101. package/dist/{chunk-IV3FENV2.js → chunk-W6K6NSRT.js} +5 -5
  102. package/dist/{chunk-IV3FENV2.js.map → chunk-W6K6NSRT.js.map} +1 -1
  103. package/dist/core/index.d.cts +3 -3
  104. package/dist/core/index.d.ts +3 -3
  105. package/dist/{ddl-wlEdaCQK.d.cts → ddl-B9lzB8Zi.d.cts} +3 -3
  106. package/dist/{ddl-DkFrUTn_.d.ts → ddl-DuZWvxBb.d.ts} +3 -3
  107. package/dist/graph-extension/index.d.cts +2 -2
  108. package/dist/graph-extension/index.d.ts +2 -2
  109. package/dist/graph-merge/index.cjs +122 -122
  110. package/dist/graph-merge/index.d.cts +7 -6
  111. package/dist/graph-merge/index.d.ts +7 -6
  112. package/dist/graph-merge/index.js +10 -10
  113. package/dist/{graph-templates-B4gkXVqg.d.ts → graph-templates-ClBhrXiA.d.ts} +2 -2
  114. package/dist/{graph-templates-6zTU7bNe.d.cts → graph-templates-DfmKDARd.d.cts} +2 -2
  115. package/dist/index.cjs +73 -73
  116. package/dist/index.d.cts +10 -10
  117. package/dist/index.d.ts +10 -10
  118. package/dist/index.js +11 -11
  119. package/dist/indexes/index.cjs +8 -8
  120. package/dist/indexes/index.d.cts +4 -4
  121. package/dist/indexes/index.d.ts +4 -4
  122. package/dist/indexes/index.js +3 -3
  123. package/dist/{ingestion-import-target-im9wEB00.d.cts → ingestion-import-target-BSgJagqI.d.cts} +1 -1
  124. package/dist/{ingestion-import-target-SopMSm-T.d.ts → ingestion-import-target-PNw10V4T.d.ts} +1 -1
  125. package/dist/interchange/index.cjs +29 -29
  126. package/dist/interchange/index.d.cts +7 -6
  127. package/dist/interchange/index.d.ts +7 -6
  128. package/dist/interchange/index.js +6 -6
  129. package/dist/{local-store-impl-ARNXBBSF.cjs → local-store-impl-QGSRYFZF.cjs} +17 -17
  130. package/dist/{local-store-impl-ARNXBBSF.cjs.map → local-store-impl-QGSRYFZF.cjs.map} +1 -1
  131. package/dist/{local-store-impl-FTGRP2V7.js → local-store-impl-VEVK2VGA.js} +14 -14
  132. package/dist/{local-store-impl-FTGRP2V7.js.map → local-store-impl-VEVK2VGA.js.map} +1 -1
  133. package/dist/{pglite-store-impl-CNQZYRBC.cjs → pglite-store-impl-33CI3P3M.cjs} +17 -17
  134. package/dist/{pglite-store-impl-CNQZYRBC.cjs.map → pglite-store-impl-33CI3P3M.cjs.map} +1 -1
  135. package/dist/{pglite-store-impl-NULC2IHH.js → pglite-store-impl-RDPTOOP3.js} +14 -14
  136. package/dist/{pglite-store-impl-NULC2IHH.js.map → pglite-store-impl-RDPTOOP3.js.map} +1 -1
  137. package/dist/{postgres-Dd3TrFku.d.ts → postgres-2FBMdOE_.d.ts} +3 -3
  138. package/dist/{postgres-cLQPlKtp.d.cts → postgres-BR3AeXm9.d.ts} +1 -1
  139. package/dist/{postgres-CLPfTNYN.d.ts → postgres-CRatyTVL.d.cts} +1 -1
  140. package/dist/{postgres-B4VD_rVy.d.cts → postgres-lbZf0zyg.d.cts} +3 -3
  141. package/dist/{profile-Co154QBx.d.ts → profile-BipG05-8.d.ts} +2 -2
  142. package/dist/{profile-BqThShR_.d.cts → profile-DKtvxVyA.d.cts} +2 -2
  143. package/dist/profiler/index.d.cts +8 -7
  144. package/dist/profiler/index.d.ts +8 -7
  145. package/dist/provenance/index.cjs +15 -15
  146. package/dist/provenance/index.cjs.map +1 -1
  147. package/dist/provenance/index.d.cts +6 -5
  148. package/dist/provenance/index.d.ts +6 -5
  149. package/dist/provenance/index.js +2 -2
  150. package/dist/provenance/index.js.map +1 -1
  151. package/dist/{repair-validity-windows-BLoClfCq.d.cts → repair-validity-windows-BnSHFIsR.d.cts} +1 -1
  152. package/dist/{repair-validity-windows-C__28ckL.d.ts → repair-validity-windows-DfRb4gZm.d.ts} +1 -1
  153. package/dist/{resolve-DgFSIK99.d.ts → resolve-BbjZDYTw.d.ts} +1 -1
  154. package/dist/{resolve-DSUxNIqw.d.cts → resolve-mLksuBg2.d.cts} +1 -1
  155. package/dist/schema/index.cjs +36 -36
  156. package/dist/schema/index.d.cts +7 -7
  157. package/dist/schema/index.d.ts +7 -7
  158. package/dist/schema/index.js +6 -6
  159. package/dist/{searchable-CZKn12eY.d.cts → searchable-BEAN91Ce.d.cts} +1 -1
  160. package/dist/{searchable-CUWWphQI.d.ts → searchable-Bg2lMPRm.d.ts} +1 -1
  161. package/dist/{sqlite-mSd_eVk4.d.ts → sqlite-Cal3rHgZ.d.ts} +3 -3
  162. package/dist/{sqlite-RdH7w-ix.d.cts → sqlite-CvajLABd.d.cts} +1 -1
  163. package/dist/{sqlite-qXLIybR2.d.cts → sqlite-DQxKoWAH.d.cts} +3 -3
  164. package/dist/{sqlite-CoBmhiFd.d.ts → sqlite-jH5J-Jb8.d.ts} +1 -1
  165. package/dist/{store-BzmMsCcw.d.ts → store-B5WZ8E5m.d.ts} +313 -177
  166. package/dist/{store-CL6uTm_W.d.cts → store-DdhFpX53.d.cts} +313 -177
  167. package/dist/{types-BUoh7cc3.d.cts → types-BUA3dZ99.d.cts} +1 -1
  168. package/dist/{types-ClC0IFIS.d.ts → types-CPtb7KNf.d.ts} +1 -1
  169. package/dist/{types-Blq8PG_N.d.cts → types-Dky3sCFz.d.cts} +9 -0
  170. package/dist/{types-Blq8PG_N.d.ts → types-Dky3sCFz.d.ts} +9 -0
  171. package/dist/{where-61C-QoM8.d.ts → where-BReEkAiy.d.ts} +1 -1
  172. package/dist/{where-o3Me5iJx.d.cts → where-Cz11nPRu.d.cts} +1 -1
  173. package/package.json +2 -2
  174. package/dist/chunk-4MZQVVPX.cjs.map +0 -1
  175. package/dist/chunk-7JUD57B4.js.map +0 -1
  176. package/dist/chunk-FHFPUORN.cjs.map +0 -1
  177. package/dist/chunk-HWWPL2YL.js.map +0 -1
  178. package/dist/chunk-IV5W7LKW.cjs.map +0 -1
  179. package/dist/chunk-YTYB5KCQ.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,16 +1,16 @@
1
1
  export { DefineEdgeOptions, DefineNodeOptions, EndpointPair, ExternalRefSchema, ExternalRefValue, MetaEdgeOptions, createExternalRef, defineEdge, defineNode, externalRef, getExternalRefTable, isEdgeTargetMap, isExternalRefSchema, metaEdge } from './core/index.js';
2
- import { E as EmbeddingMetric, a as EmbeddingIndexType } from './searchable-CUWWphQI.js';
3
- export { D as DEFAULT_SEARCHABLE_LANGUAGE, b as EmbeddingSchema, c as EmbeddingValue, S as SearchableMetadata, d as SearchableOptions, e as SearchableSchema, f as embedding, g as getEmbeddingDimensions, h as getSearchableMetadata, i as isEmbeddingSchema, j as isSearchableSchema, r as resolveGraphVectorSlots, s as searchable } from './searchable-CUWWphQI.js';
4
- import { eO as AggregateExpr, eP as FieldRef, eQ as ComparisonOp, eR as AggregateComparisonPredicate, e as GraphDef, eS as TraversalDirection, G as GraphIdentityConfig, V as VectorStrategy, f as GraphBackend, $ as NodeType, eT as OntologyRelation, cM as InferenceType, _ as AnyEdgeType } from './types-Blq8PG_N.js';
5
- export { A as AdapterBackend, aJ as AdapterBackendTransactions, eU as AllEdgeTypes, eV as AllNodeTypes, Y as BackendCapabilities, eW as BackendDisposedError, aM as BackendExecutionCapabilities, aN as BackendIdentity, aO as BackendLifecycle, aP as BackendMaintenance, aQ as BackendTransactions, eX as BaseSchemaMigrationError, eY as BaseSchemaMigrationErrorDetails, eZ as CURRENT_GRAPH_EXTENSION_VERSION, aR as Cardinality, e_ as CardinalityError, e$ as CardinalityErrorDetails, aY as Collation, aZ as CommitSchemaVersionExpected, a_ as CommitSchemaVersionIfKindsEmptyResult, a$ as CommitSchemaVersionParams, b0 as CompareAndSetNodeParams, b1 as CompiledRowsSql, b2 as CompiledSelectSql, b3 as CompiledStatementSql, f0 as CompilerInvariantError, f1 as ConfigurationError, b8 as ContributionCapabilities, C as ContributionDiagnostic, a as ContributionDiagnosticState, b9 as ContributionMaterializationBackend, bc as ContributionProbeContribution, bd as ContributionProbeEntry, be as ContributionProbeResult, bf as ContributionProbeState, f2 as ContributionRebuildRefusal, bg as ContributionRebuildResult, bh as ContributionRebuildScope, f3 as ContributionRebuildUnsupportedError, b as ContributionRepairEntry, c as ContributionRepairResult, bi as ContributionRepopulationStats, f4 as ContributionUnavailableError, f5 as ContributionUnavailableErrorDetails, f6 as DEFAULT_SQL_SCHEMA, f7 as DatabaseOperationError, f8 as DatabaseOperationErrorDetails, br as DeleteBehavior, bv as DeleteFulltextBatchParams, f9 as DisjointError, fa as DisjointErrorDetails, bH as DurableEdgeBatchMembers, fb as EDGE_IDENTITY_MISMATCH_CODE, fc as ENTITY_ALREADY_EXISTS_CODE, fd as EagerMaterializationError, fe as EagerMaterializationErrorDetails, aA as EdgeConvergeCreateCommand, aB as EdgeConvergeCreateCommandResult, E as EdgeConvergenceMatch, ay as EdgeCreateCommand, az as EdgeCreateCommandResult, bK as EdgeEntityReadBackend, bL as EdgeEntityWriteBackend, ff as EdgeId, t as EdgeIndexConfig, p as EdgeIndexDeclaration, u as EdgeIndexDirection, v as EdgeIndexWhereBuilder, fg as EdgeKinds, fh as EdgeMatchIdentity, fi as EdgeMatchIdentityConflictError, fj as EdgeNotFoundError, fk as EdgeNotFoundErrorDetails, fl as EdgeProps, fm as EdgeRegistration, fn as EdgeTargetMap, fo as EdgeTargets, fp as EdgeType, fq as EdgeTypeWithEndpoints, fr as EmbeddingDimensionChangedError, fs as EmbeddingDimensionChangedErrorDetails, ft as EndpointError, fu as EndpointErrorDetails, bN as EndpointExistence, fv as EndpointNotFoundError, fw as EndpointNotFoundErrorDetails, fx as EndpointPairError, fy as EndpointPairErrorDetails, fz as ErrorCategory, fA as ExportStreamCancelledError, fB as ExportStreamIdleTimeoutError, fC as ExternalRecordedReadSource, cc as FilteredApproximateSearch, cd as FilteredApproximateSearchMode, cf as FindEdgesByHeterogeneousEndpointSetParams, cj as FulltextBatchRow, ck as FulltextCapabilities, cl as FulltextOperationBackend, cm as FulltextQueryMode, cn as FulltextSearchParams, co as FulltextSearchResult, d as FulltextStrategy, fD as GetEdgeType, fE as GetNodeType, fF as GraphAlgorithmConvergenceError, cp as GraphAnalyticsCapabilities, fG as GraphAnnotations, af as GraphAnnotationsChange, aC as GraphCommand, au as GraphCommandCoordination, av as GraphCommandExecutionContext, aF as GraphCommandIsolation, at as GraphCommandPort, aD as GraphCommandResult, aE as GraphCommandSession, fH as GraphDefaults, cq as GraphEntityReadBackend, cr as GraphEntityWriteBackend, cs as GraphExtension, ct as GraphExtensionVersion, cu as GraphLifecycleBackend, cy as HardDeleteUniquesByConcreteKindParams, cz as HardDeleteUniquesByNodeIdsParams, fI as HybridFusionOptions, fJ as IMMUTABLE_VALIDITY_LOWER_BOUND_CODE, fK as INVERTED_VALIDITY_WINDOW_CODE, ag as IdentityChange, fL as IdentityContradictionError, fM as IdentityContradictionErrorDetails, fN as IdentityEndpointValidityError, fO as IdentityEndpointValidityErrorDetails, fP as IdentitySeparationViolationError, fQ as IdentitySeparationViolationErrorDetails, fR as IdentityValidityWindowError, fS as IdentityValidityWindowErrorDetails, I as IndexDeclaration, cG as IndexMaterializationBackend, w as IndexOrigin, x as IndexScope, y as IndexWhereExpression, z as IndexWhereFieldBuilder, D as IndexWhereInput, cP as IntentSql, fT as InvalidEdgeWeightError, fU as InvalidEdgeWeightErrorDetails, fV as InvalidEdgeWeightReason, J as JsonPointer, fW as JsonPointerFor, fX as JsonPointerInput, fY as JsonPointerSegment, fZ as JsonPointerSegments, f_ as JsonPointerSegmentsFor, cQ as JsonScalar, cR as JsonValue, cS as KindAnnotations, f$ as KindNotFoundError, g0 as KindNotFoundErrorDetails, g1 as LEGACY_GRAPH_EXTENSION_VERSION, cZ as LockSchemaVersionForWriteParams, g2 as MAX_JSON_POINTER_DEPTH, g3 as MIGRATION_FAILURE_REASONS, c$ as ManagedEdgeCreatePlan, d0 as ManagedNodeCreateMode, d1 as ManagedNodeCreatePlan, g4 as MaterializeIndexesEntry, g5 as MaterializeIndexesOptions, g6 as MaterializeIndexesResult, g7 as MaterializeSystemIndexesOptions, g8 as MetaEdge, g9 as MetaEdgeProperties, ga as MigrationError, gb as MigrationErrorDetails, gc as MigrationFailureReason, gd as NodeConstraintNotFoundError, ge as NodeConstraintNotFoundErrorDetails, aw as NodeCreateCommand, ax as NodeCreateCommandResult, d3 as NodeEntityReadBackend, d4 as NodeEntityWriteBackend, gf as NodeId, H as NodeIndexConfig, s as NodeIndexDeclaration, gg as NodeIndexNotFoundError, gh as NodeIndexNotFoundErrorDetails, L as NodeIndexWhereBuilder, N as NodeInsertClaim, d5 as NodeInsertClaimVerdict, i as NodeInsertProjection, gi as NodeKinds, gj as NodeNotFoundError, gk as NodeNotFoundErrorDetails, d6 as NodePropertyExpectation, gl as NodeProps, gm as NodeRegistration, gn as OrderSpec, go as ParameterRef, da as Placeholder, db as PopulatedSchemaKind, dd as QueryExecutionBackend, gp as RECORDED_CAPTURE_GUARD_CODES, de as RawQueryExecutionBackend, df as RawStatementExecutionBackend, gq as RecordedCaptureGuardCode, gr as RecordedCaptureGuardError, R as RecordedInstant, gs as RecordedReadSource, gt as RecordedRelationOptions, dl as RecordedSourceTable, dq as RecursiveTraversalCapability, dr as RecursiveTraversalVerdict, du as RemovalMaterializationBackend, dv as RenderedSql, gu as ResolveJsonPointer, gv as ResolveJsonPointerSegments, dw as ResolvedSqlTableNames, gw as RestrictedDeleteError, gx as RestrictedDeleteErrorDetails, dx as RowProps, gy as RuntimeKindTokenError, gz as RuntimeKindTokenFailure, gA as SchemaChangedError, gB as SchemaChangedErrorDetails, dA as SchemaCommitBackend, gC as SchemaContentConflictError, gD as SchemaContentConflictErrorDetails, dC as SchemaKindEmptinessProbe, gE as SchemaMismatchError, gF as SchemaMismatchErrorDetails, dD as SchemaReadBackend, S as SchemaVersionRow, dE as SchemaWriteFenceBackend, a5 as SerializedSchema, dF as SetActiveVersionParams, gG as SortDirection, dG as SqlChunk, q as SqlDialect, dI as SqlFragment, dJ as SqlIdentifierChunk, dK as SqlIntent, dL as SqlParameterChunk, dM as SqlPlaceholderChunk, gH as SqlSchema, o as SqlTableNames, dN as SqlTag, dO as SqlTextChunk, gI as StaleVersionError, gJ as StaleVersionErrorDetails, gK as StoreNotInitializedError, gL as StoreNotInitializedErrorDetails, gM as StoreNotInitializedReason, dP as StrategyTableContribution, dQ as TableContribution, dS as TemporalMode, T as TransactionBackend, gN as TransactionClosedError, gO as TransactionConflictError, gP as TransactionConflictErrorDetails, dU as TransactionOptions, dV as TransactionReadBackend, gQ as TraversalExpansion, gR as TrustedImportError, gS as TrustedImportErrorReason, dW as TrustedImportOptions, dX as TrustedImportSession, aG as TypeGraphError, gT as TypeGraphErrorOptions, gU as UniqueConstraint, dY as UniqueConstraintBackend, gV as UniquenessError, gW as UniquenessErrorDetails, d_ as UniquenessScope, gX as UnsupportedBackendCapabilityError, gY as UnsupportedPredicateError, e1 as UpdateNodeSetParams, e2 as UpdateNodeSetResult, e6 as UpsertFulltextBatchParams, a9 as ValidationError, gZ as ValidationErrorDetails, a8 as ValidationIssue, ea as VectorCapabilities, ed as VectorOperationBackend, ee as VectorSearchFrontierTuning, Z as VectorSlot, g_ as VersionConflictError, g$ as VersionConflictErrorDetails, h0 as asEdgeId, h1 as asNodeId, h2 as asRecordedInstant, eo as buildVectorCapabilities, h3 as compareRecordedInstants, h4 as createSqlSchema, h5 as defineGraph, ep as fts5Strategy, h6 as getEdgeKinds, h7 as getErrorSuggestion, h8 as getNodeKinds, h9 as isConstraintError, ha as isEdgeType, hb as isEdgeTypeWithEndpoints, hc as isGraphDef, hd as isMetaEdge, he as isNodeType, hf as isRecordedCaptureGuardError, er as isSqlFragment, hg as isSystemError, hh as isTypeGraphError, hi as isUserRecoverable, hj as joinJsonPointers, hk as jsonPointer, hl as normalizeJsonPointer, hm as parseJsonPointer, hn as recordedInstantRevision, ho as recordedInstantWallTime, hp as recordedRelation, ex as renderPostgres, ey as renderSql, ez as renderSqlInline, eA as renderSqlite, eE as rowPropsToJsonText, eF as rowPropsToObject, eH as sql, eI as supportsInteractiveTransactions, eJ as supportsRootAtomicBatch, eK as tsvectorStrategy } from './types-Blq8PG_N.js';
6
- import { E as AliasMap, F as EdgeAliasMap, G as RecursiveAliasMap, Q as QueryCoordinateState, J as QueryBuilder, N as EmptyRecursiveAliasMap, T as TraversalBuilder, b as Store } from './store-BzmMsCcw.js';
7
- export { O as AdapterHistoryStore, P as AdapterHistoryTransactionContext, V as AdapterRecordedReadStore, W as AdapterStore, X as AdapterTransactionContext, Y as AggregateResult, Z as AlgorithmCyclePolicy, _ as AnyEdge, $ as AnyNode, a0 as BaseStoreOptions, a1 as BaseTraversalOptions, a2 as BatchResults, a3 as BatchableQuery, a4 as BulkEdgeSourceGroup, a5 as BulkFindEdgesFromParams, a6 as BulkFindEdgesFromResult, a7 as BulkFindEdgesToParams, a8 as BulkFindEdgesToResult, a9 as BulkFindRuntimeEdgesFromParams, aa as BulkFindRuntimeEdgesFromResult, ab as BulkOperationHookContext, ac as ClaimOwner, ad as ClaimTarget, ae as CompareAndSetAbsent, af as CompareAndSetExpected, ag as ConstraintFenceViolation, ah as ConstraintNames, ai as CreateEdgeInput, aj as CreateNodeInput, ak as DegreeOptions, al as DynamicEdgeAccessor, am as DynamicEdgeCollection, an as DynamicEdgeType, ao as DynamicFieldBuilder, ap as DynamicNode, aq as DynamicNodeAccessor, ar as DynamicNodeCollection, as as DynamicNodeKind, at as DynamicNodeReference, au as DynamicNodeType, av as DynamicSelectableEdge, aw as DynamicSelectableNode, ax as DynamicStoreViewEdgeCollection, ay as Edge, az as EdgeAccessor, aA as EdgeBatchReads, aB as EdgeBulkFindEndpointOptions, aC as EdgeBulkFindOptions, aD as EdgeCollection, aE as EdgeCollectionLookup, aF as EdgeFindByEndpointsOptions, aG as EdgeGetOrCreateByEndpointsOptions, aH as EdgeGetOrCreateByEndpointsResult, aI as EdgeIntrospection, aJ as EdgeTemporalReads, aK as EdgeWrites, aL as EmptyAliasMap, aM as EmptyEdgeAliasMap, aN as ExecutableAggregateQuery, aO as ExecutableQuery, aP as FieldAccessor, aQ as FulltextSearchHit, aR as FulltextSearchOptions, aS as GetOrCreateAction, aT as GraphAlgorithms, aU as GraphEdgeCollections, aV as GraphEdgeForKinds, aW as GraphNodeCollections, aX as GraphNodeReference, c as HistoryStore, aY as HistoryStoreBackend, H as HistoryStoreOptions, aZ as HookContext, a_ as HybridFulltextOptions, a$ as HybridSearchHit, b0 as HybridSearchOptions, b1 as HybridVectorOptions, I as IdentityAssertion, e as IdentityAssertionId, f as IdentityAssertionResult, b2 as IdentityAssertionWriteFacade, g as IdentityFacade, h as IdentityNode, i as IdentityNodeRefInput, b3 as IdentityNodeReference, j as IdentityPair, k as IdentityReadFacade, l as IdentityRelation, b4 as IdentityTraversalOption, b5 as IdentityValidityWindow, m as IdentityWriteSummary, b6 as IfExistsMode, b7 as InitialQueryBuilder, b8 as KindIntrospection, b9 as KindPopulationStatistics, ba as LabelPropagationMembership, bb as LabelPropagationOptions, L as LiveStoreOptions, bc as MaterializeRemovalsEntry, bd as MaterializeRemovalsOptions, be as MaterializeRemovalsResult, bf as MeasurableAdapterHistoryTransactionContext, bg as MeasurableAdapterTransactionContext, bh as MeasurableTransactionContext, bi as NeighborsOptions, bj as NoRecordedCoordinate, bk as Node, bl as NodeAccessor, bm as NodeAlias, bn as NodeBulkFindByIndexOptions, bo as NodeCollection, bp as NodeCollectionLookup, bq as NodeCurrentReads, br as NodeGetOrCreateByConstraintOptions, bs as NodeGetOrCreateByConstraintResult, bt as NodeIdentifier, bu as NodeRef, bv as NodeTemporalReads, bw as NodeWrites, bx as OntologyIntrospection, by as OperationHookContext, bz as PageRankOptions, bA as PageRankScore, bB as PaginateOptions, bC as PaginatedResult, bD as PathNode, bE as PersonalizedPageRankOptions, bF as PersonalizedPageRankSeed, bG as Predicate, bH as PreparedQuery, bI as PropertyPopulationStatistics, bJ as PropsAccessor, bK as QueryHookContext, bL as QueryOptions, bM as ReachableNode, bN as ReachableOptions, bO as RebuildContributionOptions, bP as RebuildFulltextOptions, bQ as RebuildFulltextResult, bR as ReclaimedVectorFieldEntry, n as ReconciledSchema, d as RecordedReadStore, R as RecordedReadStoreOptions, bS as RecordedScanOptions, bT as RecordedScanPage, bU as RecordedStoreView, bV as RecordedStoreViewEdgeCollection, bW as RecordedStoreViewEdgeCollections, bX as RecordedStoreViewNodeCollection, bY as RecordedStoreViewNodeCollections, bZ as RecursiveTraversalOptions, b_ as ReembedFunction, b$ as ReembedVectorFieldOptions, c0 as ReembedVectorFieldResult, c1 as RequiredEdgeCollectionLookup, c2 as RequiredNodeCollectionLookup, c3 as RuntimeBulkEdgeSourceGroup, c4 as RuntimeEdgeCollection, c5 as RuntimeEdgeFor, c6 as RuntimeEdgeKind, c7 as RuntimeEdgeTypeFor, c8 as RuntimeNodeCollection, c9 as RuntimeNodeKind, ca as RuntimeNodeReferenceFor, cb as RuntimeNodeTypeFor, cc as SchemaIntrospection, a as SchemaManagerOptions, p as SchemaValidationResult, cd as ScopedMeasure, ce as SearchScopeOptions, cf as SelectContext, cg as SelectableEdge, ch as SelectableNode, ci as ShortestPathOptions, cj as ShortestPathResult, ck as SqlAvailability, cl as StoreAnalysisCursorStaleError, cm as StoreAnalysisCursorStaleErrorDetails, cn as StoreAnalysisSchemaCoordinate, co as StoreDescription, cp as StoreHooks, S as StoreOptions, cq as StorePopulationStatistics, cr as StoreProjection, cs as StoreRef, ct as StoreSearch, cu as StoreTransactionOptions, cv as StoreValidationFailure, cw as StoreValidationPage, cx as StoreView, cy as StoreViewCanReachOptions, cz as StoreViewCoordinate, cA as StoreViewDegreeOptions, cB as StoreViewEdgeCollection, cC as StoreViewEdgeCollections, cD as StoreViewGraphAlgorithms, cE as StoreViewLabelPropagationOptions, cF as StoreViewNeighborsOptions, cG as StoreViewNodeCollection, cH as StoreViewNodeCollections, cI as StoreViewPageRankOptions, cJ as StoreViewPersonalizedPageRankOptions, cK as StoreViewReachableOptions, cL as StoreViewShortestPathOptions, cM as StoreViewSubgraphOptions, cN as StoreViewWeaklyConnectedComponentsOptions, cO as StoreViewWeightedShortestPathOptions, cP as StreamOptions, cQ as SubgraphEdgeResult, cR as SubgraphNodeResult, cS as SubgraphOptions, cT as SubgraphResult, cU as SubsetEdge, cV as SubsetNode, cW as TemporalAlgorithmOptions, cX as TransactionContext, cY as TransactionOutcome, cZ as TransactionReceipt, c_ as TraversalDirection, c$ as TypedEdgeCollection, d0 as TypedRecordedStoreViewEdgeCollection, d1 as TypedStoreViewEdgeCollection, U as UnboundLiveStoreOptions, d2 as UnionableQuery, d3 as UniqueIntrospection, d4 as UpdateEdgeInput, d5 as UpdateNodeInput, d6 as ValidateStoreOptions, d7 as ValidityEndMutation, d8 as VectorSearchHit, d9 as VectorSearchOptions, da as WeaklyConnectedComponentMembership, db as WeaklyConnectedComponentsOptions, dc as WeightedShortestPathOptions, dd as WeightedShortestPathResult, de as WorkingCopyOptions, df as asIdentityAssertionId, dg as compareAndSetAbsent, dh as createAdapterStore, di as createAdapterStoreWithSchema, dj as createQueryBuilder, dk as createStore, dl as createStoreWithSchema, dm as createVerifiedAdapterStore, dn as createVerifiedStore, dp as defineSubgraphProject, dq as exists, dr as fieldRef, t as getActiveSchema, u as getCommittedSchemaVersion, ds as inSubquery, dt as isParameterRef, x as isSchemaInitialized, du as notExists, dv as notInSubquery, dw as param } from './store-BzmMsCcw.js';
8
- export { D as DeleteLegacyRecordedAnchorMapOptions, M as MigrateLegacyRecordedTimeOptions, a as MigrateLegacyRecordedTimeResult, b as MigrateRecordedAnchorOptions, R as RepairInvertedWindowsOptions, c as RepairInvertedWindowsReport, d as RepairRelation, e as RepairRelationScope, f as deleteLegacyRecordedAnchorMap, m as migrateLegacyRecordedTime, g as migrateRecordedAnchor, r as repairInvertedValidityWindows } from './repair-validity-windows-C__28ckL.js';
9
- export { G as GraphTemplate, I as InstantiateGraphTemplateResult, i as instantiateGraph, a as instantiateGraphTemplate, r as registerGraphTemplate } from './graph-templates-B4gkXVqg.js';
10
- export { S as SYSTEM_INDEX_DECLARATIONS, a as SystemIndexDeclaration, b as SystemIndexTable, c as andWhere, d as defineEdgeIndex, e as defineNodeIndex, n as notWhere, o as orWhere } from './where-61C-QoM8.js';
2
+ import { E as EmbeddingMetric, a as EmbeddingIndexType } from './searchable-Bg2lMPRm.js';
3
+ export { D as DEFAULT_SEARCHABLE_LANGUAGE, b as EmbeddingSchema, c as EmbeddingValue, S as SearchableMetadata, d as SearchableOptions, e as SearchableSchema, f as embedding, g as getEmbeddingDimensions, h as getSearchableMetadata, i as isEmbeddingSchema, j as isSearchableSchema, r as resolveGraphVectorSlots, s as searchable } from './searchable-Bg2lMPRm.js';
4
+ import { eO as AggregateExpr, eP as FieldRef, eQ as ComparisonOp, eR as AggregateComparisonPredicate, e as GraphDef, eS as TraversalDirection, G as GraphIdentityConfig, V as VectorStrategy, f as GraphBackend, $ as NodeType, eT as OntologyRelation, cM as InferenceType, _ as AnyEdgeType } from './types-Dky3sCFz.js';
5
+ export { A as AdapterBackend, aJ as AdapterBackendTransactions, eU as AllEdgeTypes, eV as AllNodeTypes, Y as BackendCapabilities, eW as BackendDisposedError, aM as BackendExecutionCapabilities, aN as BackendIdentity, aO as BackendLifecycle, aP as BackendMaintenance, aQ as BackendTransactions, eX as BaseSchemaMigrationError, eY as BaseSchemaMigrationErrorDetails, eZ as CURRENT_GRAPH_EXTENSION_VERSION, aR as Cardinality, e_ as CardinalityError, e$ as CardinalityErrorDetails, aY as Collation, aZ as CommitSchemaVersionExpected, a_ as CommitSchemaVersionIfKindsEmptyResult, a$ as CommitSchemaVersionParams, b0 as CompareAndSetNodeParams, b1 as CompiledRowsSql, b2 as CompiledSelectSql, b3 as CompiledStatementSql, f0 as CompilerInvariantError, f1 as ConfigurationError, b8 as ContributionCapabilities, C as ContributionDiagnostic, a as ContributionDiagnosticState, b9 as ContributionMaterializationBackend, bc as ContributionProbeContribution, bd as ContributionProbeEntry, be as ContributionProbeResult, bf as ContributionProbeState, f2 as ContributionRebuildRefusal, bg as ContributionRebuildResult, bh as ContributionRebuildScope, f3 as ContributionRebuildUnsupportedError, b as ContributionRepairEntry, c as ContributionRepairResult, bi as ContributionRepopulationStats, f4 as ContributionUnavailableError, f5 as ContributionUnavailableErrorDetails, f6 as DEFAULT_SQL_SCHEMA, f7 as DatabaseOperationError, f8 as DatabaseOperationErrorDetails, br as DeleteBehavior, bv as DeleteFulltextBatchParams, f9 as DisjointError, fa as DisjointErrorDetails, bH as DurableEdgeBatchMembers, fb as EDGE_IDENTITY_MISMATCH_CODE, fc as ENTITY_ALREADY_EXISTS_CODE, fd as EagerMaterializationError, fe as EagerMaterializationErrorDetails, aA as EdgeConvergeCreateCommand, aB as EdgeConvergeCreateCommandResult, E as EdgeConvergenceMatch, ay as EdgeCreateCommand, az as EdgeCreateCommandResult, bK as EdgeEntityReadBackend, bL as EdgeEntityWriteBackend, ff as EdgeId, t as EdgeIndexConfig, p as EdgeIndexDeclaration, u as EdgeIndexDirection, v as EdgeIndexWhereBuilder, fg as EdgeKinds, fh as EdgeMatchIdentity, fi as EdgeMatchIdentityConflictError, fj as EdgeNotFoundError, fk as EdgeNotFoundErrorDetails, fl as EdgeProps, fm as EdgeRegistration, fn as EdgeTargetMap, fo as EdgeTargets, fp as EdgeType, fq as EdgeTypeWithEndpoints, fr as EmbeddingDimensionChangedError, fs as EmbeddingDimensionChangedErrorDetails, ft as EndpointError, fu as EndpointErrorDetails, bN as EndpointExistence, fv as EndpointNotFoundError, fw as EndpointNotFoundErrorDetails, fx as EndpointPairError, fy as EndpointPairErrorDetails, fz as ErrorCategory, fA as ExportStreamCancelledError, fB as ExportStreamIdleTimeoutError, fC as ExternalRecordedReadSource, cc as FilteredApproximateSearch, cd as FilteredApproximateSearchMode, cf as FindEdgesByHeterogeneousEndpointSetParams, cj as FulltextBatchRow, ck as FulltextCapabilities, cl as FulltextOperationBackend, cm as FulltextQueryMode, cn as FulltextSearchParams, co as FulltextSearchResult, d as FulltextStrategy, fD as GetEdgeType, fE as GetNodeType, fF as GraphAlgorithmConvergenceError, cp as GraphAnalyticsCapabilities, fG as GraphAnnotations, af as GraphAnnotationsChange, aC as GraphCommand, au as GraphCommandCoordination, av as GraphCommandExecutionContext, aF as GraphCommandIsolation, at as GraphCommandPort, aD as GraphCommandResult, aE as GraphCommandSession, fH as GraphDefaults, cq as GraphEntityReadBackend, cr as GraphEntityWriteBackend, cs as GraphExtension, ct as GraphExtensionVersion, cu as GraphLifecycleBackend, cy as HardDeleteUniquesByConcreteKindParams, cz as HardDeleteUniquesByNodeIdsParams, fI as HybridFusionOptions, fJ as IMMUTABLE_VALIDITY_LOWER_BOUND_CODE, fK as INVERTED_VALIDITY_WINDOW_CODE, ag as IdentityChange, fL as IdentityContradictionError, fM as IdentityContradictionErrorDetails, fN as IdentityEndpointValidityError, fO as IdentityEndpointValidityErrorDetails, fP as IdentitySeparationViolationError, fQ as IdentitySeparationViolationErrorDetails, fR as IdentityValidityWindowError, fS as IdentityValidityWindowErrorDetails, I as IndexDeclaration, cG as IndexMaterializationBackend, w as IndexOrigin, x as IndexScope, y as IndexWhereExpression, z as IndexWhereFieldBuilder, D as IndexWhereInput, cP as IntentSql, fT as InvalidEdgeWeightError, fU as InvalidEdgeWeightErrorDetails, fV as InvalidEdgeWeightReason, J as JsonPointer, fW as JsonPointerFor, fX as JsonPointerInput, fY as JsonPointerSegment, fZ as JsonPointerSegments, f_ as JsonPointerSegmentsFor, cQ as JsonScalar, cR as JsonValue, cS as KindAnnotations, f$ as KindNotFoundError, g0 as KindNotFoundErrorDetails, g1 as LEGACY_GRAPH_EXTENSION_VERSION, cZ as LockSchemaVersionForWriteParams, g2 as MAX_JSON_POINTER_DEPTH, g3 as MIGRATION_FAILURE_REASONS, c$ as ManagedEdgeCreatePlan, d0 as ManagedNodeCreateMode, d1 as ManagedNodeCreatePlan, g4 as MaterializeIndexesEntry, g5 as MaterializeIndexesOptions, g6 as MaterializeIndexesResult, g7 as MaterializeSystemIndexesOptions, g8 as MetaEdge, g9 as MetaEdgeProperties, ga as MigrationError, gb as MigrationErrorDetails, gc as MigrationFailureReason, gd as NodeConstraintNotFoundError, ge as NodeConstraintNotFoundErrorDetails, aw as NodeCreateCommand, ax as NodeCreateCommandResult, d3 as NodeEntityReadBackend, d4 as NodeEntityWriteBackend, gf as NodeId, H as NodeIndexConfig, s as NodeIndexDeclaration, gg as NodeIndexNotFoundError, gh as NodeIndexNotFoundErrorDetails, L as NodeIndexWhereBuilder, N as NodeInsertClaim, d5 as NodeInsertClaimVerdict, i as NodeInsertProjection, gi as NodeKinds, gj as NodeNotFoundError, gk as NodeNotFoundErrorDetails, d6 as NodePropertyExpectation, gl as NodeProps, gm as NodeRegistration, gn as OrderSpec, go as ParameterRef, da as Placeholder, db as PopulatedSchemaKind, dd as QueryExecutionBackend, gp as RECORDED_CAPTURE_GUARD_CODES, de as RawQueryExecutionBackend, df as RawStatementExecutionBackend, gq as RecordedCaptureGuardCode, gr as RecordedCaptureGuardError, R as RecordedInstant, gs as RecordedReadSource, gt as RecordedRelationOptions, dl as RecordedSourceTable, dq as RecursiveTraversalCapability, dr as RecursiveTraversalVerdict, du as RemovalMaterializationBackend, dv as RenderedSql, gu as ResolveJsonPointer, gv as ResolveJsonPointerSegments, dw as ResolvedSqlTableNames, gw as RestrictedDeleteError, gx as RestrictedDeleteErrorDetails, dx as RowProps, gy as RuntimeKindTokenError, gz as RuntimeKindTokenFailure, gA as SchemaChangedError, gB as SchemaChangedErrorDetails, dA as SchemaCommitBackend, gC as SchemaContentConflictError, gD as SchemaContentConflictErrorDetails, dC as SchemaKindEmptinessProbe, gE as SchemaMismatchError, gF as SchemaMismatchErrorDetails, dD as SchemaReadBackend, S as SchemaVersionRow, dE as SchemaWriteFenceBackend, a5 as SerializedSchema, dF as SetActiveVersionParams, gG as SortDirection, dG as SqlChunk, q as SqlDialect, dI as SqlFragment, dJ as SqlIdentifierChunk, dK as SqlIntent, dL as SqlParameterChunk, dM as SqlPlaceholderChunk, gH as SqlSchema, o as SqlTableNames, dN as SqlTag, dO as SqlTextChunk, gI as StaleVersionError, gJ as StaleVersionErrorDetails, gK as StoreNotInitializedError, gL as StoreNotInitializedErrorDetails, gM as StoreNotInitializedReason, dP as StrategyTableContribution, dQ as TableContribution, dS as TemporalMode, T as TransactionBackend, gN as TransactionClosedError, gO as TransactionConflictError, gP as TransactionConflictErrorDetails, dU as TransactionOptions, dV as TransactionReadBackend, gQ as TraversalExpansion, gR as TrustedImportError, gS as TrustedImportErrorReason, dW as TrustedImportOptions, dX as TrustedImportSession, aG as TypeGraphError, gT as TypeGraphErrorOptions, gU as UniqueConstraint, dY as UniqueConstraintBackend, gV as UniquenessError, gW as UniquenessErrorDetails, d_ as UniquenessScope, gX as UnsupportedBackendCapabilityError, gY as UnsupportedPredicateError, e1 as UpdateNodeSetParams, e2 as UpdateNodeSetResult, e6 as UpsertFulltextBatchParams, a9 as ValidationError, gZ as ValidationErrorDetails, a8 as ValidationIssue, ea as VectorCapabilities, ed as VectorOperationBackend, ee as VectorSearchFrontierTuning, Z as VectorSlot, g_ as VersionConflictError, g$ as VersionConflictErrorDetails, h0 as asEdgeId, h1 as asNodeId, h2 as asRecordedInstant, eo as buildVectorCapabilities, h3 as compareRecordedInstants, h4 as createSqlSchema, h5 as defineGraph, ep as fts5Strategy, h6 as getEdgeKinds, h7 as getErrorSuggestion, h8 as getNodeKinds, h9 as isConstraintError, ha as isEdgeType, hb as isEdgeTypeWithEndpoints, hc as isGraphDef, hd as isMetaEdge, he as isNodeType, hf as isRecordedCaptureGuardError, er as isSqlFragment, hg as isSystemError, hh as isTypeGraphError, hi as isUserRecoverable, hj as joinJsonPointers, hk as jsonPointer, hl as normalizeJsonPointer, hm as parseJsonPointer, hn as recordedInstantRevision, ho as recordedInstantWallTime, hp as recordedRelation, ex as renderPostgres, ey as renderSql, ez as renderSqlInline, eA as renderSqlite, eE as rowPropsToJsonText, eF as rowPropsToObject, eH as sql, eI as supportsInteractiveTransactions, eJ as supportsRootAtomicBatch, eK as tsvectorStrategy } from './types-Dky3sCFz.js';
6
+ import { G as AliasMap, J as EdgeAliasMap, N as RecursiveAliasMap, Q as QueryCoordinateState, O as QueryBuilder, P as EmptyRecursiveAliasMap, T as TraversalBuilder, b as Store } from './store-B5WZ8E5m.js';
7
+ export { V as AdapterHistoryStore, W as AdapterHistoryTransactionContext, X as AdapterRecordedReadStore, Y as AdapterStore, Z as AdapterTransactionContext, _ as AggregateResult, $ as AlgorithmCyclePolicy, a0 as AnyEdge, a1 as AnyNode, a2 as BaseStoreOptions, a3 as BaseTraversalOptions, B as BatchReadBuilder, a4 as BatchResults, a5 as BatchableQuery, a6 as BulkEdgeSourceGroup, a7 as BulkFindEdgesFromParams, a8 as BulkFindEdgesFromResult, a9 as BulkFindEdgesToParams, aa as BulkFindEdgesToResult, ab as BulkFindRuntimeEdgesFromParams, ac as BulkFindRuntimeEdgesFromResult, ad as BulkOperationHookContext, ae as CheckedReadScope, af as ClaimOwner, ag as ClaimTarget, ah as CompareAndSetAbsent, ai as CompareAndSetExpected, C as CompiledOneStatementRead, aj as ConstraintFenceViolation, ak as ConstraintNames, al as CreateEdgeInput, am as CreateNodeInput, an as DegreeOptions, ao as DynamicEdgeAccessor, ap as DynamicEdgeCollection, aq as DynamicEdgeType, ar as DynamicFieldBuilder, as as DynamicNode, at as DynamicNodeAccessor, au as DynamicNodeCollection, av as DynamicNodeKind, aw as DynamicNodeReference, ax as DynamicNodeType, ay as DynamicSelectableEdge, az as DynamicSelectableNode, aA as DynamicStoreViewEdgeCollection, aB as Edge, aC as EdgeAccessor, aD as EdgeBatchReads, aE as EdgeBulkFindEndpointOptions, aF as EdgeBulkFindOptions, aG as EdgeCollection, aH as EdgeCollectionLookup, aI as EdgeFindByEndpointsOptions, aJ as EdgeGetOrCreateByEndpointsOptions, aK as EdgeGetOrCreateByEndpointsResult, aL as EdgeIntrospection, aM as EdgeReadWindow, aN as EdgeTemporalReads, aO as EdgeWrites, aP as EmbeddableOneStatementRead, aQ as EmptyAliasMap, aR as EmptyEdgeAliasMap, aS as ExecutableAggregateQuery, aT as ExecutableOneStatementRead, aU as ExecutableQuery, aV as FieldAccessor, aW as FulltextSearchHit, aX as FulltextSearchOptions, aY as GetOrCreateAction, aZ as GraphAlgorithms, a_ as GraphEdgeCollections, a$ as GraphEdgeForKinds, b0 as GraphNodeCollections, b1 as GraphNodeReference, c as HistoryStore, b2 as HistoryStoreBackend, H as HistoryStoreOptions, b3 as HookContext, b4 as HybridFulltextOptions, b5 as HybridSearchHit, b6 as HybridSearchOptions, b7 as HybridVectorOptions, I as IdentityAssertion, e as IdentityAssertionId, f as IdentityAssertionResult, b8 as IdentityAssertionWriteFacade, g as IdentityFacade, h as IdentityNode, i as IdentityNodeRefInput, b9 as IdentityNodeReference, j as IdentityPair, k as IdentityReadFacade, l as IdentityRelation, ba as IdentityTraversalOption, bb as IdentityValidityWindow, m as IdentityWriteSummary, bc as IfExistsMode, bd as InitialQueryBuilder, be as KindIntrospection, bf as KindPopulationStatistics, bg as LabelPropagationMembership, bh as LabelPropagationOptions, L as LiveStoreOptions, bi as MaterializeRemovalsEntry, bj as MaterializeRemovalsOptions, bk as MaterializeRemovalsResult, bl as MeasurableAdapterHistoryTransactionContext, bm as MeasurableAdapterTransactionContext, bn as MeasurableTransactionContext, bo as NeighborNodeOrderField, bp as NeighborOrder, bq as NeighborOrderField, br as NeighborReadOptions, bs as NeighborResult, bt as NeighborsOptions, bu as NoRecordedCoordinate, bv as Node, bw as NodeAccessor, bx as NodeAlias, by as NodeBulkFindByIndexOptions, bz as NodeCollection, bA as NodeCollectionLookup, bB as NodeCurrentReads, bC as NodeGetOrCreateByConstraintOptions, bD as NodeGetOrCreateByConstraintResult, bE as NodeIdentifier, bF as NodeRef, bG as NodeTemporalReads, bH as NodeWrites, bI as OneStatementBatchResults, bJ as OneStatementBatchableQuery, bK as OntologyIntrospection, bL as OperationHookContext, bM as PageRankOptions, bN as PageRankScore, bO as PaginateOptions, bP as PaginatedResult, bQ as PathNode, bR as PersonalizedPageRankOptions, bS as PersonalizedPageRankSeed, bT as Predicate, bU as PreparedQuery, bV as PropertyPopulationStatistics, bW as PropsAccessor, bX as QueryHookContext, bY as QueryOptions, bZ as ReachableNode, b_ as ReachableOptions, b$ as RebuildContributionOptions, c0 as RebuildFulltextOptions, c1 as RebuildFulltextResult, c2 as ReclaimedVectorFieldEntry, n as ReconciledSchema, d as RecordedReadStore, R as RecordedReadStoreOptions, c3 as RecordedScanOptions, c4 as RecordedScanPage, c5 as RecordedStoreView, c6 as RecordedStoreViewEdgeCollection, c7 as RecordedStoreViewEdgeCollections, c8 as RecordedStoreViewNodeCollection, c9 as RecordedStoreViewNodeCollections, ca as RecursiveTraversalOptions, cb as ReembedFunction, cc as ReembedVectorFieldOptions, cd as ReembedVectorFieldResult, ce as RequiredEdgeCollectionLookup, cf as RequiredNodeCollectionLookup, cg as RuntimeBulkEdgeSourceGroup, ch as RuntimeEdgeCollection, ci as RuntimeEdgeFor, cj as RuntimeEdgeKind, ck as RuntimeEdgeTypeFor, cl as RuntimeNodeCollection, cm as RuntimeNodeKind, cn as RuntimeNodeReferenceFor, co as RuntimeNodeTypeFor, cp as SchemaIntrospection, a as SchemaManagerOptions, p as SchemaValidationResult, cq as ScopedMeasure, cr as SearchScopeOptions, cs as SelectContext, ct as SelectableEdge, cu as SelectableNode, cv as ShortestPathOptions, cw as ShortestPathResult, cx as SqlAvailability, cy as StoreAnalysisCursorStaleError, cz as StoreAnalysisCursorStaleErrorDetails, cA as StoreAnalysisSchemaCoordinate, cB as StoreDescription, cC as StoreHooks, S as StoreOptions, cD as StorePopulationStatistics, cE as StoreProjection, cF as StoreRef, cG as StoreSearch, cH as StoreTransactionOptions, cI as StoreValidationFailure, cJ as StoreValidationPage, cK as StoreView, cL as StoreViewCanReachOptions, cM as StoreViewCoordinate, cN as StoreViewDegreeOptions, cO as StoreViewEdgeCollection, cP as StoreViewEdgeCollections, cQ as StoreViewGraphAlgorithms, cR as StoreViewLabelPropagationOptions, cS as StoreViewNeighborsOptions, cT as StoreViewNodeCollection, cU as StoreViewNodeCollections, cV as StoreViewPageRankOptions, cW as StoreViewPersonalizedPageRankOptions, cX as StoreViewReachableOptions, cY as StoreViewShortestPathOptions, cZ as StoreViewSubgraphOptions, c_ as StoreViewWeaklyConnectedComponentsOptions, c$ as StoreViewWeightedShortestPathOptions, d0 as StreamOptions, d1 as SubgraphEdgeResult, d2 as SubgraphNodeResult, d3 as SubgraphOptions, d4 as SubgraphResult, d5 as SubsetEdge, d6 as SubsetNode, d7 as TemporalAlgorithmOptions, d8 as TransactionContext, d9 as TransactionOutcome, da as TransactionReceipt, db as TraversalDirection, dc as TypedEdgeCollection, dd as TypedRecordedStoreViewEdgeCollection, de as TypedStoreViewEdgeCollection, U as UnboundLiveStoreOptions, df as UnionableQuery, dg as UniqueIntrospection, dh as UpdateEdgeInput, di as UpdateNodeInput, dj as ValidateStoreOptions, dk as ValidityEndMutation, dl as VectorSearchHit, dm as VectorSearchOptions, dn as WeaklyConnectedComponentMembership, dp as WeaklyConnectedComponentsOptions, dq as WeightedShortestPathOptions, dr as WeightedShortestPathResult, ds as WorkingCopyOptions, dt as asIdentityAssertionId, du as compareAndSetAbsent, dv as createAdapterStore, dw as createAdapterStoreWithSchema, dx as createQueryBuilder, dy as createStore, dz as createStoreWithSchema, dA as createVerifiedAdapterStore, dB as createVerifiedStore, dC as defineSubgraphProject, dD as exists, dE as fieldRef, t as getActiveSchema, u as getCommittedSchemaVersion, dF as inSubquery, dG as isParameterRef, x as isSchemaInitialized, dH as notExists, dI as notInSubquery, dJ as param } from './store-B5WZ8E5m.js';
8
+ export { D as DeleteLegacyRecordedAnchorMapOptions, M as MigrateLegacyRecordedTimeOptions, a as MigrateLegacyRecordedTimeResult, b as MigrateRecordedAnchorOptions, R as RepairInvertedWindowsOptions, c as RepairInvertedWindowsReport, d as RepairRelation, e as RepairRelationScope, f as deleteLegacyRecordedAnchorMap, m as migrateLegacyRecordedTime, g as migrateRecordedAnchor, r as repairInvertedValidityWindows } from './repair-validity-windows-DfRb4gZm.js';
9
+ export { G as GraphTemplate, I as InstantiateGraphTemplateResult, i as instantiateGraph, a as instantiateGraphTemplate, r as registerGraphTemplate } from './graph-templates-ClBhrXiA.js';
10
+ export { S as SYSTEM_INDEX_DECLARATIONS, a as SystemIndexDeclaration, b as SystemIndexTable, c as andWhere, d as defineEdgeIndex, e as defineNodeIndex, n as notWhere, o as orWhere } from './where-BReEkAiy.js';
11
11
  export { GraphExtensionError, GraphExtensionIssue, GraphExtensionIssueCode, GraphExtensionUnresolvedEndpointError, GraphExtensionUnresolvedOntologyEndpointError, GraphExtensionValidationError, GraphExtensionVersionUnsupportedError, IncompatibleChange, IncompatibleChangeError, KindCollisionError, KindHasReferentsError, KindReferent, RemoveCompileTimeKindError, defineGraphExtension, validateGraphExtension } from './graph-extension/index.js';
12
12
  import 'zod';
13
- import './resolve-DgFSIK99.js';
13
+ import './resolve-BbjZDYTw.js';
14
14
  import './result-DWo6mUVz.js';
15
15
 
16
16
  /**
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { ExecutableAggregateQuery, ExecutableQuery, MAX_EXPLICIT_RECURSIVE_DEPTH, MAX_RECURSIVE_DEPTH, PreparedQuery, QueryBuilder, RecordedStoreView, StoreAnalysisCursorStaleError, StoreSearch, StoreView, UnionableQuery, avg, composeFragments, count, countDistinct, countDistinctEdges, countEdges, createAdapterStore, createAdapterStoreWithSchema, createFragment, createQueryBuilder, createStore, createStoreWithSchema, createVerifiedAdapterStore, createVerifiedStore, defineSubgraphProject, field, having, havingEq, havingGt, havingGte, havingLt, havingLte, limitFragment, max, min, offsetFragment, orderByFragment, sum } from './chunk-7JUD57B4.js';
1
+ export { ExecutableAggregateQuery, ExecutableQuery, MAX_EXPLICIT_RECURSIVE_DEPTH, MAX_RECURSIVE_DEPTH, PreparedQuery, QueryBuilder, RecordedStoreView, StoreAnalysisCursorStaleError, StoreSearch, StoreView, UnionableQuery, avg, composeFragments, count, countDistinct, countDistinctEdges, countEdges, createAdapterStore, createAdapterStoreWithSchema, createFragment, createQueryBuilder, createStore, createStoreWithSchema, createVerifiedAdapterStore, createVerifiedStore, defineSubgraphProject, field, having, havingEq, havingGt, havingGte, havingLt, havingLte, limitFragment, max, min, offsetFragment, orderByFragment, sum } from './chunk-2DKIJP2R.js';
2
2
  export { sqliteVecStrategy } from './chunk-2AZXVMSX.js';
3
3
  export { libsqlVectorStrategy } from './chunk-AIU2RHVG.js';
4
4
  export { pgvectorStrategy } from './chunk-CLGE3366.js';
@@ -7,19 +7,19 @@ export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecord
7
7
  import './chunk-7GZJ36LN.js';
8
8
  import { LEGACY_EMBEDDINGS_TABLE_NAME } from './chunk-VEW3743S.js';
9
9
  export { createExternalRef, externalRef, getExternalRefTable, isExternalRefSchema, metaEdge } from './chunk-6WZ4NGMO.js';
10
- import './chunk-DV24YZHG.js';
11
- import './chunk-6BVZHDAZ.js';
10
+ import './chunk-FTDRMXIJ.js';
11
+ import './chunk-43DOTETB.js';
12
12
  import './chunk-AHRNKPEV.js';
13
13
  import './chunk-IM4X2ZOR.js';
14
14
  import './chunk-N535PWMA.js';
15
15
  import './chunk-2DNUADXX.js';
16
- export { instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from './chunk-M7TRJXFE.js';
17
- export { broader, core, differentFrom, disjointWith, equivalentTo, getActiveSchema, getCommittedSchemaVersion, hasPart, implies, inverseOf, isSchemaInitialized, narrower, partOf, relatedTo, sameAs, subClassOf } from './chunk-IV3FENV2.js';
16
+ export { instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from './chunk-ILVXUOQY.js';
17
+ export { broader, core, differentFrom, disjointWith, equivalentTo, getActiveSchema, getCommittedSchemaVersion, hasPart, implies, inverseOf, isSchemaInitialized, narrower, partOf, relatedTo, sameAs, subClassOf } from './chunk-W6K6NSRT.js';
18
18
  import './chunk-RFMSZ7CF.js';
19
19
  export { defineEdge, defineNode, isMetaEdge } from './chunk-YXT3CCTR.js';
20
- import './chunk-CVO2ZPW5.js';
21
- import { storeRuntime } from './chunk-HWWPL2YL.js';
22
- export { compareAndSetAbsent, generateId } from './chunk-HWWPL2YL.js';
20
+ import './chunk-B4P4DAW3.js';
21
+ import { storeRuntime } from './chunk-QWIR5533.js';
22
+ export { compareAndSetAbsent, generateId } from './chunk-QWIR5533.js';
23
23
  export { exists, fieldRef, inSubquery, isParameterRef, notExists, notInSubquery, param } from './chunk-XWMB3AFN.js';
24
24
  import './chunk-ZQIDQHDR.js';
25
25
  import { isMissingTableError } from './chunk-LI7JGO5B.js';
@@ -28,11 +28,11 @@ export { defineGraph, getEdgeKinds, getNodeKinds, isGraphDef } from './chunk-CYS
28
28
  export { asEdgeId, asNodeId, isEdgeTargetMap, isEdgeType, isEdgeTypeWithEndpoints, isNodeType } from './chunk-WUNSJGP6.js';
29
29
  export { asRecordedInstant, compareRecordedInstants, recordedInstantRevision, recordedInstantWallTime } from './chunk-6TIDSIPH.js';
30
30
  export { andWhere, notWhere, orWhere } from './chunk-QZ7A6HBM.js';
31
- import './chunk-GK62U3S5.js';
31
+ import './chunk-LOFUF6L7.js';
32
32
  export { SYSTEM_INDEX_DECLARATIONS } from './chunk-JANTPNIZ.js';
33
- export { defineEdgeIndex, defineNodeIndex } from './chunk-QIKO6DL5.js';
33
+ export { defineEdgeIndex, defineNodeIndex } from './chunk-2QNFFAMF.js';
34
34
  import './chunk-K34OPSJK.js';
35
- import './chunk-YTYB5KCQ.js';
35
+ import './chunk-OH7QRGPQ.js';
36
36
  import './chunk-RZ474NIQ.js';
37
37
  import './chunk-2EBMPJBO.js';
38
38
  export { buildVectorCapabilities, fts5Strategy, tsvectorStrategy } from './chunk-3MZTAXYX.js';
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkUWG5GX6E_cjs = require('../chunk-UWG5GX6E.cjs');
4
- var chunkZHLWPHNT_cjs = require('../chunk-ZHLWPHNT.cjs');
4
+ var chunkRJ3GVX73_cjs = require('../chunk-RJ3GVX73.cjs');
5
5
  var chunkGDTWUVSN_cjs = require('../chunk-GDTWUVSN.cjs');
6
- var chunkCRROO6PK_cjs = require('../chunk-CRROO6PK.cjs');
6
+ var chunkQHP2BCBJ_cjs = require('../chunk-QHP2BCBJ.cjs');
7
7
  require('../chunk-ZY4GXIVN.cjs');
8
- require('../chunk-4MZQVVPX.cjs');
8
+ require('../chunk-D5CHUSW7.cjs');
9
9
  require('../chunk-BZZ2ZGWE.cjs');
10
10
  require('../chunk-NAUA4PW5.cjs');
11
11
  require('../chunk-4FB7REYC.cjs');
@@ -41,15 +41,15 @@ Object.defineProperty(exports, "toDeclaredIndexes", {
41
41
  });
42
42
  Object.defineProperty(exports, "generateEdgeIndexDDL", {
43
43
  enumerable: true,
44
- get: function () { return chunkZHLWPHNT_cjs.generateEdgeIndexDDL; }
44
+ get: function () { return chunkRJ3GVX73_cjs.generateEdgeIndexDDL; }
45
45
  });
46
46
  Object.defineProperty(exports, "generateIndexDDL", {
47
47
  enumerable: true,
48
- get: function () { return chunkZHLWPHNT_cjs.generateIndexDDL; }
48
+ get: function () { return chunkRJ3GVX73_cjs.generateIndexDDL; }
49
49
  });
50
50
  Object.defineProperty(exports, "generateNodeIndexDDL", {
51
51
  enumerable: true,
52
- get: function () { return chunkZHLWPHNT_cjs.generateNodeIndexDDL; }
52
+ get: function () { return chunkRJ3GVX73_cjs.generateNodeIndexDDL; }
53
53
  });
54
54
  Object.defineProperty(exports, "SYSTEM_INDEX_DECLARATIONS", {
55
55
  enumerable: true,
@@ -61,11 +61,11 @@ Object.defineProperty(exports, "generateSystemIndexDDL", {
61
61
  });
62
62
  Object.defineProperty(exports, "defineEdgeIndex", {
63
63
  enumerable: true,
64
- get: function () { return chunkCRROO6PK_cjs.defineEdgeIndex; }
64
+ get: function () { return chunkQHP2BCBJ_cjs.defineEdgeIndex; }
65
65
  });
66
66
  Object.defineProperty(exports, "defineNodeIndex", {
67
67
  enumerable: true,
68
- get: function () { return chunkCRROO6PK_cjs.defineNodeIndex; }
68
+ get: function () { return chunkQHP2BCBJ_cjs.defineNodeIndex; }
69
69
  });
70
70
  //# sourceMappingURL=index.cjs.map
71
71
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
- import { p as EdgeIndexDeclaration, q as SqlDialect, r as RelationalIndexDeclaration, s as NodeIndexDeclaration, I as IndexDeclaration } from '../types-Blq8PG_N.cjs';
2
- export { t as EdgeIndexConfig, u as EdgeIndexDirection, v as EdgeIndexWhereBuilder, w as IndexOrigin, x as IndexScope, y as IndexWhereExpression, z as IndexWhereFieldBuilder, D as IndexWhereInput, H as NodeIndexConfig, L as NodeIndexWhereBuilder, M as SystemColumnName, O as VectorIndexDeclaration, P as VectorIndexImplementation, U as VectorIndexMetric, X as VectorIndexParams } from '../types-Blq8PG_N.cjs';
3
- export { S as SYSTEM_INDEX_DECLARATIONS, a as SystemIndexDeclaration, b as SystemIndexTable, c as andWhere, d as defineEdgeIndex, e as defineNodeIndex, g as generateSystemIndexDDL, n as notWhere, o as orWhere } from '../where-o3Me5iJx.cjs';
4
- import { D as DeclaredIndex } from '../types-BUoh7cc3.cjs';
1
+ import { p as EdgeIndexDeclaration, q as SqlDialect, r as RelationalIndexDeclaration, s as NodeIndexDeclaration, I as IndexDeclaration } from '../types-Dky3sCFz.cjs';
2
+ export { t as EdgeIndexConfig, u as EdgeIndexDirection, v as EdgeIndexWhereBuilder, w as IndexOrigin, x as IndexScope, y as IndexWhereExpression, z as IndexWhereFieldBuilder, D as IndexWhereInput, H as NodeIndexConfig, L as NodeIndexWhereBuilder, M as SystemColumnName, O as VectorIndexDeclaration, P as VectorIndexImplementation, U as VectorIndexMetric, X as VectorIndexParams } from '../types-Dky3sCFz.cjs';
3
+ export { S as SYSTEM_INDEX_DECLARATIONS, a as SystemIndexDeclaration, b as SystemIndexTable, c as andWhere, d as defineEdgeIndex, e as defineNodeIndex, g as generateSystemIndexDDL, n as notWhere, o as orWhere } from '../where-Cz11nPRu.cjs';
4
+ import { D as DeclaredIndex } from '../types-BUA3dZ99.cjs';
5
5
  import 'zod';
6
6
 
7
7
  type GenerateIndexDdlOptions = Readonly<{
@@ -1,7 +1,7 @@
1
- import { p as EdgeIndexDeclaration, q as SqlDialect, r as RelationalIndexDeclaration, s as NodeIndexDeclaration, I as IndexDeclaration } from '../types-Blq8PG_N.js';
2
- export { t as EdgeIndexConfig, u as EdgeIndexDirection, v as EdgeIndexWhereBuilder, w as IndexOrigin, x as IndexScope, y as IndexWhereExpression, z as IndexWhereFieldBuilder, D as IndexWhereInput, H as NodeIndexConfig, L as NodeIndexWhereBuilder, M as SystemColumnName, O as VectorIndexDeclaration, P as VectorIndexImplementation, U as VectorIndexMetric, X as VectorIndexParams } from '../types-Blq8PG_N.js';
3
- export { S as SYSTEM_INDEX_DECLARATIONS, a as SystemIndexDeclaration, b as SystemIndexTable, c as andWhere, d as defineEdgeIndex, e as defineNodeIndex, g as generateSystemIndexDDL, n as notWhere, o as orWhere } from '../where-61C-QoM8.js';
4
- import { D as DeclaredIndex } from '../types-ClC0IFIS.js';
1
+ import { p as EdgeIndexDeclaration, q as SqlDialect, r as RelationalIndexDeclaration, s as NodeIndexDeclaration, I as IndexDeclaration } from '../types-Dky3sCFz.js';
2
+ export { t as EdgeIndexConfig, u as EdgeIndexDirection, v as EdgeIndexWhereBuilder, w as IndexOrigin, x as IndexScope, y as IndexWhereExpression, z as IndexWhereFieldBuilder, D as IndexWhereInput, H as NodeIndexConfig, L as NodeIndexWhereBuilder, M as SystemColumnName, O as VectorIndexDeclaration, P as VectorIndexImplementation, U as VectorIndexMetric, X as VectorIndexParams } from '../types-Dky3sCFz.js';
3
+ export { S as SYSTEM_INDEX_DECLARATIONS, a as SystemIndexDeclaration, b as SystemIndexTable, c as andWhere, d as defineEdgeIndex, e as defineNodeIndex, g as generateSystemIndexDDL, n as notWhere, o as orWhere } from '../where-BReEkAiy.js';
4
+ import { D as DeclaredIndex } from '../types-CPtb7KNf.js';
5
5
  import 'zod';
6
6
 
7
7
  type GenerateIndexDdlOptions = Readonly<{
@@ -1,9 +1,9 @@
1
1
  export { andWhere, notWhere, orWhere, toDeclaredIndex, toDeclaredIndexes } from '../chunk-QZ7A6HBM.js';
2
- export { generateEdgeIndexDDL, generateIndexDDL, generateNodeIndexDDL } from '../chunk-GK62U3S5.js';
2
+ export { generateEdgeIndexDDL, generateIndexDDL, generateNodeIndexDDL } from '../chunk-LOFUF6L7.js';
3
3
  export { SYSTEM_INDEX_DECLARATIONS, generateSystemIndexDDL } from '../chunk-JANTPNIZ.js';
4
- export { defineEdgeIndex, defineNodeIndex } from '../chunk-QIKO6DL5.js';
4
+ export { defineEdgeIndex, defineNodeIndex } from '../chunk-2QNFFAMF.js';
5
5
  import '../chunk-K34OPSJK.js';
6
- import '../chunk-YTYB5KCQ.js';
6
+ import '../chunk-OH7QRGPQ.js';
7
7
  import '../chunk-RZ474NIQ.js';
8
8
  import '../chunk-2EBMPJBO.js';
9
9
  import '../chunk-3MZTAXYX.js';
@@ -1,4 +1,4 @@
1
- import { e as GraphDef } from './types-Blq8PG_N.cjs';
1
+ import { e as GraphDef } from './types-Dky3sCFz.cjs';
2
2
 
3
3
  /**
4
4
  * Private capability bridge from an opaque ingestion branch to interchange.
@@ -1,4 +1,4 @@
1
- import { e as GraphDef } from './types-Blq8PG_N.js';
1
+ import { e as GraphDef } from './types-Dky3sCFz.js';
2
2
 
3
3
  /**
4
4
  * Private capability bridge from an opaque ingestion branch to interchange.
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var chunkFGKWXSHF_cjs = require('../chunk-FGKWXSHF.cjs');
4
- require('../chunk-QR6V2BXA.cjs');
5
- require('../chunk-BPYZUJX5.cjs');
3
+ var chunkKGQVK2II_cjs = require('../chunk-KGQVK2II.cjs');
4
+ require('../chunk-PTFO3JI5.cjs');
5
+ require('../chunk-MTJAT6UO.cjs');
6
6
  require('../chunk-Y6M5BFRJ.cjs');
7
7
  require('../chunk-GD7IWK36.cjs');
8
8
  require('../chunk-R255UE5U.cjs');
9
9
  require('../chunk-XUCVGEJT.cjs');
10
- require('../chunk-C3CN2C2T.cjs');
11
- require('../chunk-IV5W7LKW.cjs');
10
+ require('../chunk-Q6ZVQWH7.cjs');
11
+ require('../chunk-A22XPVBQ.cjs');
12
12
  require('../chunk-WEXAMJTA.cjs');
13
13
  require('../chunk-OGK7F2J3.cjs');
14
14
  require('../chunk-EOLNL35G.cjs');
15
15
  require('../chunk-6ODVH5SA.cjs');
16
16
  require('../chunk-FSSQ4YNU.cjs');
17
17
  require('../chunk-NWJV4UVW.cjs');
18
- require('../chunk-4MZQVVPX.cjs');
18
+ require('../chunk-D5CHUSW7.cjs');
19
19
  require('../chunk-BZZ2ZGWE.cjs');
20
20
  require('../chunk-NAUA4PW5.cjs');
21
21
  require('../chunk-4FB7REYC.cjs');
@@ -32,95 +32,95 @@ require('../chunk-BXHAPCQG.cjs');
32
32
 
33
33
  Object.defineProperty(exports, "ConflictStrategySchema", {
34
34
  enumerable: true,
35
- get: function () { return chunkFGKWXSHF_cjs.ConflictStrategySchema; }
35
+ get: function () { return chunkKGQVK2II_cjs.ConflictStrategySchema; }
36
36
  });
37
37
  Object.defineProperty(exports, "ExportOptionsSchema", {
38
38
  enumerable: true,
39
- get: function () { return chunkFGKWXSHF_cjs.ExportOptionsSchema; }
39
+ get: function () { return chunkKGQVK2II_cjs.ExportOptionsSchema; }
40
40
  });
41
41
  Object.defineProperty(exports, "ExportStreamOptionsSchema", {
42
42
  enumerable: true,
43
- get: function () { return chunkFGKWXSHF_cjs.ExportStreamOptionsSchema; }
43
+ get: function () { return chunkKGQVK2II_cjs.ExportStreamOptionsSchema; }
44
44
  });
45
45
  Object.defineProperty(exports, "FORMAT_VERSION", {
46
46
  enumerable: true,
47
- get: function () { return chunkFGKWXSHF_cjs.FORMAT_VERSION; }
47
+ get: function () { return chunkKGQVK2II_cjs.FORMAT_VERSION; }
48
48
  });
49
49
  Object.defineProperty(exports, "GraphDataHeaderSchema", {
50
50
  enumerable: true,
51
- get: function () { return chunkFGKWXSHF_cjs.GraphDataHeaderSchema; }
51
+ get: function () { return chunkKGQVK2II_cjs.GraphDataHeaderSchema; }
52
52
  });
53
53
  Object.defineProperty(exports, "GraphDataSchema", {
54
54
  enumerable: true,
55
- get: function () { return chunkFGKWXSHF_cjs.GraphDataSchema; }
55
+ get: function () { return chunkKGQVK2II_cjs.GraphDataSchema; }
56
56
  });
57
57
  Object.defineProperty(exports, "GraphDataSourceSchema", {
58
58
  enumerable: true,
59
- get: function () { return chunkFGKWXSHF_cjs.GraphDataSourceSchema; }
59
+ get: function () { return chunkKGQVK2II_cjs.GraphDataSourceSchema; }
60
60
  });
61
61
  Object.defineProperty(exports, "GraphInterchangeChunkSchema", {
62
62
  enumerable: true,
63
- get: function () { return chunkFGKWXSHF_cjs.GraphInterchangeChunkSchema; }
63
+ get: function () { return chunkKGQVK2II_cjs.GraphInterchangeChunkSchema; }
64
64
  });
65
65
  Object.defineProperty(exports, "IdentityInterchangeModeSchema", {
66
66
  enumerable: true,
67
- get: function () { return chunkFGKWXSHF_cjs.IdentityInterchangeModeSchema; }
67
+ get: function () { return chunkKGQVK2II_cjs.IdentityInterchangeModeSchema; }
68
68
  });
69
69
  Object.defineProperty(exports, "ImportErrorSchema", {
70
70
  enumerable: true,
71
- get: function () { return chunkFGKWXSHF_cjs.ImportErrorSchema; }
71
+ get: function () { return chunkKGQVK2II_cjs.ImportErrorSchema; }
72
72
  });
73
73
  Object.defineProperty(exports, "ImportOptionsSchema", {
74
74
  enumerable: true,
75
- get: function () { return chunkFGKWXSHF_cjs.ImportOptionsSchema; }
75
+ get: function () { return chunkKGQVK2II_cjs.ImportOptionsSchema; }
76
76
  });
77
77
  Object.defineProperty(exports, "ImportResultSchema", {
78
78
  enumerable: true,
79
- get: function () { return chunkFGKWXSHF_cjs.ImportResultSchema; }
79
+ get: function () { return chunkKGQVK2II_cjs.ImportResultSchema; }
80
80
  });
81
81
  Object.defineProperty(exports, "InterchangeEdgeSchema", {
82
82
  enumerable: true,
83
- get: function () { return chunkFGKWXSHF_cjs.InterchangeEdgeSchema; }
83
+ get: function () { return chunkKGQVK2II_cjs.InterchangeEdgeSchema; }
84
84
  });
85
85
  Object.defineProperty(exports, "InterchangeIdentityAssertionSchema", {
86
86
  enumerable: true,
87
- get: function () { return chunkFGKWXSHF_cjs.InterchangeIdentityAssertionSchema; }
87
+ get: function () { return chunkKGQVK2II_cjs.InterchangeIdentityAssertionSchema; }
88
88
  });
89
89
  Object.defineProperty(exports, "InterchangeIdentitySchema", {
90
90
  enumerable: true,
91
- get: function () { return chunkFGKWXSHF_cjs.InterchangeIdentitySchema; }
91
+ get: function () { return chunkKGQVK2II_cjs.InterchangeIdentitySchema; }
92
92
  });
93
93
  Object.defineProperty(exports, "InterchangeNodeSchema", {
94
94
  enumerable: true,
95
- get: function () { return chunkFGKWXSHF_cjs.InterchangeNodeSchema; }
95
+ get: function () { return chunkKGQVK2II_cjs.InterchangeNodeSchema; }
96
96
  });
97
97
  Object.defineProperty(exports, "UnknownPropertyStrategySchema", {
98
98
  enumerable: true,
99
- get: function () { return chunkFGKWXSHF_cjs.UnknownPropertyStrategySchema; }
99
+ get: function () { return chunkKGQVK2II_cjs.UnknownPropertyStrategySchema; }
100
100
  });
101
101
  Object.defineProperty(exports, "exportGraph", {
102
102
  enumerable: true,
103
- get: function () { return chunkFGKWXSHF_cjs.exportGraph; }
103
+ get: function () { return chunkKGQVK2II_cjs.exportGraph; }
104
104
  });
105
105
  Object.defineProperty(exports, "exportGraphStream", {
106
106
  enumerable: true,
107
- get: function () { return chunkFGKWXSHF_cjs.exportGraphStream; }
107
+ get: function () { return chunkKGQVK2II_cjs.exportGraphStream; }
108
108
  });
109
109
  Object.defineProperty(exports, "importGraph", {
110
110
  enumerable: true,
111
- get: function () { return chunkFGKWXSHF_cjs.importGraph; }
111
+ get: function () { return chunkKGQVK2II_cjs.importGraph; }
112
112
  });
113
113
  Object.defineProperty(exports, "importGraphStream", {
114
114
  enumerable: true,
115
- get: function () { return chunkFGKWXSHF_cjs.importGraphStream; }
115
+ get: function () { return chunkKGQVK2II_cjs.importGraphStream; }
116
116
  });
117
117
  Object.defineProperty(exports, "trustedImportGraph", {
118
118
  enumerable: true,
119
- get: function () { return chunkFGKWXSHF_cjs.trustedImportGraph; }
119
+ get: function () { return chunkKGQVK2II_cjs.trustedImportGraph; }
120
120
  });
121
121
  Object.defineProperty(exports, "trustedImportGraphStream", {
122
122
  enumerable: true,
123
- get: function () { return chunkFGKWXSHF_cjs.trustedImportGraphStream; }
123
+ get: function () { return chunkKGQVK2II_cjs.trustedImportGraphStream; }
124
124
  });
125
125
  //# sourceMappingURL=index.cjs.map
126
126
  //# sourceMappingURL=index.cjs.map
@@ -1,10 +1,11 @@
1
- import { e as GraphDef } from '../types-Blq8PG_N.cjs';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Blq8PG_N.cjs';
1
+ import { e as GraphDef } from '../types-Dky3sCFz.cjs';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Dky3sCFz.cjs';
3
+ import { b as Store } from '../store-DdhFpX53.cjs';
4
+ export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-DdhFpX53.cjs';
3
5
  import { z } from 'zod';
4
- import { b as Store } from '../store-CL6uTm_W.cjs';
5
- import { I as IngestionImportTarget } from '../ingestion-import-target-im9wEB00.cjs';
6
- import '../searchable-CZKn12eY.cjs';
7
- import '../resolve-DSUxNIqw.cjs';
6
+ import { I as IngestionImportTarget } from '../ingestion-import-target-BSgJagqI.cjs';
7
+ import '../searchable-BEAN91Ce.cjs';
8
+ import '../resolve-mLksuBg2.cjs';
8
9
 
9
10
  /**
10
11
  * Graph interchange format types.
@@ -1,10 +1,11 @@
1
- import { e as GraphDef } from '../types-Blq8PG_N.js';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Blq8PG_N.js';
1
+ import { e as GraphDef } from '../types-Dky3sCFz.js';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Dky3sCFz.js';
3
+ import { b as Store } from '../store-B5WZ8E5m.js';
4
+ export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-B5WZ8E5m.js';
3
5
  import { z } from 'zod';
4
- import { b as Store } from '../store-BzmMsCcw.js';
5
- import { I as IngestionImportTarget } from '../ingestion-import-target-SopMSm-T.js';
6
- import '../searchable-CUWWphQI.js';
7
- import '../resolve-DgFSIK99.js';
6
+ import { I as IngestionImportTarget } from '../ingestion-import-target-PNw10V4T.js';
7
+ import '../searchable-Bg2lMPRm.js';
8
+ import '../resolve-BbjZDYTw.js';
8
9
 
9
10
  /**
10
11
  * Graph interchange format types.
@@ -1,19 +1,19 @@
1
- export { ConflictStrategySchema, ExportOptionsSchema, ExportStreamOptionsSchema, FORMAT_VERSION, GraphDataHeaderSchema, GraphDataSchema, GraphDataSourceSchema, GraphInterchangeChunkSchema, IdentityInterchangeModeSchema, ImportErrorSchema, ImportOptionsSchema, ImportResultSchema, InterchangeEdgeSchema, InterchangeIdentityAssertionSchema, InterchangeIdentitySchema, InterchangeNodeSchema, UnknownPropertyStrategySchema, exportGraph, exportGraphStream, importGraph, importGraphStream, trustedImportGraph, trustedImportGraphStream } from '../chunk-5C4OYYDD.js';
2
- import '../chunk-DV24YZHG.js';
3
- import '../chunk-6BVZHDAZ.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-UVQMUBZ6.js';
2
+ import '../chunk-FTDRMXIJ.js';
3
+ import '../chunk-43DOTETB.js';
4
4
  import '../chunk-AHRNKPEV.js';
5
5
  import '../chunk-IM4X2ZOR.js';
6
6
  import '../chunk-N535PWMA.js';
7
7
  import '../chunk-2DNUADXX.js';
8
- import '../chunk-CVO2ZPW5.js';
9
- import '../chunk-HWWPL2YL.js';
8
+ import '../chunk-B4P4DAW3.js';
9
+ import '../chunk-QWIR5533.js';
10
10
  import '../chunk-XWMB3AFN.js';
11
11
  import '../chunk-ZQIDQHDR.js';
12
12
  import '../chunk-LI7JGO5B.js';
13
13
  import '../chunk-CYSXF3PS.js';
14
14
  import '../chunk-WUNSJGP6.js';
15
15
  import '../chunk-6TIDSIPH.js';
16
- import '../chunk-YTYB5KCQ.js';
16
+ import '../chunk-OH7QRGPQ.js';
17
17
  import '../chunk-RZ474NIQ.js';
18
18
  import '../chunk-2EBMPJBO.js';
19
19
  import '../chunk-3MZTAXYX.js';
@@ -1,37 +1,37 @@
1
1
  'use strict';
2
2
 
3
- var chunkWAG3NVD7_cjs = require('./chunk-WAG3NVD7.cjs');
3
+ var chunkQBQ465OX_cjs = require('./chunk-QBQ465OX.cjs');
4
4
  require('./chunk-QCD5JKU4.cjs');
5
- var chunkSYKR6MVR_cjs = require('./chunk-SYKR6MVR.cjs');
6
- require('./chunk-BMATB57B.cjs');
7
- var chunkFHFPUORN_cjs = require('./chunk-FHFPUORN.cjs');
5
+ var chunkT2M2S5YZ_cjs = require('./chunk-T2M2S5YZ.cjs');
6
+ require('./chunk-KW3ON5IU.cjs');
7
+ var chunkCNFKFE5L_cjs = require('./chunk-CNFKFE5L.cjs');
8
8
  require('./chunk-PKWAO4NC.cjs');
9
9
  require('./chunk-YB26L7MD.cjs');
10
10
  require('./chunk-7BHUIAZR.cjs');
11
11
  require('./chunk-JFLJVLNU.cjs');
12
12
  require('./chunk-OPEKIWJL.cjs');
13
- require('./chunk-QR6V2BXA.cjs');
14
- require('./chunk-BPYZUJX5.cjs');
13
+ require('./chunk-PTFO3JI5.cjs');
14
+ require('./chunk-MTJAT6UO.cjs');
15
15
  require('./chunk-Y6M5BFRJ.cjs');
16
16
  require('./chunk-GD7IWK36.cjs');
17
17
  require('./chunk-R255UE5U.cjs');
18
18
  require('./chunk-XUCVGEJT.cjs');
19
- require('./chunk-U53HFE4L.cjs');
19
+ require('./chunk-OKA6H3B3.cjs');
20
20
  require('./chunk-6YKISECL.cjs');
21
21
  require('./chunk-UVVDQGOY.cjs');
22
- require('./chunk-C3CN2C2T.cjs');
23
- require('./chunk-IV5W7LKW.cjs');
22
+ require('./chunk-Q6ZVQWH7.cjs');
23
+ require('./chunk-A22XPVBQ.cjs');
24
24
  require('./chunk-WEXAMJTA.cjs');
25
25
  require('./chunk-OGK7F2J3.cjs');
26
26
  var chunkEOLNL35G_cjs = require('./chunk-EOLNL35G.cjs');
27
27
  require('./chunk-6ODVH5SA.cjs');
28
28
  require('./chunk-FSSQ4YNU.cjs');
29
29
  require('./chunk-NWJV4UVW.cjs');
30
- require('./chunk-ZHLWPHNT.cjs');
30
+ require('./chunk-RJ3GVX73.cjs');
31
31
  require('./chunk-GDTWUVSN.cjs');
32
- require('./chunk-CRROO6PK.cjs');
32
+ require('./chunk-QHP2BCBJ.cjs');
33
33
  require('./chunk-ZY4GXIVN.cjs');
34
- require('./chunk-4MZQVVPX.cjs');
34
+ require('./chunk-D5CHUSW7.cjs');
35
35
  require('./chunk-BZZ2ZGWE.cjs');
36
36
  require('./chunk-NAUA4PW5.cjs');
37
37
  require('./chunk-4FB7REYC.cjs');
@@ -54,8 +54,8 @@ function withoutSchemaOverride(schemaManagement) {
54
54
  return rest;
55
55
  }
56
56
  async function createLocalSqliteStoreImpl(graph, options) {
57
- const tables = options.store?.schema === void 0 ? void 0 : chunkSYKR6MVR_cjs.createSqliteTables(options.store.schema.tables);
58
- const { backend } = chunkWAG3NVD7_cjs.createLocalSqliteBackend({
57
+ const tables = options.store?.schema === void 0 ? void 0 : chunkT2M2S5YZ_cjs.createSqliteTables(options.store.schema.tables);
58
+ const { backend } = chunkQBQ465OX_cjs.createLocalSqliteBackend({
59
59
  ...options.path === void 0 ? {} : { path: options.path },
60
60
  ...options.pragmas === void 0 ? {} : { pragmas: options.pragmas },
61
61
  ...options.capabilities === void 0 ? {} : { capabilities: options.capabilities },
@@ -63,7 +63,7 @@ async function createLocalSqliteStoreImpl(graph, options) {
63
63
  ...tables === void 0 ? {} : { tables }
64
64
  });
65
65
  try {
66
- const [store] = await chunkFHFPUORN_cjs.createStoreWithSchema(graph, backend, {
66
+ const [store] = await chunkCNFKFE5L_cjs.createStoreWithSchema(graph, backend, {
67
67
  ...options.store,
68
68
  // The type already excludes `schema` here; the runtime strip guards
69
69
  // untyped callers, so the provisioned schema (or the default tables)
@@ -77,5 +77,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
77
77
  }
78
78
 
79
79
  exports.createLocalSqliteStoreImpl = createLocalSqliteStoreImpl;
80
- //# sourceMappingURL=local-store-impl-ARNXBBSF.cjs.map
81
- //# sourceMappingURL=local-store-impl-ARNXBBSF.cjs.map
80
+ //# sourceMappingURL=local-store-impl-QGSRYFZF.cjs.map
81
+ //# sourceMappingURL=local-store-impl-QGSRYFZF.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":["createSqliteTables","createLocalSqliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,oCAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAIC,0CAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"local-store-impl-ARNXBBSF.cjs","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
1
+ {"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":["createSqliteTables","createLocalSqliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,oCAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAIC,0CAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"local-store-impl-QGSRYFZF.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"]}