@nicia-ai/typegraph 0.40.0 → 0.41.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.
- package/dist/backend/drizzle/indexes.d.cts +1 -1
- package/dist/backend/drizzle/indexes.d.ts +1 -1
- package/dist/backend/index.d.cts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/postgres/index.d.cts +5 -5
- package/dist/backend/postgres/index.d.ts +5 -5
- package/dist/backend/postgres/pglite-store.cjs +3 -3
- package/dist/backend/postgres/pglite-store.d.cts +5 -5
- package/dist/backend/postgres/pglite-store.d.ts +5 -5
- package/dist/backend/postgres/pglite-store.js +2 -2
- package/dist/backend/postgres/pglite.d.cts +2 -2
- package/dist/backend/postgres/pglite.d.ts +2 -2
- package/dist/backend/sqlite/index.d.cts +5 -5
- package/dist/backend/sqlite/index.d.ts +5 -5
- package/dist/backend/sqlite/libsql.d.cts +2 -2
- package/dist/backend/sqlite/libsql.d.ts +2 -2
- package/dist/backend/sqlite/local-store.cjs +3 -3
- package/dist/backend/sqlite/local-store.d.cts +5 -5
- package/dist/backend/sqlite/local-store.d.ts +5 -5
- package/dist/backend/sqlite/local-store.js +2 -2
- package/dist/backend/sqlite/local.d.cts +2 -2
- package/dist/backend/sqlite/local.d.ts +2 -2
- package/dist/{chunk-K4FB2RMO.cjs → chunk-JP5EICR6.cjs} +7 -2
- package/dist/chunk-JP5EICR6.cjs.map +1 -0
- package/dist/chunk-KOI7UEI5.js +81 -0
- package/dist/chunk-KOI7UEI5.js.map +1 -0
- package/dist/{chunk-H6I36MGT.cjs → chunk-LOKG3KQV.cjs} +114 -37
- package/dist/chunk-LOKG3KQV.cjs.map +1 -0
- package/dist/{chunk-3BL3JFHL.js → chunk-MQBF3XGY.js} +82 -5
- package/dist/chunk-MQBF3XGY.js.map +1 -0
- package/dist/chunk-QCKD3RCI.cjs +83 -0
- package/dist/chunk-QCKD3RCI.cjs.map +1 -0
- package/dist/{chunk-CU3LPYNB.js → chunk-V3S74J44.js} +7 -3
- package/dist/chunk-V3S74J44.js.map +1 -0
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/{ddl-KnCdF_le.d.cts → ddl-BCXFRLWg.d.cts} +3 -3
- package/dist/{ddl-BLEzHw6j.d.ts → ddl-ByLmGgn9.d.ts} +3 -3
- package/dist/{define-graph-DQnj3fNH.d.ts → define-graph-BSviZubs.d.ts} +1 -1
- package/dist/{define-graph-Cv3CFwKm.d.cts → define-graph-XyJheaFm.d.cts} +1 -1
- package/dist/graph-merge/index.cjs +5 -5
- package/dist/graph-merge/index.d.cts +5 -5
- package/dist/graph-merge/index.d.ts +5 -5
- package/dist/graph-merge/index.js +2 -2
- package/dist/index.cjs +58 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/interchange/index.d.cts +5 -5
- package/dist/interchange/index.d.ts +5 -5
- package/dist/{manager-DjE6Mhag.d.ts → manager-C7iC5bk_.d.ts} +27 -3
- package/dist/{manager-mqee5MVB.d.cts → manager-Dm6MCYO7.d.cts} +27 -3
- package/dist/{postgres-Bm4DyFQU.d.cts → postgres-Cb6ceh4-.d.ts} +1 -1
- package/dist/{postgres-DtaVALOZ.d.ts → postgres-DZxwzCQ8.d.cts} +1 -1
- package/dist/profiler/index.d.cts +7 -7
- package/dist/profiler/index.d.ts +7 -7
- package/dist/provenance/index.d.cts +5 -5
- package/dist/provenance/index.d.ts +5 -5
- package/dist/schema/index.cjs +29 -95
- package/dist/schema/index.cjs.map +1 -1
- package/dist/schema/index.d.cts +55 -55
- package/dist/schema/index.d.ts +55 -55
- package/dist/schema/index.js +2 -80
- package/dist/schema/index.js.map +1 -1
- package/dist/{searchable-ChJ29MCd.d.ts → searchable-Cet4Oztt.d.ts} +2 -2
- package/dist/{searchable-BxlJQVFw.d.cts → searchable-aUaKh3_r.d.cts} +2 -2
- package/dist/{sqlite-m9Izphk_.d.ts → sqlite-Cb3Ilj9_.d.ts} +1 -1
- package/dist/{sqlite-DT6tTHOG.d.cts → sqlite-Dxklpizv.d.cts} +1 -1
- package/dist/{store-view-CagdeyNn.d.ts → store-view-BDjGFjpN.d.ts} +64 -13
- package/dist/{store-view-C-buB8Q8.d.cts → store-view-PCT7vTKH.d.cts} +64 -13
- package/dist/{types-CYdXzZef.d.ts → types-CFZiEEPh.d.ts} +1 -1
- package/dist/{types-CqSfMRW3.d.cts → types-CsaG00wS.d.cts} +1 -1
- package/dist/{types-D8szWDUo.d.ts → types-D-vOo_pM.d.ts} +1 -1
- package/dist/{types-C5pZeKTl.d.cts → types-ho4DJJb_.d.cts} +1 -1
- package/dist/{where-sQL4u5h-.d.ts → where-DLYaXa4L.d.ts} +1 -1
- package/dist/{where-C3-HRgUq.d.cts → where-udes1WRA.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-3BL3JFHL.js.map +0 -1
- package/dist/chunk-CU3LPYNB.js.map +0 -1
- package/dist/chunk-H6I36MGT.cjs.map +0 -1
- package/dist/chunk-K4FB2RMO.cjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SQLWrapper } from 'drizzle-orm';
|
|
2
2
|
import { IndexBuilder } from 'drizzle-orm/pg-core';
|
|
3
3
|
import { IndexBuilder as IndexBuilder$1 } from 'drizzle-orm/sqlite-core';
|
|
4
|
-
import { I as IndexDeclaration } from '../../types-
|
|
4
|
+
import { I as IndexDeclaration } from '../../types-ho4DJJb_.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../../extension-types-BLEVH4SG.cjs';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SQLWrapper } from 'drizzle-orm';
|
|
2
2
|
import { IndexBuilder } from 'drizzle-orm/pg-core';
|
|
3
3
|
import { IndexBuilder as IndexBuilder$1 } from 'drizzle-orm/sqlite-core';
|
|
4
|
-
import { I as IndexDeclaration } from '../../types-
|
|
4
|
+
import { I as IndexDeclaration } from '../../types-D-vOo_pM.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../../extension-types-BLEVH4SG.js';
|
|
7
7
|
|
package/dist/backend/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GraphBackend, aV as SqlTableNames } from '../types-
|
|
2
|
-
export { bH as ALL_FULLTEXT_MODES, A as AdapterBackend, P as AdapterBackendTransactions, bI as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, U as BackendIdentity, W as BackendLifecycle, X as BackendMaintenance, Y as BackendTransactions, bJ as CheckUniqueBatchParams, bK as CheckUniqueParams, bL as ClaimIndexMaterializationParams, Z as CommitSchemaVersionExpected, _ as CommitSchemaVersionParams, $ as CompiledRowsSql, a0 as CompiledSelectSql, a1 as CompiledStatementSql, bM as CompiledTemporaryStatementSql, a2 as ContributionMaterializationBackend, bN as ContributionMaterializationIdentity, bO as ContributionMaterializationRow, bP as CountEdgesByKindParams, bQ as CountEdgesFromParams, bR as CountNodesByKindParams, bS as CreateVectorIndexParams, bT as D1_MAX_BIND_PARAMETERS, bU as DURABLE_OBJECT_MAX_BIND_PARAMETERS, bV as DeleteEdgeParams, bW as DeleteEdgesBatchParams, bX as DeleteEmbeddingParams, a4 as DeleteFulltextBatchParams, bY as DeleteFulltextParams, bZ as DeleteNodeParams, b_ as DeleteUniqueParams, b$ as DialectAdapter, c0 as DialectCapabilities, c1 as DialectRecursiveQueryStrategy, c2 as DialectStandardQueryStrategy, c3 as DialectVectorPredicateStrategy, c4 as DropVectorIndexParams, a5 as EdgeEntityReadBackend, a6 as EdgeEntityWriteBackend, c5 as EdgeExistsBetweenParams, E as EdgeIndexDeclaration, b as EdgeIndexDirection, bz as EdgeRow, c6 as FULLTEXT_CONTRIBUTION_NAME, a8 as FilteredApproximateSearch, a9 as FilteredApproximateSearchMode, c7 as FindEdgesByKindParams, c8 as FindEdgesConnectedToParams, c9 as FindNodesByKindParams, aa as FulltextBatchRow, ab as FulltextCapabilities, ac as FulltextOperationBackend, ad as FulltextQueryMode, ae as FulltextSearchParams, af as FulltextSearchResult, F as FulltextStrategy, ag as GraphAnalyticsCapabilities, ah as GraphEntityReadBackend, ai as GraphEntityWriteBackend, aj as GraphLifecycleBackend, ca as GraphReadBackend, cb as HardDeleteEdgeParams, cc as HardDeleteNodeParams, cd as HybridSearchParams, ce as HybridSearchRow, I as IndexDeclaration, cf as IndexDeclarationBase, al as IndexMaterializationBackend, cg as IndexMaterializationRow, d as IndexOrigin, e as IndexScope, f as IndexWhereExpression, ch as IndexWhereLiteral, ci as IndexWhereOp, cj as IndexWhereOperand, D as InferenceType, ck as InsertEdgeParams, cl as InsertNodeParams, cm as InsertSchemaParams, cn as InsertUniqueParams, am as IntentSql, J as JsonPointer, x as JsonSchema, co as KindRemovalRow, cp as LiveNodeRow, cq as MODERN_SQLITE_MAX_BIND_PARAMETERS, av as NodeEntityReadBackend, aw as NodeEntityWriteBackend, N as NodeIndexDeclaration, by as NodeRow, cr as POSTGRES_CAPABILITIES, cs as POSTGRES_MAX_BIND_PARAMETERS, az as Placeholder, aA as QueryExecutionBackend, aB as RawQueryExecutionBackend, aC as RawStatementExecutionBackend, ct as RecordContributionMaterializationParams, cu as RecordIndexMaterializationParams, cv as RecordKindRemovalParams, R as RelationalIndexDeclaration, cw as RelationalIndexMethod, cx as ReleaseIndexMaterializationClaimParams, aE as RemovalMaterializationBackend, aF as RenderedSql, aI as ResolvedSqlTableNames, aJ as RowProps, cy as SQLITE_CAPABILITIES, cz as SQLITE_MAX_BIND_PARAMETERS, aK as SchemaCommitBackend, aL as SchemaReadBackend, C as SchemaVersionRow,
|
|
1
|
+
import { G as GraphBackend, aV as SqlTableNames } from '../types-ho4DJJb_.cjs';
|
|
2
|
+
export { bH as ALL_FULLTEXT_MODES, A as AdapterBackend, P as AdapterBackendTransactions, bI as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, U as BackendIdentity, W as BackendLifecycle, X as BackendMaintenance, Y as BackendTransactions, bJ as CheckUniqueBatchParams, bK as CheckUniqueParams, bL as ClaimIndexMaterializationParams, Z as CommitSchemaVersionExpected, _ as CommitSchemaVersionParams, $ as CompiledRowsSql, a0 as CompiledSelectSql, a1 as CompiledStatementSql, bM as CompiledTemporaryStatementSql, a2 as ContributionMaterializationBackend, bN as ContributionMaterializationIdentity, bO as ContributionMaterializationRow, bP as CountEdgesByKindParams, bQ as CountEdgesFromParams, bR as CountNodesByKindParams, bS as CreateVectorIndexParams, bT as D1_MAX_BIND_PARAMETERS, bU as DURABLE_OBJECT_MAX_BIND_PARAMETERS, bV as DeleteEdgeParams, bW as DeleteEdgesBatchParams, bX as DeleteEmbeddingParams, a4 as DeleteFulltextBatchParams, bY as DeleteFulltextParams, bZ as DeleteNodeParams, b_ as DeleteUniqueParams, b$ as DialectAdapter, c0 as DialectCapabilities, c1 as DialectRecursiveQueryStrategy, c2 as DialectStandardQueryStrategy, c3 as DialectVectorPredicateStrategy, c4 as DropVectorIndexParams, a5 as EdgeEntityReadBackend, a6 as EdgeEntityWriteBackend, c5 as EdgeExistsBetweenParams, E as EdgeIndexDeclaration, b as EdgeIndexDirection, bz as EdgeRow, c6 as FULLTEXT_CONTRIBUTION_NAME, a8 as FilteredApproximateSearch, a9 as FilteredApproximateSearchMode, c7 as FindEdgesByKindParams, c8 as FindEdgesConnectedToParams, c9 as FindNodesByKindParams, aa as FulltextBatchRow, ab as FulltextCapabilities, ac as FulltextOperationBackend, ad as FulltextQueryMode, ae as FulltextSearchParams, af as FulltextSearchResult, F as FulltextStrategy, ag as GraphAnalyticsCapabilities, ah as GraphEntityReadBackend, ai as GraphEntityWriteBackend, aj as GraphLifecycleBackend, ca as GraphReadBackend, cb as HardDeleteEdgeParams, cc as HardDeleteNodeParams, cd as HybridSearchParams, ce as HybridSearchRow, I as IndexDeclaration, cf as IndexDeclarationBase, al as IndexMaterializationBackend, cg as IndexMaterializationRow, d as IndexOrigin, e as IndexScope, f as IndexWhereExpression, ch as IndexWhereLiteral, ci as IndexWhereOp, cj as IndexWhereOperand, D as InferenceType, ck as InsertEdgeParams, cl as InsertNodeParams, cm as InsertSchemaParams, cn as InsertUniqueParams, am as IntentSql, J as JsonPointer, x as JsonSchema, co as KindRemovalRow, cp as LiveNodeRow, cq as MODERN_SQLITE_MAX_BIND_PARAMETERS, av as NodeEntityReadBackend, aw as NodeEntityWriteBackend, N as NodeIndexDeclaration, by as NodeRow, cr as POSTGRES_CAPABILITIES, cs as POSTGRES_MAX_BIND_PARAMETERS, az as Placeholder, aA as QueryExecutionBackend, aB as RawQueryExecutionBackend, aC as RawStatementExecutionBackend, ct as RecordContributionMaterializationParams, cu as RecordIndexMaterializationParams, cv as RecordKindRemovalParams, R as RelationalIndexDeclaration, cw as RelationalIndexMethod, cx as ReleaseIndexMaterializationClaimParams, aE as RemovalMaterializationBackend, aF as RenderedSql, aI as ResolvedSqlTableNames, aJ as RowProps, cy as SQLITE_CAPABILITIES, cz as SQLITE_MAX_BIND_PARAMETERS, aK as SchemaCommitBackend, aL as SchemaReadBackend, C as SchemaVersionRow, u as SerializedClosures, r as SerializedEdgeDef, s as SerializedMetaEdge, q as SerializedNodeDef, y as SerializedOntology, t as SerializedOntologyRelation, v as SerializedSchema, z as SerializedUniqueConstraint, aM as SetActiveVersionParams, aO as SqlChunk, cA as SqlCompilationBackend, S as SqlDialect, aP as SqlFragment, aQ as SqlIdentifierChunk, aR as SqlIntent, aS as SqlParameterChunk, aT as SqlPlaceholderChunk, aW as SqlTag, aX as SqlTextChunk, aY as StrategyTableContribution, k as SystemColumnName, aZ as TableContribution, cB as TombstonedNodeRow, a_ as TransactionBackend, a$ as TransactionOptions, b0 as TransactionReadBackend, b2 as TrustedImportSession, b3 as UniqueConstraintBackend, cC as UniqueRow, cD as UpdateEdgeParams, cE as UpdateNodeParams, cF as UpsertEmbeddingBatchParams, cG as UpsertEmbeddingBatchRow, cH as UpsertEmbeddingParams, b4 as UpsertFulltextBatchParams, cI as UpsertFulltextParams, cJ as VECTOR_CONTRIBUTION_PREFIX, bp as ValueType, b5 as VectorCapabilities, l as VectorIndexDeclaration, m as VectorIndexImplementation, n as VectorIndexMetric, o as VectorIndexParams, cK as VectorIndexType, bG as VectorMetric, b6 as VectorOperationBackend, cL as VectorSearchParams, cM as VectorSearchResult, p as VectorSlot, V as VectorStrategy, cN as assertFiniteEmbedding, cO as assertVectorMinScore, cP as assertVectorSearchLimit, cQ as buildFulltextCapabilities, b7 as buildVectorCapabilities, b9 as fts5Strategy, cR as isLiveNodeRow, bb as isSqlFragment, cS as isSqlPlaceholder, cT as isTombstonedNodeRow, cU as normalizeGraphAnalyticsCapabilities, cV as quoteIdentifier, bh as renderPostgres, bi as renderSql, bj as renderSqlInline, bk as renderSqlite, bl as rowPropsToJsonText, bm as rowPropsToObject, cW as shortHash, bn as sql, bo as tsvectorStrategy, cX as vectorMinScoreCondition, cY as vectorPhysicalName, cZ as vectorScoreExpression } from '../types-ho4DJJb_.cjs';
|
|
3
3
|
import { R as RecordedInstant } from '../temporal-Dn_JADWY.cjs';
|
|
4
4
|
export { y as ALL_META_EDGE_NAMES, e as Cardinality, f as Collation, D as DeleteBehavior, j as EndpointExistence, z as ExtensionArrayItemType, B as ExtensionArrayProperty, F as ExtensionBooleanProperty, v as ExtensionEdgeDef, H as ExtensionEdgeIndex, M as ExtensionEmbeddingModifier, O as ExtensionEnumProperty, x as ExtensionIndex, P as ExtensionIndexWhere, u as ExtensionNodeDef, Q as ExtensionNodeIndex, R as ExtensionNumberProperty, S as ExtensionObjectFieldProperty, V as ExtensionObjectProperty, w as ExtensionOntologyRelation, W as ExtensionPropertyModifiers, X as ExtensionPropertyType, Y as ExtensionSearchableModifier, Z as ExtensionStringProperty, _ as ExtensionUniqueConstraint, $ as ExtensionUniqueWhere, G as GraphExtension, k as GraphExtensionVersion, I as IndexEntity, J as JsonValue, l as KindAnnotations, K as KindEntity, a0 as MetaEdgeName, c as NullCheckOp, T as TemporalMode, o as UniquenessScope } from '../extension-types-BLEVH4SG.cjs';
|
|
5
5
|
import 'zod';
|
package/dist/backend/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GraphBackend, aV as SqlTableNames } from '../types-
|
|
2
|
-
export { bH as ALL_FULLTEXT_MODES, A as AdapterBackend, P as AdapterBackendTransactions, bI as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, U as BackendIdentity, W as BackendLifecycle, X as BackendMaintenance, Y as BackendTransactions, bJ as CheckUniqueBatchParams, bK as CheckUniqueParams, bL as ClaimIndexMaterializationParams, Z as CommitSchemaVersionExpected, _ as CommitSchemaVersionParams, $ as CompiledRowsSql, a0 as CompiledSelectSql, a1 as CompiledStatementSql, bM as CompiledTemporaryStatementSql, a2 as ContributionMaterializationBackend, bN as ContributionMaterializationIdentity, bO as ContributionMaterializationRow, bP as CountEdgesByKindParams, bQ as CountEdgesFromParams, bR as CountNodesByKindParams, bS as CreateVectorIndexParams, bT as D1_MAX_BIND_PARAMETERS, bU as DURABLE_OBJECT_MAX_BIND_PARAMETERS, bV as DeleteEdgeParams, bW as DeleteEdgesBatchParams, bX as DeleteEmbeddingParams, a4 as DeleteFulltextBatchParams, bY as DeleteFulltextParams, bZ as DeleteNodeParams, b_ as DeleteUniqueParams, b$ as DialectAdapter, c0 as DialectCapabilities, c1 as DialectRecursiveQueryStrategy, c2 as DialectStandardQueryStrategy, c3 as DialectVectorPredicateStrategy, c4 as DropVectorIndexParams, a5 as EdgeEntityReadBackend, a6 as EdgeEntityWriteBackend, c5 as EdgeExistsBetweenParams, E as EdgeIndexDeclaration, b as EdgeIndexDirection, bz as EdgeRow, c6 as FULLTEXT_CONTRIBUTION_NAME, a8 as FilteredApproximateSearch, a9 as FilteredApproximateSearchMode, c7 as FindEdgesByKindParams, c8 as FindEdgesConnectedToParams, c9 as FindNodesByKindParams, aa as FulltextBatchRow, ab as FulltextCapabilities, ac as FulltextOperationBackend, ad as FulltextQueryMode, ae as FulltextSearchParams, af as FulltextSearchResult, F as FulltextStrategy, ag as GraphAnalyticsCapabilities, ah as GraphEntityReadBackend, ai as GraphEntityWriteBackend, aj as GraphLifecycleBackend, ca as GraphReadBackend, cb as HardDeleteEdgeParams, cc as HardDeleteNodeParams, cd as HybridSearchParams, ce as HybridSearchRow, I as IndexDeclaration, cf as IndexDeclarationBase, al as IndexMaterializationBackend, cg as IndexMaterializationRow, d as IndexOrigin, e as IndexScope, f as IndexWhereExpression, ch as IndexWhereLiteral, ci as IndexWhereOp, cj as IndexWhereOperand, D as InferenceType, ck as InsertEdgeParams, cl as InsertNodeParams, cm as InsertSchemaParams, cn as InsertUniqueParams, am as IntentSql, J as JsonPointer, x as JsonSchema, co as KindRemovalRow, cp as LiveNodeRow, cq as MODERN_SQLITE_MAX_BIND_PARAMETERS, av as NodeEntityReadBackend, aw as NodeEntityWriteBackend, N as NodeIndexDeclaration, by as NodeRow, cr as POSTGRES_CAPABILITIES, cs as POSTGRES_MAX_BIND_PARAMETERS, az as Placeholder, aA as QueryExecutionBackend, aB as RawQueryExecutionBackend, aC as RawStatementExecutionBackend, ct as RecordContributionMaterializationParams, cu as RecordIndexMaterializationParams, cv as RecordKindRemovalParams, R as RelationalIndexDeclaration, cw as RelationalIndexMethod, cx as ReleaseIndexMaterializationClaimParams, aE as RemovalMaterializationBackend, aF as RenderedSql, aI as ResolvedSqlTableNames, aJ as RowProps, cy as SQLITE_CAPABILITIES, cz as SQLITE_MAX_BIND_PARAMETERS, aK as SchemaCommitBackend, aL as SchemaReadBackend, C as SchemaVersionRow,
|
|
1
|
+
import { G as GraphBackend, aV as SqlTableNames } from '../types-D-vOo_pM.js';
|
|
2
|
+
export { bH as ALL_FULLTEXT_MODES, A as AdapterBackend, P as AdapterBackendTransactions, bI as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, U as BackendIdentity, W as BackendLifecycle, X as BackendMaintenance, Y as BackendTransactions, bJ as CheckUniqueBatchParams, bK as CheckUniqueParams, bL as ClaimIndexMaterializationParams, Z as CommitSchemaVersionExpected, _ as CommitSchemaVersionParams, $ as CompiledRowsSql, a0 as CompiledSelectSql, a1 as CompiledStatementSql, bM as CompiledTemporaryStatementSql, a2 as ContributionMaterializationBackend, bN as ContributionMaterializationIdentity, bO as ContributionMaterializationRow, bP as CountEdgesByKindParams, bQ as CountEdgesFromParams, bR as CountNodesByKindParams, bS as CreateVectorIndexParams, bT as D1_MAX_BIND_PARAMETERS, bU as DURABLE_OBJECT_MAX_BIND_PARAMETERS, bV as DeleteEdgeParams, bW as DeleteEdgesBatchParams, bX as DeleteEmbeddingParams, a4 as DeleteFulltextBatchParams, bY as DeleteFulltextParams, bZ as DeleteNodeParams, b_ as DeleteUniqueParams, b$ as DialectAdapter, c0 as DialectCapabilities, c1 as DialectRecursiveQueryStrategy, c2 as DialectStandardQueryStrategy, c3 as DialectVectorPredicateStrategy, c4 as DropVectorIndexParams, a5 as EdgeEntityReadBackend, a6 as EdgeEntityWriteBackend, c5 as EdgeExistsBetweenParams, E as EdgeIndexDeclaration, b as EdgeIndexDirection, bz as EdgeRow, c6 as FULLTEXT_CONTRIBUTION_NAME, a8 as FilteredApproximateSearch, a9 as FilteredApproximateSearchMode, c7 as FindEdgesByKindParams, c8 as FindEdgesConnectedToParams, c9 as FindNodesByKindParams, aa as FulltextBatchRow, ab as FulltextCapabilities, ac as FulltextOperationBackend, ad as FulltextQueryMode, ae as FulltextSearchParams, af as FulltextSearchResult, F as FulltextStrategy, ag as GraphAnalyticsCapabilities, ah as GraphEntityReadBackend, ai as GraphEntityWriteBackend, aj as GraphLifecycleBackend, ca as GraphReadBackend, cb as HardDeleteEdgeParams, cc as HardDeleteNodeParams, cd as HybridSearchParams, ce as HybridSearchRow, I as IndexDeclaration, cf as IndexDeclarationBase, al as IndexMaterializationBackend, cg as IndexMaterializationRow, d as IndexOrigin, e as IndexScope, f as IndexWhereExpression, ch as IndexWhereLiteral, ci as IndexWhereOp, cj as IndexWhereOperand, D as InferenceType, ck as InsertEdgeParams, cl as InsertNodeParams, cm as InsertSchemaParams, cn as InsertUniqueParams, am as IntentSql, J as JsonPointer, x as JsonSchema, co as KindRemovalRow, cp as LiveNodeRow, cq as MODERN_SQLITE_MAX_BIND_PARAMETERS, av as NodeEntityReadBackend, aw as NodeEntityWriteBackend, N as NodeIndexDeclaration, by as NodeRow, cr as POSTGRES_CAPABILITIES, cs as POSTGRES_MAX_BIND_PARAMETERS, az as Placeholder, aA as QueryExecutionBackend, aB as RawQueryExecutionBackend, aC as RawStatementExecutionBackend, ct as RecordContributionMaterializationParams, cu as RecordIndexMaterializationParams, cv as RecordKindRemovalParams, R as RelationalIndexDeclaration, cw as RelationalIndexMethod, cx as ReleaseIndexMaterializationClaimParams, aE as RemovalMaterializationBackend, aF as RenderedSql, aI as ResolvedSqlTableNames, aJ as RowProps, cy as SQLITE_CAPABILITIES, cz as SQLITE_MAX_BIND_PARAMETERS, aK as SchemaCommitBackend, aL as SchemaReadBackend, C as SchemaVersionRow, u as SerializedClosures, r as SerializedEdgeDef, s as SerializedMetaEdge, q as SerializedNodeDef, y as SerializedOntology, t as SerializedOntologyRelation, v as SerializedSchema, z as SerializedUniqueConstraint, aM as SetActiveVersionParams, aO as SqlChunk, cA as SqlCompilationBackend, S as SqlDialect, aP as SqlFragment, aQ as SqlIdentifierChunk, aR as SqlIntent, aS as SqlParameterChunk, aT as SqlPlaceholderChunk, aW as SqlTag, aX as SqlTextChunk, aY as StrategyTableContribution, k as SystemColumnName, aZ as TableContribution, cB as TombstonedNodeRow, a_ as TransactionBackend, a$ as TransactionOptions, b0 as TransactionReadBackend, b2 as TrustedImportSession, b3 as UniqueConstraintBackend, cC as UniqueRow, cD as UpdateEdgeParams, cE as UpdateNodeParams, cF as UpsertEmbeddingBatchParams, cG as UpsertEmbeddingBatchRow, cH as UpsertEmbeddingParams, b4 as UpsertFulltextBatchParams, cI as UpsertFulltextParams, cJ as VECTOR_CONTRIBUTION_PREFIX, bp as ValueType, b5 as VectorCapabilities, l as VectorIndexDeclaration, m as VectorIndexImplementation, n as VectorIndexMetric, o as VectorIndexParams, cK as VectorIndexType, bG as VectorMetric, b6 as VectorOperationBackend, cL as VectorSearchParams, cM as VectorSearchResult, p as VectorSlot, V as VectorStrategy, cN as assertFiniteEmbedding, cO as assertVectorMinScore, cP as assertVectorSearchLimit, cQ as buildFulltextCapabilities, b7 as buildVectorCapabilities, b9 as fts5Strategy, cR as isLiveNodeRow, bb as isSqlFragment, cS as isSqlPlaceholder, cT as isTombstonedNodeRow, cU as normalizeGraphAnalyticsCapabilities, cV as quoteIdentifier, bh as renderPostgres, bi as renderSql, bj as renderSqlInline, bk as renderSqlite, bl as rowPropsToJsonText, bm as rowPropsToObject, cW as shortHash, bn as sql, bo as tsvectorStrategy, cX as vectorMinScoreCondition, cY as vectorPhysicalName, cZ as vectorScoreExpression } from '../types-D-vOo_pM.js';
|
|
3
3
|
import { R as RecordedInstant } from '../temporal-CyFsSPe8.js';
|
|
4
4
|
export { y as ALL_META_EDGE_NAMES, e as Cardinality, f as Collation, D as DeleteBehavior, j as EndpointExistence, z as ExtensionArrayItemType, B as ExtensionArrayProperty, F as ExtensionBooleanProperty, v as ExtensionEdgeDef, H as ExtensionEdgeIndex, M as ExtensionEmbeddingModifier, O as ExtensionEnumProperty, x as ExtensionIndex, P as ExtensionIndexWhere, u as ExtensionNodeDef, Q as ExtensionNodeIndex, R as ExtensionNumberProperty, S as ExtensionObjectFieldProperty, V as ExtensionObjectProperty, w as ExtensionOntologyRelation, W as ExtensionPropertyModifiers, X as ExtensionPropertyType, Y as ExtensionSearchableModifier, Z as ExtensionStringProperty, _ as ExtensionUniqueConstraint, $ as ExtensionUniqueWhere, G as GraphExtension, k as GraphExtensionVersion, I as IndexEntity, J as JsonValue, l as KindAnnotations, K as KindEntity, a0 as MetaEdgeName, c as NullCheckOp, T as TemporalMode, o as UniquenessScope } from '../extension-types-BLEVH4SG.js';
|
|
5
5
|
import 'zod';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { A as AnyPgDatabase, a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.cjs';
|
|
2
|
-
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-
|
|
3
|
-
import { P as PostgresTables } from '../../postgres-
|
|
4
|
-
export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-
|
|
5
|
-
export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-
|
|
2
|
+
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-ho4DJJb_.cjs';
|
|
3
|
+
import { P as PostgresTables } from '../../postgres-DZxwzCQ8.cjs';
|
|
4
|
+
export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-DZxwzCQ8.cjs';
|
|
5
|
+
export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-BCXFRLWg.cjs';
|
|
6
6
|
import 'drizzle-orm/pg-core';
|
|
7
7
|
import 'drizzle-orm/relations';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '../../extension-types-BLEVH4SG.cjs';
|
|
10
|
-
import '../../sqlite-
|
|
10
|
+
import '../../sqlite-Dxklpizv.cjs';
|
|
11
11
|
import 'drizzle-orm/sqlite-core';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { A as AnyPgDatabase, a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.js';
|
|
2
|
-
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-
|
|
3
|
-
import { P as PostgresTables } from '../../postgres-
|
|
4
|
-
export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-
|
|
5
|
-
export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-
|
|
2
|
+
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-D-vOo_pM.js';
|
|
3
|
+
import { P as PostgresTables } from '../../postgres-Cb6ceh4-.js';
|
|
4
|
+
export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-Cb6ceh4-.js';
|
|
5
|
+
export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-ByLmGgn9.js';
|
|
6
6
|
import 'drizzle-orm/pg-core';
|
|
7
7
|
import 'drizzle-orm/relations';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '../../extension-types-BLEVH4SG.js';
|
|
10
|
-
import '../../sqlite-
|
|
10
|
+
import '../../sqlite-Cb3Ilj9_.js';
|
|
11
11
|
import 'drizzle-orm/sqlite-core';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunkM2RPZS7J_cjs = require('../../chunk-M2RPZS7J.cjs');
|
|
4
4
|
require('../../chunk-QXKVUJLI.cjs');
|
|
5
5
|
require('../../chunk-UDS5DZNY.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkLOKG3KQV_cjs = require('../../chunk-LOKG3KQV.cjs');
|
|
7
7
|
require('../../chunk-TRF4EBJT.cjs');
|
|
8
8
|
require('../../chunk-LFFVD5ZR.cjs');
|
|
9
9
|
require('../../chunk-5YBDB7UG.cjs');
|
|
@@ -16,7 +16,7 @@ require('../../chunk-ZDH3DX3C.cjs');
|
|
|
16
16
|
require('../../chunk-JZYMOHHM.cjs');
|
|
17
17
|
var chunkQYDUCWD2_cjs = require('../../chunk-QYDUCWD2.cjs');
|
|
18
18
|
require('../../chunk-LL5D5T5W.cjs');
|
|
19
|
-
require('../../chunk-
|
|
19
|
+
require('../../chunk-JP5EICR6.cjs');
|
|
20
20
|
require('../../chunk-RW24SAHI.cjs');
|
|
21
21
|
require('../../chunk-X4PVHAZ6.cjs');
|
|
22
22
|
require('../../chunk-ACSVZPK7.cjs');
|
|
@@ -51,7 +51,7 @@ async function createLocalPgliteStore(graph, options = {}) {
|
|
|
51
51
|
...tables === void 0 ? {} : { tables }
|
|
52
52
|
});
|
|
53
53
|
try {
|
|
54
|
-
const [store] = await
|
|
54
|
+
const [store] = await chunkLOKG3KQV_cjs.createStoreWithSchema(graph, backend, {
|
|
55
55
|
...options.store,
|
|
56
56
|
...options.schemaManagement
|
|
57
57
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { G as GraphDef } from '../../define-graph-
|
|
2
|
-
import { S as SchemaManagerOptions } from '../../manager-
|
|
3
|
-
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-view-
|
|
1
|
+
import { G as GraphDef } from '../../define-graph-XyJheaFm.cjs';
|
|
2
|
+
import { S as SchemaManagerOptions } from '../../manager-Dm6MCYO7.cjs';
|
|
3
|
+
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-view-PCT7vTKH.cjs';
|
|
4
4
|
import '../../extension-types-BLEVH4SG.cjs';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../../types-
|
|
6
|
+
import '../../types-ho4DJJb_.cjs';
|
|
7
7
|
import '../../temporal-Dn_JADWY.cjs';
|
|
8
|
-
import '../../searchable-
|
|
8
|
+
import '../../searchable-aUaKh3_r.cjs';
|
|
9
9
|
import '../../materialize-indexes-ExQ6OrAh.cjs';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { G as GraphDef } from '../../define-graph-
|
|
2
|
-
import { S as SchemaManagerOptions } from '../../manager-
|
|
3
|
-
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-view-
|
|
1
|
+
import { G as GraphDef } from '../../define-graph-BSviZubs.js';
|
|
2
|
+
import { S as SchemaManagerOptions } from '../../manager-C7iC5bk_.js';
|
|
3
|
+
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-view-BDjGFjpN.js';
|
|
4
4
|
import '../../extension-types-BLEVH4SG.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../../types-
|
|
6
|
+
import '../../types-D-vOo_pM.js';
|
|
7
7
|
import '../../temporal-CyFsSPe8.js';
|
|
8
|
-
import '../../searchable-
|
|
8
|
+
import '../../searchable-Cet4Oztt.js';
|
|
9
9
|
import '../../materialize-indexes-D4iei4Kp.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createLocalPgliteBackend } from '../../chunk-ZE7E46IZ.js';
|
|
2
2
|
import '../../chunk-EFZ4S22A.js';
|
|
3
3
|
import '../../chunk-W66YCXWT.js';
|
|
4
|
-
import { createStoreWithSchema } from '../../chunk-
|
|
4
|
+
import { createStoreWithSchema } from '../../chunk-MQBF3XGY.js';
|
|
5
5
|
import '../../chunk-DRACN6XG.js';
|
|
6
6
|
import '../../chunk-YGX4PMG6.js';
|
|
7
7
|
import '../../chunk-6QP4QXBR.js';
|
|
@@ -14,7 +14,7 @@ import '../../chunk-35S6P5ZU.js';
|
|
|
14
14
|
import '../../chunk-YYLMXERH.js';
|
|
15
15
|
import { closeAfterFailure } from '../../chunk-L5ET7FYQ.js';
|
|
16
16
|
import '../../chunk-QOHTVDHU.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-V3S74J44.js';
|
|
18
18
|
import '../../chunk-76HE7DJP.js';
|
|
19
19
|
import '../../chunk-ZE6NVENI.js';
|
|
20
20
|
import '../../chunk-UR7W5YQK.js';
|
|
@@ -2,8 +2,8 @@ import { Extension, PGlite } from '@electric-sql/pglite';
|
|
|
2
2
|
import { PgliteDatabase } from 'drizzle-orm/pglite';
|
|
3
3
|
import { a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.cjs';
|
|
4
4
|
export { A as AnyPgDatabase } from '../../postgres-execution-fKW0qRiN.cjs';
|
|
5
|
-
import { A as AdapterBackend } from '../../types-
|
|
6
|
-
import { P as PostgresTables } from '../../postgres-
|
|
5
|
+
import { A as AdapterBackend } from '../../types-ho4DJJb_.cjs';
|
|
6
|
+
import { P as PostgresTables } from '../../postgres-DZxwzCQ8.cjs';
|
|
7
7
|
import 'drizzle-orm/pg-core';
|
|
8
8
|
import 'drizzle-orm/relations';
|
|
9
9
|
import 'zod';
|
|
@@ -2,8 +2,8 @@ import { Extension, PGlite } from '@electric-sql/pglite';
|
|
|
2
2
|
import { PgliteDatabase } from 'drizzle-orm/pglite';
|
|
3
3
|
import { a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.js';
|
|
4
4
|
export { A as AnyPgDatabase } from '../../postgres-execution-fKW0qRiN.js';
|
|
5
|
-
import { A as AdapterBackend } from '../../types-
|
|
6
|
-
import { P as PostgresTables } from '../../postgres-
|
|
5
|
+
import { A as AdapterBackend } from '../../types-D-vOo_pM.js';
|
|
6
|
+
import { P as PostgresTables } from '../../postgres-Cb6ceh4-.js';
|
|
7
7
|
import 'drizzle-orm/pg-core';
|
|
8
8
|
import 'drizzle-orm/relations';
|
|
9
9
|
import 'zod';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { S as SqliteExecutionProfileHints, A as AnySqliteDatabase } from '../../sqlite-execution-DwbE2a9y.cjs';
|
|
2
2
|
export { a as SqliteTransactionMode } from '../../sqlite-execution-DwbE2a9y.cjs';
|
|
3
|
-
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-
|
|
4
|
-
import { S as SqliteTables } from '../../sqlite-
|
|
5
|
-
export { C as CreateSqliteTablesOptions, a as SqliteTableNames, c as createSqliteTables, e as edges, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../sqlite-
|
|
6
|
-
export { b as generateSqliteDDL, c as generateSqliteMigrationSQL } from '../../ddl-
|
|
3
|
+
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-ho4DJJb_.cjs';
|
|
4
|
+
import { S as SqliteTables } from '../../sqlite-Dxklpizv.cjs';
|
|
5
|
+
export { C as CreateSqliteTablesOptions, a as SqliteTableNames, c as createSqliteTables, e as edges, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../sqlite-Dxklpizv.cjs';
|
|
6
|
+
export { b as generateSqliteDDL, c as generateSqliteMigrationSQL } from '../../ddl-BCXFRLWg.cjs';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '../../extension-types-BLEVH4SG.cjs';
|
|
10
|
-
import '../../postgres-
|
|
10
|
+
import '../../postgres-DZxwzCQ8.cjs';
|
|
11
11
|
import 'drizzle-orm/pg-core';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { S as SqliteExecutionProfileHints, A as AnySqliteDatabase } from '../../sqlite-execution-DwbE2a9y.js';
|
|
2
2
|
export { a as SqliteTransactionMode } from '../../sqlite-execution-DwbE2a9y.js';
|
|
3
|
-
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-
|
|
4
|
-
import { S as SqliteTables } from '../../sqlite-
|
|
5
|
-
export { C as CreateSqliteTablesOptions, a as SqliteTableNames, c as createSqliteTables, e as edges, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../sqlite-
|
|
6
|
-
export { b as generateSqliteDDL, c as generateSqliteMigrationSQL } from '../../ddl-
|
|
3
|
+
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-D-vOo_pM.js';
|
|
4
|
+
import { S as SqliteTables } from '../../sqlite-Cb3Ilj9_.js';
|
|
5
|
+
export { C as CreateSqliteTablesOptions, a as SqliteTableNames, c as createSqliteTables, e as edges, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../sqlite-Cb3Ilj9_.js';
|
|
6
|
+
export { b as generateSqliteDDL, c as generateSqliteMigrationSQL } from '../../ddl-ByLmGgn9.js';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '../../extension-types-BLEVH4SG.js';
|
|
10
|
-
import '../../postgres-
|
|
10
|
+
import '../../postgres-Cb6ceh4-.js';
|
|
11
11
|
import 'drizzle-orm/pg-core';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Client } from '@libsql/client';
|
|
2
2
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
3
|
-
import { A as AdapterBackend } from '../../types-
|
|
3
|
+
import { A as AdapterBackend } from '../../types-ho4DJJb_.cjs';
|
|
4
4
|
import { A as AnySqliteDatabase } from '../../sqlite-execution-DwbE2a9y.cjs';
|
|
5
|
-
import { S as SqliteTables } from '../../sqlite-
|
|
5
|
+
import { S as SqliteTables } from '../../sqlite-Dxklpizv.cjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../../extension-types-BLEVH4SG.cjs';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Client } from '@libsql/client';
|
|
2
2
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
3
|
-
import { A as AdapterBackend } from '../../types-
|
|
3
|
+
import { A as AdapterBackend } from '../../types-D-vOo_pM.js';
|
|
4
4
|
import { A as AnySqliteDatabase } from '../../sqlite-execution-DwbE2a9y.js';
|
|
5
|
-
import { S as SqliteTables } from '../../sqlite-
|
|
5
|
+
import { S as SqliteTables } from '../../sqlite-Cb3Ilj9_.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../../extension-types-BLEVH4SG.js';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunk2X73QTIC_cjs = require('../../chunk-2X73QTIC.cjs');
|
|
4
4
|
require('../../chunk-SAMJLDGG.cjs');
|
|
5
5
|
require('../../chunk-UDS5DZNY.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkLOKG3KQV_cjs = require('../../chunk-LOKG3KQV.cjs');
|
|
7
7
|
require('../../chunk-TRF4EBJT.cjs');
|
|
8
8
|
require('../../chunk-HQRZEYYB.cjs');
|
|
9
9
|
require('../../chunk-5YBDB7UG.cjs');
|
|
@@ -16,7 +16,7 @@ require('../../chunk-ZDH3DX3C.cjs');
|
|
|
16
16
|
require('../../chunk-JZYMOHHM.cjs');
|
|
17
17
|
var chunkQYDUCWD2_cjs = require('../../chunk-QYDUCWD2.cjs');
|
|
18
18
|
require('../../chunk-LL5D5T5W.cjs');
|
|
19
|
-
require('../../chunk-
|
|
19
|
+
require('../../chunk-JP5EICR6.cjs');
|
|
20
20
|
require('../../chunk-RW24SAHI.cjs');
|
|
21
21
|
require('../../chunk-X4PVHAZ6.cjs');
|
|
22
22
|
require('../../chunk-ACSVZPK7.cjs');
|
|
@@ -52,7 +52,7 @@ async function createLocalSqliteStore(graph, options = {}) {
|
|
|
52
52
|
...tables === void 0 ? {} : { tables }
|
|
53
53
|
});
|
|
54
54
|
try {
|
|
55
|
-
const [store] = await
|
|
55
|
+
const [store] = await chunkLOKG3KQV_cjs.createStoreWithSchema(graph, backend, {
|
|
56
56
|
...options.store,
|
|
57
57
|
...options.schemaManagement
|
|
58
58
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { G as GraphDef } from '../../define-graph-
|
|
2
|
-
import { S as SchemaManagerOptions } from '../../manager-
|
|
3
|
-
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-view-
|
|
4
|
-
import { B as BackendCapabilities } from '../../types-
|
|
1
|
+
import { G as GraphDef } from '../../define-graph-XyJheaFm.cjs';
|
|
2
|
+
import { S as SchemaManagerOptions } from '../../manager-Dm6MCYO7.cjs';
|
|
3
|
+
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-view-PCT7vTKH.cjs';
|
|
4
|
+
import { B as BackendCapabilities } from '../../types-ho4DJJb_.cjs';
|
|
5
5
|
import { L as LocalSqlitePragmaOptions } from '../../local-options-CZ1BnIoF.cjs';
|
|
6
6
|
export { D as DEFAULT_LOCAL_SQLITE_PRAGMAS, a as LocalSqliteJournalMode, b as LocalSqliteSynchronousMode } from '../../local-options-CZ1BnIoF.cjs';
|
|
7
7
|
import '../../extension-types-BLEVH4SG.cjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '../../temporal-Dn_JADWY.cjs';
|
|
10
|
-
import '../../searchable-
|
|
10
|
+
import '../../searchable-aUaKh3_r.cjs';
|
|
11
11
|
import '../../materialize-indexes-ExQ6OrAh.cjs';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { G as GraphDef } from '../../define-graph-
|
|
2
|
-
import { S as SchemaManagerOptions } from '../../manager-
|
|
3
|
-
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-view-
|
|
4
|
-
import { B as BackendCapabilities } from '../../types-
|
|
1
|
+
import { G as GraphDef } from '../../define-graph-BSviZubs.js';
|
|
2
|
+
import { S as SchemaManagerOptions } from '../../manager-C7iC5bk_.js';
|
|
3
|
+
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-view-BDjGFjpN.js';
|
|
4
|
+
import { B as BackendCapabilities } from '../../types-D-vOo_pM.js';
|
|
5
5
|
import { L as LocalSqlitePragmaOptions } from '../../local-options-CZ1BnIoF.js';
|
|
6
6
|
export { D as DEFAULT_LOCAL_SQLITE_PRAGMAS, a as LocalSqliteJournalMode, b as LocalSqliteSynchronousMode } from '../../local-options-CZ1BnIoF.js';
|
|
7
7
|
import '../../extension-types-BLEVH4SG.js';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '../../temporal-CyFsSPe8.js';
|
|
10
|
-
import '../../searchable-
|
|
10
|
+
import '../../searchable-Cet4Oztt.js';
|
|
11
11
|
import '../../materialize-indexes-D4iei4Kp.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -2,7 +2,7 @@ import { createLocalSqliteBackend } from '../../chunk-I5CRUPKO.js';
|
|
|
2
2
|
export { DEFAULT_LOCAL_SQLITE_PRAGMAS } from '../../chunk-I5CRUPKO.js';
|
|
3
3
|
import '../../chunk-QZYGZVUI.js';
|
|
4
4
|
import '../../chunk-W66YCXWT.js';
|
|
5
|
-
import { createStoreWithSchema } from '../../chunk-
|
|
5
|
+
import { createStoreWithSchema } from '../../chunk-MQBF3XGY.js';
|
|
6
6
|
import '../../chunk-DRACN6XG.js';
|
|
7
7
|
import '../../chunk-BUZWMDNL.js';
|
|
8
8
|
import '../../chunk-6QP4QXBR.js';
|
|
@@ -15,7 +15,7 @@ import '../../chunk-35S6P5ZU.js';
|
|
|
15
15
|
import '../../chunk-YYLMXERH.js';
|
|
16
16
|
import { closeAfterFailure } from '../../chunk-L5ET7FYQ.js';
|
|
17
17
|
import '../../chunk-QOHTVDHU.js';
|
|
18
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-V3S74J44.js';
|
|
19
19
|
import '../../chunk-76HE7DJP.js';
|
|
20
20
|
import '../../chunk-ZE6NVENI.js';
|
|
21
21
|
import '../../chunk-UR7W5YQK.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BetterSQLite3Database } from 'drizzle-orm/better-sqlite3';
|
|
2
|
-
import { B as BackendCapabilities, A as AdapterBackend } from '../../types-
|
|
2
|
+
import { B as BackendCapabilities, A as AdapterBackend } from '../../types-ho4DJJb_.cjs';
|
|
3
3
|
import { A as AnySqliteDatabase } from '../../sqlite-execution-DwbE2a9y.cjs';
|
|
4
|
-
import { S as SqliteTables } from '../../sqlite-
|
|
4
|
+
import { S as SqliteTables } from '../../sqlite-Dxklpizv.cjs';
|
|
5
5
|
import { L as LocalSqlitePragmaOptions } from '../../local-options-CZ1BnIoF.cjs';
|
|
6
6
|
export { D as DEFAULT_LOCAL_SQLITE_PRAGMAS, a as LocalSqliteJournalMode, b as LocalSqliteSynchronousMode } from '../../local-options-CZ1BnIoF.cjs';
|
|
7
7
|
import 'zod';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BetterSQLite3Database } from 'drizzle-orm/better-sqlite3';
|
|
2
|
-
import { B as BackendCapabilities, A as AdapterBackend } from '../../types-
|
|
2
|
+
import { B as BackendCapabilities, A as AdapterBackend } from '../../types-D-vOo_pM.js';
|
|
3
3
|
import { A as AnySqliteDatabase } from '../../sqlite-execution-DwbE2a9y.js';
|
|
4
|
-
import { S as SqliteTables } from '../../sqlite-
|
|
4
|
+
import { S as SqliteTables } from '../../sqlite-Cb3Ilj9_.js';
|
|
5
5
|
import { L as LocalSqlitePragmaOptions } from '../../local-options-CZ1BnIoF.js';
|
|
6
6
|
export { D as DEFAULT_LOCAL_SQLITE_PRAGMAS, a as LocalSqliteJournalMode, b as LocalSqliteSynchronousMode } from '../../local-options-CZ1BnIoF.js';
|
|
7
7
|
import 'zod';
|
|
@@ -2740,6 +2740,10 @@ async function getSchemaChanges(backend, graph) {
|
|
|
2740
2740
|
const currentSchema = serializeSchema(graph, activeSchema.version + 1);
|
|
2741
2741
|
return computeSchemaDiff(storedSchema, currentSchema);
|
|
2742
2742
|
}
|
|
2743
|
+
async function getCommittedSchemaVersion(backend, graphId) {
|
|
2744
|
+
const row = await backend.getActiveSchema(graphId);
|
|
2745
|
+
return row?.version;
|
|
2746
|
+
}
|
|
2743
2747
|
|
|
2744
2748
|
exports.KindRegistry = KindRegistry;
|
|
2745
2749
|
exports.applyDeprecatedKinds = applyDeprecatedKinds;
|
|
@@ -2759,6 +2763,7 @@ exports.ensureSchema = ensureSchema;
|
|
|
2759
2763
|
exports.equivalentTo = equivalentTo;
|
|
2760
2764
|
exports.extensionKindNames = extensionKindNames;
|
|
2761
2765
|
exports.getActiveSchema = getActiveSchema;
|
|
2766
|
+
exports.getCommittedSchemaVersion = getCommittedSchemaVersion;
|
|
2762
2767
|
exports.getMigrationActions = getMigrationActions;
|
|
2763
2768
|
exports.getSchemaChanges = getSchemaChanges;
|
|
2764
2769
|
exports.hasPart = hasPart;
|
|
@@ -2783,5 +2788,5 @@ exports.serializeSchema = serializeSchema;
|
|
|
2783
2788
|
exports.serializeSchemaProperties = serializeSchemaProperties;
|
|
2784
2789
|
exports.subClassOf = subClassOf;
|
|
2785
2790
|
exports.validateImpliesEndpointCompatibility = validateImpliesEndpointCompatibility;
|
|
2786
|
-
//# sourceMappingURL=chunk-
|
|
2787
|
-
//# sourceMappingURL=chunk-
|
|
2791
|
+
//# sourceMappingURL=chunk-JP5EICR6.cjs.map
|
|
2792
|
+
//# sourceMappingURL=chunk-JP5EICR6.cjs.map
|