Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b2ca64

Browse files
committed
feat(store): expose constraint and fulltext modules
1 parent 7a9f817 commit 1b2ca64

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

crates/lora-store/src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ pub use memory::{
4444
StoredIndexKind, StoredIndexState,
4545
};
4646

47+
// ---------- Constraint catalog (CREATE CONSTRAINT surface) ----------
48+
pub use memory::{
49+
ConstraintCatalog, ConstraintDefinition, ConstraintRequest, ConstraintViolation,
50+
CreateConstraintError, CreateConstraintOutcome, DropConstraintError, DropConstraintOutcome,
51+
StoredConstraintKind, StoredPropertyType, StoredPropertyTypeTerm, StoredScalarType,
52+
StoredVectorCoordType,
53+
};
54+
4755
// ---------- Mutation stream + write-set vocabulary ----------
4856
pub use mutation::{ClosureRecorder, MutationEvent, MutationRecorder, MutationWriteSet};
4957

crates/lora-store/src/memory/mod.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
//! [`crate::SnapshotPayload`] vocabulary.
1313
//! - `tests` — unit tests covering the in-memory backend.
1414
15+
mod constraint_catalog;
16+
mod constraint_enforce;
17+
mod entity_index_store;
18+
#[allow(dead_code)]
19+
mod fulltext_index;
1520
mod graph;
1621
mod impls;
1722
mod index_catalog;
@@ -26,6 +31,12 @@ mod text_index;
2631
#[cfg(test)]
2732
mod tests;
2833

34+
pub use constraint_catalog::{
35+
ConstraintCatalog, ConstraintDefinition, ConstraintRequest, CreateConstraintError,
36+
CreateConstraintOutcome, DropConstraintError, DropConstraintOutcome, StoredConstraintKind,
37+
StoredPropertyType, StoredPropertyTypeTerm, StoredScalarType, StoredVectorCoordType,
38+
};
39+
pub use constraint_enforce::ConstraintViolation;
2940
pub use graph::InMemoryGraph;
3041
pub use index_catalog::{
3142
CreateIndexError, CreateIndexOutcome, DropIndexError, DropIndexOutcome, IndexCatalog,

0 commit comments

Comments
 (0)