Skip to main content

Crate orbok_core

Crate orbok_core 

Source
Expand description

§orbok-core

Shared vocabulary for the orbok local-first document search application: typed identifiers, the RFC-001 data lifecycle classes, lifecycle status enums shared between the catalog (RFC-002) and the scanner (RFC-004), pipeline version constants, error types, and time helpers.

This crate is dependency-light by design. It must not depend on the database, the file system layer, or the UI.

Re-exports§

pub use data_class::CleanupAction;
pub use data_class::CleanupPlan;
pub use data_class::DataClass;
pub use data_class::StorageCategory;
pub use error::ErrorCategory;
pub use error::OrbokError;
pub use error::OrbokResult;
pub use id::EmbeddingId;
pub use id::ChunkId;
pub use id::EventId;
pub use id::ExtractionId;
pub use id::FileId;
pub use id::JobId;
pub use id::ModelId;
pub use id::QueryId;
pub use id::SourceId;
pub use status::FileStatus;
pub use status::HiddenFilePolicy;
pub use status::IndexMode;
pub use status::JobStatus;
pub use status::JobType;
pub use status::PersistenceMode;
pub use status::SourceStatus;
pub use status::SourceType;
pub use status::SymlinkPolicy;
pub use timeutil::now_iso8601;
pub use timeutil::system_time_iso8601;

Modules§

data_class
RFC-001 data lifecycle classification.
error
Application error types.
id
Typed application-level identifiers.
status
Lifecycle status vocabulary shared by the catalog (RFC-002), the source boundary (RFC-003), and the scanner (RFC-004).
timeutil
UTC timestamp helpers (external design §9.3: ISO-8601 UTC strings).
versions
Pipeline version constants.