Skip to main content

uni_common/
lib.rs

1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2024-2026 Dragonscale Team
3
4pub mod api {
5    pub mod error;
6}
7
8pub mod config;
9pub mod cypher_value_codec;
10pub mod muvera;
11pub mod sync;
12pub mod value;
13pub mod vector_index_opts;
14
15pub mod core {
16    pub mod edge_type;
17    pub mod fork;
18    pub mod id;
19    pub mod schema;
20    pub mod snapshot;
21}
22
23pub mod graph {
24    pub mod simple_graph;
25}
26
27// Re-exports for convenience
28pub use api::error::{LocyIncomplete, LocyIncompleteReason, Result, UniError};
29pub use config::{CloudStorageConfig, UniConfig};
30pub use core::edge_type::EdgeTypeId;
31pub use core::fork::{ForkId, ForkInfo, ForkRegistryFile, ForkStatus, SchemaDelta};
32pub use core::id::{Eid, UniId, Vid};
33pub use core::schema::{CrdtType, DataType, Schema};
34pub use graph::simple_graph::SimpleGraph;
35pub use uni_btic;
36#[doc(inline)]
37pub use value::{Edge, FromValue, Node, Path, TemporalType, TemporalValue, Value};
38
39/// String-keyed property map using [`Value`] for type-preserving storage.
40pub type Properties = std::collections::HashMap<String, Value>;