Skip to main content

Module models

Module models 

Source
Expand description

Domain data models for Sashiko API entities. Domain data models for Sashiko API entities.

This module defines the shared type vocabulary consumed by the API client (deserialization), the UI layer (rendering), and the cache layer (storage). Types are unified — they deserialize directly from Sashiko’s JSON API with no separate wire/domain layer.

Re-exports§

pub use common::Baseline;
pub use common::MailingList;
pub use common::PatchId;
pub use common::ServerStats;
pub use common::Severity;
pub use message::EmailMessage;
pub use message::ThreadMessage;
pub use pagination::Paginated;
pub use patch::Patch;
pub use patch::PatchStatus;
pub use patchset::FindingCounts;
pub use patchset::Patchset;
pub use patchset::PatchsetDetail;
pub use patchset::PatchsetStatus;
pub use review::Review;
pub use review::ReviewStatus;

Modules§

common
Shared types used across multiple model modules.
message
Message domain types from the Sashiko API.
pagination
Generic pagination wrapper for API list responses.
patch
Patch domain type — an individual diff within a patchset.
patchset
Patchset and patchset-detail domain types.
review
Review domain type — an AI review of a single patch.