Files
Synapse/crates/synapse-core/src/lib.rs
T
dasemuandClaude Opus 5.5 206b62d4ab feat(core): type definitions with an emoji icon, synced as PutTypeDef
Schema v8 adds type_defs (name, icon, tombstone, hlc). create_type,
set_type_icon, remove_type and rename_type; rename_tag moves the icon and
type_catalog lists icons and defined-but-unused types.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 06:33:33 +01:00

29 lines
818 B
Rust

//! Synapse core: domain model, SQLite-backed graph store, link parsing, temporal (journal)
//! links, weighted synapses and a content-addressed blob store.
//!
//! Every mutation is appended to an op log (`Graph::ops_since`), which is the single change
//! feed used by indexers (search), backup (history) and sync.
pub mod blob;
pub mod embed;
pub mod error;
pub mod hlc;
pub mod model;
pub mod parse;
pub mod position;
mod schema;
pub mod store;
pub mod structure;
pub mod synapse;
pub mod tags;
pub mod types;
pub use error::{Error, Result};
pub use model::*;
pub use store::Graph;
pub use structure::{
HubConversion, HubInfo, HubPreview, Structure, is_legacy_page, namespace_parent,
};
pub use tags::{MAX_TAG_CHARS, TagInfo, normalize_tag};
pub use types::{MAX_ICON_CHARS, SUGGESTED_TYPES, normalize_icon};