ic-query 0.5.11

Internet Computer query library for NNS, SNS, ICRC, and related public network metadata
Documentation
//! Module: sns::report::model::reports::proposals
//!
//! Responsibility: group SNS proposal report DTOs.
//! Does not own: live governance calls, proposal conversion, cache storage, or rendering.
//! Boundary: re-exports serializable proposal report models.

#[cfg(feature = "host")]
mod cache;
#[cfg(feature = "host")]
mod refresh;
mod report;
mod row;

#[cfg(feature = "host")]
pub type SnsProposalsRefreshAttemptStatus = super::attempt::SnsRefreshAttemptStatus;
#[cfg(feature = "host")]
pub use cache::{
    SnsProposalsCacheListReport, SnsProposalsCacheStatusReport, SnsProposalsCacheSummary,
};
#[cfg(feature = "host")]
pub use refresh::SnsProposalsRefreshReport;
pub use report::{SnsProposalReport, SnsProposalsReport};
#[cfg(feature = "host")]
pub(in crate::sns::report) use row::{
    SNS_PROPOSAL_DECISION_DECIDED, SNS_PROPOSAL_DECISION_EXECUTED, SNS_PROPOSAL_DECISION_FAILED,
    SNS_PROPOSAL_DECISION_OPEN,
};
pub use row::{SnsProposalBallotRow, SnsProposalFailureReason, SnsProposalRow, SnsProposalTally};