Skip to main content

remendo/models/
mod.rs

1//! Domain data models for Sashiko API entities.
2//!
3//! This module defines the shared type vocabulary consumed by the API client
4//! (deserialization), the UI layer (rendering), and the cache layer (storage).
5//! Types are unified — they deserialize directly from Sashiko's JSON API
6//! with no separate wire/domain layer.
7
8pub mod common;
9pub mod message;
10pub mod pagination;
11pub mod patch;
12pub mod patchset;
13pub mod review;
14
15/// Test fixture constructors — available in tests and integration tests.
16#[cfg(any(test, feature = "test-support"))]
17pub mod fixtures;
18
19pub use common::{Baseline, MailingList, PatchId, ServerStats, Severity};
20pub use message::{EmailMessage, ThreadMessage};
21pub use pagination::Paginated;
22pub use patch::{Patch, PatchStatus};
23pub use patchset::{FindingCounts, Patchset, PatchsetDetail, PatchsetStatus};
24pub use review::{Review, ReviewStatus};