storage/lib.rs
1//! Storage adapter contracts for pet-resort domain models.
2//!
3//! `domain` owns the NVA pet-resort language: service lines, portfolio facts,
4//! workflow gates, source evidence, and labor-saving outcomes. This crate owns
5//! the persistence projection of that language: stable storage codes, JSON
6//! codecs, flattened records shaped for databases and fixtures, and explicit
7//! promotion/demotion between storage records and core domain types.
8//!
9//! Storage code is intentionally not the business model. It may preserve source
10//! system vocabulary such as Gingr record identifiers, provider codes, and
11//! serialized DTO shapes, but application and domain layers must promote those
12//! facts into semantic domain values before using them to approve customer
13//! messages, manager actions, labor evidence, or data-quality repairs.
14
15pub mod operations;
16pub mod service_line;
17
18pub use operations::{CodecError, RecordKind, Result};